Model comparison

Gemma 4 31B IT vs GLM-5.1

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

Last verified . 27 shared benchmarks.

Gemma 4 31B IT Google

43.5

Rank #90 Confirmed

GLM-5.1 Z.ai (Zhipu)

47.8

Rank #59 Confirmed

Summary

  • They share 27 benchmarks with published results for both. Gemma 4 31B IT scores higher in 0 categories and GLM-5.1 in 8 categories; 6 gaps are clear of the uncertainty.
  • The widest gap is in knowledge, where GLM-5.1 leads 54.9 to 37.9.
  • The biggest single-benchmark swing is SimpleQA Verified: 10.4% for Gemma 4 31B IT and 34% for GLM-5.1.
  • Gemma 4 31B IT is cheaper at $0.09 / $0.34 per million input/output tokens, against $1.40 / $4.40 for GLM-5.1.
  • Gemma 4 31B IT accepts more context: 262K tokens versus 200K.

Side by side

Gemma 4 31B IT and GLM-5.1 specifications
Gemma 4 31B ITGLM-5.1
ProviderGoogleZ.ai (Zhipu)
Noometry Index43.547.8
Released2026-04-022026-04-07
WeightsOpenOpen
Context window262K200K
Max output33K131K
Input $ / M tokens$0.09$1.40
Output $ / M tokens$0.34$4.40
Results tracked3541

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

Category by category

Coding GLM-5.1 leads

Gemma 4 31B IT: 42.3 (#108), GLM-5.1: 48.7 (#55)

Coding benchmarks
BenchmarkGemma 4 31B ITGLM-5.1
LMArena WebDev13661508
SciCode43.4%43.8%
WeirdML52.3%57.1%
LMArena Coding14591485
ALE-Bench925.5887.1
SWE-bench Verified—74.2%

Agentic & Tool Use Not comparable

Gemma 4 31B IT: —, GLM-5.1: 24.9 (#113)

Agentic & Tool Use benchmarks
BenchmarkGemma 4 31B ITGLM-5.1
APEX-Agents—40.9%
ExploitBench—18.1%
GBAEval—0%
Vending-Bench 2—5,634

Reasoning GLM-5.1 leads

Gemma 4 31B IT: 27.2 (#122), GLM-5.1: 39.1 (#60)

Reasoning benchmarks
BenchmarkGemma 4 31B ITGLM-5.1
NYT Connections (extended)70.6%77.7%
CritPt1.4%4.6%
Chess Puzzles5%19%
Thematic Generalization53%69.8%
LMArena Hard Prompts14481472
Epoch Capabilities Index142.74149.84
SimpleBench—55.1%
Kagi LLM Benchmark63.5%—
DTBench82.7%—
LMCA39.3%—
Surface Evolver Bench30.6%—

Math GLM-5.1 leads

Gemma 4 31B IT: 43.2 (#81), GLM-5.1: 49.7 (#60)

Knowledge GLM-5.1 leads

Gemma 4 31B IT: 37.9 (#151), GLM-5.1: 54.9 (#50)

Knowledge benchmarks
BenchmarkGemma 4 31B ITGLM-5.1
GPQA Diamond75.8%89.9%
SimpleQA Verified10.4%34%
LMArena Expert14651476
Vectara Hallucination Rate7.4%—

Multimodal Not comparable

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

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

Multilingual GLM-5.1 leads

Gemma 4 31B IT: 53.8 (#57), GLM-5.1: 55.0 (#36)

Multilingual benchmarks
BenchmarkGemma 4 31B ITGLM-5.1
LMArena Non-English14311447
LMArena Chinese14761515
LMArena French14351474
LMArena Russian14601454
LMArena Spanish14441469
LMArena German—1465
LMArena Japanese—1434
LMArena Korean—1418

Instruction Following Too close to call

Gemma 4 31B IT: 75.5 (#61), GLM-5.1: 76.3 (#42)

Instruction Following benchmarks
BenchmarkGemma 4 31B ITGLM-5.1
LMArena Instruction Following14331451

Long Context Too close to call

Gemma 4 31B IT: 44.2 (#71), GLM-5.1: 44.9 (#53)

Long Context benchmarks
BenchmarkGemma 4 31B ITGLM-5.1
LMArena Longer Query14461466

Writing & Preference GLM-5.1 leads

Gemma 4 31B IT: 60.5 (#96), GLM-5.1: 66.9 (#31)

Writing & Preference benchmarks
BenchmarkGemma 4 31B ITGLM-5.1
LMArena Text14431461
LMArena Creative Writing14151453
EQ-Bench Creative Writing13681592
LMArena Multi-Turn14521472
EQ-Bench 41120—

Frequently asked questions

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

GLM-5.1 is the stronger model overall, scoring 47.8 to 43.5 on the Noometry Index. Gemma 4 31B IT costs 14× 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 4 31B IT or GLM-5.1?

Gemma 4 31B IT is cheaper. It lists at $0.09 per million input tokens and $0.34 per million output tokens; GLM-5.1 lists at $1.40 and $4.40.

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

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

Which has the bigger context window?

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

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

27 benchmarks have published results for both models. Gemma 4 31B IT has 35 scored results on Noometry and GLM-5.1 has 41.

Related comparisons

Go deeper