Model comparison

Gemma 2 9B vs Llama 2-13B

Llama 2-13B is the stronger model overall, scoring 29.6 to 25.9 on the Noometry Index.

Last verified . 22 shared benchmarks.

Gemma 2 9B Google

25.9

Rank #341 Confirmed

Llama 2-13B Meta

29.6

Rank #309 Confirmed

Summary

  • They share 22 benchmarks with published results for both. Gemma 2 9B scores higher in 5 categories and Llama 2-13B in 3 categories; 8 gaps are clear of the uncertainty.
  • The widest gap is in math, where Llama 2-13B leads 31.1 to 9.9.

Side by side

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

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

Category by category

Coding Llama 2-13B leads

Gemma 2 9B: 29.4 (#304), Llama 2-13B: 30.9 (#291)

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

Reasoning Gemma 2 9B leads

Gemma 2 9B: 15.9 (#309), Llama 2-13B: 12.8 (#337)

Reasoning benchmarks
BenchmarkGemma 2 9BLlama 2-13B
LMArena Hard Prompts11711051
Epoch Capabilities Index119.83106.17
PIQA83.7%80.8%
Chess Puzzles—0%
LiveBench Reasoning15.2%—
DTBench—42.2%
LiveBench Data Analysis36.4%—
BIG-Bench Hard—58.2%
HellaSwag—80.7%
LAMBADA—76.5%
LiveBench28.7%—
WinoGrande—72.8%

Math Llama 2-13B leads

Gemma 2 9B: 9.9 (#318), Llama 2-13B: 31.1 (#229)

Math benchmarks
BenchmarkGemma 2 9BLlama 2-13B
LMArena Math11831065
GSM8K84.9%36.9%
OTIS Mock AIME 2024-20250.6%—
LiveBench Math19.8%—
MATH Level 521%—

Knowledge Llama 2-13B leads

Gemma 2 9B: 9.7 (#305), Llama 2-13B: 28.1 (#249)

Knowledge benchmarks
BenchmarkGemma 2 9BLlama 2-13B
LMArena Expert11471030
BoolQ85.7%82.4%
MMLU72.1%55.6%
GPQA Diamond27.5%—
ARC (AI2) Challenge—60.3%
OpenBookQA—57%
TriviaQA—79.6%

Multimodal Not comparable

Gemma 2 9B: —, Llama 2-13B: —

Multimodal benchmarks
BenchmarkGemma 2 9BLlama 2-13B
ScienceQA—55.8%

Multilingual Gemma 2 9B leads

Gemma 2 9B: 36.6 (#238), Llama 2-13B: 26.5 (#279)

Multilingual benchmarks
BenchmarkGemma 2 9BLlama 2-13B
LMArena Non-English11881024
LMArena Chinese11851001
LMArena French11901044
LMArena German11861009
LMArena Japanese1144894
LMArena Korean1137953
LMArena Russian12001055
LMArena Spanish12001087

Instruction Following Gemma 2 9B leads

Gemma 2 9B: 57.6 (#269), Llama 2-13B: 53.3 (#287)

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

Long Context Gemma 2 9B leads

Gemma 2 9B: 36.3 (#233), Llama 2-13B: 32.3 (#269)

Long Context benchmarks
BenchmarkGemma 2 9BLlama 2-13B
LMArena Longer Query11971064

Writing & Preference Gemma 2 9B leads

Gemma 2 9B: 32.1 (#281), Llama 2-13B: 29.8 (#289)

Writing & Preference benchmarks
BenchmarkGemma 2 9BLlama 2-13B
LMArena Text12071084
LMArena Creative Writing12061047
LMArena Multi-Turn11931050
EQ-Bench Creative Writing841—
LiveBench Language25.5%—

Frequently asked questions

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

Llama 2-13B is the stronger model overall, scoring 29.6 to 25.9 on the Noometry Index.

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

Llama 2-13B scores higher on coding benchmarks: 30.9 versus 29.4 in the Noometry coding category.

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

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

Related comparisons

Go deeper