Mistral: Mistral Small 4 vs Codestral
Side-by-side comparison. Updated 2026-06-07.
Verdict
Mistral: Mistral Small 4 wins on higher overall score (8.0 vs 7.8, +0.2).
- ~85% cheaper input
- Larger context window (262k vs 32k)
At a Glance
| Attribute | Mistral: Mistral Small 4 | Codestral |
|---|---|---|
| Provider | Mistral AI | Mistral AI |
| Tags | Fast Coding | Coding |
| Context | 262,144 tokens | 32,768 tokens |
| Input price | $0.15/1M | $1.00/1M |
| Output price | $3.00/1M | $3.00/1M |
| Input modalities | Text, Image | Text |
| Output modalities | Text | Text |
Mistral: Mistral Small 4 Strengths
- Unified Mistral flagship capabilities in small package
- Fast inference with good reasoning
- Competitive pricing at $0.15/$0.60
- Strong coding performance for size
Codestral Strengths
- Strong code completion
- Multi-language support
- Fast inference
- Good fill-in-the-middle