Model comparison

Gemma 3 4B vs GLM-5.1

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

Last verified . 17 shared benchmarks.

Gemma 3 4B Google

28.1

Rank #326 Confirmed

GLM-5.1 Z.ai (Zhipu)

47.8

Rank #59 Confirmed

Summary

  • They share 17 benchmarks with published results for both. Gemma 3 4B scores higher in 0 categories and GLM-5.1 in 9 categories; 9 gaps are clear of the uncertainty.
  • The widest gap is in knowledge, where GLM-5.1 leads 54.9 to 11.8.
  • The biggest single-benchmark swing is OTIS Mock AIME 2024-2025: 7.5% for Gemma 3 4B and 93.3% for GLM-5.1.
  • Gemma 3 4B is cheaper at $0.04 / $0.08 per million input/output tokens, against $1.40 / $4.40 for GLM-5.1.
  • GLM-5.1 accepts more context: 200K tokens versus 131K.

Side by side

Gemma 3 4B and GLM-5.1 specifications
Gemma 3 4BGLM-5.1
ProviderGoogleZ.ai (Zhipu)
Noometry Index28.147.8
Released2025-03-122026-04-07
WeightsOpenOpen
Context window131K200K
Max output4K131K
Input $ / M tokens$0.04$1.40
Output $ / M tokens$0.08$4.40
Results tracked2241

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

Category by category

Coding GLM-5.1 leads

Gemma 3 4B: 35.9 (#215), GLM-5.1: 48.7 (#55)

Coding benchmarks
BenchmarkGemma 3 4BGLM-5.1
LMArena Coding12301485
SWE-bench Verified—74.2%
LMArena WebDev—1508
SciCode—43.8%
WeirdML—57.1%
ALE-Bench—887.1

Agentic & Tool Use GLM-5.1 leads

Gemma 3 4B: 20.9 (#142), GLM-5.1: 24.9 (#113)

Agentic & Tool Use benchmarks
BenchmarkGemma 3 4BGLM-5.1
APEX-Agents—40.9%
Berkeley Function Calling Leaderboard19.6%—
ExploitBench—18.1%
GBAEval—0%
Vending-Bench 2—5,634

Reasoning GLM-5.1 leads

Gemma 3 4B: 13.2 (#335), GLM-5.1: 39.1 (#60)

Reasoning benchmarks
BenchmarkGemma 3 4BGLM-5.1
Chess Puzzles0%19%
LMArena Hard Prompts12531472
Epoch Capabilities Index116.02149.84
SimpleBench—55.1%
Kagi LLM Benchmark25.2%—
NYT Connections (extended)—77.7%
CritPt—4.6%
Thematic Generalization—69.8%
DTBench50.9%—
LMCA2.8%—

Math GLM-5.1 leads

Gemma 3 4B: 16.8 (#292), GLM-5.1: 49.7 (#60)

Knowledge GLM-5.1 leads

Gemma 3 4B: 11.8 (#299), GLM-5.1: 54.9 (#50)

Knowledge benchmarks
BenchmarkGemma 3 4BGLM-5.1
GPQA Diamond23.2%89.9%
LMArena Expert12231476
SimpleQA Verified—34%
Vectara Hallucination Rate6.4%—

Multilingual GLM-5.1 leads

Gemma 3 4B: 42.5 (#194), GLM-5.1: 55.0 (#36)

Multilingual benchmarks
BenchmarkGemma 3 4BGLM-5.1
LMArena Non-English12731447
LMArena German12811465
LMArena Russian12941454
LMArena Chinese—1515
LMArena French—1474
LMArena Japanese—1434
LMArena Korean—1418
LMArena Spanish—1469

Instruction Following GLM-5.1 leads

Gemma 3 4B: 65.2 (#225), GLM-5.1: 76.3 (#42)

Instruction Following benchmarks
BenchmarkGemma 3 4BGLM-5.1
LMArena Instruction Following12391451

Long Context GLM-5.1 leads

Gemma 3 4B: 38.7 (#194), GLM-5.1: 44.9 (#53)

Long Context benchmarks
BenchmarkGemma 3 4BGLM-5.1
LMArena Longer Query12731466

Writing & Preference GLM-5.1 leads

Gemma 3 4B: 42.0 (#239), GLM-5.1: 66.9 (#31)

Writing & Preference benchmarks
BenchmarkGemma 3 4BGLM-5.1
LMArena Text12911461
LMArena Creative Writing12711453
EQ-Bench Creative Writing10681592
LMArena Multi-Turn12551472

Frequently asked questions

Is Gemma 3 4B better than GLM-5.1?

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

Which is cheaper, Gemma 3 4B or GLM-5.1?

Gemma 3 4B is cheaper. It lists at $0.04 per million input tokens and $0.08 per million output tokens; GLM-5.1 lists at $1.40 and $4.40.

Is Gemma 3 4B or GLM-5.1 better for coding?

GLM-5.1 scores higher on coding benchmarks: 48.7 versus 35.9 in the Noometry coding category.

Which has the bigger context window?

GLM-5.1 does, with 200K tokens against 131K.

How many benchmarks do Gemma 3 4B and GLM-5.1 share?

17 benchmarks have published results for both models. Gemma 3 4B has 22 scored results on Noometry and GLM-5.1 has 41.

Related comparisons

Go deeper