Why Output Tokens and Model Routing Dominate AI Product Economics
Most AI SaaS teams overestimate input token spend and underestimate output tokens (priced 3x–5x higher) and multi-turn agent loops. Routing routine extraction/translation to Flash or DeepSeek tiers while reserving Frontier models for high-stakes reasoning routinely cuts monthly API costs by 70%–85%.
Core Formula: InputCost = (Reqs×InTok/1M) × InPrice × (1 − CacheHit×CacheDisc) | OutputCost = (Reqs×OutTok/1M) × OutPrice
- Convert monthly requests × average input/output tokens into millions of tokens.
- Apply the provider's prompt-caching discount to the cached fraction of input tokens.
- Compare total monthly API spend against subscription MRR to ensure AI COGS stays below 10%–15% for healthy SaaS valuation multiples.
Worked Example: 100,000 Monthly Requests on Frontier Pro vs. Value Tier
An AI workflow SaaS with 400 paying users at $25/mo ($10,000 MRR) runs 100,000 calls/month averaging 2,000 input tokens and 500 output tokens at a 50% cache hit rate.
- On a Frontier Pro tier ($2.50 in / $10.00 out), prompt caching trims input spend to $312.50 while output costs $500—totaling $812.50/month (8.13% of MRR).
- Routing 80% of lightweight classification and translation calls to a $0.15/$0.60 Flash or DeepSeek tier drops the blended bill below $220/month.
- Notice that output tokens account for over 60% of the bill even when input prompts are 4x longer than outputs.
Frequently Asked Questions
How many words equal 1,000 LLM tokens?
In English prose, 1,000 tokens is roughly 750 words. Non-Latin scripts (Japanese, Korean, Chinese) and dense JSON code consume roughly 1.3x–2.0x more tokens per semantic unit.
Do reasoning / thinking tokens count as input or output tokens?
Most providers bill hidden chain-of-thought reasoning tokens at the higher OUTPUT token rate—include estimated thinking tokens inside Average Output Tokens when modeling reasoning models.
What AI COGS percentage is healthy for a subscription SaaS?
Aim to keep LLM inference below 10%–15% of MRR so that after payment/MoR fees (5%–7%) and cloud hosting, your overall SaaS gross margin stays above 75%.