Model comparison

Gemma 2 27B vs Gemma 3 4B

Gemma 2 27B is the stronger model overall, scoring 29.4 to 28.1 on the Noometry Index. Gemma 3 4B costs 13× less per token, which makes it the better buy when Gemma 2 27B's lead doesn't matter for your workload.

Last verified . 17 shared benchmarks.

Gemma 2 27B Google

29.4

Rank #312 Confirmed

Gemma 3 4B Google

28.1

Rank #326 Confirmed

Summary

  • They share 17 benchmarks with published results for both. Gemma 2 27B scores higher in 3 categories and Gemma 3 4B in 5 categories; 8 gaps are clear of the uncertainty.
  • The widest gap is in knowledge, where Gemma 2 27B leads 19.0 to 11.8.
  • The biggest single-benchmark swing is GPQA Diamond: 36.5% for Gemma 2 27B and 23.2% for Gemma 3 4B.
  • Gemma 3 4B is cheaper at $0.04 / $0.08 per million input/output tokens, against $0.65 / $0.65 for Gemma 2 27B.
  • Gemma 3 4B accepts more context: 131K tokens versus 8K.

Side by side

Gemma 2 27B and Gemma 3 4B specifications
Gemma 2 27BGemma 3 4B
ProviderGoogleGoogle
Noometry Index29.428.1
Released2024-06-242025-03-12
WeightsOpenOpen
Context window8K131K
Max output2K4K
Input $ / M tokens$0.65$0.04
Output $ / M tokens$0.65$0.08
Results tracked3422

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

Category by category

Coding Gemma 3 4B leads

Gemma 2 27B: 34.1 (#246), Gemma 3 4B: 35.9 (#215)

Coding benchmarks
BenchmarkGemma 2 27BGemma 3 4B
LMArena Coding12111230
BigCodeBench Instruct42.8%—
LiveBench Coding36%—
BigCodeBench Complete52.5%—

Agentic & Tool Use Not comparable

Gemma 2 27B: —, Gemma 3 4B: 20.9 (#142)

Agentic & Tool Use benchmarks
BenchmarkGemma 2 27BGemma 3 4B
Berkeley Function Calling Leaderboard—19.6%

Reasoning Gemma 2 27B leads

Gemma 2 27B: 15.3 (#315), Gemma 3 4B: 13.2 (#335)

Reasoning benchmarks
BenchmarkGemma 2 27BGemma 3 4B
LMArena Hard Prompts11981253
DTBench48%50.9%
LMCA7.1%2.8%
Epoch Capabilities Index122.08116.02
Kagi LLM Benchmark—25.2%
Chess Puzzles—0%
LiveBench Reasoning28.1%—
LiveBench Data Analysis47.9%—
LiveBench38.2%—

Math Gemma 3 4B leads

Gemma 2 27B: 10.7 (#311), Gemma 3 4B: 16.8 (#292)

Math benchmarks
BenchmarkGemma 2 27BGemma 3 4B
OTIS Mock AIME 2024-20251.4%7.5%
LMArena Math12121239
LiveBench Math26.5%—
MATH Level 527.9%—

Knowledge Gemma 2 27B leads

Gemma 2 27B: 19.0 (#280), Gemma 3 4B: 11.8 (#299)

Knowledge benchmarks
BenchmarkGemma 2 27BGemma 3 4B
GPQA Diamond36.5%23.2%
LMArena Expert11721223
Confabulations27.1%—
Vectara Hallucination Rate—6.4%
MMLU75.7%—

Multilingual Gemma 3 4B leads

Gemma 2 27B: 38.6 (#226), Gemma 3 4B: 42.5 (#194)

Multilingual benchmarks
BenchmarkGemma 2 27BGemma 3 4B
LMArena Non-English12171273
LMArena German12091281
LMArena Russian12341294
LMArena Chinese1221—
LMArena French1247—
LMArena Japanese1175—
LMArena Korean1174—
LMArena Spanish1228—

Instruction Following Gemma 3 4B leads

Gemma 2 27B: 60.5 (#249), Gemma 3 4B: 65.2 (#225)

Instruction Following benchmarks
BenchmarkGemma 2 27BGemma 3 4B
LMArena Instruction Following12061239
LiveBench Instruction Following58.1%—

Long Context Gemma 3 4B leads

Gemma 2 27B: 37.3 (#218), Gemma 3 4B: 38.7 (#194)

Long Context benchmarks
BenchmarkGemma 2 27BGemma 3 4B
LMArena Longer Query12311273

Writing & Preference Gemma 2 27B leads

Gemma 2 27B: 44.2 (#225), Gemma 3 4B: 42.0 (#239)

Writing & Preference benchmarks
BenchmarkGemma 2 27BGemma 3 4B
LMArena Text12311291
LMArena Creative Writing12411271
LMArena Multi-Turn12241255
EQ-Bench Creative Writing—1068
LiveBench Language32.6%—

Frequently asked questions

Is Gemma 2 27B better than Gemma 3 4B?

Gemma 2 27B is the stronger model overall, scoring 29.4 to 28.1 on the Noometry Index. Gemma 3 4B costs 13× less per token, which makes it the better buy when Gemma 2 27B's lead doesn't matter for your workload.

Which is cheaper, Gemma 2 27B or Gemma 3 4B?

Gemma 3 4B is cheaper. It lists at $0.04 per million input tokens and $0.08 per million output tokens; Gemma 2 27B lists at $0.65 and $0.65.

Is Gemma 2 27B or Gemma 3 4B better for coding?

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

Which has the bigger context window?

Gemma 3 4B does, with 131K tokens against 8K.

How many benchmarks do Gemma 2 27B and Gemma 3 4B share?

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

Related comparisons

Go deeper