Model comparison

Gemma 3 4B vs Llama 2-13B

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

Last verified . 15 shared benchmarks.

Gemma 3 4B Google

27.9

Rank #320 Confirmed

Llama 2-13B Meta

29.1

Rank #304 Confirmed

Summary

  • They share 15 benchmarks with published results for both. Gemma 3 4B scores higher in 6 categories and Llama 2-13B in 2 categories; 7 gaps are clear of the uncertainty.
  • The widest gap is in multilingual, where Gemma 3 4B leads 42.7 to 26.7.
  • The biggest single-benchmark swing is DTBench: 50.9% for Gemma 3 4B and 42.2% for Llama 2-13B.

Side by side

Gemma 3 4B and Llama 2-13B specifications
Gemma 3 4BLlama 2-13B
ProviderGoogleMeta
Noometry Index27.929.1
Released2025-03-122023-07-18
WeightsOpenOpen
Context window131K—
Max output4K—
Input $ / M tokens$0.04—
Output $ / M tokens$0.08—
Results tracked2232

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

Category by category

Coding Gemma 3 4B leads

Gemma 3 4B: 35.3 (#214), Llama 2-13B: 30.4 (#287)

Coding benchmarks
BenchmarkGemma 3 4BLlama 2-13B
LMArena Coding12301062

Agentic & Tool Use Not comparable

Gemma 3 4B: 20.7 (#134), Llama 2-13B: —

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

Reasoning Too close to call

Gemma 3 4B: 12.7 (#330), Llama 2-13B: 12.3 (#333)

Reasoning benchmarks
BenchmarkGemma 3 4BLlama 2-13B
Chess Puzzles0%0%
LMArena Hard Prompts12531051
DTBench50.9%42.2%
Epoch Capabilities Index116.02105.8
Kagi LLM Benchmark25.2%—
LMCA2.8%—
BIG-Bench Hard—58.2%
HellaSwag—80.7%
LAMBADA—76.5%
PIQA—80.8%
WinoGrande—72.8%

Math Llama 2-13B leads

Gemma 3 4B: 15.8 (#286), Llama 2-13B: 28.7 (#226)

Math benchmarks
BenchmarkGemma 3 4BLlama 2-13B
LMArena Math12391065
OTIS Mock AIME 2024-20257.5%—
GSM8K—36.9%

Knowledge Llama 2-13B leads

Gemma 3 4B: 11.8 (#294), Llama 2-13B: 27.5 (#244)

Knowledge benchmarks
BenchmarkGemma 3 4BLlama 2-13B
LMArena Expert12231030
GPQA Diamond23.2%—
Vectara Hallucination Rate6.4%—
ARC (AI2) Challenge—60.3%
BoolQ—82.4%
MMLU—55.6%
OpenBookQA—57%
TriviaQA—79.6%

Multimodal Not comparable

Gemma 3 4B: —, Llama 2-13B: —

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

Multilingual Gemma 3 4B leads

Gemma 3 4B: 42.7 (#189), Llama 2-13B: 26.7 (#274)

Multilingual benchmarks
BenchmarkGemma 3 4BLlama 2-13B
LMArena Non-English12731024
LMArena German12811009
LMArena Russian12941055
LMArena Chinese—1001
LMArena French—1043
LMArena Japanese—894
LMArena Korean—953
LMArena Spanish—1086

Instruction Following Gemma 3 4B leads

Gemma 3 4B: 65.4 (#219), Llama 2-13B: 53.5 (#282)

Instruction Following benchmarks
BenchmarkGemma 3 4BLlama 2-13B
LMArena Instruction Following12391046

Long Context Gemma 3 4B leads

Gemma 3 4B: 38.6 (#189), Llama 2-13B: 32.3 (#264)

Long Context benchmarks
BenchmarkGemma 3 4BLlama 2-13B
LMArena Longer Query12741064

Writing & Preference Gemma 3 4B leads

Gemma 3 4B: 42.2 (#234), Llama 2-13B: 30.0 (#284)

Writing & Preference benchmarks
BenchmarkGemma 3 4BLlama 2-13B
LMArena Text12911085
LMArena Creative Writing12701047
LMArena Multi-Turn12551050
EQ-Bench Creative Writing1068—

Frequently asked questions

Is Gemma 3 4B better than Llama 2-13B?

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

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

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

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

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

Related comparisons

Go deeper