← Back to all comparisons
Side-by-side
Codestral vs Claude Haiku 4.5
Mistral vs Anthropic — head-to-head specs and pricing.
Mistral
Codestral
Low-latency code completion from Mistral.
Codestral — purpose-built for code completion and instruction in 80+ programming languages.
Anthropic
Claude Haiku 4.5
Fast and cheap from Anthropic.
Haiku is Anthropic's small model — optimized for throughput and cost.
| Spec | Codestral | Claude Haiku 4.5 |
|---|---|---|
| Provider | Mistral | Anthropic |
| Input cost / 1M tokens | $0.24 | $0.96 |
| Output cost / 1M tokens | $0.72 | $4.80 |
| Context window | 32,000 tokens | 200,000 tokens |
| Max output tokens | — | 8,000 |
| Streaming support | ✓ | ✓ |
| Tool calling | — | ✓ |
| Vision input | — | — |
| JSON mode | — | — |
| Status | ACTIVE | ACTIVE |
Use both via OneAPIKey — one key, one bill
OneAPIKey aggregates Mistral, Anthropic, and 10 more providers behind a single API. Smart Routing automatically picks the best model per request — or you choose explicitly.
More comparisons: