Key Takeaways
Codestral 2508 wins:
- Cheaper input tokens
- Cheaper output tokens
- Larger context window
Mistral Medium 3.1 wins:
- Faster response time
- Higher intelligence benchmark
- Better at coding
- Better at math
- Supports vision
Price Advantage
Codestral 2508
Benchmark Advantage
Mistral Medium 3.1
Context Window
Codestral 2508
Speed
Mistral Medium 3.1
Pricing Comparison
Price Comparison
| Metric | Codestral 2508 | Mistral Medium 3.1 | Winner |
|---|---|---|---|
| Input (per 1M tokens) | $0.30 | $0.40 | Codestral 2508 |
| Output (per 1M tokens) | $0.90 | $2.00 | Codestral 2508 |
Using a 3:1 input/output ratio, Codestral 2508 is 44% cheaper overall.
Codestral 2508 Providers
Mistral $0.30 (Cheapest)
Mistral Medium 3.1 Providers
Mistral $0.40 (Cheapest)
Benchmark Comparison
7
Benchmarks Compared
0
Codestral 2508 Wins
0
Mistral Medium 3.1 Wins
Benchmark Scores
| Benchmark | Codestral 2508 | Mistral Medium 3.1 | Winner |
|---|---|---|---|
Intelligence Index Overall intelligence score | - | 21.1 | - |
Coding Index Code generation & understanding | - | 18.3 | - |
Math Index Mathematical reasoning | - | 38.3 | - |
MMLU Pro Academic knowledge | - | 68.3 | - |
GPQA Graduate-level science | - | 58.8 | - |
LiveCodeBench Competitive programming | - | 40.6 | - |
Aider Real-world code editing | 11.1 | - | - |
Mistral Medium 3.1 significantly outperforms in coding benchmarks.
Cost vs Quality
X-axis:
Y-axis:
Loading chart...
Other models
Context & Performance
Context Window
Codestral 2508
256,000
tokens
Mistral Medium 3.1
131,072
tokens
Codestral 2508 has a 49% larger context window.
Speed Performance
| Metric | Codestral 2508 | Mistral Medium 3.1 | Winner |
|---|---|---|---|
| Tokens/second | N/A | 97.3 tok/s | |
| Time to First Token | N/A | 0.36s |
Capabilities
Feature Comparison
| Feature | Codestral 2508 | Mistral Medium 3.1 |
|---|---|---|
| Vision (Image Input) | ||
| Tool/Function Calls | ||
| Reasoning Mode | ||
| Audio Input | ||
| Audio Output | ||
| PDF Input | ||
| Prompt Caching | ||
| Web Search |
License & Release
| Property | Codestral 2508 | Mistral Medium 3.1 |
|---|---|---|
| License | Open Source | Proprietary |
| Author | Mistral AI | Mistral AI |
| Released | Aug 2025 | Aug 2025 |
Codestral 2508 Modalities
Input
text
Output
text
Mistral Medium 3.1 Modalities
Input
textimage
Output
text
