Every AI interaction costs tokens. Every token carries a price. And in the agentic era, a single user request can fan out into 5–50 LLM calls. This guide breaks down 2026 token economics — and gives you the exact levers to cut spend by 70–85% without sacrificing quality.
Tokens are the atomic unit of AI computation — not characters, not words, but sub-word fragments that every LLM uses to read input and write output. Understanding them is understanding the bill.
Common words are 1 token; rare words split into multiple. Code is densest. And as of 2026, tokenisers differ materially by model: Claude Opus 4.7+, Opus 5/5.5, Fable 5/5.1/5.2, Sonnet 5/5.5 and Haiku 5.5 produce ~1.0–1.35× (typically ~30%) more tokens for the same text than Opus 4.6 / Sonnet 4.6 / Haiku 4.5 — so $/MTok is not comparable across tokeniser generations.
GPT-6.2 Astra and Claude Fable 5.2: $8 input vs $40 output per MTok. Claude Opus 5.5: $4 vs $20. GPT-6.2 Sol and Claude Sonnet 5.5: $2 vs $10. Output is 5× input on most current flagships (Grok 4.7, Qwen4-Max and Mistral Large 4: 3×) — a model that writes a lot costs far more than one that reads a lot, though the 2026 price war has compressed the ratio from the old 4–10×.
GPT-6.2 Astra / Sol (reasoning effort), Gemini 4 (thinking levels up to xhigh), Claude Opus 5.5 (thinking always on, effort default medium) and Claude Fable 5.2 (always on) generate internal chain-of-thought tokens that are billed as output but never shown to you — often 3–10× the visible output.
One user request can trigger 5–50 LLM + MCP tool calls. Simple agents use 5K–15K tokens per task; complex multi-agent systems consume 200K–1M+ tokens per task. This is the dominant cost story of 2026.
Your instructions to the model. 200–2,000 tokens. Sent on every single call — prime candidate for prompt caching.
All prior messages in the conversation. Grows every turn. The silent multiplier — often the largest input cost driver.
The actual query plus any retrieved documents (RAG). Usually the smallest component but grows with retrieval.
What the model writes back. Billed at typically 3–5× the input rate on current flagships. Longer responses = proportionally higher cost. The most expensive component per token.
USD per million tokens (MTok) — November 22, 2026. Since the October refresh the top of the market got cheaper and more crowded: Claude Fable 5.2 (Nov 9) and GPT-6.2 Astra (Nov 17) both launched at $8/$40, 20% below the models they replace, and Google put all four Gemini 4 models on its public API — Carbon and Argon at an introductory $2/$10 that doubles on Dec 1, Neon at $3/$15 and Hydrogen at $1.50/$7.50 with a free tier. The floor moved further: Claude Haiku 5.5 (Oct 7) cut Anthropic's budget price 90% to $0.10/$0.50, Meta's Muse Ember matched it a month later, and GPT-6.1 Terra opened a $1/$5 tier under Sol. New entrants priced against incumbents — Muse Wonder at Opus's $4/$20, Kimi K3.1 Pro and Qwen4-Max below it. The fine print multiplied too: Haiku 5.5 bills 5× once a prompt passes 100K tokens, GPT-6.2 and Grok still reprice the whole request past 272K / 200K, DeepSeek bills 2× at peak hours, OpenAI is winding down Flex, and Gemini 3.8 Flash's $0.75/$3.75 expires Dec 31. Output still costs 3–5× input — always model the ratio for your workload.
⚠️ Tokeniser caveat: $/MTok is not directly comparable across models. Claude Opus 4.7+, Opus 5/5.5, Fable 5.x, Sonnet 5/5.5 and Haiku 5.5 use a tokeniser that produces ~1.0–1.35× (typically ~30%) more tokens than earlier Claude models. And token appetite now varies far more than price. On the same Artificial Analysis Intelligence Index v5.0.1 run, GPT-6.2 Astra used 65.8M output tokens ($4.00 per task) while Claude Fable 5.2 — at the identical $8/$40 sticker — used 275M ($26.54 per task); GPT-6.2 Sol cost $1.01 per task and Claude Sonnet 5.5 at max effort $10.02, both at $2/$10; and Gemini 4 Hydrogen costs $0.29 per task at low thinking but $3.16 at xhigh. Benchmark cost per completed task, not price per million tokens. One more caution: the index itself was rebuilt on Oct 27 around mostly private test sets — the same models moved by anything from +4 to −16 points, so the v5 scores ("AA" in the table) cannot be compared with the v4.3 numbers this page used before.
| Model | Provider | Tier | Input $/MTok | Output $/MTok | Cached Input | Context | Best For |
|---|---|---|---|---|---|---|---|
| GPT-6.2 Astra | OpenAI | Flagship | $8.00 | $40.00 | $0.40 | 1M | OpenAI flagship (Nov 17), 20% below GPT-6 Astra. >272K input reprices the whole request ($16/$60). Fast 2×; Ultrafast 3× to Feb 28, 2027, then 6× |
| Claude Fable 5.2 | Anthropic | Flagship | $8.00 | $40.00 | $0.20 | 1M | Most capable Claude (Nov 9), 20% below Fable 5.1 and #1 on the AA index (65). Cache reads 0.025×; fast mode $16/$80. 30-day retention, no ZDR |
| Claude Opus 5.5 | Anthropic | Flagship | $4.00 | $20.00 | $0.20 | 1M | Anthropic's recommended default; AA 59. Cache reads 0.05×; fast mode $8/$40; effort defaults to medium |
| Muse Wonder | Flagship | $4.00 | $20.00 | $0.20 | 1M | Meta's first per-token frontier model (Oct 12). Opus 5.5's list price for AA 44; the stronger Wonder Full is Muse Code-only | |
| Gemini 4 Neon | Flagship | $3.00 | $15.00 | $0.15 | 1M | GA Nov 18. AA 61 — third overall — but very verbose ($6.44 per AA task). Implicit caching only; no free tier | |
| Gemini 4 Carbon | Flagship | $2.00* | $10.00* | $0.10 | 1M | *Intro price through Nov 30 — $4/$20 (cache $0.20) from Dec 1. Google's flagship, GA Nov 10; AA 60. Implicit caching only | |
| Gemini 4 Argon | Flagship | $2.00* | $10.00* | $0.10 | 1M | *Same intro price and Dec 1 doubling. GA Oct 13 — no longer partner-only; AA 50, so Carbon or Neon is the better buy | |
| Kimi K3.1 Pro | Moonshot | Flagship | $2.00 | $10.00 | $0.20 | 1M | Open weights (custom licence); AA 46 — the top open-weight model. A third below Kimi K3 ($3/$15), but slow (~31 tok/s) |
| Grok 4.7 | SpaceXSI | Flagship | $2.00 | $6.00 | $0.50 | 500K | Prompts ≥200K bill the whole request at $4/$12; the Batch API now takes 20% off. AA 35 — and $7.77 per AA task |
| Qwen4-Max | Alibaba | Flagship | $1.50 | $4.50 | $0.075 | 1M | Alibaba's new closed-weight flagship (Nov 16); AA 43. 25% below Qwen3.8-Max ($2/$6), which stays on sale |
| Claude Opus 5.5 (thinking always on) | Anthropic | Reasoning | $4.00 | $20.00 | $0.20 | 1M | Thinking can't be disabled; effort defaults to medium — set it per call. CoT billed as output: $10.04 per AA task at max effort |
| GPT-6.2 Sol (max effort) | OpenAI | Reasoning | $2.00 | $10.00 | $0.10 | 1M | Reasoning tokens billed as output. AA 57 at max vs 53 at medium and 41 at low — pay for max only when it moves your task |
| GPT-6.2 Sol | OpenAI | Mid-Tier | $2.00 | $10.00 | $0.10 | 1M | Nov 17. Replaces GPT-6.1 Sol at the same price; AA 57 for $1.01 per AA task — the value pick. 95%-off cache reads |
| Claude Sonnet 5.5 | Anthropic | Mid-Tier | $2.00 | $10.00 | $0.10 | 1M | Cache reads halved to $0.10 on Oct 7. AA 55; run at medium/high — max effort costs $10.02 per AA task |
| Gemini 4 Hydrogen | Mid-Tier | $1.50 | $7.50 | $0.075 | 1M | GA Nov 12, with a free tier. Google's daily driver: AA 54 at xhigh. Twice Gemini 3.8 Flash's intro price | |
| GLM-5.3 | Z.ai | Mid-Tier | $1.40 | $4.40 | $0.26 | 1M | Open weights (Z.ai's own GLM-5.3 licence); AA 32. Flat across 1M — but $5.01 per AA task |
| DeepSeek V4 Pro (0813) | DeepSeek | Mid-Tier | $1.32 | $3.96 | $0.044 | 1M | Peak-hour list price; off-peak $0.66/$1.98. AA 23 — beaten by the far cheaper V4.1 Flash (33) |
| Muse Spark 1.3 | Mid-Tier | $1.25 | $4.25 | $0.15 | 1M | Meta's mid-tier (Sep 2). The open-weight Muse Spark Open is hosted at the same price | |
| GPT-6.1 Terra | OpenAI | Mid-Tier | $1.00 | $5.00 | $0.05 | 1M | Oct 26. Computer use at scale; AA 51 for $0.96 per AA task. Named replacement for GPT-5 mini (shutdown Dec 11) |
| Gemini 3.8 Flash | Mid-Tier | $0.75 | $3.75 | $0.075 | 1M | Intro price to Dec 31, 2026 → $1.50/$7.50 in 2027. AA 31 on the re-based index; Hydrogen is the successor | |
| Mistral Large 4 | Mistral | Mid-Tier | $0.70 | $2.10 | $0.07 | 1M | Open weights (modified MIT), GA early Nov; AA 26. Replaces Mistral Medium 3.5 ($1.50/$7.50, deprecated Oct 31) |
| MiMo-V2.6-Pro | Xiaomi | Mid-Tier | $0.435 | $0.87 | $0.0036 | 1M | Open weights; AA 30 on the re-based index (it read 46 on v4.3). ~$0.26 per AA task |
| Gemini 3.5 Flash-Lite | Fast & Cheap | $0.30 | $2.50 | $0.03 | 1M | Cheapest current Gemini; ~311 tok/s. AA 12 — extraction and translation, not agents | |
| DeepSeek V4.1 Flash | DeepSeek | Fast & Cheap | $0.30 | $1.20 | $0.006 | 1M | MIT weights (Oct 17 build). Peak list price — off-peak is half ($0.15/$0.60). AA 33 for $0.60 per AA task |
| MiniMax M3.1 Flash | MiniMax | Fast & Cheap | $0.15 | $0.60 | $0.015 | 1M | Oct 19. Half the price of MiniMax M3 and ten index points higher (AA 29 vs 19); weights on Hugging Face |
| GLM-5.3-Flash | Z.ai | Fast & Cheap | $0.15 | $0.50 | $0.03 | 1M | MIT open weights, multimodal; AA 28 at ~1/9 of GLM-5.3's price |
| Qwen3.8-Flash | Alibaba | Fast & Cheap | $0.15 | $0.47 | $0.016 | 1M | Cheap multimodal workhorse; AA 29; no peak pricing |
| Claude Haiku 5.5 | Anthropic | Fast & Cheap | $0.10 | $0.50 | $0.01 | 1M | Oct 7 — 90% below Haiku 4.5; AA 36. Prompts >100K tokens bill the whole request at $0.50/$2.50 |
| Muse Ember | Fast & Cheap | $0.10 | $0.50 | $0.004 | 1M | Nov 9. Ties Haiku 5.5 (AA 36) at ~458 tok/s — $0.14 per AA task | |
| GPT-6 Luna | OpenAI | Fast & Cheap | $0.10 | $0.50 | $0.01 | 1M | OpenAI's nano tier; AA 28. Named replacement for GPT-5 nano and GPT-5.4 Nano. >272K input: $0.20/$0.75 |
| Qwen3.8-27B | Alibaba | Open Source | Free* | Free* | — | 262K | Apache 2.0; one 24GB GPU at 4-bit; AA 20. *Self-host (the free OpenRouter variant is no longer listed) |
| Gemma 4 (31B Dense) | Open Source | Free* | Free* | — | 256K | Apache 2.0. *Free on the Gemini API free tier and OpenRouter. AA 4 — simple tasks only | |
| Muse Glimmer | Open Source | Free* | Free* | — | 131K | Apache 2.0, US-origin, ~30B agent-tuned; runs on one 24GB GPU. *Self-host | |
| Inkling 2 Small | Thinking Machines | Open Source | $0.30 | $1.00 | $0.03 | 1M | Apache 2.0 weights (Nov 12) from a US lab; AA 31 — the best open-weight score outside China. Hosted price shown |
| Muse Spark Open | Open Source | $1.25 | $4.25 | $0.15 | 1M | 816B open weights (Oct 15) under Meta's Muse Model License — reselling it as a service needs Meta's agreement. AA 25. Hosted price shown | |
| Qwen3.8 2.4T-A95B | Alibaba | Open Source | Free* | Free* | — | 262K | Open twin of Qwen3.8-Max (custom licence); needs a multi-node cluster. *Self-host |
Takeaway: three vendors now sell a $0.10/$0.50 tier that undercuts DeepSeek's peak-hour price on every workload ($17 vs $43/mo for the chatbot). On agent loops the cache-read rate matters as much as the headline price: Claude Fable 5.2 and GPT-6.2 Astra share an $8/$40 sticker, yet Fable's 0.025× cache reads make it $2,550/mo cheaper here — and without caching the same Opus 5.5 workload costs ~$72,000/mo.
These are proven, production-tested techniques. Combined, organisations routinely achieve 40–80% cost reduction. Start with the high-impact ones — they require minimal engineering effort.
Providers cache the key-value matrices of repeated prompt prefixes. This is the single highest-impact optimisation — up to 90–97.5% cheaper on cached input tokens with minimal code changes.
cache_control parameter for explicit breakpoints. Target 80–95% hit rate. November 2026 note: at Anthropic, OpenAI and Google, cache reads now cost anywhere from 1/40 of list input (Claude Fable 5.2, $8 → $0.20) to 1/10 (Claude Haiku 5.5, GPT-6 Luna), while Grok 4.7 still charges a quarter ($0.50 on $2) — and at the same $8 sticker GPT-6.2 Astra's cached input ($0.40) costs twice Fable 5.2's. On long agent loops the cache rate, not the list price, sets the bill. Two new traps: Claude Haiku 5.5 counts cache reads toward its 100K-token price cliff, and Gemini 4 caches implicitly, so you cannot pin a prefix.
The 2026 default architecture. Send 70% of traffic to nano-tier (Claude Haiku 5.5 / GPT-6 Luna / Muse Ember / DeepSeek V4.1 Flash) for classification + simple tool calls, 25% to mid-tier (GPT-6.2 Sol / Claude Sonnet 5.5 / Gemini 4 Hydrogen / GPT-6.1 Terra) for structured reasoning, and only 5% to frontier (Claude Opus 5.5 / Fable 5.2 / GPT-6.2 Astra / Gemini 4 Carbon) for ambiguous planning. Cost runs at ~22% of sending everything to Claude Opus 5.5 ($5,120 vs $23,550/mo in the agentic scenario above), with statistically indistinguishable quality on 200-pair golden sets. Route on two axes — tier AND effort: on the Artificial Analysis index GPT-6.2 Sol at max effort scores 57, the same as GPT-6.2 Astra at medium, for a quarter of Astra's list price; and Gemini 4 Hydrogen costs eleven times more per task at xhigh than at low. Sakana's Fugu Ultra v2.0 ($5/$30) even sells routing as a model.
gen_ai spans BEFORE turning on routing. Pin exact gateway versions and hashes — poisoned LiteLLM 1.82.7/1.82.8 were live on PyPI for ~40 minutes on Aug 13 and stole cloud, SSH and Kubernetes credentials.
Every message in a multi-turn chat is resent on every call. A 40-turn conversation carries 25,000+ input tokens — the largest invisible cost driver. Sliding window truncation + summarisation eliminates this.
Instead of caching exact strings, semantic caching uses vector embeddings to serve cached responses when queries are semantically similar (≥0.85–0.95 cosine similarity). Avoids the API call entirely for repetitive queries.
Verbose prompts don't produce better outputs — they just cost more. Filler phrases like "You are a helpful, professional, knowledgeable assistant" add tokens with zero information gain. Telling a model to "be concise" reduces output tokens by 57–59%.
Output tokens typically cost 3–5× more than input. Setting max_tokens limits and requesting structured JSON instead of prose cuts the most expensive part of every call.
max_tokens parameter per call typemax_tokens as a hard upper bound for each use-case tier.
RAG pipelines often dump entire document chunks into context — including sentences irrelevant to the query. Pre-filtering retrieved chunks to only query-relevant sentences cuts RAG input tokens by 50–80% with maintained accuracy.
Most providers offer 50% discounts for asynchronous batch API calls. Non-real-time workloads — nightly reports, document analysis, bulk classification — are ideal candidates with zero quality trade-off.
Reasoning models — Claude Opus 5.5 (thinking can't be disabled; effort default medium), Claude Fable 5.2 (always on), Claude Sonnet 5.5 (defaults to high; thinking off only via between_tools), GPT-6.x (reasoning effort), Gemini 4 (thinking levels) — generate internal chain-of-thought tokens before responding: billed but invisible. CoT can be 3–10× the visible output. For a FAQ bot or classifier, you may be paying 5–20× more than necessary.
Fine-tuning embeds task knowledge directly into the model, eliminating the need for lengthy few-shot examples in every prompt. For stable, high-volume tasks, fine-tuned smaller models can outperform generic larger ones at a fraction of the cost.
* Savings are on applicable token spend per technique — not additive across all calls. Most production systems achieve 70–85% total spend reduction by combining prompt caching + 70/25/5 routing + context management + agentic budget caps. Source: Obvious Works 2026, Redis LLMOps Guide, FinOps Foundation State of FinOps 2026.
In the chatbot era, one user message = one API call. In the agentic era, one user message can fan out into 5–50 LLM + MCP tool calls — and a Reflexion loop running 10 cycles consumes 50× the tokens of a linear pass. This is the dominant tokenomics story of 2026, and it's why 73% of enterprises blew past their AI budget.
1 call · 500–2K tokens · $0.001–$0.02 per task
3–8 calls · 5K–15K tokens · $0.05–$0.50 per task
15–30 calls · 50K–200K tokens · $1–$8 per task
50+ calls · 200K–1M+ tokens · $5–$50 per task
Anyone who modelled costs on chatbot benchmarks is now 5–30× over budget. Microsoft Research: an unconstrained coding agent costs $5–$8 to resolve a single SWE-bench issue.
A self-critique loop running 10 cycles consumes 50× the tokens of a single linear pass. Without circuit breakers, a stuck ReAct loop can burn $50/min on frontier models.
Episodic memory writes (MemOS, Mem0, Zep) and skill-doc generation (Hermes Agent pattern) consume output tokens. Budget for them in OTEL gen_ai.tokens.write spans.
The 2026 SLO unit: cost-per-resolved-task, not cost-per-token. November's proof points, all from the same Artificial Analysis index run: GPT-6.2 Astra and Claude Fable 5.2 share an $8/$40 sticker, but Astra costs $4.00 per task and Fable $26.54; GPT-6.2 Sol finishes for $1.01 while Claude Sonnet 5.5 at max effort costs $10.02 at the same $2/$10; and Grok 4.7, one of the cheapest flagships by list price ($2/$6), costs $7.77 per task. Agent SREs alarm when OTEL cost.per_task p95 exceeds 2× baseline, auto-rolling back via Argo Rollouts.
FinOps Foundation State of FinOps 2026: Average enterprise AI budget grew from $1.2M (2024) → $7M (2026). 73% of enterprises report AI costs exceeded original budget projections. Fortune 500 firms report monthly inference bills in the tens of millions. The root cause in nearly every case: chatbot-era cost models applied to agentic-era workloads. Gartner (Sep 2026) raised its 2026 worldwide AI spending forecast to $2.7T (+49.5% YoY), and Salesforce alone has committed ~$300M to Anthropic tokens in 2026.
Beyond prompt-level changes, these infrastructure techniques address token costs at the compute layer — particularly relevant for self-hosted deployments and high-scale agentic systems.
For self-hosted deployments, the KV (key-value) cache is the dominant memory bottleneck. Recent research shows 70–90% memory reduction is achievable with minimal accuracy loss — enabling longer contexts on the same hardware.
Pair the target model with a lightweight draft model that proposes multiple tokens simultaneously. The target model verifies the batch in a single forward pass — achieving 2–5× faster generation with identical output quality.
Multi-agent systems can consume 4–15× more tokens than single-agent calls if not carefully orchestrated. Parallel execution, tool fusion, and model tiering within agent graphs dramatically reduce token overhead.
Quantisation reduces model weight precision from FP16 to INT8 or INT4, cutting memory requirements by 2–4× with minimal quality loss. Enables running larger models on cheaper hardware.
Where your model runs shapes per-token economics as much as which model you choose. At low volumes, API access wins. At scale, the economics flip decisively. Two-thirds of enterprises are now repatriating AI workloads on-premise (Finout 2026).
NCP becomes cheaper per-token than API access
AI factory per-token cost drops below API access
AI factory beats both API and NCP on per-token TCO
AI factory delivers 50%+ savings vs API at equivalent token volumes
Source: Deloitte "The Pivot to Tokenomics" — AI Economics Report 2025
Largest direct cost. NVIDIA HGX B200 GPUs, high-bandwidth memory, accelerators. Dominant cost at 10B token scale.
AI GPU racks draw 250–300kW vs 10–15kW for standard servers. Liquid cooling required at scale.
AI frameworks, orchestration tools, MLOps platforms, compliance tooling, enterprise support.
InfiniBand/NVLink GPU interconnects. High-bandwidth switches. Contributes 10–20% of TCO typically.
You cannot optimise what you cannot see. AI FinOps is the emerging practice of applying cloud financial governance discipline to token-based spending — and it's now the #1 priority for FinOps teams in 2026.
State of FinOps 2026 (FinOps Foundation): AI is now the fastest-growing new category of enterprise spend — average AI budget jumped from $1.2M (2024) to $7M (2026), and 73% of enterprises report AI costs exceeded original budget projections. 98% of respondents now use FinOps to manage AI spend (up from 31% in 2024). 33% named FinOps for AI as their #1 current or future priority — ahead of all others. New 2026 metric: cost per thought and token budget per project have replaced raw token counts as the unit economics of choice.
gen_ai spans to CFO-grade unit economics. Enterprise FinOps standard.Everything above, distilled into an operating doctrine — November 2026 edition. The through-line: architecture beats prompt tweaks, measurement beats intuition, and cost-per-completed-task beats every per-token metric. A cheaper path that silently drops quality is the most expensive mistake in this entire guide.
gen_ai spans; tag every call with model, team & use-case. You cannot cut what you cannot seegen_ai spans, tag by model/team/use-case, stand up a cost-per-task dashboard. No optimisation yet — you need a before picturecost.per_task p95 > 2× baseline; re-shop the pricing table monthly; re-run the golden set on every model or prompt changeEstimate your monthly API spend and see how the optimisation levers reduce it in real time. Toggle each lever to build your optimisation roadmap.