Compare · ModelsLive · 3 picked · head to head

GLM 5.1 vs Gemma 4 31B vs GPT-5.1-Codex-Max

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

Winner summary

GPT-5.1-Codex-Max wins 5 of 8 shared benchmarks. Leads in coding · knowledge.

Category leads
coding·GPT-5.1-Codex-Maxreasoning·GLM 5.1language·GLM 5.1math·GLM 5.1knowledge·GPT-5.1-Codex-Max
Hype vs Reality
GLM 5.1
#16 by perf·no signal
QUIET
Gemma 4 31B
#33 by perf·no signal
QUIET
GPT-5.1-Codex-Max
#12 by perf·no signal
QUIET
Best value
7.8x better value than GLM 5.1
GLM 5.1
30.9 pts/$
$2.27/M
Gemma 4 31B
241.6 pts/$
$0.26/M
GPT-5.1-Codex-Max
12.8 pts/$
$5.63/M
Vendor risk
z-ai logo
z-ai
private · undisclosed
Unknown
Google DeepMind logo
Google DeepMind
$4.00T·Tier 1
Low risk
OpenAI logo
OpenAI
$840.0B·Tier 1
Medium risk
Head to head
GLM 5.1Gemma 4 31BGPT-5.1-Codex-Max
LiveBench · Agentic Coding
GPT-5.1-Codex-Max leads by +1.7
GLM 5.1
55.0
Gemma 4 31B
40.0
GPT-5.1-Codex-Max
56.7
LiveBench · Coding
GPT-5.1-Codex-Max leads by +6.0
GLM 5.1
75.4
Gemma 4 31B
60.3
GPT-5.1-Codex-Max
81.4
LiveBench · Data Analysis
GLM 5.1 leads by +4.5
GLM 5.1
63.2
Gemma 4 31B
58.8
GPT-5.1-Codex-Max
54.9
LiveBench · If
GLM 5.1 leads by +0.9
GLM 5.1
68.5
Gemma 4 31B
67.6
GPT-5.1-Codex-Max
67.1
LiveBench · Language
GPT-5.1-Codex-Max leads by +3.6
GLM 5.1
71.8
Gemma 4 31B
71.3
GPT-5.1-Codex-Max
75.4
LiveBench · Mathematics
GLM 5.1 leads by +1.2
GLM 5.1
84.9
Gemma 4 31B
73.9
GPT-5.1-Codex-Max
83.7
LiveBench · Overall
GPT-5.1-Codex-Max leads by +1.8
GLM 5.1
70.2
Gemma 4 31B
61.6
GPT-5.1-Codex-Max
72.0
LiveBench · Reasoning
GPT-5.1-Codex-Max leads by +12.0
GLM 5.1
72.5
Gemma 4 31B
59.4
GPT-5.1-Codex-Max
84.6
Full benchmark table
BenchmarkGLM 5.1Gemma 4 31BGPT-5.1-Codex-Max
LiveBench · Agentic Coding
55.040.056.7
LiveBench · Coding
75.460.381.4
LiveBench · Data Analysis
63.258.854.9
LiveBench · If
68.567.667.1
LiveBench · Language
71.871.375.4
LiveBench · Mathematics
84.973.983.7
LiveBench · Overall
70.261.672.0
LiveBench · Reasoning
72.559.484.6
Pricing · per 1M tokens · projected $/mo at 10M tokens
ModelInputOutputContextProjected $/mo
z-ai logoGLM 5.1$1.05$3.50203K tokens (~101 books)$16.63
Google DeepMind logoGemma 4 31B$0.13$0.38262K tokens (~131 books)$1.93
OpenAI logoGPT-5.1-Codex-Max$1.25$10.00400K tokens (~200 books)$34.38