Every pricing page is technically correct and practically useless. One provider quotes per 1M tokens, another buries cache discounts in a footnote, a third changes its rates mid-quarter. You end up comparing numbers that were never comparable.
So I did the boring thing: took 13 models from 7 providers, fixed a single reference workload, and priced all of them against it.
The result was a 74x spread — $162/month at the bottom, $12,000/month at the top, for work that looks identical on paper.
The reference workload
To make the comparison meaningful, every model gets the same job:
- 100,000 requests per month
- 6,000 input tokens per request (prompt + retrieved context)
- 1,200 output tokens per request
That's 600M input tokens and 120M output tokens per month.
I picked this shape because it is roughly what a RAG-backed support assistant or a document enrichment pipeline looks like in production: a long-ish input, a short answer. If your workload is different — say, 10x the output — the ranking below changes. That is the point of publishing the method, not just the table.
The table
All prices are USD per 1M tokens, list price, no caching or batch discounts applied. The monthly cost column is arithmetic on the reference workload above, not a vendor claim.
| Model | Provider | Input $/1M | Output $/1M | Context | Monthly cost |
|---|---|---|---|---|---|
| GPT-4o mini | OpenAI | $0.15 | $0.60 | 128K | $162 |
| Llama 3.3 70B (hosted) | Meta | $0.23 | $0.40 | 128K | $186 |
| DeepSeek V3 | DeepSeek | $0.27 | $1.10 | 64K | $294 |
| Gemini 2.5 Flash | $0.30 | $2.50 | 1M | $480 | |
| Claude Haiku 4.5 | Anthropic | $1 | $5 | 200K | $1,200 |
| Mistral Large 2 | Mistral | $2 | $6 | 128K | $1,920 |
| Gemini 2.5 Pro | $1.25 | $10 | 1M | $1,950 | |
| OpenAI o3 | OpenAI | $2 | $8 | 200K | $2,160 |
| GPT-4o | OpenAI | $2.50 | $10 | 128K | $2,700 |
| Claude Sonnet 5 | Anthropic | $3 | $15 | 200K | $3,600 |
| Claude Opus 4.8 | Anthropic | $5 | $25 | 200K | $6,000 |
| Claude Opus 5 | Anthropic | $5 | $25 | 500K | $6,000 |
| Claude Fable 5 | Anthropic | $10 | $50 | 1M | $12,000 |
Cost per request ranges from $0.0016 (GPT-4o mini) to $0.12 (Fable 5).
Finding 1: output tokens set the bill, but not the way people assume
On nearly every model, output is 3x–5x the input price. It's tempting to conclude that output is where the money goes — but at a 5:1 input:output token ratio, output still accounts for roughly half of total spend:
| Model | Output as % of monthly bill |
|---|---|
| Claude Sonnet 5 | 50% |
| GPT-4o mini | 44% |
| Gemini 2.5 Flash | 63% |
| Llama 3.3 70B | 26% |
The practical takeaway: constrain response length before you shop for a cheaper model. Cutting output from 1,200 to 600 tokens on Sonnet 5 saves $900/month — more than switching to Haiku while keeping the verbose output.
Finding 2: context size tells you nothing about price
Gemini 2.5 Flash gives you a 1M-token context for $480/month on this workload. Claude Haiku 4.5 gives you 200K for $1,200. DeepSeek V3 gives you 64K for $294.
Context window, price tier and capability are three independent decisions that vendor marketing deliberately blurs. Price the workload, then check whether the context you actually need fits.
Finding 3: cheap input can be a trap
The ranking above assumes a 5:1 input:output ratio. Flip it — 1,000 input tokens, 4,000 output tokens, same request count — and the cheap-input models lose their advantage fast, because their output rates are not proportionally cheap.
This is the single most common pricing mistake I see: teams pick a model on input price and then discover the workload is output-heavy.
The three levers that beat model choice
1. Prompt caching
Anthropic-style caching bills cache reads at 0.1x the base input rate, with a 1.25x premium on cache writes. If 70% of your input tokens are a stable system prompt plus a document set, the effective input cost collapses:
IN_M = 600 # million input tokens / month P_IN = 3.00 # $/1M input, Sonnet 5 CACHE_HIT = 0.70 CACHE_READ = 0.10 fresh = IN_M * (1 - CACHE_HIT) * P_IN # 180 * 3.00 = $540 cached = IN_M * CACHE_HIT * P_IN * CACHE_READ # 420 * 0.30 = $126 print(fresh + cached) # $666 vs $1,800 That's a 63% cut on input and takes the Sonnet 5 monthly total from $3,600 to $2,466 — before touching the model.
2. Batch processing
Asynchronous batch tiers typically discount both directions by 50%. Any workload that doesn't need a real-time answer — nightly enrichment, backfills, classification of an existing corpus — should never run at interactive prices. On this workload that's another $1,233/month on Sonnet 5.
3. Routing by difficulty
Most production traffic is easy. Running 80% of requests through Haiku 4.5 and 20% through Sonnet 5 costs $1,680/month against $3,600 for an all-Sonnet pipeline — a 53% saving — and the distribution of hard cases is something you can measure rather than guess.
Measure cost per solved task, not cost per token
A model that fails 20% of requests and requires a retry is not cheap, even at $0.15/1M. Two numbers worth logging from day one:
cost_per_solved = (monthly_cost * (1 + retry_rate)) / successful_requests If a cheaper model needs one retry in five, its effective cost per solved task rises by 20-25%. If it needs a human to fix the output, the comparison is over — labour dominates.
How to reproduce this
The whole exercise is four steps:
- Log real prompt and completion token counts for a week — not estimates.
- Fix a reference request count and token shape.
- Multiply by each provider's input/output rates:
cost = in_M * p_in + out_M * p_out. - Add 30-40% for retries, evaluation runs and the prompts nobody budgets for.
I built a calculator that does this arithmetic across models, with cache hit rate and batch share as inputs: AI API pricing calculator. The full table with all 13 models and the monthly figures is on LLM API pricing comparison 2026, which is also the canonical source for this post.
What this doesn't tell you
Price is not quality, and a 74x spread does not mean the $162 option is 74x worse. On hard reasoning tasks, a frontier model that succeeds on the first attempt regularly beats a cheap model that needs three tries plus a human review.
The table tells you what the ceiling and floor of your bill look like. Your eval set tells you where on that range you should actually sit.
Prices are list prices compiled from provider pricing pages in November 2026 and change frequently — verify before committing to a budget. If you spot an outdated figure, I'd genuinely like to know; corrections are welcome in the comments.
