How to read AI model pricing
Every row in the AI model pricing table above splits API billing into three separate token meters priced in USD per 1M tokens: standard input, output, and cached input. A single blended number hides almost everything that determines your monthly invoice.
- Standard input tokens cover every uncached system prompt, conversation history turn, retrieval chunk, and tool schema sent into the endpoint. Across the eight flagship models above, input rates span a 133x range — from $0.06 per 1M tokens on Qwen4-35B-A3B up to $8.00 per 1M tokens on GPT-6.2 Astra.
- Output tokens cover every visible completion token plus internal reasoning tokens. Models with always-on or default adaptive thinking — including MiniMax M4, Claude Opus 5.5, Amazon Ergo LLM, and Gemini 4 Neon — bill thinking traces at the full output rate ($3.00 to $20.00 per 1M tokens).
- Cached input tokens apply when repeated prefixes (long system instructions, repository trees, or shared few-shot examples) hit the provider prompt cache. Cache hits cut input billing by 75% to 95% ($0.05 on MiniMax M4, $0.20 on Opus 5.5, $0.03 on Amazon Ergo LLM). Where a provider has not published a cached input rate, this site marks the cell
cached: n/a.
All figures on this page come directly from official vendor rate cards checked on 2026-12-05. You can inspect all 34 endpoints in our full LLM API pricing directory (or download the $5 Monthly price change report PDF + CSV) or explore side-by-side capability scores in our AI model comparison.
Why the cheapest per-token model is not the lowest total cost
Comparing list prices without modeling output verbosity and cache hit rate leads teams to pick the wrong API. Consider a small SaaS code assistant processing 50M input tokens and 10M output tokens per month at a 50% prompt cache hit rate (25M uncached input, 25M cached input, 10M output).
Using our billing formula I * (1 - c) * P_in + I * c * P_cached + O * P_out:
- MiniMax M4 ($0.80 in / $3.10 out / $0.05 cached):
25 * $0.80 + 25 * $0.05 + 10 * $3.10 = $20.00 + $1.25 + $31.00 = $52.25 / month. - Amazon Ergo LLM on AWS Bedrock Global ($1.00 in / $3.00 out / $0.03 cached):
25 * $1.00 + 25 * $0.03 + 10 * $3.00 = $25.00 + $0.75 + $30.00 = $55.75 / month. - Claude Opus 5.5 ($4.00 in / $20.00 out / $0.20 cached):
25 * $4.00 + 25 * $0.20 + 10 * $20.00 = $100.00 + $5.00 + $200.00 = $305.00 / month.
Notice two traps that distort real-world AI model pricing. First, if a reasoning model emits 3x more internal thinking tokens before answering, a $2.00 output model can cost more per solved ticket than a $3.00 output model with tighter reasoning chains. Second, placing dynamic timestamps or user IDs before static system instructions disables prefix caching — pushing MiniMax M4 input cost from $21.25 to $40.00 on the same 50M tokens. Test your own traffic mix in the token cost calculator before choosing an endpoint.
Latest model price moves in December 2026
Three early-December 2026 releases reset frontier and open-weight AI model pricing within a single week:
- MiniMax M4 (Dec 3, 2026): MiniMax launched its 2.74-trillion-parameter MoE (66B active parameters, 1M context) at $0.80 input / $3.10 output / $0.05 cached per 1M tokens. While MiniMax announced M4 as an open-weight model, weights remain in safety review as of 2026-12-05. Read our MiniMax M4 pricing per million tokens and local run guide, review MiniMax M4 alternatives, or examine the MiniMax M4 vs Opus 5.5 cost breakdown.
- Qwen4-35B-A3B (Dec 4, 2026): Alibaba released
Qwen/Qwen4-35B-A3Bunder Apache 2.0 with 35B MoE weights (~3B active per token) plus an offloadable ~20B n-gram table and 1,048,576-token context. Hosted Alibaba Cloud Model Studio rates sit at $0.06 input / $0.36 output / $0.003 cached per 1M tokens, while Q4 GGUF quants fit on a single 24GB GPU. See our Qwen4-35B-A3B pricing and GGUF guide or browse best open source LLMs by VRAM. - Amazon Ergo LLM (Dec 1, 2026): Announced at AWS re:Invent, Amazon Ergo LLM (1.1T total / 55B active MoE, 1M context) is priced at $1.00 input / $3.00 output / $0.03 cached on Bedrock Global cross-region ($1.10 / $3.30 US) and streams at 400+ tok/s on Trainium3, with open weights published on Hugging Face. Check the Amazon Ergo LLM pricing and access page and our Ergo LLM vs Opus 5.5 matchup.
For task-specific accuracy across coding, reasoning, and agentic suites, visit the LLM benchmarks hub. Looking for consumer seats instead of pay-as-you-go tokens? Compare AI subscription pricing across ChatGPT, Claude, and Gemini or test seat break-even math in our Subscription vs API calculator.
API pricing modifiers beyond standard token rates
Most official LLM APIs apply secondary billing modifiers alongside headline per-million rates. Before locking an annual AI model pricing budget, check whether your traffic qualifies for these rules:
- Asynchronous Batch APIs: Anthropic (Claude Opus 5.5, Sonnet 5.5, Haiku 5.5), OpenAI (GPT-6.2 Astra and Sol), Google (Gemini 4), and Mistral all discount asynchronous batch jobs by 50% in exchange for a 24-hour completion window.
- Off-Peak Scheduling & Long-Context Thresholds: DeepSeek applies a flat 50% off-peak discount outside weekday UTC peak hours (01:00-04:00 and 06:00-10:00 UTC), cutting DeepSeek-Pro from $1.32 / $3.96 down to $0.66 / $1.98. Conversely, OpenAI doubles input rates (2x) and raises output rates 1.5x above 272,000 input tokens, and xAI applies 2x multipliers above 200,000 tokens on Grok 4.7.
- Cache Writes vs. Cache Reads: Anthropic charges explicit cache-write premiums ($5.00 5-minute / $8.00 1-hour writes on Opus 5.5) and OpenAI charges 1.25x for 30-minute writes or 2.5x for 12-hour retention, whereas Google Gemini 4 uses automatic implicit prefix caching at a flat 95% discount with no storage fee.