Model comparison

Gemma 3 4B vs GLM-5

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

Last verified . 19 shared benchmarks.

Gemma 3 4B Google

28.1

Rank #326 Confirmed

GLM-5 Z.ai (Zhipu)

46.1

Rank #66 Confirmed

Summary

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

Side by side

Gemma 3 4B and GLM-5 specifications
Gemma 3 4BGLM-5
ProviderGoogleZ.ai (Zhipu)
Noometry Index28.146.1
Released2025-03-122026-02-11
WeightsOpenOpen
Context window131K205K
Max output4K131K
Input $ / M tokens$0.04$1
Output $ / M tokens$0.08$3.20
Results tracked2245

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

Category by category

Coding GLM-5 leads

Gemma 3 4B: 35.9 (#215), GLM-5: 49.0 (#52)

Coding benchmarks
BenchmarkGemma 3 4BGLM-5
LMArena Coding12301461
SWE-bench Verified—72.1%
SWE-bench Verified (bash only)—72.8%
LMArena WebDev—1434
SWE-bench Multilingual—69.7%
WeirdML—48.2%
ALE-Bench—765.62

Agentic & Tool Use GLM-5 leads

Gemma 3 4B: 20.9 (#142), GLM-5: 31.1 (#71)

Agentic & Tool Use benchmarks
BenchmarkGemma 3 4BGLM-5
Terminal-Bench—52.4%
Berkeley Function Calling Leaderboard19.6%—
τ²-bench Airline—82.5%
τ²-bench Banking—9.8%
τ²-bench Retail—73.7%
τ²-bench Telecom—86.8%
Vending-Bench 2—4,432

Reasoning GLM-5 leads

Gemma 3 4B: 13.2 (#335), GLM-5: 27.6 (#116)

Reasoning benchmarks
BenchmarkGemma 3 4BGLM-5
Kagi LLM Benchmark25.2%75%
Chess Puzzles0%10%
LMArena Hard Prompts12531452
Epoch Capabilities Index116.02145.83
ARC-AGI-2—4.9%
SimpleBench—53.2%
NYT Connections (extended)—74.8%
ARC-AGI-1—44.7%
DTBench50.9%—
LMCA2.8%—
ForecastBench—61

Math GLM-5 leads

Gemma 3 4B: 16.8 (#292), GLM-5: 46.4 (#71)

Knowledge GLM-5 leads

Gemma 3 4B: 11.8 (#299), GLM-5: 52.3 (#64)

Knowledge benchmarks
BenchmarkGemma 3 4BGLM-5
GPQA Diamond23.2%87.8%
Vectara Hallucination Rate6.4%10.1%
LMArena Expert12231454

Multilingual GLM-5 leads

Gemma 3 4B: 42.5 (#194), GLM-5: 53.7 (#58)

Multilingual benchmarks
BenchmarkGemma 3 4BGLM-5
LMArena Non-English12731430
LMArena German12811445
LMArena Russian12941436
LMArena Chinese—1511
LMArena French—1455
LMArena Japanese—1416
LMArena Korean—1423
LMArena Spanish—1454

Instruction Following GLM-5 leads

Gemma 3 4B: 65.2 (#225), GLM-5: 75.2 (#67)

Instruction Following benchmarks
BenchmarkGemma 3 4BGLM-5
LMArena Instruction Following12391428

Long Context GLM-5 leads

Gemma 3 4B: 38.7 (#194), GLM-5: 44.7 (#60)

Long Context benchmarks
BenchmarkGemma 3 4BGLM-5
LMArena Longer Query12731446
CL-bench—18.7%

Writing & Preference GLM-5 leads

Gemma 3 4B: 42.0 (#239), GLM-5: 66.0 (#38)

Writing & Preference benchmarks
BenchmarkGemma 3 4BGLM-5
LMArena Text12911446
LMArena Creative Writing12711439
EQ-Bench Creative Writing10681601
LMArena Multi-Turn12551456

Frequently asked questions

Is Gemma 3 4B better than GLM-5?

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

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

Gemma 3 4B is cheaper. It lists at $0.04 per million input tokens and $0.08 per million output tokens; GLM-5 lists at $1 and $3.20.

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

GLM-5 scores higher on coding benchmarks: 49.0 versus 35.9 in the Noometry coding category.

Which has the bigger context window?

GLM-5 does, with 205K tokens against 131K.

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

19 benchmarks have published results for both models. Gemma 3 4B has 22 scored results on Noometry and GLM-5 has 45.

Related comparisons

Go deeper