Gemma 4 31B vs Qwen3 Max (Reasoning)
Wins 1 of 7 areas
Following instructions
Wins 5 of 7 areas
Coding · Agents · Reasoning · Math · Long documents
Qwen3 Max (Reasoning) is the stronger all-rounder.Gemma 4 31B is better at following instructions.
Scores updated · 29 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 software13Qwen3 Max (Reasoning)3 of 4 tests
- MathCompetition and research-level math02Qwen3 Max (Reasoning)2 of 2 tests
- Long documentsFinding answers in very long texts02Qwen3 Max (Reasoning)2 of 2 tests
- ReasoningHard problems that need careful thinking01Qwen3 Max (Reasoning)1 of 3 tests · 2 ties
- AgentsCarrying out multi-step tasks on its own01Qwen3 Max (Reasoning)1 of 1 test
- Following instructionsDoing exactly what it is asked10Gemma 4 31B1 of 1 test
- FactsGetting facts right instead of making them up11Even1 each
Agents 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.
The biggest differences
The three tests each model wins by the widest margin. Scores are out of 100.
Where Qwen3 Max (Reasoning) pulls ahead
- Fixes real GitHub issues in Python projectsSWE-bench Verified+29.2points ahead
- Fixes real GitHub issues in many programming languagesSWE-bench Multilingual+23.7points ahead
- Finds hard-to-locate facts by browsing the webBrowseComp+16.9points ahead
Where Gemma 4 31B pulls ahead
- Hard command-line tasks in a real terminalTerminal-Bench Hard+12.2points ahead
- Avoids making up answers it doesn't knowAA-Omniscience · Non-hallucination+9.7points ahead
- Follows unfamiliar, precisely checkable instructionsIFBench+4.9points ahead
Every test, side by side
All 29 tests both models report. The winning score is in its model's colour; marks a score checked independently.
CodingQwen3 Max (Reasoning)
- SWE-bench VerifiedQwen3 Max (Reasoning) by 29.246.175.3+29.2
- SWE-bench MultilingualQwen3 Max (Reasoning) by 23.74366.7+23.7
- Terminal-Bench HardGemma 4 31B by 12.236.424.2+12.2
- LiveCodeBench v6Qwen3 Max (Reasoning) by 5.98085.9+5.9
ReasoningQwen3 Max (Reasoning)
- Humanity's Last ExamQwen3 Max (Reasoning) by 4.423.628+4.4
- GPQA Diamondtie85.786.1tie
- CritPttie1.41.7tie
FactsEven
- AA-Omniscience · AccuracyQwen3 Max (Reasoning) by 9.82029.8+9.8
- AA-Omniscience · Non-hallucinationGemma 4 31B by 9.7155.3+9.7
MathQwen3 Max (Reasoning)
- IMOAnswerBenchQwen3 Max (Reasoning) by 9.474.583.9+9.4
- AIME 2026Qwen3 Max (Reasoning) by 4.189.293.3+4.1
Long documentsQwen3 Max (Reasoning)
- LongBench v2Qwen3 Max (Reasoning) by 7.752.960.6+7.7
- AA-LCRQwen3 Max (Reasoning) by 4.669.774.3+4.6
Following instructionsGemma 4 31B
- IFBenchGemma 4 31B by 4.975.670.7+4.9
Other results14 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)Qwen3 Max (Reasoning) by 23.759.983.6+23.7
- WideSearchQwen3 Max (Reasoning) by 22.735.257.9+22.7
- Terminal-Bench 2.0Gemma 4 31B by 20.442.922.5+20.4
- MCPMarkQwen3 Max (Reasoning) by 15.418.133.5+15.4
- t2-benchGemma 4 31B by 11.686.474.8+11.6
- AA-OmniscienceQwen3 Max (Reasoning) by 11.3-47.9-36.6+11.3
- C-EvalQwen3 Max (Reasoning) by 11.182.693.7+11.1
- AA IntelligenceQwen3 Max (Reasoning) by 6.614.721.3+6.6
- DeepPlanningQwen3 Max (Reasoning) by 4.72428.7+4.7
- MMMLUGemma 4 31B by 488.484.4+4
- VITA-BenchGemma 4 31B by 2.14340.9+2.1
- SuperGPQAQwen3 Max (Reasoning) by 1.665.767.3+1.6
- MMLU-Reduxtie93.792.8tie
- MMLU-Protie85.285.7tie
Questions people ask
Which is better, Gemma 4 31B or Qwen3 Max (Reasoning)?
Qwen3 Max (Reasoning) wins five of the seven areas where both have results: coding, agents, reasoning, math and long documents. Gemma 4 31B wins following instructions. They are level on facts.
Which is better for coding?
Qwen3 Max (Reasoning). It wins 3 of the 4 coding tests both models report; Gemma 4 31B wins 1.
How do you compare the two?
We use the 29 benchmark tests both models have published scores on. The verdict counts the 15 tests in the eight capability areas, and a gap under one point (ten on rating-style scales) counts as a tie. The other 14 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.