Token Cost Calculator: Compare API Prices Across Providers
This page puts every major model's list price in one table and one calculator. Enter your input tokens, cached tokens, and output tokens, and the calculator returns the cost per request and per month for each model.
Current list prices, all providers
List prices verified 2026-10-11. All prices are USD per 1 million tokens, standard tier.
| Model | Input $/1M | Cached input $/1M | Output $/1M | Context |
|---|---|---|---|---|
| Claude Fable 5.1 | $10.00 | $0.25 | $50.00 | 1,000,000 |
| Claude Opus 5.5 | $4.00 | $0.20 | $20.00 | 1,000,000 |
| Claude Sonnet 5.5 | $2.00 | $0.10 | $10.00 | 1,000,000 |
| Claude Haiku 5.5 (up to 100K prompt) | $0.10 | $0.01 | $0.50 | 1,000,000 |
| Claude Haiku 5.5 (over 100K prompt) | $0.50 | $0.05 | $2.50 | 1,000,000 |
| Claude Fable 5 (legacy) | $10.00 | $1.00 | $50.00 | 1,000,000 |
| Claude Opus 5 (legacy) | $5.00 | $0.50 | $25.00 | 1,000,000 |
| Claude Opus 4.8 (legacy) | $5.00 | $0.50 | $25.00 | 1,000,000 |
| Claude Sonnet 5 (legacy) | $2.00 | $0.20 | $10.00 | 1,000,000 |
| Claude Sonnet 4.6 (legacy) | $3.00 | $0.30 | $15.00 | 1,000,000 |
| Claude Haiku 4.5 (legacy) | $1.00 | $0.10 | $5.00 | 200,000 |
| GPT-6 Astra | $10.00 | $1.00 | $50.00 | 1,050,000 |
| GPT-6.1 Sol | $2.00 | $0.10 | $10.00 | 1,050,000 |
| GPT-6 Luna | $0.10 | $0.01 | $0.50 | 1,050,000 |
| GPT-5.6 Sol (promo price) | $4.00 | $0.40 | $20.00 | 1,050,000 |
| GPT-5.6 Terra | $2.00 | $0.20 | $12.00 | 1,050,000 |
| GPT-5.6 Luna | $0.20 | $0.02 | $1.20 | 1,050,000 |
| GPT-5.5 | $5.00 | $0.50 | $30.00 | 1,050,000 |
| GPT-5 (shuts down Dec 11, 2026) | $1.25 | $0.125 | $10.00 | 400,000 |
| GPT-5 mini (shuts down Dec 11, 2026) | $0.25 | $0.025 | $2.00 | 400,000 |
| GPT-5 nano (shuts down Dec 11, 2026) | $0.05 | $0.005 | $0.40 | 400,000 |
| GPT-4.1 | $2.00 | $0.50 | $8.00 | 1,047,576 |
| GPT-4o | $2.50 | $1.25 | $10.00 | 128,000 |
| GPT-4o mini | $0.15 | $0.075 | $0.60 | 128,000 |
| Gemini 3.8 Flash (promo price) | $0.75 | $0.075 | $3.75 | 1,048,576 |
| Gemini 3.6 Flash (promo price) | $0.75 | $0.075 | $3.75 | 1,048,576 |
| Gemini 3.5 Flash-Lite | $0.30 | $0.03 | $2.50 | 1,048,576 |
| Gemini 3.1 Pro (preview) (up to 200K prompt) | $2.00 | $0.20 | $12.00 | 1,048,576 |
| Gemini 3.1 Pro (preview) (over 200K prompt) | $4.00 | $0.40 | $18.00 | 1,048,576 |
| Gemini 3.1 Flash-Lite | $0.25 | $0.025 | $1.50 | 1,048,576 |
| Gemini 2.5 Pro (up to 200K prompt) | $1.25 | $0.125 | $10.00 | 1,048,576 |
| Gemini 2.5 Pro (over 200K prompt) | $2.50 | $0.25 | $15.00 | 1,048,576 |
| Gemini 2.5 Flash | $0.30 | $0.03 | $2.50 | 1,048,576 |
| Gemini 2.5 Flash-Lite | $0.10 | $0.01 | $0.40 | 1,048,576 |
| DeepSeek V4.1 Flash | $0.30 | $0.006 | $1.20 | 1,000,000 |
| DeepSeek V4 Pro | $1.32 | $0.044 | $3.96 | 1,000,000 |
| Kimi K3 | $3.00 | $0.30 | $15.00 | 1,048,576 |
| Kimi K2.7 Code | $0.95 | $0.19 | $4.00 | 262,144 |
| Kimi K2.7 Code Highspeed | $1.90 | $0.38 | $8.00 | 262,144 |
| Kimi K2.6 | $0.95 | $0.16 | $4.00 | 262,144 |
| Grok 4.7 (under 200K prompt) | $2.00 | $0.50 | $6.00 | 500,000 |
| Grok 4.7 (200K+ prompt) | $4.00 | $1.00 | $12.00 | 500,000 |
| Grok 4.6 (under 200K prompt) | $2.00 | $0.50 | $6.00 | 500,000 |
| Grok 4.6 (200K+ prompt) | $4.00 | $1.00 | $12.00 | 500,000 |
| Grok 4.5 (under 200K prompt) | $2.00 | $0.30 | $6.00 | 500,000 |
| Grok 4.5 (200K+ prompt) | $4.00 | $0.60 | $12.00 | 500,000 |
| Grok 4.3 (under 200K prompt) | $1.25 | $0.20 | $2.50 | 1,000,000 |
| Grok 4.3 (200K+ prompt) | $2.50 | $0.40 | $5.00 | 1,000,000 |
| Grok Build 0.1 (under 200K prompt) | $1.00 | $0.20 | $2.00 | 256,000 |
| Grok Build 0.1 (200K+ prompt) | $2.00 | $0.40 | $4.00 | 256,000 |
Anthropic cached input is the prompt cache read price: 0.1x the input price on most Claude models, 0.05x on Opus 5.5 and Sonnet 5.5, and 0.025x on Fable 5.1. Promotional prices: GPT-5.6 Sol through at least 2026-11-21, then $5.00 / $0.50 / $30.00; Gemini 3.8 Flash and 3.6 Flash through 2026-12-31, then $1.50 / $0.15 / $7.50. Rows split by prompt size bill the higher rate for the whole request once the prompt crosses the threshold. DeepSeek prices are peak rates, checked 2026-10-11; every DeepSeek rate is half price during DeepSeek off-peak hours.
How to compare these prices
Which column matters depends on your workload.
For chat workloads, the output price dominates. A chat response is long relative to its prompt, and output tokens cost 3x to 8x more than input tokens on most models in the table. Two models with similar input prices can produce very different bills once output volume grows.
For agent workloads, the cached input price dominates. An agent re-sends a large stable prefix, system prompt, tools, and history, on every step. When that prefix is cached, most of your input tokens bill at the cached rate. GPT-5 charges $0.125 per 1M cached input tokens against $1.25 uncached, and Claude cache reads bill at 0.1x the input price. The cached column is the one to compare for any loop that runs many steps.
Tokens are not comparable across providers
Each provider counts tokens with its own tokenizer, so identical text produces different token counts on different platforms. The same difference exists inside a provider. Claude models from Opus 4.7 onward use a newer tokenizer that produces roughly 1x to 1.35x the tokens of the older family on the same text. A price-per-token comparison is only exact after you count the tokens with each provider's own counter. Use the token counter before you trust a cross-provider estimate.
Per-provider pricing pages
All Claude models, cache and batch discounts, tokenizer differences by generation.
Gemini 2.5 Pro and Flash, and the 200K prompt price tier explained.
The full GPT lineup with cached input prices for every model.
Context limits also constrain what a model can do at any price. See context windows compared.