Model comparison

Gemma 4 31B IT vs GLM-4.7-Flash

Gemma 4 31B IT is the stronger model overall, scoring 43.5 to 38.8 on the Noometry Index.

Last verified . 19 shared benchmarks.

Gemma 4 31B IT Google

43.5

Rank #90 Confirmed

GLM-4.7-Flash Z.ai (Zhipu)

38.8

Rank #180 Confirmed

Summary

  • They share 19 benchmarks with published results for both. Gemma 4 31B IT scores higher in 8 categories and GLM-4.7-Flash in 0 categories; 8 gaps are clear of the uncertainty.
  • The widest gap is in writing & preference, where Gemma 4 31B IT leads 60.5 to 47.4.
  • The biggest single-benchmark swing is GPQA Diamond: 75.8% for Gemma 4 31B IT and 60.5% for GLM-4.7-Flash.
  • Both cost about the same: $0.09 input and $0.34 output per million tokens.
  • Gemma 4 31B IT accepts more context: 262K tokens versus 200K.

Side by side

Gemma 4 31B IT and GLM-4.7-Flash specifications
Gemma 4 31B ITGLM-4.7-Flash
ProviderGoogleZ.ai (Zhipu)
Noometry Index43.538.8
Released2026-04-022026-01-19
WeightsOpenOpen
Context window262K200K
Max output33K131K
Input $ / M tokens$0.09$0.06
Output $ / M tokens$0.34$0.40
Results tracked3521

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

Category by category

Coding Gemma 4 31B IT leads

Gemma 4 31B IT: 42.3 (#108), GLM-4.7-Flash: 40.6 (#135)

Coding benchmarks
BenchmarkGemma 4 31B ITGLM-4.7-Flash
LMArena Coding14591383
LMArena WebDev1366—
SciCode43.4%—
WeirdML52.3%—
ALE-Bench925.5—

Reasoning Gemma 4 31B IT leads

Gemma 4 31B IT: 27.2 (#122), GLM-4.7-Flash: 20.9 (#229)

Reasoning benchmarks
BenchmarkGemma 4 31B ITGLM-4.7-Flash
Chess Puzzles5%0%
LMArena Hard Prompts14481356
Kagi LLM Benchmark63.5%—
NYT Connections (extended)70.6%—
CritPt1.4%—
Thematic Generalization53%—
DTBench82.7%—
LMCA39.3%—
Surface Evolver Bench30.6%—
Epoch Capabilities Index142.74—

Math Gemma 4 31B IT leads

Gemma 4 31B IT: 43.2 (#81), GLM-4.7-Flash: 36.1 (#173)

Math benchmarks
BenchmarkGemma 4 31B ITGLM-4.7-Flash
OTIS Mock AIME 2024-202573.3%58.3%
LMArena Math14651355

Knowledge Gemma 4 31B IT leads

Gemma 4 31B IT: 37.9 (#151), GLM-4.7-Flash: 35.5 (#184)

Knowledge benchmarks
BenchmarkGemma 4 31B ITGLM-4.7-Flash
GPQA Diamond75.8%60.5%
Vectara Hallucination Rate7.4%9.3%
LMArena Expert14651357
SimpleQA Verified10.4%—

Multimodal Not comparable

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

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

Multilingual Gemma 4 31B IT leads

Gemma 4 31B IT: 53.8 (#57), GLM-4.7-Flash: 46.5 (#158)

Multilingual benchmarks
BenchmarkGemma 4 31B ITGLM-4.7-Flash
LMArena Non-English14311330
LMArena Chinese14761403
LMArena French14351332
LMArena Russian14601332
LMArena Spanish14441350
LMArena German—1337
LMArena Korean—1283

Instruction Following Gemma 4 31B IT leads

Gemma 4 31B IT: 75.5 (#61), GLM-4.7-Flash: 70.1 (#167)

Instruction Following benchmarks
BenchmarkGemma 4 31B ITGLM-4.7-Flash
LMArena Instruction Following14331327

Long Context Gemma 4 31B IT leads

Gemma 4 31B IT: 44.2 (#71), GLM-4.7-Flash: 40.9 (#148)

Long Context benchmarks
BenchmarkGemma 4 31B ITGLM-4.7-Flash
LMArena Longer Query14461345

Writing & Preference Gemma 4 31B IT leads

Gemma 4 31B IT: 60.5 (#96), GLM-4.7-Flash: 47.4 (#210)

Writing & Preference benchmarks
BenchmarkGemma 4 31B ITGLM-4.7-Flash
LMArena Text14431351
LMArena Creative Writing14151297
EQ-Bench Creative Writing13681125
LMArena Multi-Turn14521342
EQ-Bench 41120—

Frequently asked questions

Is Gemma 4 31B IT better than GLM-4.7-Flash?

Gemma 4 31B IT is the stronger model overall, scoring 43.5 to 38.8 on the Noometry Index.

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

GLM-4.7-Flash is cheaper. It lists at $0.06 per million input tokens and $0.40 per million output tokens; Gemma 4 31B IT lists at $0.09 and $0.34.

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

Gemma 4 31B IT scores higher on coding benchmarks: 42.3 versus 40.6 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-4.7-Flash share?

19 benchmarks have published results for both models. Gemma 4 31B IT has 35 scored results on Noometry and GLM-4.7-Flash has 21.

Related comparisons

Go deeper