Model comparison

Gemma 3 4B vs Llama 3-8B

Gemma 3 4B is the stronger model overall, scoring 28.1 to 25.5 on the Noometry Index.

Last verified . 17 shared benchmarks.

Gemma 3 4B Google

28.1

Rank #326 Confirmed

Llama 3-8B Meta

25.5

Rank #344 Confirmed

Summary

  • They share 17 benchmarks with published results for both. Gemma 3 4B scores higher in 7 categories and Llama 3-8B in 1 category; 8 gaps are clear of the uncertainty.
  • The widest gap is in multilingual, where Gemma 3 4B leads 42.5 to 30.8.
  • The biggest single-benchmark swing is DTBench: 50.9% for Gemma 3 4B and 43.9% for Llama 3-8B.

Side by side

Gemma 3 4B and Llama 3-8B specifications
Gemma 3 4BLlama 3-8B
ProviderGoogleMeta
Noometry Index28.125.5
Released2025-03-122024-04-18
WeightsOpenOpen
Context window131K—
Max output4K—
Input $ / M tokens$0.04—
Output $ / M tokens$0.08—
Results tracked2234

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

Category by category

Coding Gemma 3 4B leads

Gemma 3 4B: 35.9 (#215), Llama 3-8B: 31.0 (#289)

Coding benchmarks
BenchmarkGemma 3 4BLlama 3-8B
LMArena Coding12301152
BigCodeBench Instruct—31.9%
BigCodeBench Complete—36.9%
HumanEval+—56.7%
MBPP+—54.8%

Agentic & Tool Use Not comparable

Gemma 3 4B: 20.9 (#142), Llama 3-8B: —

Agentic & Tool Use benchmarks
BenchmarkGemma 3 4BLlama 3-8B
Berkeley Function Calling Leaderboard19.6%—

Reasoning Llama 3-8B leads

Gemma 3 4B: 13.2 (#335), Llama 3-8B: 14.3 (#326)

Reasoning benchmarks
BenchmarkGemma 3 4BLlama 3-8B
Chess Puzzles0%0%
LMArena Hard Prompts12531133
DTBench50.9%43.9%
Epoch Capabilities Index116.02116.45
Kagi LLM Benchmark25.2%—
LMCA2.8%—
Adversarial NLI—57.3%
ForecastBench—58.6
WinoGrande—75.7%

Math Gemma 3 4B leads

Gemma 3 4B: 16.8 (#292), Llama 3-8B: 8.8 (#323)

Math benchmarks
BenchmarkGemma 3 4BLlama 3-8B
OTIS Mock AIME 2024-20257.5%1.9%
LMArena Math12391151
MATH Level 5—6.1%

Knowledge Gemma 3 4B leads

Gemma 3 4B: 11.8 (#299), Llama 3-8B: 7.8 (#308)

Knowledge benchmarks
BenchmarkGemma 3 4BLlama 3-8B
GPQA Diamond23.2%26.1%
LMArena Expert12231113
Vectara Hallucination Rate6.4%—
ARC (AI2) Challenge—82.8%
MMLU—68.8%
OpenBookQA—82.6%
TriviaQA—67.7%

Multilingual Gemma 3 4B leads

Gemma 3 4B: 42.5 (#194), Llama 3-8B: 30.8 (#261)

Multilingual benchmarks
BenchmarkGemma 3 4BLlama 3-8B
LMArena Non-English12731098
LMArena German12811104
LMArena Russian12941109
LMArena Chinese—1076
LMArena French—1159
LMArena Japanese—967
LMArena Korean—1004
LMArena Spanish—1173

Instruction Following Gemma 3 4B leads

Gemma 3 4B: 65.2 (#225), Llama 3-8B: 58.4 (#260)

Instruction Following benchmarks
BenchmarkGemma 3 4BLlama 3-8B
LMArena Instruction Following12391127

Long Context Gemma 3 4B leads

Gemma 3 4B: 38.7 (#194), Llama 3-8B: 34.2 (#251)

Long Context benchmarks
BenchmarkGemma 3 4BLlama 3-8B
LMArena Longer Query12731128

Writing & Preference Gemma 3 4B leads

Gemma 3 4B: 42.0 (#239), Llama 3-8B: 37.5 (#256)

Writing & Preference benchmarks
BenchmarkGemma 3 4BLlama 3-8B
LMArena Text12911166
LMArena Creative Writing12711150
LMArena Multi-Turn12551152
EQ-Bench Creative Writing1068—

Frequently asked questions

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

Gemma 3 4B is the stronger model overall, scoring 28.1 to 25.5 on the Noometry Index.

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

Gemma 3 4B scores higher on coding benchmarks: 35.9 versus 31.0 in the Noometry coding category.

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

17 benchmarks have published results for both models. Gemma 3 4B has 22 scored results on Noometry and Llama 3-8B has 34.

Related comparisons

Go deeper