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 Qwen: Qwen3.5 397B A17B
Qwen: Qwen3.5 397B A17B wins on 3 of 6 axes — pricing and capability skew in its favour for most workloads.
The Qwen3.5 series 397B-A17B native vision-language model is built on a hybrid architecture that integrates a linear attention mechanism with a sparse mixture-of-experts model, achieving higher inference efficiency. It delivers state-of-the…
Model details →Side-by-side comparison
| Capability | Mistral: Codestral 2508 | Qwen: Qwen3.5 397B A17B | Winner |
|---|---|---|---|
| Context window Maximum number of input tokens the model can attend to in a single request. | 256K | 262K | 🏆 Qwen: Qwen3.5 397B A17B |
| Input price (per 1M) Cost per million input tokens billed by the provider. | $0.30 | $0.39 | 🏆 Mistral: Codestral 2508 |
| Output price (per 1M) Cost per million output tokens billed by the provider. | $0.90 | $2.34 | 🏆 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 | 🏆 Qwen: Qwen3.5 397B A17B |
| Reasoning mode Internal chain-of-thought / extended-thinking support. | — | Yes | 🏆 Qwen: Qwen3.5 397B A17B |
Frequently asked questions
Is Mistral: Codestral 2508 better than Qwen: Qwen3.5 397B A17B?
Qwen: Qwen3.5 397B A17B 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 Qwen: Qwen3.5 397B A17B?
Input: $0.30 vs $0.39 per 1M tokens. Output: $0.90 vs $2.34 per 1M tokens.
What context windows do Mistral: Codestral 2508 and Qwen: Qwen3.5 397B A17B support?
Mistral: Codestral 2508 supports up to 256K tokens. Qwen: Qwen3.5 397B A17B supports up to 262K tokens.
Do both Mistral: Codestral 2508 and Qwen: Qwen3.5 397B A17B support tool calling?
Mistral: Codestral 2508: yes. Qwen: Qwen3.5 397B A17B: yes.