Model comparison

Gemma 2B vs Llama 3-8B

Gemma 2B is the stronger model overall, scoring 29.6 to 25.5 on the Noometry Index.

Last verified . 18 shared benchmarks.

Gemma 2B Google

29.6

Rank #307 Confirmed

Llama 3-8B Meta

25.5

Rank #344 Confirmed

Summary

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

Side by side

Gemma 2B and Llama 3-8B specifications
Gemma 2BLlama 3-8B
ProviderGoogleMeta
Noometry Index29.625.5
Released2024-02-212024-04-18
WeightsOpenOpen
Context window——
Max output——
Input $ / M tokens——
Output $ / M tokens——
Results tracked2334

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

Category by category

Coding Llama 3-8B leads

Gemma 2B: 29.4 (#305), Llama 3-8B: 31.0 (#289)

Coding benchmarks
BenchmarkGemma 2BLlama 3-8B
LMArena Coding10101152
HumanEval+20.7%56.7%
MBPP+34.1%54.8%
BigCodeBench Instruct—31.9%
BigCodeBench Complete—36.9%

Reasoning Gemma 2B leads

Gemma 2B: 18.8 (#275), Llama 3-8B: 14.3 (#326)

Reasoning benchmarks
BenchmarkGemma 2BLlama 3-8B
LMArena Hard Prompts9891133
Epoch Capabilities Index94.2116.45
WinoGrande65.4%75.7%
Chess Puzzles—0%
DTBench—43.9%
Adversarial NLI—57.3%
BIG-Bench Hard35.2%—
ForecastBench—58.6
HellaSwag71.4%—
PIQA77.3%—

Math Gemma 2B leads

Gemma 2B: 30.0 (#239), Llama 3-8B: 8.8 (#323)

Math benchmarks
BenchmarkGemma 2BLlama 3-8B
LMArena Math10091151
OTIS Mock AIME 2024-2025—1.9%
MATH Level 5—6.1%
GSM8K17.7%—

Knowledge Not comparable

Gemma 2B: —, Llama 3-8B: 7.8 (#308)

Knowledge benchmarks
BenchmarkGemma 2BLlama 3-8B
ARC (AI2) Challenge42.1%82.8%
MMLU42.3%68.8%
TriviaQA53.2%67.7%
GPQA Diamond—26.1%
LMArena Expert—1113
BoolQ69.4%—
OpenBookQA—82.6%

Multilingual Llama 3-8B leads

Gemma 2B: 23.0 (#294), Llama 3-8B: 30.8 (#261)

Multilingual benchmarks
BenchmarkGemma 2BLlama 3-8B
LMArena Non-English9581098
LMArena Chinese9861076
LMArena Russian9371109
LMArena French—1159
LMArena German—1104
LMArena Japanese—967
LMArena Korean—1004
LMArena Spanish—1173

Instruction Following Llama 3-8B leads

Gemma 2B: 48.5 (#302), Llama 3-8B: 58.4 (#260)

Instruction Following benchmarks
BenchmarkGemma 2BLlama 3-8B
LMArena Instruction Following9701127

Long Context Llama 3-8B leads

Gemma 2B: 29.9 (#291), Llama 3-8B: 34.2 (#251)

Long Context benchmarks
BenchmarkGemma 2BLlama 3-8B
LMArena Longer Query9811128

Writing & Preference Llama 3-8B leads

Gemma 2B: 24.0 (#308), Llama 3-8B: 37.5 (#256)

Writing & Preference benchmarks
BenchmarkGemma 2BLlama 3-8B
LMArena Text10021166
LMArena Creative Writing9871150
LMArena Multi-Turn9451152

Frequently asked questions

Is Gemma 2B better than Llama 3-8B?

Gemma 2B is the stronger model overall, scoring 29.6 to 25.5 on the Noometry Index.

Is Gemma 2B or Llama 3-8B better for coding?

Llama 3-8B scores higher on coding benchmarks: 31.0 versus 29.4 in the Noometry coding category.

How many benchmarks do Gemma 2B and Llama 3-8B share?

18 benchmarks have published results for both models. Gemma 2B has 23 scored results on Noometry and Llama 3-8B has 34.

Related comparisons

Go deeper