Claude API cost calculator
Enter your request volume and token counts. The result is computed on the server from Anthropic's published prices, so it works without JavaScript and every result has a shareable URL.
Claude Sonnet 5 at 1,000 requests per day costs $0.0120 per request, $12.00 per day, $360.00 per month and $4,380.00 per year.
Prices effective 2026-09-06Verified 30 day month, 365 day year
| Line | Quantity per request | Unit price | Per request | Per month |
|---|---|---|---|---|
| input | 3,000 | $2.00 per 1m tokens | $0.006000 | $180.00 |
| output | 600 | $10.00 per 1m tokens | $0.006000 | $180.00 |
- Chat assistant (Sonnet 5, 2k in / 400 out)
- RAG with cached 20k prefix (Opus 5)
- Classification at scale (Haiku 4.5, batch)
Same workload on other models
| Model | Provider | Per request | Per month | Change from selected |
|---|---|---|---|---|
| Claude Haiku 3.5 | Anthropic | $0.004800 | $144.00 | -$216.00 |
| Claude Haiku 4.5 | Anthropic | $0.006000 | $180.00 | -$180.00 |
| Claude Sonnet 5 | Anthropic | $0.0120 | $360.00 | same |
| Claude Sonnet 4.5 | Anthropic | $0.0180 | $540.00 | +$180.00 |
| Claude Sonnet 4.6 | Anthropic | $0.0180 | $540.00 | +$180.00 |
| Claude Opus 4.5 | Anthropic | $0.0300 | $900.00 | +$540.00 |
Full ranking on the comparison page. Want CI to fail when a change pushes the monthly figure past a limit? See budget contracts.
How the number is computed
- Each token dimension is multiplied by its list price per 1M tokens in integer micro-dollars, then rounded half up once per line. No floating point.
- Cache write tokens use the 5 minute TTL price. Cache read tokens use the cache read price. Both are in addition to uncached input tokens.
- Batch API applies the model's published multiplier (50% on every current model) to every token line.
- Month = 30 days, year = 365 days. Taxes, volume discounts and provider commitments are excluded.
- Long-context tiers (Gemini above 200k input tokens) switch automatically when the input token count crosses the threshold.