Model comparison
Gemma 4 31B IT vs Llama 2-70B
Gemma 4 31B IT is the stronger model overall, scoring 43.2 to 24.1 on the Noometry Index.
Last verified . 18 shared benchmarks.
Summary
- They share 18 benchmarks with published results for both. Gemma 4 31B IT scores higher in 8 categories and Llama 2-70B in 0 categories; 8 gaps are clear of the uncertainty.
- The widest gap is in math, where Gemma 4 31B IT leads 41.3 to 7.5.
- The biggest single-benchmark swing is OTIS Mock AIME 2024-2025: 73.3% for Gemma 4 31B IT and 0% for Llama 2-70B.
Side by side
| Gemma 4 31B IT | Llama 2-70B | |
|---|---|---|
| Provider | Meta | |
| Noometry Index | 43.2 | 24.1 |
| Released | 2026-04-02 | 2023-07-18 |
| Weights | Open | Open |
| Context window | 262K | — |
| Max output | 33K | — |
| Input $ / M tokens | $0.09 | — |
| Output $ / M tokens | $0.34 | — |
| Results tracked | 35 | 35 |
Sponsored placements are available on pages like this one. Advertise on Noometry
Category by category
Coding Gemma 4 31B IT leads
Gemma 4 31B IT: 41.9 (#98), Llama 2-70B: 30.8 (#281)
| Benchmark | Gemma 4 31B IT | Llama 2-70B |
|---|---|---|
| LMArena Coding | 1459 | 1079 |
| LMArena WebDev | 1364 | — |
| SciCode | 43.4% | — |
| WeirdML | 52.3% | — |
| ALE-Bench | 925.5 | — |
Reasoning Gemma 4 31B IT leads
Gemma 4 31B IT: 26.4 (#119), Llama 2-70B: 13.7 (#324)
| Benchmark | Gemma 4 31B IT | Llama 2-70B |
|---|---|---|
| LMArena Hard Prompts | 1448 | 1073 |
| DTBench | 82.7% | 41.6% |
| Epoch Capabilities Index | 142.74 | 113.59 |
| Kagi LLM Benchmark | 63.5% | — |
| NYT Connections (extended) | 70.6% | — |
| CritPt | 1.4% | — |
| Chess Puzzles | 5% | — |
| Thematic Generalization | 53% | — |
| LMCA | 39.3% | — |
| Surface Evolver Bench | 30.6% | — |
| BIG-Bench Hard | — | 64.9% |
| CommonsenseQA 2.0 | — | 50% |
| ForecastBench | — | 51.4 |
| HellaSwag | — | 85.3% |
| LAMBADA | — | 78.9% |
| PIQA | — | 82.8% |
| WinoGrande | — | 80.2% |
Math Gemma 4 31B IT leads
Gemma 4 31B IT: 41.3 (#72), Llama 2-70B: 7.5 (#320)
| Benchmark | Gemma 4 31B IT | Llama 2-70B |
|---|---|---|
| OTIS Mock AIME 2024-2025 | 73.3% | 0% |
| LMArena Math | 1464 | 1091 |
| MATH Level 5 | — | 3.3% |
| GSM8K | — | 69.6% |
Knowledge Gemma 4 31B IT leads
Gemma 4 31B IT: 37.9 (#141), Llama 2-70B: 7.4 (#305)
| Benchmark | Gemma 4 31B IT | Llama 2-70B |
|---|---|---|
| GPQA Diamond | 75.8% | 26.3% |
| LMArena Expert | 1465 | 1039 |
| SimpleQA Verified | 10.4% | — |
| Vectara Hallucination Rate | 7.4% | — |
| ARC (AI2) Challenge | — | 78.3% |
| BoolQ | — | 88.6% |
| MMLU | — | 69.9% |
| OpenBookQA | — | 60.2% |
| TriviaQA | — | 87.6% |
Multimodal Not comparable
Gemma 4 31B IT: 41.0 (#32), Llama 2-70B: —
| Benchmark | Gemma 4 31B IT | Llama 2-70B |
|---|---|---|
| LMArena Vision | 1278 | — |
| LMArena Document | 1425 | — |
Multilingual Gemma 4 31B IT leads
Gemma 4 31B IT: 54.0 (#52), Llama 2-70B: 27.9 (#269)
| Benchmark | Gemma 4 31B IT | Llama 2-70B |
|---|---|---|
| LMArena Non-English | 1431 | 1045 |
| LMArena Chinese | 1478 | 994 |
| LMArena French | 1436 | 1089 |
| LMArena Russian | 1462 | 1083 |
| LMArena Spanish | 1443 | 1142 |
| LMArena German | — | 1041 |
| LMArena Japanese | — | 927 |
| LMArena Korean | — | 964 |
Instruction Following Gemma 4 31B IT leads
Gemma 4 31B IT: 75.6 (#58), Llama 2-70B: 55.1 (#273)
| Benchmark | Gemma 4 31B IT | Llama 2-70B |
|---|---|---|
| LMArena Instruction Following | 1433 | 1071 |
Long Context Gemma 4 31B IT leads
Gemma 4 31B IT: 44.2 (#67), Llama 2-70B: 32.2 (#265)
| Benchmark | Gemma 4 31B IT | Llama 2-70B |
|---|---|---|
| LMArena Longer Query | 1446 | 1062 |
Writing & Preference Gemma 4 31B IT leads
Gemma 4 31B IT: 60.7 (#92), Llama 2-70B: 32.5 (#274)
| Benchmark | Gemma 4 31B IT | Llama 2-70B |
|---|---|---|
| LMArena Text | 1443 | 1115 |
| LMArena Creative Writing | 1416 | 1075 |
| LMArena Multi-Turn | 1452 | 1088 |
| EQ-Bench Creative Writing | 1368 | — |
| EQ-Bench 4 | 1120 | — |
Frequently asked questions
Is Gemma 4 31B IT better than Llama 2-70B?
Gemma 4 31B IT is the stronger model overall, scoring 43.2 to 24.1 on the Noometry Index.
Is Gemma 4 31B IT or Llama 2-70B better for coding?
Gemma 4 31B IT scores higher on coding benchmarks: 41.9 versus 30.8 in the Noometry coding category.
How many benchmarks do Gemma 4 31B IT and Llama 2-70B share?
18 benchmarks have published results for both models. Gemma 4 31B IT has 35 scored results on Noometry and Llama 2-70B has 35.