AI API cost calculator
Estimate what the API of the main AI models will cost you. Enter the tokens per request and the number of requests.
Estimated cost
Input ($10/1M tokens)$1.00
Output ($50/1M tokens)$1.00
Total$2.00
Price table per million tokens
Prices in USD. Last verified: 11 July 2026.
| Model | Provider | Input / 1M | Output / 1M |
|---|---|---|---|
| Claude Fable 5 | Anthropic | $10 | $50 |
| Claude Opus 4.8 | Anthropic | $5 | $25 |
| Claude Sonnet 5 | Anthropic | $3 | $15 |
| Claude Haiku 4.5 | Anthropic | $1 | $5 |
| GPT-5.6 Sol | OpenAI | $5 | $30 |
| GPT-5.6 Terra | OpenAI | $2.5 | $15 |
| GPT-5.6 Luna | OpenAI | $1 | $6 |
| GPT-5.2 | OpenAI | $1.75 | $14 |
| Gemini 3.1 Pro | $2 | $12 | |
| Gemini 3.5 Flash | $1.5 | $9 | |
| Gemini 3.1 Flash-Lite | $0.25 | $1.5 |