How to Add Usage-Based Pricing to an AI App
Your AI costs scale with usage, a flat subscription doesn't. Pick the right unit to meter and price it with real margin using this worked framework.
How to Add Usage-Based Pricing to an AI App
Flat subscriptions and AI apps have an uncomfortable relationship: your costs scale with usage, but a flat subscription does not. A power user costing you fifty dollars a month in inference sits on the same twenty-dollar plan as someone who logs in twice. Usage-based pricing fixes the mismatch, but only if you meter the right thing and price it with a real margin, not a guess.
Decide what you are actually metering
This is the decision that determines whether your pricing makes sense to a customer or feels arbitrary, and it comes before any pricing math.
Tokens or API calls: precise and directly tied to your own cost, but meaningless to a customer who has no intuition for what "10,000 tokens" buys them. Works best hidden behind a translated unit, see below.
Actions completed: "reports generated," "images created," "conversations handled." Customers understand this immediately because it maps to the value they came for, not your infrastructure.
Compute minutes or seconds: makes sense for anything running a longer job (video processing, large batch generation) where duration itself is the meaningful unit.
Seats plus usage tier: a hybrid where the subscription buys access and a separate usage meter kicks in past an included allowance. This is the most common pattern for B2B AI tools because it keeps predictable base revenue while capturing upside from heavy users.
Whichever you pick, translate it into something a customer would say out loud. Nobody describes their own need as "40,000 tokens." They describe it as "about 200 emails a month," and your pricing page should speak that language even if your backend meters tokens underneath.
Price it with real margin, not a guess
Start from your actual unit cost, including the parts people forget:
Unit cost = inference cost per action
+ amortized infrastructure (hosting, storage, queueing)
+ support cost per active user, amortized
+ payment processing feesA common mistake is pricing off the model API cost alone and discovering months later that infrastructure and support ate the margin. Add a real markup, most AI-native products land somewhere in the 3x to 6x range over raw inference cost once infrastructure and support are included, though the right multiple depends heavily on your support burden and how price-sensitive your specific market is.
Build in headroom for model cost changes too. Frontier model API pricing has moved in both directions over the past two years, and a margin with no buffer means a single vendor price change turns a profitable tier unprofitable overnight.
The tiering pattern that works for most AI products
A free or low-cost tier with a hard usage cap, not a time-limited trial. Usage caps let people evaluate the product at their own pace, which converts better for tools with a learning curve, and cost you a bounded, predictable amount per free user.
A mid tier with a generous included allowance plus metered overage. This is where most paying customers should land: predictable base price, occasional overage charges that scale with their actual growth rather than a jarring plan upgrade.
A usage-heavy or enterprise tier with volume pricing. Past a certain usage level, customers expect a lower marginal rate, and being willing to negotiate here retains your highest-value accounts instead of pushing them to build in-house.
Handling overage without frustrating customers
The single biggest usage-based pricing complaint is surprise bills. Two things prevent it almost entirely: real-time usage visibility inside the product (a running counter, not a dashboard buried three clicks deep), and a spending cap customers set themselves with an alert well before they hit it. Building both costs a fraction of what churn from a surprise bill costs you, and it is the difference between usage-based pricing feeling fair versus feeling like a trap.
A worked example
A document-summarization tool metering "documents processed": base plan $19/month includes 50 documents, overage at $0.60 per document past that. If a document costs roughly $0.12 in inference and processing, that overage price carries a 5x margin, in line with the range above, while the base plan's included 50 documents are priced to be profitable even for a customer who uses every one of them.
This same logic extends directly to designing the credit balance itself, covered in credit systems for AI products, and to the free-vs-paid line decision in free vs paid AI tools: when to actually upgrade. If you serve customers in multiple regions, regional pricing for an AI product covers the margin math across currencies. For deciding which individual features carry a usage charge at all, see how to decide if an AI feature should be free or paid. Our monetization strategies overview covers the broader landscape.
FAQ
Should I meter tokens directly or translate them into a customer-facing unit?
Translate them. Meter tokens on the backend for cost accuracy, but price and display usage in units the customer already thinks in, like documents, reports, or conversations. Raw token counts do not map to value in a customer's head.
What margin should I target on usage-based AI pricing?
Most AI-native products land in the 3x to 6x range over fully-loaded unit cost, including infrastructure and support, not just the raw model API price. Your specific number depends on support burden and price sensitivity in your market.
How do I stop usage-based pricing from generating surprise bills?
Give customers real-time usage visibility inside the product and let them set their own spending cap with an alert before they hit it. This single feature prevents most of the churn usage-based pricing otherwise causes.
Is a hybrid seat-plus-usage model better than pure usage-based pricing?
For B2B tools, usually yes. It keeps predictable base revenue from the subscription while still capturing upside from heavy users through metered overage, which is more palatable to a finance buyer than a bill that varies unpredictably every month.
How did this land?
About the author

Growth & SEO Lead
Manuele covers distribution: SEO, content strategy, and how AI-built products find their first thousand users. He tests everything he recommends.


