Model comparison
Gemma 2 27B vs Llama 2-13B
Gemma 2 27B and Llama 2-13B score almost the same on the Noometry Index (29.4 vs 29.6), so choose on price, context window or the category you care about most.
Last verified . 20 shared benchmarks.
Summary
- They share 20 benchmarks with published results for both. Gemma 2 27B scores higher in 6 categories and Llama 2-13B in 2 categories; 8 gaps are clear of the uncertainty.
- The widest gap is in math, where Llama 2-13B leads 31.1 to 10.7.
- The biggest single-benchmark swing is DTBench: 48% for Gemma 2 27B and 42.2% for Llama 2-13B.
Side by side
| Gemma 2 27B | Llama 2-13B | |
|---|---|---|
| Provider | Meta | |
| Noometry Index | 29.4 | 29.6 |
| Released | 2024-06-24 | 2023-07-18 |
| Weights | Open | Open |
| Context window | 8K | — |
| Max output | 2K | — |
| Input $ / M tokens | $0.65 | — |
| Output $ / M tokens | $0.65 | — |
| Results tracked | 34 | 32 |
Sponsored placements are available on pages like this one. Advertise on Noometry
Category by category
Coding Gemma 2 27B leads
Gemma 2 27B: 34.1 (#246), Llama 2-13B: 30.9 (#291)
| Benchmark | Gemma 2 27B | Llama 2-13B |
|---|---|---|
| LMArena Coding | 1211 | 1062 |
| BigCodeBench Instruct | 42.8% | — |
| LiveBench Coding | 36% | — |
| BigCodeBench Complete | 52.5% | — |
Reasoning Gemma 2 27B leads
Gemma 2 27B: 15.3 (#315), Llama 2-13B: 12.8 (#337)
| Benchmark | Gemma 2 27B | Llama 2-13B |
|---|---|---|
| LMArena Hard Prompts | 1198 | 1051 |
| DTBench | 48% | 42.2% |
| Epoch Capabilities Index | 122.08 | 106.17 |
| Chess Puzzles | — | 0% |
| LiveBench Reasoning | 28.1% | — |
| LiveBench Data Analysis | 47.9% | — |
| LMCA | 7.1% | — |
| BIG-Bench Hard | — | 58.2% |
| HellaSwag | — | 80.7% |
| LAMBADA | — | 76.5% |
| LiveBench | 38.2% | — |
| PIQA | — | 80.8% |
| WinoGrande | — | 72.8% |
Math Llama 2-13B leads
Gemma 2 27B: 10.7 (#311), Llama 2-13B: 31.1 (#229)
| Benchmark | Gemma 2 27B | Llama 2-13B |
|---|---|---|
| LMArena Math | 1212 | 1065 |
| OTIS Mock AIME 2024-2025 | 1.4% | — |
| LiveBench Math | 26.5% | — |
| MATH Level 5 | 27.9% | — |
| GSM8K | — | 36.9% |
Knowledge Llama 2-13B leads
Gemma 2 27B: 19.0 (#280), Llama 2-13B: 28.1 (#249)
| Benchmark | Gemma 2 27B | Llama 2-13B |
|---|---|---|
| LMArena Expert | 1172 | 1030 |
| MMLU | 75.7% | 55.6% |
| GPQA Diamond | 36.5% | — |
| Confabulations | 27.1% | — |
| ARC (AI2) Challenge | — | 60.3% |
| BoolQ | — | 82.4% |
| OpenBookQA | — | 57% |
| TriviaQA | — | 79.6% |
Multimodal Not comparable
Gemma 2 27B: —, Llama 2-13B: —
| Benchmark | Gemma 2 27B | Llama 2-13B |
|---|---|---|
| ScienceQA | — | 55.8% |
Multilingual Gemma 2 27B leads
Gemma 2 27B: 38.6 (#226), Llama 2-13B: 26.5 (#279)
| Benchmark | Gemma 2 27B | Llama 2-13B |
|---|---|---|
| LMArena Non-English | 1217 | 1024 |
| LMArena Chinese | 1221 | 1001 |
| LMArena French | 1247 | 1044 |
| LMArena German | 1209 | 1009 |
| LMArena Japanese | 1175 | 894 |
| LMArena Korean | 1174 | 953 |
| LMArena Russian | 1234 | 1055 |
| LMArena Spanish | 1228 | 1087 |
Instruction Following Gemma 2 27B leads
Gemma 2 27B: 60.5 (#249), Llama 2-13B: 53.3 (#287)
| Benchmark | Gemma 2 27B | Llama 2-13B |
|---|---|---|
| LMArena Instruction Following | 1206 | 1045 |
| LiveBench Instruction Following | 58.1% | — |
Long Context Gemma 2 27B leads
Gemma 2 27B: 37.3 (#218), Llama 2-13B: 32.3 (#269)
| Benchmark | Gemma 2 27B | Llama 2-13B |
|---|---|---|
| LMArena Longer Query | 1231 | 1064 |
Writing & Preference Gemma 2 27B leads
Gemma 2 27B: 44.2 (#225), Llama 2-13B: 29.8 (#289)
| Benchmark | Gemma 2 27B | Llama 2-13B |
|---|---|---|
| LMArena Text | 1231 | 1084 |
| LMArena Creative Writing | 1241 | 1047 |
| LMArena Multi-Turn | 1224 | 1050 |
| LiveBench Language | 32.6% | — |
Frequently asked questions
Is Gemma 2 27B better than Llama 2-13B?
Gemma 2 27B and Llama 2-13B score almost the same on the Noometry Index (29.4 vs 29.6), so choose on price, context window or the category you care about most.
Is Gemma 2 27B or Llama 2-13B better for coding?
Gemma 2 27B scores higher on coding benchmarks: 34.1 versus 30.9 in the Noometry coding category.
How many benchmarks do Gemma 2 27B and Llama 2-13B share?
20 benchmarks have published results for both models. Gemma 2 27B has 34 scored results on Noometry and Llama 2-13B has 32.