Beta
Compare · ModelsLive · 2 picked · head to head

GLM 5.1 vs Gemma 4 31B

Side by side · benchmarks, pricing, and signals you can act on.

Winner summary

GLM 5.1 wins 8 of 8 shared benchmarks. Leads in coding · reasoning · language.

Category leads
coding·GLM 5.1reasoning·GLM 5.1language·GLM 5.1math·GLM 5.1knowledge·GLM 5.1
Hype vs Reality
GLM 5.1
#14 by perf·no signal
QUIET
Gemma 4 31B
#31 by perf·no signal
QUIET
Best value
7.1x better value than GLM 5.1
GLM 5.1
34.2 pts/$
$2.05/M
Gemma 4 31B
241.6 pts/$
$0.26/M
Vendor risk
z-ai logo
z-ai
private · undisclosed
Unknown
Google DeepMind logo
Google DeepMind
$4.00T·Tier 1
Low risk
Head to head
GLM 5.1Gemma 4 31B
LiveBench · Agentic Coding
GLM 5.1 leads by +15.0
GLM 5.1
55.0
Gemma 4 31B
40.0
LiveBench · Coding
GLM 5.1 leads by +15.0
GLM 5.1
75.4
Gemma 4 31B
60.3
LiveBench · Data Analysis
GLM 5.1 leads by +4.5
GLM 5.1
63.2
Gemma 4 31B
58.8
LiveBench · If
GLM 5.1 leads by +0.9
GLM 5.1
68.5
Gemma 4 31B
67.6
LiveBench · Language
GLM 5.1 leads by +0.4
GLM 5.1
71.8
Gemma 4 31B
71.3
LiveBench · Mathematics
GLM 5.1 leads by +11.0
GLM 5.1
84.9
Gemma 4 31B
73.9
LiveBench · Overall
GLM 5.1 leads by +8.6
GLM 5.1
70.2
Gemma 4 31B
61.6
LiveBench · Reasoning
GLM 5.1 leads by +13.1
GLM 5.1
72.5
Gemma 4 31B
59.4
Full benchmark table
BenchmarkGLM 5.1Gemma 4 31B
LiveBench · Agentic Coding
55.040.0
LiveBench · Coding
75.460.3
LiveBench · Data Analysis
63.258.8
LiveBench · If
68.567.6
LiveBench · Language
71.871.3
LiveBench · Mathematics
84.973.9
LiveBench · Overall
70.261.6
LiveBench · Reasoning
72.559.4
Pricing · per 1M tokens · projected $/mo at 10M tokens
ModelInputOutputContextProjected $/mo
z-ai logoGLM 5.1$0.95$3.15203K tokens (~101 books)$15.00
Google DeepMind logoGemma 4 31B$0.13$0.38262K tokens (~131 books)$1.93