Model comparison

Gemma 4 31B IT vs GLM-5

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

Last verified . 25 shared benchmarks.

Gemma 4 31B IT Google

43.5

Rank #90 Confirmed

GLM-5 Z.ai (Zhipu)

46.1

Rank #66 Confirmed

Summary

  • They share 25 benchmarks with published results for both. Gemma 4 31B IT scores higher in 2 categories and GLM-5 in 6 categories; 4 gaps are clear of the uncertainty.
  • The widest gap is in knowledge, where GLM-5 leads 52.3 to 37.9.
  • The biggest single-benchmark swing is GPQA Diamond: 75.8% for Gemma 4 31B IT and 87.8% for GLM-5.
  • Gemma 4 31B IT is cheaper at $0.09 / $0.34 per million input/output tokens, against $1 / $3.20 for GLM-5.
  • Gemma 4 31B IT accepts more context: 262K tokens versus 205K.

Side by side

Gemma 4 31B IT and GLM-5 specifications
Gemma 4 31B ITGLM-5
ProviderGoogleZ.ai (Zhipu)
Noometry Index43.546.1
Released2026-04-022026-02-11
WeightsOpenOpen
Context window262K205K
Max output33K131K
Input $ / M tokens$0.09$1
Output $ / M tokens$0.34$3.20
Results tracked3545

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

Category by category

Coding GLM-5 leads

Gemma 4 31B IT: 42.3 (#108), GLM-5: 49.0 (#52)

Coding benchmarks
BenchmarkGemma 4 31B ITGLM-5
LMArena WebDev13661434
WeirdML52.3%48.2%
LMArena Coding14591461
ALE-Bench925.5765.62
SWE-bench Verified—72.1%
SWE-bench Verified (bash only)—72.8%
SWE-bench Multilingual—69.7%
SciCode43.4%—

Agentic & Tool Use Not comparable

Gemma 4 31B IT: —, GLM-5: 31.1 (#71)

Agentic & Tool Use benchmarks
BenchmarkGemma 4 31B ITGLM-5
Terminal-Bench—52.4%
τ²-bench Airline—82.5%
τ²-bench Banking—9.8%
τ²-bench Retail—73.7%
τ²-bench Telecom—86.8%
Vending-Bench 2—4,432

Reasoning Too close to call

Gemma 4 31B IT: 27.2 (#122), GLM-5: 27.6 (#116)

Reasoning benchmarks
BenchmarkGemma 4 31B ITGLM-5
Kagi LLM Benchmark63.5%75%
NYT Connections (extended)70.6%74.8%
Chess Puzzles5%10%
LMArena Hard Prompts14481452
Epoch Capabilities Index142.74145.83
ARC-AGI-2—4.9%
SimpleBench—53.2%
ARC-AGI-1—44.7%
CritPt1.4%—
Thematic Generalization53%—
DTBench82.7%—
LMCA39.3%—
Surface Evolver Bench30.6%—
ForecastBench—61

Math GLM-5 leads

Gemma 4 31B IT: 43.2 (#81), GLM-5: 46.4 (#71)

Math benchmarks
BenchmarkGemma 4 31B ITGLM-5
OTIS Mock AIME 2024-202573.3%80%
LMArena Math14651440
MathArena Final-Answer Competitions—65.7%
FrontierMath (Feb 2025 set)—16.4%
FrontierMath Tier 4 (v1)—2.1%

Knowledge GLM-5 leads

Gemma 4 31B IT: 37.9 (#151), GLM-5: 52.3 (#64)

Knowledge benchmarks
BenchmarkGemma 4 31B ITGLM-5
GPQA Diamond75.8%87.8%
Vectara Hallucination Rate7.4%10.1%
LMArena Expert14651454
SimpleQA Verified10.4%—

Multimodal Not comparable

Gemma 4 31B IT: 41.6 (#34), GLM-5: —

Multimodal benchmarks
BenchmarkGemma 4 31B ITGLM-5
LMArena Vision1277—
LMArena Document1425—

Multilingual Too close to call

Gemma 4 31B IT: 53.8 (#57), GLM-5: 53.7 (#58)

Multilingual benchmarks
BenchmarkGemma 4 31B ITGLM-5
LMArena Non-English14311430
LMArena Chinese14761511
LMArena French14351455
LMArena Russian14601436
LMArena Spanish14441454
LMArena German—1445
LMArena Japanese—1416
LMArena Korean—1423

Instruction Following Too close to call

Gemma 4 31B IT: 75.5 (#61), GLM-5: 75.2 (#67)

Instruction Following benchmarks
BenchmarkGemma 4 31B ITGLM-5
LMArena Instruction Following14331428

Long Context Too close to call

Gemma 4 31B IT: 44.2 (#71), GLM-5: 44.7 (#60)

Long Context benchmarks
BenchmarkGemma 4 31B ITGLM-5
LMArena Longer Query14461446
CL-bench—18.7%

Writing & Preference GLM-5 leads

Gemma 4 31B IT: 60.5 (#96), GLM-5: 66.0 (#38)

Writing & Preference benchmarks
BenchmarkGemma 4 31B ITGLM-5
LMArena Text14431446
LMArena Creative Writing14151439
EQ-Bench Creative Writing13681601
LMArena Multi-Turn14521456
EQ-Bench 41120—

Frequently asked questions

Is Gemma 4 31B IT better than GLM-5?

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

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

Gemma 4 31B IT is cheaper. It lists at $0.09 per million input tokens and $0.34 per million output tokens; GLM-5 lists at $1 and $3.20.

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

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

Which has the bigger context window?

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

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

25 benchmarks have published results for both models. Gemma 4 31B IT has 35 scored results on Noometry and GLM-5 has 45.

Related comparisons

Go deeper