Anthropic
claude-haiku-4.5
anthropic/claude-haiku-4.5
Price per million tokens
- Input
- $1.266
- Output
- $6.330
- Cache write
- $1.583
- Cache read
- $0.127
What you pay. It is what the tokens cost us to buy plus 20%, and your usage page shows what we paid beside what you paid on every request you send.
Limits
- Context window
- 200,000 tokens
- Max output
- 64,000 tokens
- Images
- supported
What it costs to run
| Workload | Input | Output | Cost | Per 1,000 calls |
|---|---|---|---|---|
| Short chat turn | 1,000 | 500 | $0.0044 | $4.43 |
| Long document summary | 50,000 | 2,000 | $0.0760 | $75.96 |
| Agent step with tools | 20,000 | 1,500 | $0.0348 | $34.81 |
| 1M in, 1M out | 1,000,000 | 1,000,000 | $7.5960 | $7596.00 |
Calling it
const res = await client.chat.completions.create({ model: "anthropic/claude-haiku-4.5", messages: [{ role: "user", content: "Hello" }], });