All patterns
Snapshot from Cursor
Verified on 2026-03-09
Tiered Request Limits
Usage-based request tiers.
Free tier with limited requests. Pro tier ($20) extends limits. Pro+ ($60) gives 3x usage. Ultra ($200) gives 20x usage.
Clear usage limits prevent abuse while letting power users pay for more. Tiered structure aligns with different user needs. Predictable costs at each tier.
Implementation
This snippet is the closest Owostack implementation of the live pricing shape above. It is not a literal copy of the vendor's internal billing system.
const requests = metered("requests", {
name: "Requests",
});
plan("hobby", {
name: "Hobby",
price: 0,
autoEnable: true,
currency: "USD",
interval: "monthly",
features: [
requests.config({
usageModel: "included",
limit: 500,
overage: "block",
reset: "monthly",
}),
],
});
plan("pro", {
name: "Pro",
price: 2000,
currency: "USD",
interval: "monthly",
features: [
requests.config({
usageModel: "included",
limit: 5_000,
overage: "charge",
pricePerUnit: 10,
billingUnits: 100,
reset: "monthly",
}),
],
});Rules
Request limits reset monthly.
Each tier has clearly defined usage limits.
Users can upgrade/downgrade between tiers.