LLM API cost calculator
See what your AI workload will cost every month on each model before you commit to one. The same job can cost many times more on one model than another; this puts the gap in dollars, with batch and cached-input discounts where providers publish them. Prices come from our LLM API pricing timeline, read from each provider's own pricing page, last change recorded 30 Nov 2026.
| Model | Per month | Rates per 1M: input, cached, output | Price since |
|---|---|---|---|
| Anthropic Claude Haiku 5.5 | $2.00 | $0.10 in, $0.01 cached, $0.50 out | 13 Oct 2026 |
| OpenAI gpt-6-luna | $2.00 | $0.10 in, $0.01 cached, $0.50 out | 24 Nov 2026 |
| Mistral Mistral Large 4 | $11.20 | $0.70 in, $0.07 cached, $2.10 out | 4 Nov 2026 |
| Google Gemini Gemini 3.8 Flash | $15.00 | $0.75 in, $0.075 cached, $3.75 out | 27 Oct 2026 |
| DeepSeek deepseek-v4-pro | $21.12 | $1.32 in, $0.044 cached, $3.96 out | 3 Oct 2026 |
| Qwen qwen3.8-max | $32.00 | $2.00 in, no cached price, $6.00 out | 17 Oct 2026 |
| xAI grok-4.7 | $32.00 | $2.00 in, $0.50 cached, $6.00 out | 13 Oct 2026 |
| Anthropic Claude Sonnet 5.5 | $40.00 | $2.00 in, $0.10 cached, $10.00 out | 13 Oct 2026 |
| OpenAI gpt-6.2-sol | $40.00 | $2.00 in, $0.10 cached, $10.00 out | 17 Nov 2026 |
| Google Gemini Gemini 3.1 Pro Preview | $44.00 | $2.00 in, $0.20 cached, $12.00 out | 27 Oct 2026 |
| Moonshot kimi-k3 | $60.00 | $3.00 in, $0.30 cached, $15.00 out | 13 Oct 2026 |
| Anthropic Claude Opus 5.5 | $80.00 | $4.00 in, $0.20 cached, $20.00 out | 13 Oct 2026 |
Formula. Monthly cost = (uncached input tokens x input rate + cached input tokens x cached rate + output tokens x output rate) / 1,000,000. Current inputs: 10,000,000 input tokens and 2,000,000 output tokens a month. Rates are list prices in US dollars per million tokens, standard tier, before batch or volume discounts.
Embed this comparison
Paste this into any page to show the comparison above. It updates with the price data and links back here.
1 model is left out because the provider's page does not publish both an input and an output price.
Each row links to the pricing page it was read from. How we collect prices: LLM API pricing timeline.