Comprehensive side-by-side LLM comparison
Gemma 3 4B leads with 48.7% higher average benchmark score. Gemma 3 4B offers 6.1K more tokens in context window than Devstral Medium. Gemma 3 4B is $2.34 cheaper per million tokens. Gemma 3 4B supports multimodal inputs. Overall, Gemma 3 4B is the stronger choice for coding tasks.
Mistral AI
Devstral Medium is a language model developed by Mistral AI. It achieves strong performance with an average score of 61.6% across 1 benchmarks. Notable strengths include SWE-Bench Verified (61.6%). It supports a 256K token context window for handling large documents. The model is available through 1 API provider. Released in 2025, it represents Mistral AI's latest advancement in AI technology.
Gemma 3 4B is a multimodal language model developed by Google. The model shows competitive results across 26 benchmarks. It excels particularly in IFEval (90.2%), GSM8k (89.2%), DocVQA (75.8%). It supports a 262K token context window for handling large documents. The model is available through 1 API provider. As a multimodal model, it can process and understand text, images, and other input formats seamlessly. It's licensed for commercial use, making it suitable for enterprise applications. Released in 2025, it represents Google's latest advancement in AI technology.
4 months newer
Gemma 3 4B
2025-03-12
Devstral Medium
Mistral AI
2025-07-10
Cost per million tokens (USD)
Devstral Medium
Gemma 3 4B
Context window and performance specifications
Average performance across 27 common benchmarks
Devstral Medium
Gemma 3 4B
Gemma 3 4B
2024-08-01
Available providers and their performance metrics
Devstral Medium
Mistral AI
Gemma 3 4B
Devstral Medium
Gemma 3 4B
Devstral Medium
Gemma 3 4B
DeepInfra