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 on 8/8 benchmarks
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
Attention vs performance
GLM 5.1
#14 by perf·no signal
Gemma 4 31B
#31 by perf·no signal
Best value
Gemma 4 31B
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
Who is behind the model
z-ai
private · undisclosed
Google DeepMind
$4.00T·Tier 1
Head to head
8 benchmarks · 2 models
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
| Benchmark | GLM 5.1 | Gemma 4 31B |
|---|---|---|
LiveBench · Agentic Coding | 55.0 | 40.0 |
LiveBench · Coding | 75.4 | 60.3 |
LiveBench · Data Analysis | 63.2 | 58.8 |
LiveBench · If | 68.5 | 67.6 |
LiveBench · Language | 71.8 | 71.3 |
LiveBench · Mathematics | 84.9 | 73.9 |
LiveBench · Overall | 70.2 | 61.6 |
LiveBench · Reasoning | 72.5 | 59.4 |
Pricing · per 1M tokens · projected $/mo at 10M tokens
| Model | Input | Output | Context | Projected $/mo |
|---|---|---|---|---|
| $0.95 | $3.15 | 203K tokens (~101 books) | $15.00 | |
| $0.13 | $0.38 | 262K tokens (~131 books) | $1.93 |