AI Cost Per User for SaaS: The Unit Economics

Work out your AI feature cost per user, protect margin, and price so a power user can't sink you. A founder's guide to ai feature cost per user.

Updated 7 min read By CodingEagles
Free tool AI Cost Per User Calculator Work out the monthly AI cost of one user and the margin against what you charge, so you know your unit economics. Open tool

The number that decides whether your AI feature works isn’t the total API bill — it’s the cost to serve one user. Compute it by multiplying a typical request’s tokens by the model’s rates, then by how many requests an average user makes a month. If that figure sits comfortably below what you charge, you have a business; if it doesn’t, you’re paying people to use your product. The AI cost per user calculator builds this from the ground up and shows your margin and break-even price.

Why per-user cost, not total cost

Founders watch the monthly API invoice and panic or relax based on the total. That’s the wrong signal. A rising total can mean healthy growth if each new user is profitable, and a low total can hide a feature that loses money on every heavy user. Unit economics — cost and margin per user — is the number that tells you whether growth helps or hurts.

It’s also the number you can act on. You can’t easily shrink a total bill without losing customers, but you can cut per-user cost with caching, cheaper models and usage caps, and you can raise price above break-even. Everything useful happens at the per-user level.

The formula

Cost per user has three inputs:

  1. Tokens per request — input (the prompt, context and any retrieved documents) plus output (what the model generates).
  2. Model rates — the per-token price for input and output, which differ, often by 3 to 5 times.
  3. Requests per user per month — how often an average user triggers the feature.

Cost per request = (input tokens × input rate) + (output tokens × output rate). Multiply by monthly requests and you have the per-user cost. Subtract it from your price to get margin.

A worked example

Say you’re shipping an AI summariser. An average user runs it 40 times a month. Each request sends 3,000 input tokens (the document plus your prompt) and gets back 500 output tokens.

On a mid-tier model priced around $3 per million input tokens and $15 per million output:

  • Input: 3,000 × $3 / 1,000,000 = $0.009
  • Output: 500 × $15 / 1,000,000 = $0.0075
  • Per request: ~$0.0165
  • Per user per month: 40 × $0.0165 = ~$0.66

Charge $10 a month and your AI cost is $0.66 — a healthy margin before hosting and support. But watch what a power user does: someone running it 500 times a month costs ~$8.25, which nearly wipes out that $10 on AI alone. Your average looks fine; your heaviest user is almost underwater. That gap is the whole game.

Protecting margin against power users

Averages lie because AI usage is lopsided — a small fraction of users generate most of the requests. Price for the average and your heavy users quietly erase the profit from everyone else. Three defences:

  • Cap or meter. Include a generous monthly allowance, then meter or throttle beyond it. Most users never hit the cap; the few who do cover their own cost.
  • Tier by usage. Move heavy users to a higher plan whose price sits above their cost.
  • Cut cost per request. Cache the stable parts of your prompt, trim retrieved context to what’s needed, and route simple requests to a cheaper model. Switching models alone can halve the bill — how much you save switching AI models shows the math.

If your feature is agent-shaped — multiple back-and-forth turns per task — cost climbs faster than a single request suggests, because each turn resends the whole conversation. Why AI agents cost so much explains that compounding, which matters a lot when you’re estimating requests per user.

Set your price above break-even

Break-even is the price where what you charge equals the AI cost of serving that user. It’s the floor, not the target — you still have hosting, retrieval, moderation and support to cover on top. The AI cost per user calculator shows your break-even alongside the per-user cost and flags a negative margin, so you can price the feature before the invoice teaches you the hard way. Remember it’s the model-API floor only; layer the rest of your infrastructure on top before you commit to a number.

Frequently asked questions

How do I calculate AI cost per user?
Multiply the tokens in a typical request by the model's input and output rates to get a cost per request, then multiply by how many requests an average user makes a month. That gives the monthly AI cost of one user. Do it from real usage numbers, not guesses, and compare the result directly against what you charge that user.
What's a healthy AI gross margin for a SaaS feature?
Software targets 70 to 80 percent gross margin, and investors expect AI features to trend toward that as usage settles. Early on, 50 to 60 percent is common while you tune models and caching. Below break-even you're paying users to use the feature — fixable, but only if you can see it. The danger is averages hiding a few heavy users who are deeply underwater.
How do I stop a power user from losing me money?
Cap or meter usage above a threshold, move heavy users to a higher tier, or add usage-based pricing on top of the flat fee. Caching repeated context and routing simple requests to a cheaper model also cut the per-request cost. The goal is that your price sits above the cost of your heaviest realistic user, not just your average one.

Ready to try it?

Work out the monthly AI cost of one user and the margin against what you charge, so you know your unit economics. Free, in-browser, and 100% private — your data never leaves your device.

Open the AI Cost Per User Calculator