Tools
Unit economics

Per-User Gross Margin Calculator

Translate per-user AI usage into COGS, gross profit, margin percentage, and minimum sustainable ARPU.

For founders and operators pricing a paid AI feature who need the gross margin and the minimum price per user that stays profitable.

Unit economics
5) for Haiku (
/$5) can cut a token bill ~5×.
9 ARPU minus
AI cost and $6 other COGS = ~72% gross margin.
.20 of AI cost per user; compare that to your subscription price.110
2,200
520
Gross margin
78%
2.56 gross profit per user
AI COGS / user
$0.439
2%
Non-AI COGS
$6.00
per user
Break-even ARPU
$6.44
COGS floor
Annual AI COGS
$5.27
per user
Line itemMonthly
AI usage$0.439
Other COGS$6.00
Gross profit 2.56
This is user-level gross margin, not company operating margin. It is useful for pricing tiers, abuse limits, and fair-use caps.

Example scenario

Suppose a user pays 20 dollars a month and costs about 6 dollars in AI and infrastructure to serve. Gross profit is 14 dollars, a 70 percent margin. If a power user instead costs 25 dollars to serve, that seat is underwater at the same price. Enter your own usage and costs to see the margin and the minimum sustainable price.

What the inputs mean

What the result means

You get the cost to serve one user, the gross profit and gross margin at your price, and the minimum sustainable price (ARPU) that keeps the user profitable. A healthy average can still hide users you serve below cost, so check your heaviest usage too.

Assumptions

Where the prices come from

Token rates come from the source-backed pricing index, where every figure links to the provider's own page and carries a last-checked date. This tool reads those committed numbers; it never calls a provider or fetches live prices.

How the calculation works

Gross profit per user is revenue per user minus the cost to serve that user, where cost to serve is AI spend (your usage times the model rates) plus the other per-user cost you enter. Gross margin is gross profit divided by revenue. The minimum sustainable price is the cost to serve, the point where margin reaches zero. Standard arithmetic; no model internals.

Frequently asked questions

What is a healthy gross margin for an AI app?
It depends on your usage and price, but the lever is the same: revenue per user must clear the cost to serve, with room for the heaviest users. The calculator shows your margin and the minimum sustainable price for your numbers.
How do power users affect my margin?
A few heavy users can cost many times the median, so a healthy average margin can still hide users you serve at a loss. Model your heaviest usage, not just the average.
What should I charge for my AI feature?
At least the cost to serve your target user, plus the margin you need. Enter usage and costs and the tool shows the minimum sustainable price (ARPU) and the margin at any price you pick.
Does this include infrastructure and tools?
Yes, if you enter them as the other per-user cost. It excludes payment fees, support, and salaries unless you add them.

Pricing data last checked 2026-06-01. Rates are read from the source-backed pricing index and its change history. This tool never calls a provider or fetches live prices.