OneAPIKey
← Back to all comparisons
Side-by-side

Claude Haiku 4.5 vs Codestral

Anthropic vs Mistral — head-to-head specs and pricing.

Anthropic
Claude Haiku 4.5

Fast and cheap from Anthropic.

Haiku is Anthropic's small model — optimized for throughput and cost.

Mistral
Codestral

Low-latency code completion from Mistral.

Codestral — purpose-built for code completion and instruction in 80+ programming languages.

SpecClaude Haiku 4.5Codestral
ProviderAnthropicMistral
Input cost / 1M tokens$0.96$0.24
Output cost / 1M tokens$4.80$0.72
Context window200,000 tokens32,000 tokens
Max output tokens8,000
Streaming support
Tool calling
Vision input
JSON mode
StatusACTIVEACTIVE

Use both via OneAPIKey — one key, one bill

OneAPIKey aggregates Anthropic, Mistral, and 10 more providers behind a single API. Smart Routing automatically picks the best model per request — or you choose explicitly.