Almost every AI API pricing page answers the wrong question. It tells you the cost of a million tokens, when what you actually need to know is the cost of your workload — one support reply, one code review, one document summary — multiplied by how many of them you run.
This index closes that gap. It takes the published list rates of 22 models across four providers, verified against each vendor’s official pricing page in September 2026, and prices six realistic production workloads against all of them. Every number is reproducible from the methodology at the bottom of this page, and the raw dataset is available to download.
Five findings that per-token price lists hide
- The same workload costs up to 200× more depending on the model. Every one of the six workloads below spans more than 100× from cheapest to most expensive model. Per-token pricing makes that gap invisible because nobody buys a million tokens in the abstract — they buy an answer.
- Crossing a long-context threshold adds about 98%, not the 2× you would expect from the input rate. Six of the models here switch to long-context pricing above a threshold, and the multiplier applies to the entire request — input at 2× and output at 1.5×.
- One extra input token can cost $5,540 per month. At 2,000 calls a month, GPT-6 Astra costs $5,640 at 272,000 input tokens and $11,180 at 272,001. The cliff is a discontinuity, not a slope.
- Splitting a long prompt in two halves the bill. Two 150K-token calls cost 50% less than one 300K-token call on every cliff-affected model, because each request stays on the cheap side of the threshold.
- Prompt caching pays for itself on the second request. Cache writes cost 1.25× normal input and reads cost 0.025–0.1×, so break-even lands between 1.28 and 1.39 reads on every provider that publishes both rates.
Cost per workload
Each workload below states its token assumptions explicitly, because the assumptions matter more than the rates. Change the input-to-output ratio and the ranking can move: output tokens are priced 3–6× higher than input almost everywhere, so a workload that emits a lot is far more sensitive to the output rate than to the input rate.
All figures are standard-tier list prices. Column meanings: Monthly is the no-cache, standard-tier bill; Per 1k req is the same figure divided by thousands of requests; Cached 70% assumes a 70% prompt-cache hit rate; Batch applies the 50% batch discount. The cheapest row in each table is highlighted.
Classification / routing
Ticket triage, intent labels, spam checks. Short in, very short out.
| Model | Monthly | Cached 70% |
|---|---|---|
| Gemini 2.5 Flash-Lite Google | $81.0 | $33.8 |
| GPT-6 Luna OpenAI | $82.5 | $35.2 |
| DeepSeek V4.1 Flash (off-peak) DeepSeek | $122 | $44.3 |
| Gemini 3.1 Flash-Lite Google | $210 | $91.9 |
| DeepSeek V4.1 Flash (peak) DeepSeek | $243 | $88.7 |
| Gemini 3.5 Flash-Lite Google | $262 | $121 |
| Gemini 2.5 Flash Google | $262 | $121 |
| DeepSeek V4 Pro (off-peak) DeepSeek | $525 | $190 |
| Gemini 3.8 Flash Google | $619 | $264 |
| Haiku 4.5 Anthropic | $825 | $352 |
Showing the 10 cheapest of 22 models. The full 22-model matrix for this workload is in the downloadable dataset.
Customer support reply
System prompt + retrieved policy + short answer.
| Model | Monthly | Cached 70% |
|---|---|---|
| Gemini 2.5 Flash-Lite Google | $23.0 | $13.6 |
| GPT-6 Luna OpenAI | $25.0 | $15.6 |
| DeepSeek V4.1 Flash (off-peak) DeepSeek | $34.5 | $19.1 |
| Gemini 3.1 Flash-Lite Google | $67.5 | $43.9 |
| DeepSeek V4.1 Flash (peak) DeepSeek | $69.0 | $38.1 |
| Gemini 3.5 Flash-Lite Google | $95.0 | $66.7 |
| Gemini 2.5 Flash Google | $95.0 | $66.7 |
| DeepSeek V4 Pro (off-peak) DeepSeek | $139 | $71.6 |
| Gemini 3.8 Flash Google | $188 | $117 |
| Haiku 4.5 Anthropic | $250 | $156 |
Showing the 10 cheapest of 22 models. The full 22-model matrix for this workload is in the downloadable dataset.
RAG answer with context
Retrieved passages plus instructions.
| Model | Monthly | Cached 70% |
|---|---|---|
| Gemini 2.5 Flash-Lite Google | $43.2 | $20.5 |
| GPT-6 Luna OpenAI | $45.0 | $22.3 |
| DeepSeek V4.1 Flash (off-peak) DeepSeek | $64.8 | $27.8 |
| Gemini 3.1 Flash-Lite Google | $117 | $60.3 |
| DeepSeek V4.1 Flash (peak) DeepSeek | $130 | $55.5 |
| Gemini 3.5 Flash-Lite Google | $153 | $85.0 |
| Gemini 2.5 Flash Google | $153 | $85.0 |
| DeepSeek V4 Pro (off-peak) DeepSeek | $273 | $112 |
| Gemini 3.8 Flash Google | $338 | $167 |
| Haiku 4.5 Anthropic | $450 | $223 |
Showing the 10 cheapest of 22 models. The full 22-model matrix for this workload is in the downloadable dataset.
Coding agent turn
Repo context, tool results, patch output. Heavy output.
| Model | Monthly | Cached 70% |
|---|---|---|
| Gemini 2.5 Flash-Lite Google | $144 | $68.4 |
| GPT-6 Luna OpenAI | $150 | $74.4 |
| DeepSeek V4.1 Flash (off-peak) DeepSeek | $216 | $92.5 |
| Gemini 3.1 Flash-Lite Google | $390 | $201 |
| DeepSeek V4.1 Flash (peak) DeepSeek | $432 | $185 |
| Gemini 3.5 Flash-Lite Google | $510 | $283 |
| Gemini 2.5 Flash Google | $510 | $283 |
| DeepSeek V4 Pro (off-peak) DeepSeek | $911 | $375 |
| Gemini 3.8 Flash Google | $1,125 | $558 |
| Haiku 4.5 Anthropic | $1,500 | $744 |
Showing the 10 cheapest of 22 models. The full 22-model matrix for this workload is in the downloadable dataset.
Bulk document summarisation
Nightly pipeline over a document backlog.
| Model | Monthly | Cached 70% |
|---|---|---|
| Gemini 2.5 Flash-Lite Google | $224 | $123 |
| GPT-6 Luna OpenAI | $240 | $139 |
| DeepSeek V4.1 Flash (off-peak) DeepSeek | $336 | $171 |
| Gemini 3.1 Flash-Lite Google | $640 | $388 |
| DeepSeek V4.1 Flash (peak) DeepSeek | $672 | $343 |
| Gemini 3.5 Flash-Lite Google | $880 | $578 |
| Gemini 2.5 Flash Google | $880 | $578 |
| DeepSeek V4 Pro (off-peak) DeepSeek | $1,373 | $658 |
| Gemini 3.8 Flash Google | $1,800 | $1,044 |
| Haiku 4.5 Anthropic | $2,400 | $1,392 |
Showing the 10 cheapest of 22 models. The full 22-model matrix for this workload is in the downloadable dataset.
Long-document analysis (past the cliff)
Whole-report analysis. Past 200K/272K every affected model charges long-context rates for the ENTIRE request.
| Model | Monthly | Cached 70% |
|---|---|---|
| Gemini 2.5 Flash-Lite Google | $61.6 | $23.8 |
| DeepSeek V4.1 Flash (off-peak) DeepSeek | $92.4 | $30.7 |
| GPT-6 Luna OpenAI | $123 | $43.2 |
| Gemini 3.1 Flash-Lite Google | $156 | $61.5 |
| DeepSeek V4.1 Flash (peak) DeepSeek | $185 | $61.3 |
| Gemini 3.5 Flash-Lite Google | $190 | $76.6 |
| Gemini 2.5 Flash Google | $190 | $76.6 |
| DeepSeek V4 Pro (off-peak) DeepSeek | $404 | $136 |
| Gemini 3.8 Flash Google | $465 | $182 |
| Haiku 4.5 Anthropic | $620 | $242 |
Showing the 10 cheapest of 22 models. The full 22-model matrix for this workload is in the downloadable dataset.
The context cliff: why one extra token can cost thousands
Six of the models in this index change their unit price once a request crosses a size threshold. The mechanism is the same everywhere: above the threshold, the input rate doubles and the output rate rises by half — and critically, that multiplier applies to the entire request, not just the portion above the threshold.
| Model | Threshold (tokens) | Bill impact |
|---|---|---|
| GPT-6 Astra | 272,000 | +98% |
| GPT-6 Sol | 272,000 | +98% |
| GPT-6 Luna | 272,000 | +98% |
| GPT-5.6 Sol | 272,000 | +98% |
| Gemini 3.1 Pro | 200,000 | +98% |
| Gemini 2.5 Pro | 200,000 | +98% |
That produces a genuine discontinuity. Take GPT-6 Astra running 2,000 calls a month with a 2,000-token answer:
| 272,000 input tokens per call | $5,640 / month |
| 272,001 input tokens per call | $11,180 / month |
One additional token in the prompt — a slightly longer retrieved document, one more sentence of instruction — costs $5,540 a month. This is not a rounding error and it does not appear on any pricing page as a warning.
The workaround: chunk before you cross
Because the multiplier applies per request, splitting a long prompt into pieces that each stay under the threshold avoids it entirely. Two 150K-token calls cost exactly half of one 300K-token call:
| Model | One 300K call | Two 150K calls |
|---|---|---|
| GPT-6 Astra | $12,300 | $6,200 |
| GPT-6 Sol | $2,460 | $1,240 |
| GPT-6 Luna | $123 | $62.0 |
| Gemini 3.1 Pro | $2,472 | $1,248 |
| Gemini 2.5 Pro | $1,560 | $790 |
The trade-off is real and worth stating plainly: chunking removes the model’s ability to reason across the whole document at once. It is the right move for extraction, summarisation and per-section analysis. It is the wrong move when the task depends on relationships between distant parts of the input. If you need both, run the cheap pass first and escalate only the cases that need the full context.
Prompt caching: break-even on the second request
Caching has an entry cost. Writing a prefix to the cache is billed at 1.25× the normal input rate on both OpenAI and Anthropic, so caching is only worth it if you read the prefix back often enough to recover that premium.
The arithmetic is simple. If the write costs W and each read costs R (both relative to uncached input), caching beats not caching after W / (1 − R) reads:
| Model | Input /1M | Cached /1M | Break-even |
|---|---|---|---|
| GPT-6 Astra | $10.00 | $1.000 | 1.39 |
| GPT-6 Sol | $2.00 | $0.200 | 1.39 |
| GPT-6 Luna | $0.10 | $0.010 | 1.39 |
| GPT-5.6 Sol | $4.00 | $0.400 | 1.39 |
| GPT-5.6 Cyber | $12.50 | $1.250 | 1.39 |
| GPT-5.3 Codex | $1.75 | $0.175 | 1.39 |
| Fable 5.1 | $10.00 | $0.250 | 1.28 |
| Opus 5.5 | $4.00 | $0.200 | 1.32 |
| Sonnet 5 | $2.00 | $0.200 | 1.39 |
| Haiku 4.5 | $1.00 | $0.100 | 1.39 |
Every provider that publishes both rates lands between 1.28 and 1.39 reads. In practice that means caching is profitable from the second request that shares a prefix — a very low bar for any workload with a fixed system prompt, a stable tool definition set, or a document that gets queried repeatedly.
The reasoning-token tax
Reasoning tokens are billed as output tokens. That matters because two of the four Anthropic models here have thinking always on — you cannot switch it off — while OpenAI’s GPT-6 family lets you set reasoning effort to none.
For a high-volume, low-difficulty task such as classification or routing, that difference shows up directly in the bill. A model with mandatory reasoning will emit thinking tokens for a task that needed none, and every one of them is charged at the output rate. Before committing to a per-token price, check whether you can actually turn reasoning off on that model — the column below is the one most comparisons omit.
| Model | Context window | Max output | Thinking control |
|---|---|---|---|
| GPT-6 Astra | 1,050,000 | 128,000 | low..max |
| GPT-6 Sol | 1,050,000 | 128,000 | none..max |
| GPT-6 Luna | 1,050,000 | 128,000 | none..max |
| Fable 5.1 | 1,000,000 | 128,000 | always on |
| Opus 5.5 | 1,000,000 | 128,000 | always on |
| Sonnet 5 | 1,000,000 | 128,000 | adaptive |
| Haiku 4.5 | 200,000 | 64,000 | opt-in |
| Gemini 3.8 Flash | 1,048,576 | 65,536 | low/med/high |
| Gemini 3.1 Pro | 1,048,576 | 65,536 | yes |
| Gemini 2.5 Pro | 1,048,576 | 65,536 | yes |
| DeepSeek V4.1 Flash (peak) | 1,000,000 | 384,000 | both modes |
| DeepSeek V4.1 Flash (off-peak) | 1,000,000 | 384,000 | both modes |
| DeepSeek V4 Pro (peak) | 1,000,000 | 384,000 | both modes |
| DeepSeek V4 Pro (off-peak) | 1,000,000 | 384,000 | both modes |
Full price list
List rates per 1M tokens, standard tier, verified September 2026. Google’s Gemini 3 Flash family is on promotional pricing through 31 December 2026 and doubles on 1 January 2027, so treat those rows as temporary.
| Model | Input /1M | Cached /1M | Output /1M |
|---|---|---|---|
| Haiku 4.5 | $1.00 | $0.100 | $5.00 |
| Sonnet 5 | $2.00 | $0.200 | $10.00 |
| Opus 5.5 | $4.00 | $0.200 | $20.00 |
| Fable 5.1 | $10.00 | $0.250 | $50.00 |
| DeepSeek V4.1 Flash (off-peak) | $0.15 | $0.003 | $0.60 |
| DeepSeek V4.1 Flash (peak) | $0.30 | $0.006 | $1.20 |
| DeepSeek V4 Pro (off-peak) | $0.66 | $0.022 | $1.98 |
| DeepSeek V4 Pro (peak) | $1.32 | $0.044 | $3.96 |
| Gemini 2.5 Flash-Lite | $0.10 | $0.010 | $0.40 |
| Gemini 3.1 Flash-Lite | $0.25 | $0.025 | $1.50 |
| Gemini 3.5 Flash-Lite | $0.30 | $0.030 | $2.50 |
| Gemini 2.5 Flash | $0.30 | $0.030 | $2.50 |
| Gemini 3.8 Flash | $0.75 | $0.075 | $3.75 |
| Gemini 2.5 Pro | $1.25 | $0.125 | $10.00 |
| Gemini 3.5 Flash | $1.50 | $0.150 | $9.00 |
| Gemini 3.1 Pro | $2.00 | $0.200 | $12.00 |
| GPT-6 Luna | $0.10 | $0.010 | $0.50 |
| GPT-5.3 Codex | $1.75 | $0.175 | $14.00 |
| GPT-6 Sol | $2.00 | $0.200 | $10.00 |
| GPT-5.6 Sol | $4.00 | $0.400 | $20.00 |
| GPT-6 Astra | $10.00 | $1.000 | $50.00 |
| GPT-5.6 Cyber | $12.50 | $1.250 | $75.00 |
Methodology
So that the numbers can be checked rather than trusted:
- Rates. Taken from each provider’s official pricing page in September 2026: platform.openai.com/docs/pricing, anthropic.com/pricing, ai.google.dev/gemini-api/docs/pricing, api-docs.deepseek.com/quick_start/pricing. Standard service tier only. Batch, flex, priority and fast tiers are excluded except where the tables say otherwise.
- Cost formula.
cost = input_M × (1 − hit) × input_price + input_M × hit × cached_price + output_M × output_price. Cache rates apply to input tokens only. - Long-context handling. Where a provider documents a threshold, the multiplier is applied to the whole request — input and output both — not just to the tokens above the threshold. That matches the vendors’ published wording.
- Cache break-even.
reads = cache_write_multiplier / (1 − cache_read_ratio), using the 1.25× write multiplier that OpenAI and Anthropic both publish. Providers that do not publish a write rate are omitted from that table rather than estimated. - Workload volumes. The six workloads are illustrative, not benchmarks. Their token counts are stated so you can substitute your own. Nothing here is a measurement of speed, quality or reliability — this index is about price only.
Two caveats worth repeating. List prices change without notice, and Google’s promotional Flash pricing expires on 1 January 2027. And a cheap model that fails the task is more expensive than an expensive model that succeeds — the point of this index is to show where the price differences are large enough to be worth testing, not to declare a winner.
Frequently asked questions
Why do the same token counts cost different amounts on different models?
Because providers set their own rates, and the input and output rates move independently. Output is where the divergence is widest: at the time of writing, output rates across these 22 models span from $0.40 to $75 per million tokens — a 187× range — while input rates span 125×.
Should I just pick the cheapest model?
No. The right conclusion is that the spread is large enough to justify routing different traffic to different models. Classification and extraction rarely need a frontier model; multi-step reasoning and code generation often do. The saving comes from matching, not from minimising.
How much does caching actually save?
On the workloads above, a 70% cache hit rate cuts 40–60% off the input portion of the bill. Since input is usually the larger token count but the cheaper rate, the total saving typically lands between 20% and 40%. The tables show the exact figure for each workload.
Is chunking a long document always safe?
No. It is safe when each chunk can be understood independently — extraction, summarisation, per-section classification. It breaks tasks that require cross-document reasoning, comparison, or a global view. Test on your own evaluation set before shipping it.
How often should I re-run this analysis?
Quarterly at minimum, and immediately after any provider announces a price change. Two of the models here carry promotional pricing with a known expiry date, and providers routinely retire models on short notice.
These figures are free to reuse with attribution. Suggested citation:
Qora API. (2026). The 2026 AI API Cost Index: What 22 Models Really Cost Per Workload. https://qoraapi.com/blog/ai-api-cost-index-2026/
Prices verified against provider documentation in September 2026 · dataset: ai-api-cost-index-2026.csv (22 models × 14 fields) · licensed CC BY 4.0
Every technique above — routing by task, capping output, chasing the cheapest capable model — requires you to change which model a request goes to. If your app talks to four providers through four SDKs, that change means four code paths and four retry strategies, which is why most teams never get to it.
QoraAPI exposes all of these models through one OpenAI-compatible endpoint, so routing, failover and budget limits become configuration rather than application code.
Related guides: How to Reduce AI API Costs · Prompt Caching Explained · Batch AI APIs · How AI API Pricing Works · AI API Cost Calculator
