The Known Good Updated 29 Jul 2026
Z.ai: GLM 4.7 vs Z.ai: GLM 5 ·Z.ai vs Z.ai

Z.ai: GLM 4.7 vs Z.ai: GLM 5 — head-to-head comparison

Z.ai: GLM 4.7 profile Z.ai: GLM 5 profile All comparisons
Z.ai: GLM 4.7 — Z.ai
Quality
#30 of 62
68based on 3 of 7 evaluations
Known Good Index
Speed
#115 of 317
60.4
Output tokens per second
Price
#177 of 370
$0.74
Blended per 1M tokens
In $0.40 · Out $1.75
Cache hit price
#102 of 238
$0.080
per 1M tokens (−80%)
Context
#219 of 375
205k
tokens (~300 pages)
Z.ai: GLM 5 — Z.ai
Quality
#20 of 62
77based on 4 of 7 evaluations
Known Good Index
Speed
#215 of 317
36.4
Output tokens per second
Price
#232 of 370
$1.35
Blended per 1M tokens
In $0.95 · Out $2.55
Cache hit price
#167 of 238
$0.20
per 1M tokens (−79%)
Context
#216 of 375
205k
tokens (~300 pages)
Summary

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

Blended pricing is $0.74 per 1M tokens for Z.ai: GLM 4.7 and $1.35 for Z.ai: GLM 5 — Z.ai: GLM 4.7 is about 1.8× cheaper.

Throughput is 60 tokens per second for Z.ai: GLM 4.7 and 36 for Z.ai: GLM 5, with time to first token at 3.1s and 2.4s. Z.ai: GLM 4.7 accepts 205k tokens of context against 205k.

Z.ai: GLM 4.7 is open weights under Open weights (unrestricted); Z.ai: GLM 5 is open weights under Open weights (unrestricted). 16 tracked hosts serve one or both, and 7 serve both.

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

At a glance
MetricZ.ai: GLM 4.7Z.ai: GLM 5
Known Good Index 68 based on 3 of 7 evaluations 77 based on 4 of 7 evaluations
Blended $/1M $0.74 $1.35
Output tok/s 60 36
Context window 205k 205k
Providers 9 14
Jump to section

Quality

Known Good Index and the capability indices, side by side

Index scores

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

MetricZ.ai: GLM 4.7Z.ai: GLM 5
Known Good Index 68 77
Coding Index 67
Mathematics Index 83 80
Agentic Index 35 67
Openness Index 60 60
The Known Good

Quality Breakdown

Every evaluation both models report a published score for

Evaluations both models report

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

GPQA Diamond83 / 88
Mock AIME 2024–2583 / 80
Terminal-Bench33 / 52

Right-hand figures read Z.ai: GLM 4.7 / Z.ai: GLM 5. Z.ai: GLM 4.7 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.

MetricZ.ai: GLM 4.7Z.ai: GLM 5
Text Arena 1,436 1,445
Text Arena (style controlled) 1,442 1,457
The Known Good

Price & Cost

Published API pricing by token type

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.

MetricZ.ai: GLM 4.7Z.ai: GLM 5
Input $/1M $0.40 $0.95
Output $/1M $1.75 $2.55
Blended $/1M $0.74 $1.35
Cache read $/1M $0.080 $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.

MetricZ.ai: GLM 4.7Z.ai: GLM 5
Context window 205k 205k
Max output tokens 131k 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.

MetricZ.ai: GLM 4.7Z.ai: GLM 5
Output tokens/s 60 36
Time to first token 3.1s 2.4s
The Known Good

Providers

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

16 hosts · 7 serve both
Full provider benchmarks →
Provider Z.ai: GLM 4.7 blendedZ.ai: GLM 4.7 tok/s Z.ai: GLM 5 blendedZ.ai: GLM 5 tok/s
Cerebras $2.38 310
Google · first party $1.00 122
DeepInfra $0.74 38 $0.97 46
Phala $1.46 36 $1.77
AtlasCloud $0.85 35 $1.50 37
Venice $1.07 33 $1.55 38
StreamLake $0.80 24 $0.93 36
Novita $0.90 21 $1.55 28
Z.AI · first party $1.00 21 $1.55 31
Amazon Bedrock · first party $1.55 96
Parasail $1.55 40
Chutes $1.35 38
GMICloud $0.93 35
Baidu · first party $1.08 31
SiliconFlow $1.35 27
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 →