The 2026 AI API Cost Index: What 22 Models Really Cost Per Workload

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

  1. 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.
  2. 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×.
  3. 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.
  4. 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.
  5. 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.

1,500 input + 30 output tokens per request × 500,000 requests/month = 750.0M input and 15.0M output tokens per month. Cheapest: Gemini 2.5 Flash-Lite at $81.0. Most expensive: GPT-5.6 Cyber at $10,500.

ModelMonthlyPer 1k reqCached 70%Batch
Gemini 2.5 Flash-Lite Google$81.0$0.16$33.8$40.5
GPT-6 Luna OpenAI$82.5$0.17$35.2$41.2
DeepSeek V4.1 Flash (off-peak) DeepSeek$122$0.24$44.3$60.8
Gemini 3.1 Flash-Lite Google$210$0.42$91.9$105
DeepSeek V4.1 Flash (peak) DeepSeek$243$0.49$88.7$122
Gemini 3.5 Flash-Lite Google$262$0.53$121$131
Gemini 2.5 Flash Google$262$0.53$121$131
DeepSeek V4 Pro (off-peak) DeepSeek$525$1.05$190$262
Gemini 3.8 Flash Google$619$1.24$264$309
Haiku 4.5 Anthropic$825$1.65$352$412

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.

3,000 input + 400 output tokens per request × 50,000 requests/month = 150.0M input and 20.0M output tokens per month. Cheapest: Gemini 2.5 Flash-Lite at $23.0. Most expensive: GPT-5.6 Cyber at $3,375.

ModelMonthlyPer 1k reqCached 70%Batch
Gemini 2.5 Flash-Lite Google$23.0$0.46$13.6$11.5
GPT-6 Luna OpenAI$25.0$0.50$15.6$12.5
DeepSeek V4.1 Flash (off-peak) DeepSeek$34.5$0.69$19.1$17.2
Gemini 3.1 Flash-Lite Google$67.5$1.35$43.9$33.8
DeepSeek V4.1 Flash (peak) DeepSeek$69.0$1.38$38.1$34.5
Gemini 3.5 Flash-Lite Google$95.0$1.90$66.7$47.5
Gemini 2.5 Flash Google$95.0$1.90$66.7$47.5
DeepSeek V4 Pro (off-peak) DeepSeek$139$2.77$71.6$69.3
Gemini 3.8 Flash Google$188$3.75$117$93.8
Haiku 4.5 Anthropic$250$5.00$156$125

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.

12,000 input + 600 output tokens per request × 30,000 requests/month = 360.0M input and 18.0M output tokens per month. Cheapest: Gemini 2.5 Flash-Lite at $43.2. Most expensive: GPT-5.6 Cyber at $5,850.

ModelMonthlyPer 1k reqCached 70%Batch
Gemini 2.5 Flash-Lite Google$43.2$1.44$20.5$21.6
GPT-6 Luna OpenAI$45.0$1.50$22.3$22.5
DeepSeek V4.1 Flash (off-peak) DeepSeek$64.8$2.16$27.8$32.4
Gemini 3.1 Flash-Lite Google$117$3.90$60.3$58.5
DeepSeek V4.1 Flash (peak) DeepSeek$130$4.32$55.5$64.8
Gemini 3.5 Flash-Lite Google$153$5.10$85.0$76.5
Gemini 2.5 Flash Google$153$5.10$85.0$76.5
DeepSeek V4 Pro (off-peak) DeepSeek$273$9.11$112$137
Gemini 3.8 Flash Google$338$11.2$167$169
Haiku 4.5 Anthropic$450$15.0$223$225

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.

60,000 input + 3,000 output tokens per request × 20,000 requests/month = 1200.0M input and 60.0M output tokens per month. Cheapest: Gemini 2.5 Flash-Lite at $144. Most expensive: GPT-5.6 Cyber at $19,500.

ModelMonthlyPer 1k reqCached 70%Batch
Gemini 2.5 Flash-Lite Google$144$7.20$68.4$72.0
GPT-6 Luna OpenAI$150$7.50$74.4$75.0
DeepSeek V4.1 Flash (off-peak) DeepSeek$216$10.8$92.5$108
Gemini 3.1 Flash-Lite Google$390$19.5$201$195
DeepSeek V4.1 Flash (peak) DeepSeek$432$21.6$185$216
Gemini 3.5 Flash-Lite Google$510$25.5$283$255
Gemini 2.5 Flash Google$510$25.5$283$255
DeepSeek V4 Pro (off-peak) DeepSeek$911$45.5$375$455
Gemini 3.8 Flash Google$1,125$56.2$558$562
Haiku 4.5 Anthropic$1,500$75.0$744$750

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.

8,000 input + 800 output tokens per request × 200,000 requests/month = 1600.0M input and 160.0M output tokens per month. Cheapest: Gemini 2.5 Flash-Lite at $224. Most expensive: GPT-5.6 Cyber at $32,000.

ModelMonthlyPer 1k reqCached 70%Batch
Gemini 2.5 Flash-Lite Google$224$1.12$123$112
GPT-6 Luna OpenAI$240$1.20$139$120
DeepSeek V4.1 Flash (off-peak) DeepSeek$336$1.68$171$168
Gemini 3.1 Flash-Lite Google$640$3.20$388$320
DeepSeek V4.1 Flash (peak) DeepSeek$672$3.36$343$336
Gemini 3.5 Flash-Lite Google$880$4.40$578$440
Gemini 2.5 Flash Google$880$4.40$578$440
DeepSeek V4 Pro (off-peak) DeepSeek$1,373$6.86$658$686
Gemini 3.8 Flash Google$1,800$9.00$1,044$900
Haiku 4.5 Anthropic$2,400$12.0$1,392$1,200

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.

300,000 input + 2,000 output tokens per request × 2,000 requests/month = 600.0M input and 4.0M output tokens per month. Cheapest: Gemini 2.5 Flash-Lite at $61.6. Most expensive: GPT-6 Astra at $12,300.

ModelMonthlyPer 1k reqCached 70%Batch
Gemini 2.5 Flash-Lite Google$61.6$30.8$23.8$30.8
DeepSeek V4.1 Flash (off-peak) DeepSeek$92.4$46.2$30.7$46.2
GPT-6 Luna OpenAI$123$61.5$43.2$61.5
Gemini 3.1 Flash-Lite Google$156$78.0$61.5$78.0
DeepSeek V4.1 Flash (peak) DeepSeek$185$92.4$61.3$92.4
Gemini 3.5 Flash-Lite Google$190$95.0$76.6$95.0
Gemini 2.5 Flash Google$190$95.0$76.6$95.0
DeepSeek V4 Pro (off-peak) DeepSeek$404$202$136$202
Gemini 3.8 Flash Google$465$232$182$232
Haiku 4.5 Anthropic$620$310$242$310

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.

ModelProviderThreshold (tokens)Input rate aboveOutput rate aboveBill impact
GPT-6 AstraOpenAI272,0002.0×1.5×+98%
GPT-6 SolOpenAI272,0002.0×1.5×+98%
GPT-6 LunaOpenAI272,0002.0×1.5×+98%
GPT-5.6 SolOpenAI272,0002.0×1.5×+98%
Gemini 3.1 ProGoogle200,0002.0×1.5×+98%
Gemini 2.5 ProGoogle200,0002.0×1.5×+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:

ModelOne 300K callTwo 150K callsSaving
GPT-6 Astra$12,300$6,20050%
GPT-6 Sol$2,460$1,24050%
GPT-6 Luna$123$62.050%
Gemini 3.1 Pro$2,472$1,24850%
Gemini 2.5 Pro$1,560$79049%

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:

ModelProviderInput /1MCached /1MReads are cheaper byBreak-even
GPT-6 AstraOpenAI$10.00$1.00010.0×1.39
GPT-6 SolOpenAI$2.00$0.20010.0×1.39
GPT-6 LunaOpenAI$0.10$0.01010.0×1.39
GPT-5.6 SolOpenAI$4.00$0.40010.0×1.39
GPT-5.6 CyberOpenAI$12.50$1.25010.0×1.39
GPT-5.3 CodexOpenAI$1.75$0.17510.0×1.39
Fable 5.1Anthropic$10.00$0.25040.0×1.28
Opus 5.5Anthropic$4.00$0.20020.0×1.32
Sonnet 5Anthropic$2.00$0.20010.0×1.39
Haiku 4.5Anthropic$1.00$0.10010.0×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.

ModelProviderContext windowMax outputThinking control
GPT-6 AstraOpenAI1,050,000128,000low..max
GPT-6 SolOpenAI1,050,000128,000none..max
GPT-6 LunaOpenAI1,050,000128,000none..max
Fable 5.1Anthropic1,000,000128,000always on
Opus 5.5Anthropic1,000,000128,000always on
Sonnet 5Anthropic1,000,000128,000adaptive
Haiku 4.5Anthropic200,00064,000opt-in
Gemini 3.8 FlashGoogle1,048,57665,536low/med/high
Gemini 3.1 ProGoogle1,048,57665,536yes
Gemini 2.5 ProGoogle1,048,57665,536yes
DeepSeek V4.1 Flash (peak)DeepSeek1,000,000384,000both modes
DeepSeek V4.1 Flash (off-peak)DeepSeek1,000,000384,000both modes
DeepSeek V4 Pro (peak)DeepSeek1,000,000384,000both modes
DeepSeek V4 Pro (off-peak)DeepSeek1,000,000384,000both 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.

ModelProviderInput /1MCached /1MOutput /1M
Haiku 4.5Anthropic$1.00$0.100$5.00
Sonnet 5Anthropic$2.00$0.200$10.00
Opus 5.5Anthropic$4.00$0.200$20.00
Fable 5.1Anthropic$10.00$0.250$50.00
DeepSeek V4.1 Flash (off-peak)DeepSeek$0.15$0.003$0.60
DeepSeek V4.1 Flash (peak)DeepSeek$0.30$0.006$1.20
DeepSeek V4 Pro (off-peak)DeepSeek$0.66$0.022$1.98
DeepSeek V4 Pro (peak)DeepSeek$1.32$0.044$3.96
Gemini 2.5 Flash-LiteGoogle$0.10$0.010$0.40
Gemini 3.1 Flash-LiteGoogle$0.25$0.025$1.50
Gemini 3.5 Flash-LiteGoogle$0.30$0.030$2.50
Gemini 2.5 FlashGoogle$0.30$0.030$2.50
Gemini 3.8 FlashGoogle$0.75$0.075$3.75
Gemini 2.5 ProGoogle$1.25$0.125$10.00
Gemini 3.5 FlashGoogle$1.50$0.150$9.00
Gemini 3.1 ProGoogle$2.00$0.200$12.00
GPT-6 LunaOpenAI$0.10$0.010$0.50
GPT-5.3 CodexOpenAI$1.75$0.175$14.00
GPT-6 SolOpenAI$2.00$0.200$10.00
GPT-5.6 SolOpenAI$4.00$0.400$20.00
GPT-6 AstraOpenAI$10.00$1.000$50.00
GPT-5.6 CyberOpenAI$12.50$1.250$75.00
Download the dataset All 22 models with input, cached-input and output rates, cache read ratios, cache break-even points, long-context thresholds and multipliers, context windows and max output — as a single CSV. ai-api-cost-index-2026.csv ↓

Methodology

So that the numbers can be checked rather than trusted:

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.

Cite this data

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

Acting on this without rewriting your code

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.

Explore QoraAPI →

Related guides: How to Reduce AI API Costs · Prompt Caching Explained · Batch AI APIs · How AI API Pricing Works · AI API Cost Calculator

Build AI features with one clear API

Qora API gives you a single, focused gateway to connect your apps, scripts and automations to AI. Start with one request.

qoraapi.com · AI API gateway for developers