Usage-based billing charges each customer for what they consumed in a period: your app records usage events, a meter adds them up, and a price turns the total into an invoice line. In an AI product the billed unit and your model cost can drift apart, so two customers billed $139 each can cost you $24 and $200.
Prices checked on December 1, 2026, from Anthropic's pricing page and Stripe's Billing pricing page.
Picking the pricing model comes first, and our guide to AI pricing models compares flat, usage, credit and hybrid plans. After that you still have to choose a unit, wire up a meter and check each invoice against that customer's model calls.
How usage-based billing works for an AI product
Every usage-based billing setup has three parts. Your app sends a usage event each time a customer does something billable, a meter totals those events per customer, and a price converts the total into money on the invoice. Metered billing and consumption-based pricing describe the same arrangement: the first term names the mechanism, the second names the commercial model.
The plan can bill every unit in arrears (pay as you go), include an allowance and bill overage above it, or run a credit system where usage draws down a balance. Usage-based pricing for AI covers how to choose between them. AI billing also has a second ledger that your invoice leaves out: each billable event triggers model calls you pay for by the token, at a cost set by the model and the prompt length. Stripe counts the events, while the token cost sits in your logs and your provider's usage report.
What to meter: tokens, requests, credits or outcomes
The unit you meter is the unit your customer reads on the invoice, so it has to make sense to them and still follow your cost. Tokens follow cost best and mean the least to a buyer, while outcomes mean the most to a buyer and follow cost the least.
| Unit | What the customer sees | How well it tracks your cost | Main risk |
|---|---|---|---|
| Tokens | Input and output token counts, often priced per model | Closely, if each model and token type has its own price | Buyers can't predict the bill |
| Requests | A count of messages, generations or API calls | Loosely: a 500-token and a 50,000-token request count the same | Long prompts and expensive models ride at the cheap request's price |
| Credits | A balance that drops by a set amount per action | As well as your weights, until models or prompts change | Fixed weights hide a shift in model mix |
| Outcomes | A charge per resolved ticket, finished report or other result | Poorly: retries and failed runs cost you and bill nothing | Cost per outcome varies widely from case to case |
Assessment assumes you pay a model API per token.
Credits suit products sold to non-developers, because one credit can stand for different work at different weights. The weights are the weak point: if customers move from a cheap model to an expensive one, the meter counts the same credits while your cost per credit climbs. AI credits pricing shows how to weight credits by model and task.
How Stripe usage-based billing works today
Stripe now offers two usage-based billing products. Its docs call Metronome Stripe's primary usage-based billing platform and the recommended start for new integrations. Basic usage-based billing on the Billing Meters API stays fully supported for existing integrations and works with more Stripe products, including Checkout, Connect and the Dashboard (Stripe's comparison).
Stripe metered billing on Billing Meters has three pieces:
- Meter. A meter has an event name and an aggregation method: Sum adds the reported values, Count counts the events, and Last bills the most recent value. After you configure a meter, you can change only its display name, per Stripe's meter guide.
- Meter events. Your app sends the event name, the customer ID and a number, such as tokens used. Timestamps must fall within the past 35 calendar days and no more than 5 minutes in the future. Live mode allows 1,000 meter event calls per second per account, and v2 meter event streams accept up to 10,000 events per second (recording usage with the API).
- Price. A recurring metered price attaches to the meter. Stripe's LLM example, the fictional Hypernian, charges 0.04 USD per 100 tokens, billed monthly (pay-as-you-go guide).
Stripe processes meter events asynchronously, so a preview invoice can trail the latest usage. You can cancel a wrongly reported event only within 24 hours of sending it, and canceling usage that sits on a finalized invoice doesn't correct that invoice. Stripe Billing pricing includes up to 100 million meter events a month, and Billing on pay as you go costs 0.7% of billing volume, on top of card fees of 2.9% + 30¢.
Metronome moves metering out of Stripe. You send events to Metronome's ingest API, Metronome rates them and tracks running balances during the period, and it then creates a matching Stripe invoice for payment and tax (how Metronome works with Stripe). It adds prepaid credit drawdown, commits and dimensional pricing, where one meter charges different rates by an attribute such as model type. Basic usage-based billing supports none of those three.
Included credits, overage and thresholds in Stripe
Stripe's flat fee and overages guide builds the plan from two prices on one subscription. A licensed price charges the fixed fee, $100 a month in the Hypernian example, at the start of the period. A metered price with graduated tiers bills the first 1,000 units at $0 and each unit after that at 0.04 USD.
Billing credits are the other route to included usage. You create a credit grant for a customer, paid or promotional, with an optional expiry date, and the credits never expire unless you set one. Per Stripe's billing credits docs, grants apply only to subscription items on metered prices that report through Meters, after discounts and before tax, and a customer can hold up to 100 unused grants at once.
Timing is the catch for AI products. In basic usage-based billing, Stripe burns credits down when it creates the invoice at the end of the period, so a customer can use more than their balance during the cycle (credit-based pricing guide). Stopping usage or prompting a top-up mid-cycle is your app's job. A billing threshold makes Stripe invoice as soon as a customer's accrued usage reaches an amount you set, instead of at month end.
Example: billed revenue vs AI cost for three customers on a $49 plan
Example. An AI research assistant sells a $49 monthly plan with 2,000 included credits and overage at $0.03 a credit. Each AI request costs 1 credit whatever model the customer picks. A typical request sends 6,000 input tokens and returns 800 output tokens, so its cost depends on the model:
Haiku 5.5: 6,000 × $0.10/M + 800 × $0.50/M = $0.001 per request Sonnet 5.5: 6,000 × $2/M + 800 × $10/M = $0.020 per request Opus 5.5: 6,000 × $4/M + 800 × $20/M = $0.040 per request Price per credit: $49 ÷ 2,000 = $0.0245 included, $0.03 overage
In November, Fernway sent 600 requests on Sonnet 5.5. Birchline sent 5,000, with 4,000 on Haiku 5.5 and 1,000 on Sonnet 5.5. Northwind also sent 5,000, all on Opus 5.5. Birchline and Northwind each used 3,000 credits over the allowance, so each paid $49 + 3,000 × $0.03 = $139.
| Customer | Credits used | Billed | AI cost | Stripe fees | Margin |
|---|---|---|---|---|---|
| Fernway | 600 | $49.00 | $12.00 | $2.06 | $34.94 |
| Birchline | 5,000 | $139.00 | $24.00 | $5.30 | $109.70 |
| Northwind | 5,000 | $139.00 | $200.00 | $5.30 | −$66.30 |
| Total | 10,600 | $327.00 | $236.00 | $12.66 | $78.34 |
Example data. Model prices from Anthropic's pricing page. Stripe fees are 2.9% + 30¢ card processing plus 0.7% Billing.
On Stripe's side, Birchline and Northwind look identical: 5,000 credits on the meter, $139 on the invoice, paid on time. Birchline earns you $109.70. Northwind costs you $66.30.
Why a well-metered customer can still lose money
The meter counted Northwind correctly. The loss comes from the unit price: $0.03 a credit sits below the $0.04 that one Opus 5.5 request costs, so every credit of overage loses a cent before fees. Northwind's invoice rose 184% over the base plan while its margin went negative, so revenue per customer can’t stand in for cost per customer.
Three fixes close that gap, and they work best together:
- Weight the unit by model. Charge 2 credits for an Opus 5.5 request. Northwind's 5,000 requests become 10,000 credits, the invoice rises to $289, and the margin turns to $78.30 after fees.
- Meter units shaped like your cost. Stripe's credit-based example uses one meter for input tokens and one for output tokens, each with its own price. Per-model rates on a single meter need Metronome's dimensional pricing.
- Act on the customer. Move Northwind to a cheaper model you've tested on their tasks, or hold them to the plan's normal daily spend while you fix the price.
Lancelot reads Stripe with read-only access, puts each customer's AI cost next to what they pay, and flags the ones losing money. It then acts within limits you set: it can throttle a customer, switch them to a cheaper model you've approved, hold them to the plan's normal daily spend, or draft an upgrade or top-up offer with your own Stripe Payment Link for you to send. Each action starts as a suggestion, and you can undo any of them (Plan economics).
Questions about usage-based billing
What is usage-based billing?
Usage-based billing charges customers for what they consume in a billing period, such as tokens, requests or credits. Your app records usage events, a meter totals them per customer, and a price converts the total into an invoice line, usually billed in arrears at the end of the month.
How does Stripe usage-based billing work?
You create a meter with an event name and an aggregation method (sum, count or last), attach a metered price to it, and subscribe the customer to that price. Your app sends meter events with the customer ID and a value, and Stripe bills the total at the end of each period.
Should I use Metronome or Stripe Billing Meters?
Stripe recommends Metronome for new usage-based billing integrations, especially if you need prepaid credit drawdown, commits or per-model rates on one meter. Billing Meters remain fully supported for existing integrations and work with more Stripe products, including Checkout, Connect and the Stripe Dashboard.
Can Stripe run a credit system for an AI product?
Yes. Stripe credit grants give a customer paid or promotional billing credits that apply to metered prices, with an optional expiry date and priority. In basic usage-based billing, credits apply when the invoice finalizes, so customers can use more than their balance mid-cycle. Metronome draws credits down as usage happens.
What should an AI product meter: tokens, requests or credits?
Meter credits if your buyers aren't developers, and weight them by model and task so each credit stays above its cost. Meter tokens for developer products that need cost-level precision. Requests are the easiest to explain and track cost the least, since a short prompt and a long one count the same.
How do I know if a usage-based customer is profitable?
Join what each customer paid in Stripe with the cost of the model calls they triggered, tagged by customer ID. Subtract AI cost and payment fees from what they paid. Two customers with the same meter reading can land far apart: in this post's example, $109.70 and −$66.30.
Once your meter and prices are live, check margin per customer each month against what Stripe billed. For setting the unit price itself, and for choosing between flat, usage, credit and hybrid plans, read our guide to AI pricing models.


