Model comparison

Gemma 2 9B vs Llama 2-70B

Gemma 2 9B is the stronger model overall, scoring 25.7 to 24.1 on the Noometry Index.

Last verified . 25 shared benchmarks.

Gemma 2 9B Google

25.7

Rank #334 Confirmed

Llama 2-70B Meta

24.1

Rank #343 Confirmed

Summary

  • They share 25 benchmarks with published results for both. Gemma 2 9B scores higher in 6 categories and Llama 2-70B in 2 categories; 7 gaps are clear of the uncertainty.
  • The widest gap is in multilingual, where Gemma 2 9B leads 36.8 to 27.9.
  • The biggest single-benchmark swing is MATH Level 5: 21% for Gemma 2 9B and 3.3% for Llama 2-70B.

Side by side

Gemma 2 9B and Llama 2-70B specifications
Gemma 2 9BLlama 2-70B
ProviderGoogleMeta
Noometry Index25.724.1
Released2024-06-242023-07-18
WeightsOpenOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked3535

Sponsored placements are available on pages like this one. Advertise on Noometry

Category by category

Coding Llama 2-70B leads

Gemma 2 9B: 29.0 (#299), Llama 2-70B: 30.8 (#281)

Coding benchmarks
BenchmarkGemma 2 9BLlama 2-70B
LMArena Coding11741079
BigCodeBench Instruct34.7%—
LiveBench Coding22.5%—
BigCodeBench Complete40.6%—

Reasoning Gemma 2 9B leads

Gemma 2 9B: 15.3 (#306), Llama 2-70B: 13.7 (#324)

Reasoning benchmarks
BenchmarkGemma 2 9BLlama 2-70B
LMArena Hard Prompts11721073
Epoch Capabilities Index119.78113.59
PIQA83.7%82.8%
LiveBench Reasoning15.2%—
DTBench—41.6%
LiveBench Data Analysis36.4%—
BIG-Bench Hard—64.9%
CommonsenseQA 2.0—50%
ForecastBench—51.4
HellaSwag—85.3%
LAMBADA—78.9%
LiveBench28.7%—
WinoGrande—80.2%

Math Gemma 2 9B leads

Gemma 2 9B: 9.3 (#312), Llama 2-70B: 7.5 (#320)

Math benchmarks
BenchmarkGemma 2 9BLlama 2-70B
OTIS Mock AIME 2024-20250.6%0%
LMArena Math11831091
MATH Level 521%3.3%
GSM8K84.9%69.6%
LiveBench Math19.8%—

Knowledge Gemma 2 9B leads

Gemma 2 9B: 9.7 (#300), Llama 2-70B: 7.4 (#305)

Knowledge benchmarks
BenchmarkGemma 2 9BLlama 2-70B
GPQA Diamond27.5%26.3%
LMArena Expert11471039
BoolQ85.7%88.6%
MMLU72.1%69.9%
ARC (AI2) Challenge—78.3%
OpenBookQA—60.2%
TriviaQA—87.6%

Multilingual Gemma 2 9B leads

Gemma 2 9B: 36.8 (#233), Llama 2-70B: 27.9 (#269)

Multilingual benchmarks
BenchmarkGemma 2 9BLlama 2-70B
LMArena Non-English11881045
LMArena Chinese1185994
LMArena French11891089
LMArena German11861041
LMArena Japanese1144927
LMArena Korean1137964
LMArena Russian12001083
LMArena Spanish12001142

Instruction Following Gemma 2 9B leads

Gemma 2 9B: 57.8 (#264), Llama 2-70B: 55.1 (#273)

Instruction Following benchmarks
BenchmarkGemma 2 9BLlama 2-70B
LMArena Instruction Following11781071
LiveBench Instruction Following52.6%—

Long Context Gemma 2 9B leads

Gemma 2 9B: 36.3 (#228), Llama 2-70B: 32.2 (#265)

Long Context benchmarks
BenchmarkGemma 2 9BLlama 2-70B
LMArena Longer Query11971062

Writing & Preference Too close to call

Gemma 2 9B: 32.3 (#276), Llama 2-70B: 32.5 (#274)

Writing & Preference benchmarks
BenchmarkGemma 2 9BLlama 2-70B
LMArena Text12071115
LMArena Creative Writing12061075
LMArena Multi-Turn11931088
EQ-Bench Creative Writing841—
LiveBench Language25.5%—

Frequently asked questions

Is Gemma 2 9B better than Llama 2-70B?

Gemma 2 9B is the stronger model overall, scoring 25.7 to 24.1 on the Noometry Index.

Is Gemma 2 9B or Llama 2-70B better for coding?

Llama 2-70B scores higher on coding benchmarks: 30.8 versus 29.0 in the Noometry coding category.

How many benchmarks do Gemma 2 9B and Llama 2-70B share?

25 benchmarks have published results for both models. Gemma 2 9B has 35 scored results on Noometry and Llama 2-70B has 35.

Related comparisons

Go deeper