Model comparison

Gemma 3 4B vs Llama 3.1-405B

Llama 3.1-405B is the stronger model overall, scoring 30.7 to 28.1 on the Noometry Index.

Last verified . 18 shared benchmarks.

Gemma 3 4B Google

28.1

Rank #326 Confirmed

Llama 3.1-405B Meta

30.7

Rank #288 Confirmed

Summary

  • They share 18 benchmarks with published results for both. Gemma 3 4B scores higher in 4 categories and Llama 3.1-405B in 5 categories; 6 gaps are clear of the uncertainty.
  • The widest gap is in knowledge, where Llama 3.1-405B leads 30.4 to 11.8.
  • The biggest single-benchmark swing is GPQA Diamond: 23.2% for Gemma 3 4B and 50.9% for Llama 3.1-405B.

Side by side

Gemma 3 4B and Llama 3.1-405B specifications
Gemma 3 4BLlama 3.1-405B
ProviderGoogleMeta
Noometry Index28.130.7
Released2025-03-122024-07-23
WeightsOpenOpen
Context window131K—
Max output4K—
Input $ / M tokens$0.04—
Output $ / M tokens$0.08—
Results tracked2242

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.1-405B: 33.1 (#262)

Coding benchmarks
BenchmarkGemma 3 4BLlama 3.1-405B
LMArena Coding12301291
WeirdML—21.4%

Agentic & Tool Use Too close to call

Gemma 3 4B: 20.9 (#142), Llama 3.1-405B: 21.0 (#140)

Agentic & Tool Use benchmarks
BenchmarkGemma 3 4BLlama 3.1-405B
Berkeley Function Calling Leaderboard19.6%—
TheAgentCompany—7.4%
Cybench—7.5%

Reasoning Llama 3.1-405B leads

Gemma 3 4B: 13.2 (#335), Llama 3.1-405B: 16.8 (#300)

Reasoning benchmarks
BenchmarkGemma 3 4BLlama 3.1-405B
Kagi LLM Benchmark25.2%45%
LMArena Hard Prompts12531269
DTBench50.9%61.4%
Epoch Capabilities Index116.02128.75
SimpleBench—23%
Chess Puzzles0%—
LMCA2.8%—
BIG-Bench Hard—82.9%
ForecastBench—59.9
HellaSwag—89.2%
PIQA—85.9%
WinoGrande—89.2%

Math Llama 3.1-405B leads

Gemma 3 4B: 16.8 (#292), Llama 3.1-405B: 18.4 (#290)

Math benchmarks
BenchmarkGemma 3 4BLlama 3.1-405B
OTIS Mock AIME 2024-20257.5%9.7%
LMArena Math12391281
Omni-MATH—24.9%
MATH Level 5—49.8%

Knowledge Llama 3.1-405B leads

Gemma 3 4B: 11.8 (#299), Llama 3.1-405B: 30.4 (#227)

Knowledge benchmarks
BenchmarkGemma 3 4BLlama 3.1-405B
GPQA Diamond23.2%50.9%
LMArena Expert12231243
MMLU-Pro—72.3%
Confabulations—17.6%
Vectara Hallucination Rate6.4%—
GPQA (HELM)—52.2%
ARC (AI2) Challenge—95.3%
MMLU—84.5%
TriviaQA—82.7%

Multilingual Gemma 3 4B leads

Gemma 3 4B: 42.5 (#194), Llama 3.1-405B: 40.7 (#214)

Multilingual benchmarks
BenchmarkGemma 3 4BLlama 3.1-405B
LMArena Non-English12731248
LMArena German12811252
LMArena Russian12941265
LMArena Chinese—1242
LMArena French—1279
LMArena Japanese—1208
LMArena Korean—1184
LMArena Spanish—1260

Instruction Following Too close to call

Gemma 3 4B: 65.2 (#225), Llama 3.1-405B: 65.9 (#214)

Instruction Following benchmarks
BenchmarkGemma 3 4BLlama 3.1-405B
LMArena Instruction Following12391259
IFEval—81.1%

Long Context Too close to call

Gemma 3 4B: 38.7 (#194), Llama 3.1-405B: 38.4 (#197)

Long Context benchmarks
BenchmarkGemma 3 4BLlama 3.1-405B
LMArena Longer Query12731266

Writing & Preference Gemma 3 4B leads

Gemma 3 4B: 42.0 (#239), Llama 3.1-405B: 38.9 (#251)

Writing & Preference benchmarks
BenchmarkGemma 3 4BLlama 3.1-405B
LMArena Text12911284
LMArena Creative Writing12711262
EQ-Bench Creative Writing1068870
LMArena Multi-Turn12551297
WildBench—78.3%

Frequently asked questions

Is Gemma 3 4B better than Llama 3.1-405B?

Llama 3.1-405B is the stronger model overall, scoring 30.7 to 28.1 on the Noometry Index.

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

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

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

18 benchmarks have published results for both models. Gemma 3 4B has 22 scored results on Noometry and Llama 3.1-405B has 42.

Related comparisons

Go deeper