Devstral Medium vs Grok 4 Fast
Comparing Devstral Medium and Grok 4 Fast across benchmarks, pricing, and capabilities.
Mistral AI · xAI · Updated for 2026
Which is better?
Devstral Medium and Grok 4 Fast trade strengths across price, capabilities, and technical limits. The better choice depends on the workload.
On price, Grok 4 Fast is roughly 2.9x cheaper per token on a blended 3:1 input/output basis, which adds up quickly at production volume.
Grok 4 Fast also accepts a larger context window (2,000,000 input tokens), making it the stronger choice for long documents and large codebases.
Based on current benchmark, pricing, and model metadata for 2026.
Choose Devstral Medium
- you want predictable pricing at $0.40/M input and $2.00/M output
Choose Grok 4 Fast
- cost matters — it's about 2.9x cheaper per token
- you process long inputs — it offers a 2,000,000 token context window
- you want the most recent training data — it shipped Aug 2025
At a glance
The differences that matter most.
Performance Benchmarks
Comparative analysis across standard metrics
Devstral Medium and Grok 4 Fastdon't have any common benchmark datasets to compare. They may have been evaluated on different testing suites.
Arena Performance
Playground indexes and blind preference scores
Pricing Analysis
Price comparison per million tokens
For input processing, Devstral Medium ($0.40/1M tokens) is 2.0x more expensive than Grok 4 Fast ($0.20/1M tokens).
For output processing, Devstral Medium ($2.00/1M tokens) is 4.0x more expensive than Grok 4 Fast ($0.50/1M tokens).
In conclusion, Devstral Medium is more expensive than Grok 4 Fast.*
* Using a 3:1 ratio of input to output tokens
Context Window
Maximum input and output token capacity
Grok 4 Fast accepts 2,000,000 input tokens compared to Devstral Medium's 128,000 tokens. Devstral Medium can generate longer responses up to 128,000 tokens, while Grok 4 Fast is limited to 30,000 tokens.
Input Capabilities
Supported data types and modalities
Grok 4 Fast supports multimodal inputs, whereas Devstral Medium does not.
Grok 4 Fast can handle both text and other forms of data like images, making it suitable for multimodal applications.
Devstral Medium
Grok 4 Fast
License
Usage and distribution terms
Both models are licensed under proprietary licenses.
Both models have usage restrictions defined by their respective organizations.
Proprietary
Closed source
Proprietary
Closed source
Release Timeline
When each model was launched
Devstral Medium was released on 2025-07-10, while Grok 4 Fast was released on 2025-08-28.
Grok 4 Fast is 2 months newer than Devstral Medium.
Jul 10, 2025
1.1 years ago
Aug 28, 2025
12 months ago
1mo newerKnowledge Cutoff
When training data ends
Neither model specifies a knowledge cutoff date.
Unable to compare the recency of their training data.
Provider Availability
Devstral Medium is available from Mistral AI. Grok 4 Fast is available from xAI.
Devstral Medium
Grok 4 Fast
Outputs Comparison
Judge for yourself.
Run your own prompts against Devstral Medium and Grok 4 Fast side-by-side, then vote on the output you prefer.
FAQ
Common questions about Devstral Medium vs Grok 4 Fast.