The Known Good Updated 25 Jul 2026
grok-4-0709 vs Z.ai: GLM 5 ·xAI vs Z.ai

grok-4-0709 vs Z.ai: GLM 5 — head-to-head comparison

grok-4-0709 profile Z.ai: GLM 5 profile All comparisons
grok-4-0709 — xAI
Quality
#27 of 61
67based on 3 of 6 evaluations
Known Good Index
Speed
unranked
Output tokens per second
Price
unranked
Blended per 1M tokens
Cache hit price
unranked
per 1M tokens
Context
unranked
tokens
Z.ai: GLM 5 — Z.ai
Quality
#19 of 61
77based on 4 of 6 evaluations
Known Good Index
Speed
#214 of 316
37.3
Output tokens per second
Price
#217 of 340
$1.35
Blended per 1M tokens
In $0.95 · Out $2.55
Cache hit price
#138 of 206
$0.20
per 1M tokens (−79%)
Context
#189 of 345
205k
tokens (~300 pages)
Summary

On the Known Good Index, grok-4-0709 scores 67 and Z.ai: GLM 5 scores 77 — a 9-point lead for Z.ai: GLM 5. They share 3 published evaluations, with grok-4-0709 ahead on 1 and Z.ai: GLM 5 ahead on 2.

Published pricing is tracked for Z.ai: GLM 5 only, at $1.35 per 1M tokens blended.

grok-4-0709 is proprietary; Z.ai: GLM 5 is open weights under Open weights (unrestricted). 14 tracked hosts serve one or both.

Generated from tracked data on 25 Jul 2026 · how these comparisons are computed →

At a glance
Metricgrok-4-0709Z.ai: GLM 5
Known Good Index 67 based on 3 of 6 evaluations 77 based on 4 of 6 evaluations
Blended $/1M $1.35
Output tok/s 37
Context window 205k
Providers 0 14
Jump to section

Quality

Known Good Index and the capability indices, side by side

IndicesComponents
Index scores

Each index is min-max normalised across tracked models and scaled 0–100 from published evaluations. We do not run these evaluations.

Metricgrok-4-0709Z.ai: GLM 5
Known Good Index 67 77
Coding Index 67
Mathematics Index 84 80
Science Index 91 92
Agentic Index 27 67
Openness Index 5 60
The Known Good

Quality Breakdown

Every evaluation both models report a published score for

Evaluations both models report

Bar = grok-4-0709 · marker = Z.ai: GLM 5 · scores ingested from Epoch AI (CC-BY 4.0)

GPQA Diamond87 / 88
MATH / AIME84 / 80
Terminal-Bench27 / 52

Right-hand figures read grok-4-0709 / Z.ai: GLM 5. grok-4-0709 leads on 1 of 3, Z.ai: GLM 5 on 2.

The Known Good

Arena Elo

Human preference rating from blind pairwise votes

Arena ratings

Elo from blind pairwise votes, ingested from Arena. Higher is better.

Metricgrok-4-0709Z.ai: GLM 5
Text Arena 1,410 1,445
Text Arena (style controlled) 1,410 1,457
The Known Good

Price & Cost

Published API pricing by token type

Per token typeCache discount
Published pricing

USD per 1M tokens. Blended is a 3:1 input:output mix. Live from OpenRouter, cross-checked against models.dev. Lower is better.

Metricgrok-4-0709Z.ai: GLM 5
Input $/1M $0.95
Output $/1M $2.55
Blended $/1M $1.35
Cache read $/1M $0.200
The Known Good
We publish blended price rather than cost-per-task. Cost-per-task requires token counts from an evaluation suite we do not run. Blended price is computed from published rates and is fully reproducible — see the pricing methodology.

Context Window

Maximum input accepted and maximum output emitted

Context and output limits

Provider-declared limits, from metadata via models.dev and OpenRouter. Higher is better.

Metricgrok-4-0709Z.ai: GLM 5
Context window 205k
Max output tokens 131k
The Known Good

Speed & Latency

Median throughput and time to first token across hosting providers

Output speedTime to first token
Throughput and latency

Medians across all tracked providers, derived from OpenRouter endpoint telemetry.

Metricgrok-4-0709Z.ai: GLM 5
Output tokens/s 37
Time to first token 2.5s
The Known Good

Providers

Which hosts serve each model, and at what price and speed

14 hosts
Full provider benchmarks →
Provider grok-4-0709 blendedgrok-4-0709 tok/s Z.ai: GLM 5 blendedZ.ai: GLM 5 tok/s
Amazon Bedrock · first party $1.55 109
GMICloud $0.93 69
Chutes $1.35 48
Baidu · first party $1.08 43
Parasail $1.55 42
Phala $1.77 38
Novita $1.55 36
StreamLake $0.93 35
Z.AI · first party $1.55 33
Venice $1.55 32
DeepInfra $0.97 29
SiliconFlow $1.35 29
AtlasCloud $1.50 26
DigitalOcean $1.16 8

Per-host pricing and telemetry from OpenRouter. A dash means that host does not serve that model.

The Known Good
Sources for this page
Pricing & providers — OpenRouter Metadata — models.dev Benchmarks — Epoch AI (CC-BY 4.0)Elo — Arena Full attribution →