Model comparison

Gemma 3 4B vs Llama 2-13B

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

Last verified . 15 shared benchmarks.

Gemma 3 4B Google

28.1

Rank #326 Confirmed

Llama 2-13B Meta

29.6

Rank #309 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 knowledge, where Llama 2-13B leads 28.1 to 11.8.
  • 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 Index28.129.6
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.9 (#215), Llama 2-13B: 30.9 (#291)

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

Agentic & Tool Use Not comparable

Gemma 3 4B: 20.9 (#142), 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: 13.2 (#335), Llama 2-13B: 12.8 (#337)

Reasoning benchmarks
BenchmarkGemma 3 4BLlama 2-13B
Chess Puzzles0%0%
LMArena Hard Prompts12531051
DTBench50.9%42.2%
Epoch Capabilities Index116.02106.17
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: 16.8 (#292), Llama 2-13B: 31.1 (#229)

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 (#299), Llama 2-13B: 28.1 (#249)

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.5 (#194), Llama 2-13B: 26.5 (#279)

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

Instruction Following Gemma 3 4B leads

Gemma 3 4B: 65.2 (#225), Llama 2-13B: 53.3 (#287)

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

Long Context Gemma 3 4B leads

Gemma 3 4B: 38.7 (#194), Llama 2-13B: 32.3 (#269)

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

Writing & Preference Gemma 3 4B leads

Gemma 3 4B: 42.0 (#239), Llama 2-13B: 29.8 (#289)

Writing & Preference benchmarks
BenchmarkGemma 3 4BLlama 2-13B
LMArena Text12911084
LMArena Creative Writing12711047
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.6 to 28.1 on the Noometry Index.

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

Gemma 3 4B scores higher on coding benchmarks: 35.9 versus 30.9 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