Model comparison
Gemma 2 9B vs Llama 3.1-405B
Llama 3.1-405B is the stronger model overall, scoring 30.7 to 25.9 on the Noometry Index.
Last verified . 24 shared benchmarks.
Summary
- They share 24 benchmarks with published results for both. Gemma 2 9B scores higher in 0 categories and Llama 3.1-405B in 8 categories; 7 gaps are clear of the uncertainty.
- The widest gap is in knowledge, where Llama 3.1-405B leads 30.4 to 9.7.
- The biggest single-benchmark swing is MATH Level 5: 21% for Gemma 2 9B and 49.8% for Llama 3.1-405B.
Side by side
| Gemma 2 9B | Llama 3.1-405B | |
|---|---|---|
| Provider | Meta | |
| Noometry Index | 25.9 | 30.7 |
| Released | 2024-06-24 | 2024-07-23 |
| Weights | Open | Open |
| Context window | — | — |
| Max output | — | — |
| Input $ / M tokens | — | — |
| Output $ / M tokens | — | — |
| Results tracked | 35 | 42 |
Sponsored placements are available on pages like this one. Advertise on Noometry
Category by category
Coding Llama 3.1-405B leads
Gemma 2 9B: 29.4 (#304), Llama 3.1-405B: 33.1 (#262)
| Benchmark | Gemma 2 9B | Llama 3.1-405B |
|---|---|---|
| LMArena Coding | 1173 | 1291 |
| WeirdML | — | 21.4% |
| BigCodeBench Instruct | 34.7% | — |
| LiveBench Coding | 22.5% | — |
| BigCodeBench Complete | 40.6% | — |
Agentic & Tool Use Not comparable
Gemma 2 9B: —, Llama 3.1-405B: 21.0 (#140)
| Benchmark | Gemma 2 9B | Llama 3.1-405B |
|---|---|---|
| TheAgentCompany | — | 7.4% |
| Cybench | — | 7.5% |
Reasoning Too close to call
Gemma 2 9B: 15.9 (#309), Llama 3.1-405B: 16.8 (#300)
| Benchmark | Gemma 2 9B | Llama 3.1-405B |
|---|---|---|
| LMArena Hard Prompts | 1171 | 1269 |
| Epoch Capabilities Index | 119.83 | 128.75 |
| PIQA | 83.7% | 85.9% |
| SimpleBench | — | 23% |
| Kagi LLM Benchmark | — | 45% |
| LiveBench Reasoning | 15.2% | — |
| DTBench | — | 61.4% |
| LiveBench Data Analysis | 36.4% | — |
| BIG-Bench Hard | — | 82.9% |
| ForecastBench | — | 59.9 |
| HellaSwag | — | 89.2% |
| LiveBench | 28.7% | — |
| WinoGrande | — | 89.2% |
Math Llama 3.1-405B leads
Gemma 2 9B: 9.9 (#318), Llama 3.1-405B: 18.4 (#290)
| Benchmark | Gemma 2 9B | Llama 3.1-405B |
|---|---|---|
| OTIS Mock AIME 2024-2025 | 0.6% | 9.7% |
| LMArena Math | 1183 | 1281 |
| MATH Level 5 | 21% | 49.8% |
| Omni-MATH | — | 24.9% |
| LiveBench Math | 19.8% | — |
| GSM8K | 84.9% | — |
Knowledge Llama 3.1-405B leads
Gemma 2 9B: 9.7 (#305), Llama 3.1-405B: 30.4 (#227)
| Benchmark | Gemma 2 9B | Llama 3.1-405B |
|---|---|---|
| GPQA Diamond | 27.5% | 50.9% |
| LMArena Expert | 1147 | 1243 |
| MMLU | 72.1% | 84.5% |
| MMLU-Pro | — | 72.3% |
| Confabulations | — | 17.6% |
| GPQA (HELM) | — | 52.2% |
| ARC (AI2) Challenge | — | 95.3% |
| BoolQ | 85.7% | — |
| TriviaQA | — | 82.7% |
Multilingual Llama 3.1-405B leads
Gemma 2 9B: 36.6 (#238), Llama 3.1-405B: 40.7 (#214)
| Benchmark | Gemma 2 9B | Llama 3.1-405B |
|---|---|---|
| LMArena Non-English | 1188 | 1248 |
| LMArena Chinese | 1185 | 1242 |
| LMArena French | 1190 | 1279 |
| LMArena German | 1186 | 1252 |
| LMArena Japanese | 1144 | 1208 |
| LMArena Korean | 1137 | 1184 |
| LMArena Russian | 1200 | 1265 |
| LMArena Spanish | 1200 | 1260 |
Instruction Following Llama 3.1-405B leads
Gemma 2 9B: 57.6 (#269), Llama 3.1-405B: 65.9 (#214)
| Benchmark | Gemma 2 9B | Llama 3.1-405B |
|---|---|---|
| LMArena Instruction Following | 1178 | 1259 |
| LiveBench Instruction Following | 52.6% | — |
| IFEval | — | 81.1% |
Long Context Llama 3.1-405B leads
Gemma 2 9B: 36.3 (#233), Llama 3.1-405B: 38.4 (#197)
| Benchmark | Gemma 2 9B | Llama 3.1-405B |
|---|---|---|
| LMArena Longer Query | 1197 | 1266 |
Writing & Preference Llama 3.1-405B leads
Gemma 2 9B: 32.1 (#281), Llama 3.1-405B: 38.9 (#251)
| Benchmark | Gemma 2 9B | Llama 3.1-405B |
|---|---|---|
| LMArena Text | 1207 | 1284 |
| LMArena Creative Writing | 1206 | 1262 |
| EQ-Bench Creative Writing | 841 | 870 |
| LMArena Multi-Turn | 1193 | 1297 |
| WildBench | — | 78.3% |
| LiveBench Language | 25.5% | — |
Frequently asked questions
Is Gemma 2 9B better than Llama 3.1-405B?
Llama 3.1-405B is the stronger model overall, scoring 30.7 to 25.9 on the Noometry Index.
Is Gemma 2 9B or Llama 3.1-405B better for coding?
Llama 3.1-405B scores higher on coding benchmarks: 33.1 versus 29.4 in the Noometry coding category.
How many benchmarks do Gemma 2 9B and Llama 3.1-405B share?
24 benchmarks have published results for both models. Gemma 2 9B has 35 scored results on Noometry and Llama 3.1-405B has 42.