Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

Devstral Small 2 vs Gemma 4 31B

Mistral · released

Wins 0 of 7 areas

—

Google · released

Wins 7 of 7 areas

Coding · Agents · Reasoning · Facts · Images and charts · Long documents · Following instructions

Gemma 4 31B is the stronger all-rounder.

Scores updated · 22 tests both models report · How we compare

What it costs

Prices per million tokens, roughly 750,000 words. The bars show the cost of a million tokens read plus a million written.

Devstral Small 2No current price is tracked.
Gemma 4 31B$0.17 to read · $0.40 to write$0.57Price from Artificial Analysis

The biggest differences

The tests each model wins by the widest margin, up to three each. Scores are out of 100.

Where Gemma 4 31B pulls ahead

  • Follows unfamiliar, precisely checkable instructionsIFBench+44.4points aheadGemma 4 31B75.6Devstral Small 231.2
  • Reasons across sets of long documentsAA-LCR+41.7points aheadGemma 4 31B69.7Devstral Small 228
  • Graduate-level biology, physics and chemistry questionsGPQA Diamond+32.5points aheadGemma 4 31B85.7Devstral Small 253.2

Where Devstral Small 2 pulls ahead

  • Fixes real GitHub issues in Python projectsSWE-bench Verified+16points aheadDevstral Small 268Gemma 4 31B52
  • Fixes real GitHub issues in many programming languagesSWE-bench Multilingual+4points aheadDevstral Small 255.7Gemma 4 31B51.7

Every test, side by side

All 22 tests both models report. The winning score is in its model's colour; marks a score checked independently.

CodingGemma 4 31B

Full coding ranking

AgentsGemma 4 31B

Full agents ranking

ReasoningGemma 4 31B

Full reasoning ranking

FactsGemma 4 31B

Full facts ranking

Images and chartsGemma 4 31B
  • MMMU-ProGemma 4 31B by 28.844.673.4+28.8

Full images and charts ranking

Long documentsGemma 4 31B
  • AA-LCRGemma 4 31B by 41.72869.7+41.7

Full long documents ranking

Following instructionsGemma 4 31B
  • IFBenchGemma 4 31B by 44.431.275.6+44.4

Full following instructions ranking

Other results6 tests, not counted

Tests outside the eight areas. They are not counted above: several are summary scores built from other tests, or the same test under another name.

Questions people ask

Which is better, Devstral Small 2 or Gemma 4 31B?

Gemma 4 31B wins all seven areas where both have results: coding, agents, reasoning, facts, images and charts, long documents and following instructions. Devstral Small 2 wins none.

Which is better for coding?

Gemma 4 31B. It wins 3 of the 5 coding tests both models report; Devstral Small 2 wins 2.

How do you compare the two?

We use the 22 benchmark tests both models have published scores on. The verdict counts the 16 tests in the eight capability areas, and a gap under one point (ten on rating-style scales) counts as a tie. The other 6 are listed but not counted, because several are summary scores or repeat a test. Each score is the one shown on the model's own page.