LLM API pricing compared: price per million tokens (December 2026)
Short answer: as of December 2026, current models range from about $0.05 to $8 per million input tokens and $0.30 to $40 per million output tokens. For a typical request (1,200 tokens in, 300 out) that's $0.17 to $21.60 per 1,000 requests, a 100× spread. The cheapest model that passes your tests is usually far below the top of the table.
Prices per million tokens
List prices on OpenRouter in December 2026, sorted by the cost of 1,000 requests with 1,200 input and 300 output tokens each. A lab's own API can charge a different price from OpenRouter (Google's own price for Gemini 3.8 Flash is $0.75 / $3.75, doubling on January 1, 2027; DeepSeek's own API has peak and off-peak rates), and open-weight models are sold by several providers at different prices (more on that). Each lab's own prices, discounts and older models: OpenAI, Claude, Gemini, DeepSeek, Grok.
| Model | Lab | Input / 1M | Output / 1M | 1k requests |
|---|---|---|---|---|
| MiniMax M3.1 Flash | MiniMax | $0.07 | $0.30 | $0.17 |
| DeepSeek V4.1 Flash | DeepSeek | $0.05 | $0.57 | $0.23 |
| Claude Haiku 5.5 | Anthropic | $0.10 | $0.50 | $0.27 |
| Command A+ | Cohere | $0.30 | $1.50 | $0.81 |
| GLM 5.3 FlashX | Z.ai | $0.37 | $1.25 | $0.82 |
| Mistral Large 4 | Mistral | $0.70 | $2.10 | $1.47 |
| Gemini 3.8 Flash | $0.83 | $4.12 | $2.23 | |
| GPT-6.1 Terra | OpenAI | $1.00 | $5.00 | $2.70 |
| Kimi K3.1 Pro | Moonshot AI | $0.25 | $8.80 | $2.94 |
| Qwen4 Max | Qwen (Alibaba) | $1.42 | $4.27 | $2.98 |
| GLM 5.3 Prime | Z.ai | $1.68 | $5.28 | $3.60 |
| Gemini 4 Hydrogen | $1.50 | $7.50 | $4.05 | |
| Mistral Medium 3.5 | Mistral | $1.50 | $7.50 | $4.05 |
| Grok 4.6 | xAI | $2.00 | $6.00 | $4.20 |
| Grok 4.7 | xAI | $2.00 | $6.00 | $4.20 |
| Qwen3.8 Max | Qwen (Alibaba) | $2.00 | $6.00 | $4.20 |
| Claude Sonnet 5.5 | Anthropic | $2.00 | $10.00 | $5.40 |
| GPT-6.1 Sol | OpenAI | $2.00 | $10.00 | $5.40 |
| GPT-6.2 Sol | OpenAI | $2.00 | $10.00 | $5.40 |
| Command A | Cohere | $2.50 | $10.00 | $6.00 |
| Gemini 4 Neon | $3.00 | $15.00 | $8.10 | |
| Claude Opus 5.5 | Anthropic | $4.00 | $20.00 | $10.80 |
| Gemini 4 Argon | $4.00 | $20.00 | $10.80 | |
| Claude Fable 5.2 | Anthropic | $8.00 | $40.00 | $21.60 |
| GPT-6.2 Astra | OpenAI | $8.00 | $40.00 | $21.60 |
Why the list price isn't your price
- Output length differs by model. Output tokens cost 3–35× more than input tokens in this table. A model that answers in 500 tokens where another uses 250 costs much more than its price suggests.
- Reasoning tokens. Models that "think" before answering bill those thinking tokens as output. On a hard prompt they can be several times the visible answer.
- Tokenizers differ. The same text can be a different number of tokens on different models.
- Discounts. The major labs offer cheaper rates for cached input (a long system prompt you send every time) and for batch requests that don't need an answer right away. They can cut a bill a lot, but only if your traffic fits.
So the number to compare is cost per 1,000 of your own requests, from the token counts the API actually returns. Cost calculator and formula.
What's the cheapest LLM API?
On list price, the small "flash"-type models at the top of the table. But the cheapest model that does your job is the one that matters, and you only find it by testing a few on your prompts: a $0.27 model that fails 1 in 10 answers can cost you more than a $2.70 one that doesn't. How to compare models on your own prompts.