Mistral's cutting-edge language model for coding released end of July 2025. Codestral specializes in low-latency, high-frequency tasks such as fill-in-the-middle (FIM), code correction and test generation. [Blog Post](https://mistral.ai/ne…
Model details →Mistral: Codestral 2508 vs Anthropic Claude Sonnet Latest
Anthropic Claude Sonnet Latest wins on 3 of 6 axes — pricing and capability skew in its favour for most workloads.
This model always redirects to the latest model in the Anthropic Claude Sonnet family.
Model details →Side-by-side comparison
| Capability | Mistral: Codestral 2508 | Anthropic Claude Sonnet Latest | Winner |
|---|---|---|---|
| Context window Maximum number of input tokens the model can attend to in a single request. | 256K | 1M | 🏆 Anthropic Claude Sonnet Latest |
| Input price (per 1M) Cost per million input tokens billed by the provider. | $0.30 | $2.00 | 🏆 Mistral: Codestral 2508 |
| Output price (per 1M) Cost per million output tokens billed by the provider. | $0.90 | $10.00 | 🏆 Mistral: Codestral 2508 |
| Tool / function calling First-class support for emitting structured tool calls. | Yes | Yes | Tie |
| Vision input Accepts image inputs alongside text. | — | Yes | 🏆 Anthropic Claude Sonnet Latest |
| Reasoning mode Internal chain-of-thought / extended-thinking support. | — | Yes | 🏆 Anthropic Claude Sonnet Latest |
Frequently asked questions
Is Mistral: Codestral 2508 better than Anthropic Claude Sonnet Latest?
Anthropic Claude Sonnet Latest wins on 3 of 6 axes — pricing and capability skew in its favour for most workloads.
What's the price difference between Mistral: Codestral 2508 and Anthropic Claude Sonnet Latest?
Input: $0.30 vs $2.00 per 1M tokens. Output: $0.90 vs $10.00 per 1M tokens.
What context windows do Mistral: Codestral 2508 and Anthropic Claude Sonnet Latest support?
Mistral: Codestral 2508 supports up to 256K tokens. Anthropic Claude Sonnet Latest supports up to 1M tokens.
Do both Mistral: Codestral 2508 and Anthropic Claude Sonnet Latest support tool calling?
Mistral: Codestral 2508: yes. Anthropic Claude Sonnet Latest: yes.
Compare Mistral: Codestral 2508 with other models
vs Anthropic Claude Haiku Latestvs Anthropic Claude Sonnet Latestvs Anthropic: Claude Fable Latestvs Anthropic: Claude Opus Latest