LLM Unit Economics Calculator
Model AI SaaS token COGS, prompt-cache savings, power-user break-even caps, and gross margin across OpenAI, Anthropic, and Google Gemini pricing tiers.
Gross margin (Estimate)
73%
Hybrid AI (60–74%)
Monthly LLM COGS / user
$5.62
$0.0187 / req · saved $1.13 via cache
Gross profit / user / mo
$21.18
Total COGS $7.82
Break-even requests / mo
1,431
Power-user cap before negative margin
Cross-provider margin comparison (same workload)
| Model | $/req | LLM COGS/mo | Gross margin | Break-even reqs |
|---|---|---|---|---|
| OpenAI · GPT-4o mini | $0.0009 | $0.27 | 91.5% | 29,777 |
| OpenAI · GPT-4o | $0.0150 | $4.50 | 76.9% | 1,786 |
| OpenAI · OpenAI o3-mini | $0.0066 | $1.98 | 85.6% | 4,060 |
| Anthropic · Claude 3.5 Haiku | $0.0050 | $1.50 | 87.2% | 5,368 |
| Anthropic · Claude 3.7 Sonnet | $0.0187 | $5.62 | 73% | 1,431 |
| Google · Gemini 2.5 Flash | $0.0027 | $0.82 | 89.6% | 9,798 |
| Google · Gemini 2.5 Pro | $0.0111 | $3.32 | 81% | 2,423 |
Next step after running this check
Runs locally in your browser with zero pasted content sent to SerpVI servers.
How to price an AI SaaS without getting crushed by power users
Flat-rate $19–$49/month subscriptions create asymmetric unit economics when backed by frontier reasoning models. Even if your median user looks healthy at 78% gross margin, the top 5% of heavy users can generate 40% of total API spend. Use the cross-provider comparison table above to test model routing (sending simple tasks to mini/Flash/Haiku models while reserving frontier tiers for high-value steps) and set defensible plan quotas.
For published industry margin bands and prompt-caching economics, read our research reference on AI SaaS unit economics & token COGS.
AI SaaS gross-margin decision matrix
| Gross margin band | Interpretation | Pricing & engineering lever |
|---|---|---|
| ≥75% (SaaS-grade) | Healthy margin supporting organic & paid CAC payback. | Maintain prompt caching; monitor p95 user usage distribution monthly. |
| 60–74% (Hybrid AI) | Common for frontier-model copilots; sensitive to heavy users. | Route 60–80% of classification/extraction calls to fast tiers; add soft fair-use or BYOK overage. |
| 0–59% (Thin) | Services-like margin; little room for marketing or support overhead. | Raise seat price, cap included credits with transparent usage packs, and trim verbose output tokens. |
| <0% (Negative) | Every active subscriber loses cash immediately. | Introduce hard credit limits, switch default model tier, or move heavy workloads to BYOK. |
Worked numerical example
Worked example — $29/mo AI SaaS on Claude 3.7 Sonnet:
Workload: 300 reqs/mo × (3,500 input tokens, 40% cached + 800 output tokens)
Input cost/req: (2,100/1M × $3.00) + (1,400/1M × $0.30) = $0.00630 + $0.00042 = $0.00672
Output cost/req: (800/1M × $15.00) = $0.01200
Total cost/req = $0.01872 → Monthly LLM COGS = $5.62 (saved $1.13 via prompt cache)
Plus $2.20 hosting/Stripe COGS → Total COGS = $7.82/user/mo
Gross profit = $21.18/user → Gross margin = 73.0% (Hybrid AI band)
Break-even cap = 1,431 requests/mo per subscriberWhy output tokens dominate agent bills
- 4×–5× output multiplier: Across OpenAI, Anthropic, and Gemini, output tokens cost 3× to 8× more than uncached input tokens — and up to 50× more than cached input tokens. Concise structured JSON outputs often cut bills more than shrinking prompts.
- Don't forget payment & infra COGS: Stripe/Merchant-of-Record fees (3–5% + fixed fee), database hosting, and support overhead belong in COGS before quoting gross margin to investors.
Related tools
- SaaS NDR & MRR Waterfall Calculator — Calculate monthly and annualized Net Dollar Retention (NDR), Gross Dollar Retention (GDR), MRR waterfall, and SaaS Quick Ratio in your browser.
- GEO Content ROI Calculator — Forecast combined organic search and AI assistant referral ROI, monthly gross profit, AI value share, and break-even month.
- SEO ROI Calculator — Free SEO ROI calculator: estimate traffic, revenue, cost, and break-even month from your assumptions. Transparent formula, no signup.
- Percent change calculator — Compute period-over-period percent change from two numbers with the same formula serpvi uses in analysis (undefined when previous is zero).
Questions
- Why do AI SaaS gross margins diverge from traditional 80%+ SaaS margins?
- Traditional SaaS carries near-zero marginal compute cost per click. In AI SaaS, every prompt consumes variable input and output tokens — so power users on flat-rate plans can push gross margins below 50% or even negative without model routing, caching, or usage caps.
- How much does prompt caching actually save?
- On workloads with large shared system prompts, tool definitions, or document contexts, prompt caching discounts cached input tokens by 50% to 90% depending on provider (e.g., OpenAI 50% discount, Anthropic up to 90% cache-read discount). Because output tokens are never cached, caching helps input-heavy RAG and agent loops most.
- What is break-even requests per month?
- It is the monthly request count at which a single subscriber's LLM token COGS plus fixed non-LLM COGS (hosting, payment fees) equals their subscription price — marking the exact threshold where heavy power users become unprofitable.
- Are the model prices live API feeds?
- No. They are published reference API list rates per 1M tokens for OpenAI, Anthropic, and Google Gemini tiers as of the calculator's update. Always confirm current provider pricing pages before locking annual enterprise quotes.
- How should I combine this with SaaS retention metrics?
- Pair gross margin from this tool with Net Dollar Retention in our SaaS NDR & MRR Waterfall Calculator — high churn plus thin 55% AI gross margins makes paid acquisition nearly impossible to pay back.