Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

Gemma 4 31B vs K2 Horizon 7B

Google · released

Wins 2 of 6 areas

Reasoning · Math

MBZUAI · released

Wins 1 of 6 areas

Agents

Gemma 4 31B wins more areas, narrowly.K2 Horizon 7B is better at agents.

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.

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.

Gemma 4 31B$0.15 to read · $0.40 to write$0.55Price from Artificial Analysis
K2 Horizon 7BNo current price is tracked.

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+18points aheadGemma 4 31B45.5K2 Horizon 7B27.5
  • Graduate-level biology, physics and chemistry questionsGPQA Diamond+10.4points aheadGemma 4 31B85.7K2 Horizon 7B75.3
  • Answers hard knowledge questions correctlyAA-Omniscience · Accuracy+7.2points aheadGemma 4 31B20K2 Horizon 7B12.8

Where K2 Horizon 7B pulls ahead

  • Avoids making up answers it doesn't knowAA-Omniscience · Non-hallucination+51.4points aheadK2 Horizon 7B66.4Gemma 4 31B15
  • Fixes real GitHub issues in Python projectsSWE-bench Verified+24.5points aheadK2 Horizon 7B70.6Gemma 4 31B46.1
  • Finds hard-to-locate facts by browsing the webBrowseComp+22points aheadK2 Horizon 7B59Gemma 4 31B37

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.

CodingEven

Full coding ranking

AgentsK2 Horizon 7B

Full agents ranking

ReasoningGemma 4 31B

Full reasoning ranking

FactsEven

Full facts ranking

MathGemma 4 31B

Full math ranking

Long documentsEven

Full long documents ranking

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.

Questions people ask

Which is better, Gemma 4 31B or K2 Horizon 7B?

Gemma 4 31B wins two of the six areas where both have results: reasoning and math. K2 Horizon 7B wins agents. They are level on coding, facts and long documents.

Which is better for coding?

Neither. They win 1 coding test each of the 3 both models report, and 1 is a tie.

How do you compare the two?

We use the 19 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 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.