Gemma 4 31B vs Qwen3 Coder Next
Wins 6 of 6 areas
Coding · Agents · Reasoning · Facts · Long documents · Following instructions
Wins 0 of 6 areas
—
Gemma 4 31B is the stronger all-rounder.
Scores updated · 19 tests both models report · How we compare
Where each one wins
Tests won in each of the six 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
- FactsGetting facts right instead of making them up20Gemma 4 31B2 of 2 tests
- AgentsCarrying out multi-step tasks on its own10Gemma 4 31B1 of 2 tests · 1 tie
- Long documentsFinding answers in very long texts10Gemma 4 31B1 of 1 test
- Following instructionsDoing exactly what it is asked10Gemma 4 31B1 of 1 test
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 58% 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+40.4points ahead
- Reasons across sets of long documentsAA-LCR+22.7points ahead
- Hard command-line tasks in a real terminalTerminal-Bench Hard+18.2points ahead
Where Qwen3 Coder Next pulls ahead
No clear win on a test scored out of 100.
Every test, side by side
All 19 tests both models report. The winning score is in its model's colour; marks a score checked independently.
CodingGemma 4 31B
- Terminal-Bench HardGemma 4 31B by 18.236.418.2+18.2
- SciCodeGemma 4 31B by 9.345.536.2+9.3
- Terminal-Bench 2.1Gemma 4 31B by 5.243.438.2+5.2
AgentsGemma 4 31B
- τ-Bench V3 · BankingGemma 4 31B by 9.414.85.4+9.4
- Terminal-Bench 4.0tie00tie
ReasoningGemma 4 31B
- Humanity's Last ExamGemma 4 31B by 13.523.610.1+13.5
- GPQA DiamondGemma 4 31B by 1285.773.7+12
- CritPtGemma 4 31B by 1.41.40+1.4
FactsGemma 4 31B
- AA-Omniscience · Non-hallucinationGemma 4 31B by 8.7156.3+8.7
- AA-Omniscience · AccuracyGemma 4 31B by 3.82016.1+3.8
Following instructionsGemma 4 31B
- IFBenchGemma 4 31B by 40.475.635.2+40.4
Other results7 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 Coder Next by 19.659.979.5+19.6
- AA-OmniscienceGemma 4 31B by 14.5-47.9-62.4+14.5
- Artificial Analysis Coding IndexGemma 4 31B by 7.243.436.2+7.2
- AA IntelligenceGemma 4 31B by 5.514.79.2+5.5
- GDP (Surge AI)Gemma 4 31B by 3.462.6+3.4
- AA Agentic IndexGemma 4 31B by 3.16.73.6+3.1
- HLE-DiamondGemma 4 31B by 2.97.24.3+2.9
Questions people ask
Which is better, Gemma 4 31B or Qwen3 Coder Next?
Gemma 4 31B wins all six areas where both have results: coding, agents, reasoning, facts, long documents and following instructions. Qwen3 Coder Next wins none.
Which is better for coding?
Gemma 4 31B. It wins 3 of the 3 coding tests both models report; Qwen3 Coder Next wins none.
Which is cheaper?
Gemma 4 31B costs $0.15 per million input tokens and $0.40 per million output tokens; Qwen3 Coder Next costs $0.31 and $1.00. That makes Gemma 4 31B about 58% cheaper for the same work.
How do you compare the two?
We use the 19 benchmark tests both models have published scores on. The verdict counts the 12 tests in the eight capability areas, and a gap under one point (ten on rating-style scales) counts as a tie. The other 7 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.