# Gemma 4 31B IT vs Llama 2-13B

> Gemma 4 31B IT is the stronger model overall, scoring 43.2 to 29.1 on the Noometry Index.

- Canonical page: https://noometry.com/compare/gemma-4-31b-it-vs-llama-2-13b
- Last updated: 2026-10-10
- Shared benchmarks: 17

## Summary

- They share 17 benchmarks with published results for both. Gemma 4 31B IT scores higher in 8 categories and Llama 2-13B in 0 categories; 8 gaps are clear of the uncertainty.
- The widest gap is in writing & preference, where Gemma 4 31B IT leads 60.7 to 30.0.
- The biggest single-benchmark swing is DTBench: 82.7% for Gemma 4 31B IT and 42.2% for Llama 2-13B.

## Snapshot

| | Gemma 4 31B IT | Llama 2-13B |
|---|---|---|
| Provider | Google | Meta |
| Noometry Index | 43.2 | 29.1 |
| Rank | 85 | 304 |
| Context | 262K | — |
| Input $/M | $0.09 | — |
| Output $/M | $0.34 | — |
| Weights | Open | Open |

## Coding

- Gemma 4 31B IT: 41.9 (#98)
- Llama 2-13B: 30.4 (#287)

| Benchmark | Gemma 4 31B IT | Llama 2-13B |
|---|---|---|
| LMArena Coding | 1459 | 1062 |
| LMArena WebDev | 1364 | — |
| SciCode | 43.4% | — |
| WeirdML | 52.3% | — |
| ALE-Bench | 925.5 | — |

## Reasoning

- Gemma 4 31B IT: 26.4 (#119)
- Llama 2-13B: 12.3 (#333)

| Benchmark | Gemma 4 31B IT | Llama 2-13B |
|---|---|---|
| Chess Puzzles | 5% | 0% |
| LMArena Hard Prompts | 1448 | 1051 |
| DTBench | 82.7% | 42.2% |
| Epoch Capabilities Index | 142.74 | 105.8 |
| Kagi LLM Benchmark | 63.5% | — |
| NYT Connections (extended) | 70.6% | — |
| CritPt | 1.4% | — |
| Thematic Generalization | 53% | — |
| LMCA | 39.3% | — |
| Surface Evolver Bench | 30.6% | — |
| BIG-Bench Hard | — | 58.2% |
| HellaSwag | — | 80.7% |
| LAMBADA | — | 76.5% |
| PIQA | — | 80.8% |
| WinoGrande | — | 72.8% |

## Math

- Gemma 4 31B IT: 41.3 (#72)
- Llama 2-13B: 28.7 (#226)

| Benchmark | Gemma 4 31B IT | Llama 2-13B |
|---|---|---|
| LMArena Math | 1464 | 1065 |
| OTIS Mock AIME 2024-2025 | 73.3% | — |
| GSM8K | — | 36.9% |

## Knowledge

- Gemma 4 31B IT: 37.9 (#141)
- Llama 2-13B: 27.5 (#244)

| Benchmark | Gemma 4 31B IT | Llama 2-13B |
|---|---|---|
| LMArena Expert | 1465 | 1030 |
| GPQA Diamond | 75.8% | — |
| SimpleQA Verified | 10.4% | — |
| Vectara Hallucination Rate | 7.4% | — |
| ARC (AI2) Challenge | — | 60.3% |
| BoolQ | — | 82.4% |
| MMLU | — | 55.6% |
| OpenBookQA | — | 57% |
| TriviaQA | — | 79.6% |

## Multimodal

- Gemma 4 31B IT: 41.0 (#32)
- Llama 2-13B: —

| Benchmark | Gemma 4 31B IT | Llama 2-13B |
|---|---|---|
| LMArena Vision | 1278 | — |
| LMArena Document | 1425 | — |
| ScienceQA | — | 55.8% |

## Multilingual

- Gemma 4 31B IT: 54.0 (#52)
- Llama 2-13B: 26.7 (#274)

| Benchmark | Gemma 4 31B IT | Llama 2-13B |
|---|---|---|
| LMArena Non-English | 1431 | 1024 |
| LMArena Chinese | 1478 | 1001 |
| LMArena French | 1436 | 1043 |
| LMArena Russian | 1462 | 1055 |
| LMArena Spanish | 1443 | 1086 |
| LMArena German | — | 1009 |
| LMArena Japanese | — | 894 |
| LMArena Korean | — | 953 |

## Instruction Following

- Gemma 4 31B IT: 75.6 (#58)
- Llama 2-13B: 53.5 (#282)

| Benchmark | Gemma 4 31B IT | Llama 2-13B |
|---|---|---|
| LMArena Instruction Following | 1433 | 1046 |

## Long Context

- Gemma 4 31B IT: 44.2 (#67)
- Llama 2-13B: 32.3 (#264)

| Benchmark | Gemma 4 31B IT | Llama 2-13B |
|---|---|---|
| LMArena Longer Query | 1446 | 1064 |

## Writing & Preference

- Gemma 4 31B IT: 60.7 (#92)
- Llama 2-13B: 30.0 (#284)

| Benchmark | Gemma 4 31B IT | Llama 2-13B |
|---|---|---|
| LMArena Text | 1443 | 1085 |
| LMArena Creative Writing | 1416 | 1047 |
| LMArena Multi-Turn | 1452 | 1050 |
| EQ-Bench Creative Writing | 1368 | — |
| EQ-Bench 4 | 1120 | — |

## FAQ

### Is Gemma 4 31B IT better than Llama 2-13B?

Gemma 4 31B IT is the stronger model overall, scoring 43.2 to 29.1 on the Noometry Index.

### Is Gemma 4 31B IT or Llama 2-13B better for coding?

Gemma 4 31B IT scores higher on coding benchmarks: 41.9 versus 30.4 in the Noometry coding category.

### How many benchmarks do Gemma 4 31B IT and Llama 2-13B share?

17 benchmarks have published results for both models. Gemma 4 31B IT has 35 scored results on Noometry and Llama 2-13B has 32.
