
OpenMeter vs Stigg (2026): One Platform or a Runtime Layer?
OpenMeter vs Stigg, compared on metering, entitlements, credits, and billing connection. See how each is hosted and when each one fits your AI product.
Consumption-based billing records usage after the compute runs. Learn the pipeline, 6 billing types, and how AI products enforce limits before the invoice.
An AI support agent starts processing 80,000 tickets, and the customer has credits for 12,000 drafts. Billing records all 80,000.
Consumption-based billing counts every unit a customer consumes. It has no say over whether the next unit should run. AI products carry the most exposure, because one request can cost a fraction of a cent and the next can cost several dollars.
The rest of this guide covers how the pipeline works, the billing types in use, and the layer that puts a limit ahead of the invoice.
Consumption-based billing charges customers for what they use, so the invoice follows measured consumption during the billing period. The billing system ingests usage events, applies pricing rules, and generates the invoice from the total.
Any measurable event your product can emit works as a billing unit. Common consumption units include:
Flat subscriptions charge the same amount at any usage level. Consumption-based billing ties the invoice to what each customer consumed, so a light user and a heavy user receive different bills.
Usage-based billing and consumption-based billing describe the same idea, which is charging customers for what they consume. Vendors use several labels for it:
| Term | What it describes |
|---|---|
| Consumption-based billing | The full model, from pricing rules to the invoice |
| Usage-based billing | The same model under a different name |
| Metered billing | The event ingestion and aggregation layer |
| Pay-as-you-go billing | Consumption-based billing with no minimum commitment |
Some vendors reserve “consumption” for resource units such as compute time and storage, and use “usage” for broader metrics such as transactions or feature access.
Consumption-based billing runs as a usage pipeline that turns product events into invoice line items. The pipeline has four parts:
A simple metering table handles this at low volume. Concurrent requests, customer hierarchies, credit balances, retries, and late-arriving events turn it into an engineering system that shapes how the product behaves and how usage gets enforced.
Each billing model implements one of the consumption-based pricing models, so the pricing design and the billing system have to match. Most AI products combine more than 1.
| Model | How it works | Illustrative example | Best for |
|---|---|---|---|
| Pay-as-you-go | Flat rate per unit consumed | $0.01 per API call | Variable demand with no commitment |
| Tiered usage | Rate changes at usage thresholds | First 10K tokens at $0.01 per 1K, next 100K at $0.008 per 1K | Progressive rate breaks |
| Volume-based | Lower rate applies at higher volumes | $0.10 per GB for the first 50 TB, $0.08 per GB after | Heavy users who earn a lower rate |
| Minimum plus overage | Base fee covers a usage floor, and extra units bill per unit | $200 per month includes 1M tokens, and extra tokens cost $0.20 per 1K | A predictable baseline with room to grow |
| Hybrid | Subscription plus consumption | $99 per month plus $0.005 per agent action | Platform access plus metered features |
| Credit-based | Customer buys a balance upfront and draws it down | A $500 credit block drawn down by each inference call | AI products with variable cost per action |
Minimum plus overage models bill the extra units as overage fees, and a metering error turns those fees into a dispute, so unit-level accuracy matters.
Prepaid credits are a common pattern in AI products, and their engineering requirements exceed a single balance column.
The following three public billing setups show where enforcement has to begin. Each vendor ships a way to control spend, and each control has a limit you should know about.
A standard Google Cloud budget alerts you and does not cap usage. Spend cap budgets add enforcement, because they pause usage for the services they cover once costs pass the target amount.
Each cap covers one project and one eligible service, so a product that spans several services needs a cap for each one.
In-flight requests still finish, and persistent resources such as storage keep accruing charges.
Spend Management lets a Vercel team set a spend amount per billing cycle. Crossing it can send a notification, trigger a webhook, or pause production deployments for every project.
Vercel checks spend every few minutes, so projects can keep serving traffic and accruing usage for several minutes after the amount is crossed. Vercel’s docs advise setting the amount below the most you are willing to spend.
OpenAI’s prepaid billing draws the credit balance down as the API gets used, and free credits burn before purchased credits. Auto recharge adds credits when the balance falls below a threshold you set.
API access may continue for a short delay after credits run out, and usage processed during that delay shows as a negative balance deducted from the next purchase. OpenAI tells customers not to rely on the prepaid balance as an instantaneous spending cutoff.
All three setups pair metered billing with a spend control, and all three controls run on a delay or a narrow scope. A request that arrives inside that window runs, and an enforcement check in the request path closes that window.
AI products need consumption-based billing because every request carries a marginal cost, and that cost changes with the model, the context length, the output length, and the number of tool calls an agent triggers.
Two customers on the same plan show the problem. One asks a question and triggers one model call. The other launches an agent run that makes 30 model calls plus tool use, and both pay the same flat fee.
A flat price forces a choice. Overcharge light users until pricing feels unfair, or undercharge heavy users until margins shrink. Consumption-based billing ties revenue to the cost each customer creates.
The following consumption patterns drive that cost variance in AI products:
The wider the cost range between two actions, the more the invoice has to follow actual usage.
Consumption-based billing gives every customer a bill that matches their usage, and it means the vendor has to count that usage and control it in time.
| Factor | Pros | Cons |
|---|---|---|
| Cost alignment | Revenue follows cost: Each extra unit that costs the vendor money brings revenue | Metering errors: A wrong count hits margin and the invoice |
| Customer fairness | Fair pricing: Light users avoid paying for capacity they do not use | Budget spikes: A usage surge produces an unexpected bill |
| Growth | Expansion without renegotiation: Revenue grows as customers use more | Harder forecasting: Projections depend on historical consumption patterns |
| Product insight | Usage data: Events show which features drive activity | Distorted data: Late or duplicated events skew the picture |
| Control | Visible charges: Customers see a bill tied to real usage | Timing: Billing records usage after the fact and cannot stop a request |
The last row matters most for AI products, and the next section explains why.
Consumption-based billing tells you what was used, and it cannot decide what should have been allowed. Billing platforms like Stripe, Orb, and Metronome record usage and generate accurate invoices.
The question “Is this customer allowed to run this action at this moment?” has to be answered before the action runs. Metering answers it afterward.
The support agent from the intro shows the timing problem. Three scenarios show how it appears in production:
The enforcement layer has to sit in the request path, before compute runs.
Moving from a metering table to production-grade consumption-based billing takes more engineering than a first estimate suggests. The following five requirements carry the load.
The ingestion pipeline absorbs bursts without dropping or duplicating events, and both mistakes cost money. Retries are the usual source of duplicates, so each usage report should carry an idempotency key. A request retried after a timeout or dropped connection then counts once.
An undercount leaks revenue, and an overcount produces an invoice the customer does not trust and a dispute that pulls engineers in.
Credits arrive in blocks, and each block carries its own expiry date and cost basis. Promotional credits burn before paid credits, and expiring credits burn before non-expiring ones.
Depletion is hard, which blocks the action at zero, or soft, which allows the action and flags the overdraft. An append-only ledger keeps every change reconcilable.
A balance check needs a real-time view of usage. Cache invalidation and concurrency handling decide whether two requests can draw from the same balance and push usage past the limit as request volume grows.
The solution is a deduction that returns the updated balance in the same call. In Stigg, that’s synchronous credit consumption: the response carries the new balance, so the next check runs against it rather than waiting for the metering pipeline to settle.
The check runs before the action executes, resolves against a current balance, and has to return in single-digit milliseconds. Stigg’s entitlement checks resolve at p99 under 10ms, so enforcement adds no visible latency to the product.
Enterprise customers need per-team allocations, per-agent budgets, and per-product spend caps, with hard limits at any level of the hierarchy set on their own.
Budgets cascade from the org down through departments, teams, users, and individual agents, and usage rolls back up. Each parent limit is a ceiling its children subdivide, so a single check has to enforce every level above the caller.
The in-house version works on launch day, and nobody questions it until pricing moves. A balance table and an event log are a valid answer for a single product with plain usage patterns.
The system breaks on five requests, and none of them depend on ARR or headcount:
Miro’s story matches the pricing-change row. Its internal tooling became the bottleneck, and a simple plan update turned into a multi-week cross-functional project.
Miro shipped credit-based AI pricing in under 6 weeks on Stigg. Moving off its in-house tooling also saved 5,000 engineering hours that would have gone to building and maintaining it.
The first build was a reasonable call, and the pricing roadmap outgrew it.
Your billing system can track every AI request, but by the time it records an overage, you've already paid for the compute.
Stigg adds enforcement before execution. If a customer has 12,000 drafts available, your application can stop the support agent at draft 12,000, even when the job contains 80,000 tickets. Limits follow the customer's plan, add-ons, trials, and overrides.
With Stigg, the process looks like this:
These checks happen synchronously in the request path, so your application can enforce the customer's current commercial rules before committing more compute.
Stigg's Sidecar runs beside your application as a Docker container. It serves entitlement checks from an in-memory cache, with optional Redis persistence so the cache survives restarts and is shared across instances.
You don't need to rebuild your billing stack to add that control. Stigg lets you adopt one capability at a time:
The result is more control over what customers can consume, without moving invoicing, taxes, or payments out of Stripe, Zuora, or your existing billing provider.
Explore the Stigg docs to see how the Sidecar, Node SDK, and credits engine fit into your application. Start with one usage limit and test what happens when the next batch job reaches it.
Consumption-based billing is a billing model that charges customers for the amount they use, measured in units such as API calls, tokens, compute time, or storage. The invoice follows measured consumption during the billing period.
The main difference between consumption-based billing and subscription billing is how the invoice is calculated. Subscriptions charge a fixed amount at any usage level, while consumption-based billing charges for what was consumed.
The main difference between consumption-based billing and usage-based billing is the label, since both charge customers for what they use. Some vendors use consumption for resource units such as compute time and usage for broader metrics.
No, consumption-based billing records usage and invoices afterward, but a separate enforcement layer can check limits in the request path before an action runs.
A credit-based billing model lets customers buy a balance upfront and draw it down with each billable action. Credits come in blocks with expiry dates, cost basis, and a defined burn order.