Model comparison

Gemma 3 4B vs Gemma 4 31B IT

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

Last verified . 20 shared benchmarks.

Gemma 3 4B Google

28.1

Rank #326 Confirmed

Gemma 4 31B IT Google

43.5

Rank #90 Confirmed

Summary

  • They share 20 benchmarks with published results for both. Gemma 3 4B scores higher in 0 categories and Gemma 4 31B IT in 8 categories; 8 gaps are clear of the uncertainty.
  • The widest gap is in math, where Gemma 4 31B IT leads 43.2 to 16.8.
  • The biggest single-benchmark swing is OTIS Mock AIME 2024-2025: 7.5% for Gemma 3 4B and 73.3% for Gemma 4 31B IT.
  • Gemma 3 4B is cheaper at $0.04 / $0.08 per million input/output tokens, against $0.09 / $0.34 for Gemma 4 31B IT.
  • Gemma 4 31B IT accepts more context: 262K tokens versus 131K.

Side by side

Gemma 3 4B and Gemma 4 31B IT specifications
Gemma 3 4BGemma 4 31B IT
ProviderGoogleGoogle
Noometry Index28.143.5
Released2025-03-122026-04-02
WeightsOpenOpen
Context window131K262K
Max output4K33K
Input $ / M tokens$0.04$0.09
Output $ / M tokens$0.08$0.34
Results tracked2235

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

Category by category

Coding Gemma 4 31B IT leads

Gemma 3 4B: 35.9 (#215), Gemma 4 31B IT: 42.3 (#108)

Coding benchmarks
BenchmarkGemma 3 4BGemma 4 31B IT
LMArena Coding12301459
LMArena WebDev—1366
SciCode—43.4%
WeirdML—52.3%
ALE-Bench—925.5

Agentic & Tool Use Not comparable

Gemma 3 4B: 20.9 (#142), Gemma 4 31B IT: —

Agentic & Tool Use benchmarks
BenchmarkGemma 3 4BGemma 4 31B IT
Berkeley Function Calling Leaderboard19.6%—

Reasoning Gemma 4 31B IT leads

Gemma 3 4B: 13.2 (#335), Gemma 4 31B IT: 27.2 (#122)

Reasoning benchmarks
BenchmarkGemma 3 4BGemma 4 31B IT
Kagi LLM Benchmark25.2%63.5%
Chess Puzzles0%5%
LMArena Hard Prompts12531448
DTBench50.9%82.7%
LMCA2.8%39.3%
Epoch Capabilities Index116.02142.74
NYT Connections (extended)—70.6%
CritPt—1.4%
Thematic Generalization—53%
Surface Evolver Bench—30.6%

Math Gemma 4 31B IT leads

Gemma 3 4B: 16.8 (#292), Gemma 4 31B IT: 43.2 (#81)

Math benchmarks
BenchmarkGemma 3 4BGemma 4 31B IT
OTIS Mock AIME 2024-20257.5%73.3%
LMArena Math12391465

Knowledge Gemma 4 31B IT leads

Gemma 3 4B: 11.8 (#299), Gemma 4 31B IT: 37.9 (#151)

Knowledge benchmarks
BenchmarkGemma 3 4BGemma 4 31B IT
GPQA Diamond23.2%75.8%
Vectara Hallucination Rate6.4%7.4%
LMArena Expert12231465
SimpleQA Verified—10.4%

Multimodal Not comparable

Gemma 3 4B: —, Gemma 4 31B IT: 41.6 (#34)

Multimodal benchmarks
BenchmarkGemma 3 4BGemma 4 31B IT
LMArena Vision—1277
LMArena Document—1425

Multilingual Gemma 4 31B IT leads

Gemma 3 4B: 42.5 (#194), Gemma 4 31B IT: 53.8 (#57)

Multilingual benchmarks
BenchmarkGemma 3 4BGemma 4 31B IT
LMArena Non-English12731431
LMArena Russian12941460
LMArena Chinese—1476
LMArena French—1435
LMArena German1281—
LMArena Spanish—1444

Instruction Following Gemma 4 31B IT leads

Gemma 3 4B: 65.2 (#225), Gemma 4 31B IT: 75.5 (#61)

Instruction Following benchmarks
BenchmarkGemma 3 4BGemma 4 31B IT
LMArena Instruction Following12391433

Long Context Gemma 4 31B IT leads

Gemma 3 4B: 38.7 (#194), Gemma 4 31B IT: 44.2 (#71)

Long Context benchmarks
BenchmarkGemma 3 4BGemma 4 31B IT
LMArena Longer Query12731446

Writing & Preference Gemma 4 31B IT leads

Gemma 3 4B: 42.0 (#239), Gemma 4 31B IT: 60.5 (#96)

Writing & Preference benchmarks
BenchmarkGemma 3 4BGemma 4 31B IT
LMArena Text12911443
LMArena Creative Writing12711415
EQ-Bench Creative Writing10681368
LMArena Multi-Turn12551452
EQ-Bench 4—1120

Frequently asked questions

Is Gemma 3 4B better than Gemma 4 31B IT?

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

Which is cheaper, Gemma 3 4B or Gemma 4 31B IT?

Gemma 3 4B is cheaper. It lists at $0.04 per million input tokens and $0.08 per million output tokens; Gemma 4 31B IT lists at $0.09 and $0.34.

Is Gemma 3 4B or Gemma 4 31B IT better for coding?

Gemma 4 31B IT scores higher on coding benchmarks: 42.3 versus 35.9 in the Noometry coding category.

Which has the bigger context window?

Gemma 4 31B IT does, with 262K tokens against 131K.

How many benchmarks do Gemma 3 4B and Gemma 4 31B IT share?

20 benchmarks have published results for both models. Gemma 3 4B has 22 scored results on Noometry and Gemma 4 31B IT has 35.

Related comparisons

Go deeper