AI API cost calculator
Pick a task, set your volume and see what it costs per month on every model in our price index, cheapest first.
Monthly cost by model
Cheapest: Claude Haiku 5.5 — $10.40 per month · Range: $10.40–$1,040
| Model | per month |
|---|---|
| Claude Haiku 5.5 Anthropic · ↗ | $10.40 |
| gpt-6-luna OpenAI · ↗ | $10.40 |
| deepseek-flash DeepSeek · ↗ | $26.64 |
| gemini-3.5-flash-lite Google · ↗ | $43.20 |
| gemini-3.6-flash Google · ↗ | $78.00 |
| gpt-6.1-terra OpenAI · ↗ | $102 |
| Claude Sonnet 5.5 Anthropic · ↗ | $204 |
| gpt-6.1-sol OpenAI · ↗ | $204 |
| Claude Sonnet 5 Anthropic · ↗ | $208 |
| grok-4.7 xAI · ↗ | $232 |
| Claude Opus 5.5 Anthropic · ↗ | $408 |
| Claude Opus 5 Anthropic · ↗ | $520 |
| Claude Fable 5.1 Anthropic · ↗ | $1,010 |
| Claude Fable 5 Anthropic · ↗ | $1,040 |
| gpt-6-astra OpenAI · ↗ | $1,040 |
Questions and answers
How is the monthly cost calculated?
API calls per month × (input tokens × input price + output tokens × output price) ÷ 1,000,000. Cached input uses the provider's cache-read price; with Batch API on, models that publish batch prices use them.
Why can the real bill differ?
Each provider splits text into tokens differently, so the same text is a different number of tokens on different models. Taxes, volume discounts, free tiers, cache-write fees, tool and search fees are not included.
What do caching and Batch API change?
Caching bills repeated input (instructions, history, documents) at a much lower rate. Batch API processes requests asynchronously, usually within 24 hours, at a lower price. Not every model has batch prices; those rows show the standard price.
Where do the prices come from?
From each provider's official pricing page. We check the pages daily and an editor reviews every change before it is published. The date of the prices is shown above the table.