Model comparison
Gemma 2 27B vs Gemma 4 31B IT
Gemma 4 31B IT is the stronger model overall, scoring 43.2 to 29.2 on the Noometry Index.
Last verified . 19 shared benchmarks.
Summary
- They share 19 benchmarks with published results for both. Gemma 2 27B scores higher in 0 categories and Gemma 4 31B IT in 8 categories; 8 gaps are clear of the uncertainty.
- The widest gap is in math, where Gemma 4 31B IT leads 41.3 to 10.0.
- The biggest single-benchmark swing is OTIS Mock AIME 2024-2025: 1.4% for Gemma 2 27B and 73.3% for Gemma 4 31B IT.
- Gemma 4 31B IT is cheaper at $0.09 / $0.34 per million input/output tokens, against $0.65 / $0.65 for Gemma 2 27B.
- Gemma 4 31B IT accepts more context: 262K tokens versus 8K.
Side by side
| Gemma 2 27B | Gemma 4 31B IT | |
|---|---|---|
| Provider | ||
| Noometry Index | 29.2 | 43.2 |
| Released | 2024-06-24 | 2026-04-02 |
| Weights | Open | Open |
| Context window | 8K | 262K |
| Max output | 2K | 33K |
| Input $ / M tokens | $0.65 | $0.09 |
| Output $ / M tokens | $0.65 | $0.34 |
| Results tracked | 34 | 35 |
Sponsored placements are available on pages like this one. Advertise on Noometry
Category by category
Coding Gemma 4 31B IT leads
Gemma 2 27B: 33.5 (#243), Gemma 4 31B IT: 41.9 (#98)
| Benchmark | Gemma 2 27B | Gemma 4 31B IT |
|---|---|---|
| LMArena Coding | 1211 | 1459 |
| LMArena WebDev | — | 1364 |
| SciCode | — | 43.4% |
| WeirdML | — | 52.3% |
| BigCodeBench Instruct | 42.8% | — |
| LiveBench Coding | 36% | — |
| BigCodeBench Complete | 52.5% | — |
| ALE-Bench | — | 925.5 |
Reasoning Gemma 4 31B IT leads
Gemma 2 27B: 14.8 (#313), Gemma 4 31B IT: 26.4 (#119)
| Benchmark | Gemma 2 27B | Gemma 4 31B IT |
|---|---|---|
| LMArena Hard Prompts | 1199 | 1448 |
| DTBench | 48% | 82.7% |
| LMCA | 7.1% | 39.3% |
| Epoch Capabilities Index | 122.06 | 142.74 |
| Kagi LLM Benchmark | — | 63.5% |
| NYT Connections (extended) | — | 70.6% |
| CritPt | — | 1.4% |
| Chess Puzzles | — | 5% |
| Thematic Generalization | — | 53% |
| LiveBench Reasoning | 28.1% | — |
| LiveBench Data Analysis | 47.9% | — |
| Surface Evolver Bench | — | 30.6% |
| LiveBench | 38.2% | — |
Math Gemma 4 31B IT leads
Gemma 2 27B: 10.0 (#306), Gemma 4 31B IT: 41.3 (#72)
| Benchmark | Gemma 2 27B | Gemma 4 31B IT |
|---|---|---|
| OTIS Mock AIME 2024-2025 | 1.4% | 73.3% |
| LMArena Math | 1212 | 1464 |
| LiveBench Math | 26.5% | — |
| MATH Level 5 | 27.9% | — |
Knowledge Gemma 4 31B IT leads
Gemma 2 27B: 18.9 (#275), Gemma 4 31B IT: 37.9 (#141)
| Benchmark | Gemma 2 27B | Gemma 4 31B IT |
|---|---|---|
| GPQA Diamond | 36.5% | 75.8% |
| LMArena Expert | 1172 | 1465 |
| SimpleQA Verified | — | 10.4% |
| Confabulations | 27.1% | — |
| Vectara Hallucination Rate | — | 7.4% |
| MMLU | 75.7% | — |
Multimodal Not comparable
Gemma 2 27B: —, Gemma 4 31B IT: 41.0 (#32)
| Benchmark | Gemma 2 27B | Gemma 4 31B IT |
|---|---|---|
| LMArena Vision | — | 1278 |
| LMArena Document | — | 1425 |
Multilingual Gemma 4 31B IT leads
Gemma 2 27B: 38.8 (#221), Gemma 4 31B IT: 54.0 (#52)
| Benchmark | Gemma 2 27B | Gemma 4 31B IT |
|---|---|---|
| LMArena Non-English | 1217 | 1431 |
| LMArena Chinese | 1221 | 1478 |
| LMArena French | 1246 | 1436 |
| LMArena Russian | 1234 | 1462 |
| LMArena Spanish | 1228 | 1443 |
| LMArena German | 1209 | — |
| LMArena Japanese | 1175 | — |
| LMArena Korean | 1174 | — |
Instruction Following Gemma 4 31B IT leads
Gemma 2 27B: 60.7 (#244), Gemma 4 31B IT: 75.6 (#58)
| Benchmark | Gemma 2 27B | Gemma 4 31B IT |
|---|---|---|
| LMArena Instruction Following | 1206 | 1433 |
| LiveBench Instruction Following | 58.1% | — |
Long Context Gemma 4 31B IT leads
Gemma 2 27B: 37.3 (#213), Gemma 4 31B IT: 44.2 (#67)
| Benchmark | Gemma 2 27B | Gemma 4 31B IT |
|---|---|---|
| LMArena Longer Query | 1231 | 1446 |
Writing & Preference Gemma 4 31B IT leads
Gemma 2 27B: 44.4 (#220), Gemma 4 31B IT: 60.7 (#92)
| Benchmark | Gemma 2 27B | Gemma 4 31B IT |
|---|---|---|
| LMArena Text | 1231 | 1443 |
| LMArena Creative Writing | 1241 | 1416 |
| LMArena Multi-Turn | 1224 | 1452 |
| EQ-Bench Creative Writing | — | 1368 |
| EQ-Bench 4 | — | 1120 |
| LiveBench Language | 32.6% | — |
Frequently asked questions
Is Gemma 2 27B better than Gemma 4 31B IT?
Gemma 4 31B IT is the stronger model overall, scoring 43.2 to 29.2 on the Noometry Index.
Which is cheaper, Gemma 2 27B or Gemma 4 31B IT?
Gemma 4 31B IT is cheaper. It lists at $0.09 per million input tokens and $0.34 per million output tokens; Gemma 2 27B lists at $0.65 and $0.65.
Is Gemma 2 27B or Gemma 4 31B IT better for coding?
Gemma 4 31B IT scores higher on coding benchmarks: 41.9 versus 33.5 in the Noometry coding category.
Which has the bigger context window?
Gemma 4 31B IT does, with 262K tokens against 8K.
How many benchmarks do Gemma 2 27B and Gemma 4 31B IT share?
19 benchmarks have published results for both models. Gemma 2 27B has 34 scored results on Noometry and Gemma 4 31B IT has 35.