# Gemma 2B vs Llama 2-7B

> Gemma 2B and Llama 2-7B score almost the same on the Noometry Index (29.6 vs 29.1), so choose on price, context window or the category you care about most.

- Canonical page: https://noometry.com/compare/gemma-2b-vs-llama-2-7b
- Last updated: 2026-10-10
- Shared benchmarks: 21

## Summary

- They share 21 benchmarks with published results for both. Gemma 2B scores higher in 2 categories and Llama 2-7B in 5 categories; 3 gaps are clear of the uncertainty.
- The widest gap is in writing & preference, where Llama 2-7B leads 28.0 to 24.0.

## Snapshot

| | Gemma 2B | Llama 2-7B |
|---|---|---|
| Provider | Google | Meta |
| Noometry Index | 29.6 | 29.1 |
| Rank | 307 | 317 |
| Context | — | — |
| Input $/M | — | — |
| Output $/M | — | — |
| Weights | Open | Open |

## Coding

- Gemma 2B: 29.4 (#305)
- Llama 2-7B: 29.2 (#307)

| Benchmark | Gemma 2B | Llama 2-7B |
|---|---|---|
| LMArena Coding | 1010 | 1002 |
| HumanEval+ | 20.7% | — |
| MBPP+ | 34.1% | — |

## Reasoning

- Gemma 2B: 18.8 (#275)
- Llama 2-7B: 15.7 (#312)

| Benchmark | Gemma 2B | Llama 2-7B |
|---|---|---|
| LMArena Hard Prompts | 989 | 1009 |
| BIG-Bench Hard | 35.2% | 39.2% |
| Epoch Capabilities Index | 94.2 | 99.06 |
| HellaSwag | 71.4% | 77.2% |
| PIQA | 77.3% | 78.8% |
| WinoGrande | 65.4% | 69.2% |
| Chess Puzzles | — | 0% |
| LAMBADA | — | 73.3% |

## Math

- Gemma 2B: 30.0 (#239)
- Llama 2-7B: 30.7 (#233)

| Benchmark | Gemma 2B | Llama 2-7B |
|---|---|---|
| LMArena Math | 1009 | 1042 |
| GSM8K | 17.7% | 16.7% |

## Knowledge

- Gemma 2B: —
- Llama 2-7B: 28.2 (#248)

| Benchmark | Gemma 2B | Llama 2-7B |
|---|---|---|
| ARC (AI2) Challenge | 42.1% | 45.9% |
| BoolQ | 69.4% | 77.9% |
| MMLU | 42.3% | 45.8% |
| TriviaQA | 53.2% | 73.7% |
| LMArena Expert | — | 1036 |
| OpenBookQA | — | 58.6% |

## Multimodal

- Gemma 2B: —
- Llama 2-7B: —

| Benchmark | Gemma 2B | Llama 2-7B |
|---|---|---|
| ScienceQA | — | 43.1% |

## Multilingual

- Gemma 2B: 23.0 (#294)
- Llama 2-7B: 23.8 (#293)

| Benchmark | Gemma 2B | Llama 2-7B |
|---|---|---|
| LMArena Non-English | 958 | 973 |
| LMArena Chinese | 986 | 973 |
| LMArena Russian | 937 | 995 |
| LMArena French | — | 970 |
| LMArena German | — | 978 |
| LMArena Spanish | — | 1007 |

## Instruction Following

- Gemma 2B: 48.5 (#302)
- Llama 2-7B: 50.8 (#298)

| Benchmark | Gemma 2B | Llama 2-7B |
|---|---|---|
| LMArena Instruction Following | 970 | 1006 |

## Long Context

- Gemma 2B: 29.9 (#291)
- Llama 2-7B: 30.4 (#287)

| Benchmark | Gemma 2B | Llama 2-7B |
|---|---|---|
| LMArena Longer Query | 981 | 999 |

## Writing & Preference

- Gemma 2B: 24.0 (#308)
- Llama 2-7B: 28.0 (#298)

| Benchmark | Gemma 2B | Llama 2-7B |
|---|---|---|
| LMArena Text | 1002 | 1053 |
| LMArena Creative Writing | 987 | 1033 |
| LMArena Multi-Turn | 945 | 1029 |

## FAQ

### Is Gemma 2B better than Llama 2-7B?

Gemma 2B and Llama 2-7B score almost the same on the Noometry Index (29.6 vs 29.1), so choose on price, context window or the category you care about most.

### Is Gemma 2B or Llama 2-7B better for coding?

They score almost the same on coding (29.4 vs 29.2); test both on your own repository before choosing.

### How many benchmarks do Gemma 2B and Llama 2-7B share?

21 benchmarks have published results for both models. Gemma 2B has 23 scored results on Noometry and Llama 2-7B has 29.
