Gemma 4 31B vs Mistral Small 4
Wins 6 of 7 areas
Coding · Agents · Reasoning · Images and charts · Long documents · Following instructions
Wins 1 of 7 areas
Facts
Gemma 4 31B is the stronger all-rounder.Mistral Small 4 is better at facts.
Scores updated · 23 tests both models report · How we compare
Where each one wins
Tests won in each of the seven areas where both have results. Each piece is one test, so a longer bar means more evidence; grey means the two scored within a point of each other.
- CodingWriting and fixing software30Gemma 4 31B3 of 3 tests
- ReasoningHard problems that need careful thinking30Gemma 4 31B3 of 3 tests
- AgentsCarrying out multi-step tasks on its own20Gemma 4 31B2 of 3 tests · 1 tie
- Images and chartsUnderstanding pictures, charts and video10Gemma 4 31B1 of 1 test
- Long documentsFinding answers in very long texts10Gemma 4 31B1 of 1 test
- Following instructionsDoing exactly what it is asked10Gemma 4 31B1 of 1 test
- FactsGetting facts right instead of making them up02Mistral Small 42 of 2 tests
Images and charts, long documents and following instructions rest on a single test each.
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.
Gemma 4 31B costs 27% less for the same work.
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+27.4points ahead
- Command-line tasks in a real terminalTerminal-Bench 2.1+22.4points ahead
- Reasons across sets of long documentsAA-LCR+20points ahead
Where Mistral Small 4 pulls ahead
- Avoids making up answers it doesn't knowAA-Omniscience · Non-hallucination+18.5points ahead
- Answers hard knowledge questions correctlyAA-Omniscience · Accuracy+1.7points ahead
Every test, side by side
All 23 tests both models report. The winning score is in its model's colour; marks a score checked independently.
CodingGemma 4 31B
- Terminal-Bench 2.1Gemma 4 31B by 22.443.421+22.4
- Terminal-Bench HardGemma 4 31B by 1936.417.4+19
- SciCodeGemma 4 31B by 6.745.538.8+6.7
AgentsGemma 4 31B
- τ-Bench V3 · BankingGemma 4 31B by 9.914.84.9+9.9
- GDPValGemma 4 31B by 660+6
- Terminal-Bench 4.0tie00tie
ReasoningGemma 4 31B
- Humanity's Last ExamGemma 4 31B by 13.723.69.9+13.7
- GPQA DiamondGemma 4 31B by 8.885.776.9+8.8
- CritPtGemma 4 31B by 1.11.40.3+1.1
FactsMistral Small 4
- AA-Omniscience · Non-hallucinationMistral Small 4 by 18.51533.5+18.5
- AA-Omniscience · AccuracyMistral Small 4 by 1.72021.7+1.7
Following instructionsGemma 4 31B
- IFBenchGemma 4 31B by 27.475.648.2+27.4
Other results9 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.
- τ²-Bench Telecom (AA run)Gemma 4 31B by 18.759.941.2+18.7
- AA-OmniscienceMistral Small 4 by 17.5-47.9-30.4+17.5
- Artificial Analysis Coding IndexGemma 4 31B by 16.843.426.6+16.8
- MMLU-ProGemma 4 31B by 7.285.278+7.2
- GDP (Surge AI)Gemma 4 31B by 660+6
- CritPt v2 HardGemma 4 31B by 440+4
- AA IntelligenceGemma 4 31B by 3.414.711.3+3.4
- HLE-DiamondGemma 4 31B by 2.87.24.4+2.8
- Terminal-Bench-Science 0.1tie00tie
Questions people ask
Which is better, Gemma 4 31B or Mistral Small 4?
Gemma 4 31B wins six of the seven areas where both have results: coding, agents, reasoning, images and charts, long documents and following instructions. Mistral Small 4 wins facts.
Which is better for coding?
Gemma 4 31B. It wins 3 of the 3 coding tests both models report; Mistral Small 4 wins none.
Which is cheaper?
Gemma 4 31B costs $0.15 per million input tokens and $0.40 per million output tokens; Mistral Small 4 costs $0.15 and $0.60. That makes Gemma 4 31B about 27% cheaper for the same work.
How do you compare the two?
We use the 23 benchmark tests both models have published scores on. The verdict counts the 14 tests in the eight capability areas, and a gap under one point (ten on rating-style scales) counts as a tie. The other 9 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.