Devstral Medium vs Gemma 3 4B
Devstral Medium leads the LLM Stats Score 13.6 to -1.9. Gemma 3 4B is 32.0x cheaper per token.
Mistral AI · Google · Updated for 2026
Which is better?
Devstral Medium leads the overall LLM Stats Score 13.6 to -1.9, ranking #243 overall.
On price, Gemma 3 4B is roughly 32.0x cheaper per token on a blended 3:1 input/output basis, which adds up quickly at production volume.
Gemma 3 4B also accepts a larger context window (131,072 input tokens), making it the stronger choice for long documents and large codebases.
Based on current LLM Stats indexes, shared benchmarks, pricing, and model metadata for 2026.
Choose Devstral Medium
- overall performance matters — it scores 13.6 and ranks #243 on LLM Stats
- your work emphasizes reasoning — it leads those capability indexes
- you want the most recent training data — it shipped Jul 2025
Choose Gemma 3 4B
- cost matters — it's about 32.0x cheaper per token
- you process long inputs — it offers a 131,072 token context window
- you need open weights you can self-host or fine-tune
At a glance
The differences that matter most.
Individual benchmarks
1 reported for Devstral Medium · 26 for Gemma 3 4B
Devstral Medium and Gemma 3 4Bdon't have any common benchmark datasets to compare. They may have been evaluated on different testing suites.
Human preference
Blind head-to-head votes and playground preference scores
Pricing Analysis
Price comparison per million tokens
For input processing, Devstral Medium ($0.40/1M tokens) is 20.0x more expensive than Gemma 3 4B ($0.02/1M tokens).
For output processing, Devstral Medium ($2.00/1M tokens) is 50.0x more expensive than Gemma 3 4B ($0.04/1M tokens).
In conclusion, Devstral Medium is more expensive than Gemma 3 4B.*
* Using a 3:1 ratio of input to output tokens
Context Window
Maximum input and output token capacity
Gemma 3 4B accepts 131,072 input tokens compared to Devstral Medium's 128,000 tokens. Gemma 3 4B can generate longer responses up to 131,072 tokens, while Devstral Medium is limited to 128,000 tokens.
Input capabilities
Documented input modalities across available providers
Gemma 3 4B supports multimodal inputs, whereas Devstral Medium does not.
Gemma 3 4B can handle both text and other forms of data like images, making it suitable for multimodal applications.
Devstral Medium
Gemma 3 4B
License
Usage and distribution terms
Devstral Medium is licensed under a proprietary license, while Gemma 3 4B uses Gemma.
License differences may affect how you can use these models in commercial or open-source projects.
Proprietary
Closed source
Gemma
Open weights
Release Timeline
When each model was launched
Devstral Medium was released on 2025-07-10, while Gemma 3 4B was released on 2025-03-12.
Devstral Medium is 4 months newer than Gemma 3 4B.
Jul 10, 2025
1.2 years ago
4mo newerMar 12, 2025
1.5 years ago
Knowledge Cutoff
When training data ends
Gemma 3 4B has a documented knowledge cutoff of 2024-08-01, while Devstral Medium's cutoff date is not specified.
We can confirm Gemma 3 4B's training data extends to 2024-08-01, but cannot make a direct comparison without Devstral Medium's cutoff date.
—
Aug 2024
Provider Availability
Devstral Medium is available from Mistral AI. Gemma 3 4B is available from DeepInfra.
Devstral Medium
Gemma 3 4B
Outputs Comparison
Judge for yourself.
Run your own prompts against Devstral Medium and Gemma 3 4B side-by-side, then vote on the output you prefer.
FAQ
Common questions about Devstral Medium vs Gemma 3 4B.