Key Takeaways
Devstral Medium wins:
- Cheaper input tokens
- Cheaper output tokens
- Faster response time
Grok 4 wins:
- Larger context window
- Higher intelligence benchmark
- Better at coding
- Better at math
- Supports vision
- Has reasoning mode
Price Advantage
Devstral Medium
Benchmark Advantage
Grok 4
Context Window
Grok 4
Speed
Devstral Medium
Pricing Comparison
Price Comparison
| Metric | Devstral Medium | Grok 4 | Winner |
|---|---|---|---|
| Input (per 1M tokens) | $0.40 | $3.00 | Devstral Medium |
| Output (per 1M tokens) | $2.00 | $15.00 | Devstral Medium |
| Cache Read (per 1M) | N/A | $0.75 | Grok 4 |
Using a 3:1 input/output ratio, Devstral Medium is 87% cheaper overall.
Devstral Medium Providers
No provider data available
Grok 4 Providers
No provider data available
Benchmark Comparison
8
Benchmarks Compared
0
Devstral Medium Wins
7
Grok 4 Wins
Benchmark Scores
| Benchmark | Devstral Medium | Grok 4 | Winner |
|---|---|---|---|
Intelligence Index Overall intelligence score | 18.7 | 41.5 | |
Coding Index Code generation & understanding | 15.9 | 40.5 | |
Math Index Mathematical reasoning | 4.7 | 92.7 | |
MMLU Pro Academic knowledge | 70.8 | 86.6 | |
GPQA Graduate-level science | 49.2 | 87.7 | |
LiveCodeBench Competitive programming | 33.7 | 81.9 | |
Aider Real-world code editing | - | 79.6 | - |
AIME Competition math | 6.7 | 94.3 |
Grok 4 significantly outperforms in coding benchmarks.
Cost vs Quality
X-axis:
Y-axis:
Loading chart...
Devstral Medium
Other models
Context & Performance
Context Window
Devstral Medium
131,072
tokens
Grok 4
256,000
tokens
Grok 4 has a 49% larger context window.
Speed Performance
| Metric | Devstral Medium | Grok 4 | Winner |
|---|---|---|---|
| Tokens/second | 138.3 tok/s | 39.5 tok/s | |
| Time to First Token | 0.44s | 11.45s |
Devstral Medium responds 250% faster on average.
Capabilities
Feature Comparison
| Feature | Devstral Medium | Grok 4 |
|---|---|---|
| Vision (Image Input) | ||
| Tool/Function Calls | ||
| Reasoning Mode | ||
| Audio Input | ||
| Audio Output | ||
| PDF Input | ||
| Prompt Caching | ||
| Web Search |
License & Release
| Property | Devstral Medium | Grok 4 |
|---|---|---|
| License | Open Source | Proprietary |
| Author | Mistral AI | Xai |
| Released | Jul 2025 | Jul 2025 |
Devstral Medium Modalities
Input
text
Output
text
Grok 4 Modalities
Input
imagetext
Output
text