Claude Sonnet 5 vs Claude Haiku 4.5: API cost
Standard, cached and batch API prices for Claude Sonnet 5 (Anthropic) and Claude Haiku 4.5 (Anthropic), and what each costs for your usage.
Claude Haiku 4.5 is cheaper than Claude Sonnet 5 at standard rates, with 2× cheaper input and 2× cheaper output.
- Input $60.00
- Cached input $6.00
- Output $90.00
- Input $30.00
- Cached input $3.00
- Output $45.00
Show as a table
| Output tokens | Claude Sonnet 5 | Claude Haiku 4.5 |
|---|---|---|
| 0 | $2.00 | $1.00 |
| 250 | $4.50 | $2.25 |
| 500 | $7.00 | $3.50 |
| 750 | $9.50 | $4.75 |
| 1,000 | $12.00 | $6.00 |
| Token type | Claude Sonnet 5 | Claude Haiku 4.5 | |
|---|---|---|---|
| Input | $2 | $1 | Claude Haiku 4.5 is 2× cheaper |
| Cached input | $0.20 | $0.10 | Claude Haiku 4.5 is 2× cheaper |
| Output | $10 | $5 | Claude Haiku 4.5 is 2× cheaper |
| Batch input | $1 | $0.50 | Claude Haiku 4.5 is 2× cheaper |
| Batch cached input | $0.10 | $0.05 | Claude Haiku 4.5 is 2× cheaper |
| Batch output | $5 | $2.50 | Claude Haiku 4.5 is 2× cheaper |
| Workload | Claude Sonnet 5 | Claude Haiku 4.5 |
|---|---|---|
Support chatbot 2,000 in / 300 out tokens,
1,000 requests a day, 50% cached | $156.00 | $78.00 |
Document summaries 10,000 in / 800 out tokens,
200 requests a day | $168.00 | $84.00 |
Tagging / classifying 400 in / 20 out tokens,
20,000 requests a day | $600.00 | $300.00 |
More comparisons
- GPT-6 Sol vs Claude Sonnet 5
- GPT-6 Sol vs Claude Haiku 4.5
- GPT-6 Luna vs Claude Haiku 4.5
- Claude Opus 5.5 vs Claude Sonnet 5
- Claude Sonnet 5 vs Gemini 3.5 Flash
- Claude Sonnet 5 vs Gemini 3.1 Pro Preview
- Claude Sonnet 5 vs Gemini 2.5 Pro
- Claude Haiku 4.5 vs Gemini 3.8 Flash
Or see Claude Sonnet 5 pricing, Claude Haiku 4.5 pricing, or compare any two models.
FAQ
Frequently asked questions
Is Claude Sonnet 5 cheaper than Claude Haiku 4.5?
Claude Haiku 4.5 is cheaper than Claude Sonnet 5 at standard rates, with 2× cheaper input and 2× cheaper output. Based on standard API rates last checked on 28 Sept 2026.
How much do Claude Sonnet 5 and Claude Haiku 4.5 cost per million tokens?
Claude Sonnet 5: $2 per million input tokens and $10 per million output tokens. Claude Haiku 4.5: $1 input and $5 output. These are standard rates in USD, before tax, from each provider’s own pricing page.
Which is cheaper with the Batch API?
Claude Sonnet 5’s batch rates are $1 input and $5 output per million tokens (50% off); Claude Haiku 4.5’s batch rates are $0.50 input and $2.50 output per million tokens (50% off).
Does prompt caching change the comparison?
Claude Sonnet 5 charges $0.20 per million cached input tokens, against $2 for normal input; Claude Haiku 4.5 charges $0.10 per million cached input tokens, against $1 for normal input. Cache write and storage charges are extra and aren’t included here.