Model comparison

Gemma 4 31B IT vs GLM-5.2

GLM-5.2 is the stronger model overall, scoring 51.1 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.2's lead doesn't matter for your workload.

Last verified . 31 shared benchmarks.

Gemma 4 31B IT Google

43.5

Rank #90 Confirmed

GLM-5.2 Z.ai (Zhipu)

51.1

Rank #44 Confirmed

Summary

  • They share 31 benchmarks with published results for both. Gemma 4 31B IT scores higher in 0 categories and GLM-5.2 in 8 categories; 8 gaps are clear of the uncertainty.
  • The widest gap is in knowledge, where GLM-5.2 leads 57.1 to 37.9.
  • The biggest single-benchmark swing is Surface Evolver Bench: 30.6% for Gemma 4 31B IT and 55.6% for GLM-5.2.
  • Gemma 4 31B IT is cheaper at $0.09 / $0.34 per million input/output tokens, against $1.40 / $4.40 for GLM-5.2.
  • GLM-5.2 accepts more context: 1M tokens versus 262K.

Side by side

Gemma 4 31B IT and GLM-5.2 specifications
Gemma 4 31B ITGLM-5.2
ProviderGoogleZ.ai (Zhipu)
Noometry Index43.551.1
Released2026-04-022026-06-13
WeightsOpenOpen
Context window262K1M
Max output33K131K
Input $ / M tokens$0.09$1.40
Output $ / M tokens$0.34$4.40
Results tracked3551

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

Category by category

Coding GLM-5.2 leads

Gemma 4 31B IT: 42.3 (#108), GLM-5.2: 51.3 (#41)

Coding benchmarks
BenchmarkGemma 4 31B ITGLM-5.2
LMArena WebDev13661603
SciCode43.4%50.5%
WeirdML52.3%70.1%
LMArena Coding14591485
ALE-Bench925.51,047
SWE-bench Verified—78.7%
DeepSWE—43.8%
FrontierCode—24.5%

Agentic & Tool Use Not comparable

Gemma 4 31B IT: —, GLM-5.2: 32.4 (#63)

Agentic & Tool Use benchmarks
BenchmarkGemma 4 31B ITGLM-5.2
APEX-Agents—45.2%
τ²-bench Banking—37.1%
PostTrainBench—31.7%
GBAEval—0%
Vending-Bench 2—8,314

Reasoning GLM-5.2 leads

Gemma 4 31B IT: 27.2 (#122), GLM-5.2: 42.3 (#52)

Reasoning benchmarks
BenchmarkGemma 4 31B ITGLM-5.2
Kagi LLM Benchmark63.5%62.6%
NYT Connections (extended)70.6%74.3%
CritPt1.4%20.9%
Chess Puzzles5%21%
LMArena Hard Prompts14481480
DTBench82.7%93.6%
LMCA39.3%45.8%
Surface Evolver Bench30.6%55.6%
Epoch Capabilities Index142.74151.78
ARC-AGI-2—22.8%
SimpleBench—58.8%
ARC-AGI-1—77%
Thematic Generalization53%—
EBR-Bench—9.5%
Mystery Game Puzzles—19%

Math GLM-5.2 leads

Gemma 4 31B IT: 43.2 (#81), GLM-5.2: 55.7 (#43)

Math benchmarks
BenchmarkGemma 4 31B ITGLM-5.2
OTIS Mock AIME 2024-202573.3%86.4%
LMArena Math14651482
FrontierMath (Tiers 1-3)—59.2%
FrontierMath Tier 4—29.3%
MathArena Final-Answer Competitions—67.6%
ProofBench—35%

Knowledge GLM-5.2 leads

Gemma 4 31B IT: 37.9 (#151), GLM-5.2: 57.1 (#40)

Knowledge benchmarks
BenchmarkGemma 4 31B ITGLM-5.2
GPQA Diamond75.8%91.9%
SimpleQA Verified10.4%34.2%
LMArena Expert14651486
Vectara Hallucination Rate7.4%—

Multimodal Not comparable

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

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

Multilingual GLM-5.2 leads

Gemma 4 31B IT: 53.8 (#57), GLM-5.2: 55.8 (#26)

Multilingual benchmarks
BenchmarkGemma 4 31B ITGLM-5.2
LMArena Non-English14311459
LMArena Chinese14761519
LMArena French14351479
LMArena Russian14601466
LMArena Spanish14441477
LMArena German—1468
LMArena Japanese—1451
LMArena Korean—1445

Instruction Following GLM-5.2 leads

Gemma 4 31B IT: 75.5 (#61), GLM-5.2: 76.9 (#34)

Instruction Following benchmarks
BenchmarkGemma 4 31B ITGLM-5.2
LMArena Instruction Following14331465

Long Context GLM-5.2 leads

Gemma 4 31B IT: 44.2 (#71), GLM-5.2: 45.3 (#43)

Long Context benchmarks
BenchmarkGemma 4 31B ITGLM-5.2
LMArena Longer Query14461479

Writing & Preference GLM-5.2 leads

Gemma 4 31B IT: 60.5 (#96), GLM-5.2: 70.4 (#21)

Writing & Preference benchmarks
BenchmarkGemma 4 31B ITGLM-5.2
LMArena Text14431470
LMArena Creative Writing14151462
EQ-Bench Creative Writing13681757
EQ-Bench 411201222
LMArena Multi-Turn14521469

Frequently asked questions

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

GLM-5.2 is the stronger model overall, scoring 51.1 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.2's lead doesn't matter for your workload.

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

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

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

GLM-5.2 scores higher on coding benchmarks: 51.3 versus 42.3 in the Noometry coding category.

Which has the bigger context window?

GLM-5.2 does, with 1M tokens against 262K.

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

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

Related comparisons

Go deeper