← Back to all comparisons
Side-by-side
Codestral vs Claude Sonnet 4.6
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 Sonnet 4.6
Balanced speed + capability.
Sonnet is Anthropic's balanced model for general agents and chat.
| Spec | Codestral | Claude Sonnet 4.6 |
|---|---|---|
| Provider | Mistral | Anthropic |
| Input cost / 1M tokens | $0.24 | $3.60 |
| Output cost / 1M tokens | $0.72 | $18.00 |
| Context window | 32,000 tokens | 200,000 tokens |
| Max output tokens | — | 16,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.