Gemma 4 31B vs K2 Horizon 3.7B
Wins 4 of 6 areas
Coding · Reasoning · Math · Long documents
Wins 1 of 6 areas
Agents
Gemma 4 31B is the stronger all-rounder.K2 Horizon 3.7B is better at agents.
Scores updated · 18 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.
- ReasoningHard problems that need careful thinking30Gemma 4 31B3 of 3 tests
- CodingWriting and fixing software21Gemma 4 31B2 of 3 tests
- MathCompetition and research-level math10Gemma 4 31B1 of 1 test
- Long documentsFinding answers in very long texts10Gemma 4 31B1 of 1 test
- AgentsCarrying out multi-step tasks on its own02K2 Horizon 3.7B2 of 3 tests · 1 tie
- FactsGetting facts right instead of making them up11Even1 each
Math and long documents 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 Gemma 4 31B pulls ahead
- Code for real scientific research problemsSciCode+23.5points ahead
- Graduate-level biology, physics and chemistry questionsGPQA Diamond+16.5points ahead
- Command-line tasks in a real terminalTerminal-Bench 2.1+15.3points ahead
Where K2 Horizon 3.7B pulls ahead
- Avoids making up answers it doesn't knowAA-Omniscience · Non-hallucination+40.9points ahead
- Fixes real GitHub issues in Python projectsSWE-bench Verified+19.5points ahead
- Real work tasks from 44 professionsGDPVal+13.1points ahead
Every test, side by side
All 18 tests both models report. The winning score is in its model's colour; marks a score checked independently.
CodingGemma 4 31B
- SciCodeGemma 4 31B by 23.545.522+23.5
- SWE-bench VerifiedK2 Horizon 3.7B by 19.546.165.6+19.5
- Terminal-Bench 2.1Gemma 4 31B by 15.343.428.1+15.3
AgentsK2 Horizon 3.7B
- GDPValK2 Horizon 3.7B by 13.1619.1+13.1
- τ-Bench V3 · BankingK2 Horizon 3.7B by 4.814.819.6+4.8
- Terminal-Bench 4.0tie00tie
ReasoningGemma 4 31B
- GPQA DiamondGemma 4 31B by 16.585.769.2+16.5
- Humanity's Last ExamGemma 4 31B by 9.723.613.9+9.7
- CritPtGemma 4 31B by 1.41.40+1.4
FactsEven
- AA-Omniscience · Non-hallucinationK2 Horizon 3.7B by 40.91555.9+40.9
- AA-Omniscience · AccuracyGemma 4 31B by 9.22010.8+9.2
Other results5 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.
- AA-OmniscienceK2 Horizon 3.7B by 19.3-47.9-28.6+19.3
- GDP (Surge AI)Gemma 4 31B by 2.863.2+2.8
- HLE-DiamondGemma 4 31B by 2.17.25.1+2.1
- AA Intelligencetie14.715.6tie
- Terminal-Bench-Science 0.1tie00tie
Questions people ask
Which is better, Gemma 4 31B or K2 Horizon 3.7B?
Gemma 4 31B wins four of the six areas where both have results: coding, reasoning, math and long documents. K2 Horizon 3.7B wins agents. They are level on facts.
Which is better for coding?
Gemma 4 31B. It wins 2 of the 3 coding tests both models report; K2 Horizon 3.7B wins 1.
How do you compare the two?
We use the 18 benchmark tests both models have published scores on. The verdict counts the 13 tests in the eight capability areas, and a gap under one point (ten on rating-style scales) counts as a tie. The other 5 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.