The Known Good Updated 29 Jul 2026
Anthropic: Claude Opus 4.7 vs Z.ai: GLM 5.2 ·Anthropic vs Z.ai

Anthropic: Claude Opus 4.7 vs Z.ai: GLM 5.2 — head-to-head comparison

Anthropic: Claude Opus 4.7 profile Z.ai: GLM 5.2 profile All comparisons
Anthropic: Claude Opus 4.7 — Anthropic
Quality
#4 of 62
94based on 5 of 7 evaluations
Known Good Index
Speed
#130 of 317
56.0
Output tokens per second
Price
#343 of 370
$10.00
Blended per 1M tokens
In $5.00 · Out $25.00
Cache hit price
#216 of 238
$0.50
per 1M tokens (−90%)
Context
#102 of 375
1.00M
tokens (~1,500 pages)
Z.ai: GLM 5.2 — Z.ai
Quality
#8 of 62
91based on 3 of 7 evaluations
Known Good Index
Speed
#164 of 317
47.5
Output tokens per second
Price
#224 of 370
$1.16
Blended per 1M tokens
In $0.76 · Out $2.38
Cache hit price
#142 of 238
$0.14
per 1M tokens (−81%)
Context
#57 of 375
1.05M
tokens (~1,600 pages)
Summary

On the Known Good Index, Anthropic: Claude Opus 4.7 scores 94 and Z.ai: GLM 5.2 scores 91 — a 2-point lead for Anthropic: Claude Opus 4.7. They share 3 published evaluations, with Anthropic: Claude Opus 4.7 ahead on 2 and Z.ai: GLM 5.2 ahead on 1.

Blended pricing is $10.00 per 1M tokens for Anthropic: Claude Opus 4.7 and $1.16 for Z.ai: GLM 5.2 — Z.ai: GLM 5.2 is about 8.6× cheaper.

Throughput is 56 tokens per second for Anthropic: Claude Opus 4.7 and 48 for Z.ai: GLM 5.2, with time to first token at 1.6s and 2.2s. Anthropic: Claude Opus 4.7 accepts 1.00M tokens of context against 1.05M.

Anthropic: Claude Opus 4.7 is proprietary; Z.ai: GLM 5.2 is open weights under Open weights (unrestricted). 33 tracked hosts serve one or both.

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

At a glance
MetricAnthropic: Claude Opus 4.7Z.ai: GLM 5.2
Known Good Index 94 based on 5 of 7 evaluations 91 based on 3 of 7 evaluations
Blended $/1M $10.00 $1.16
Output tok/s 56 48
Context window 1.00M 1.05M
Providers 4 29
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.

MetricAnthropic: Claude Opus 4.7Z.ai: GLM 5.2
Known Good Index 94 91
Coding Index 100
Mathematics Index 98 86
Reasoning Index 86
Agentic Index 100 91
Openness Index 5 60
The Known Good

Quality Breakdown

Every evaluation both models report a published score for

Evaluations both models report

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

GPQA Diamond90 / 92
Mock AIME 2024–2598 / 86
SWE-bench Verified83 / 79

Right-hand figures read Anthropic: Claude Opus 4.7 / Z.ai: GLM 5.2. Anthropic: Claude Opus 4.7 leads on 2 of 3, Z.ai: GLM 5.2 on 1.

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.

MetricAnthropic: Claude Opus 4.7Z.ai: GLM 5.2
Text Arena 1,482 1,464
Text Arena (style controlled) 1,493 1,469
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.

MetricAnthropic: Claude Opus 4.7Z.ai: GLM 5.2
Input $/1M $5.00 $0.76
Output $/1M $25.00 $2.38
Blended $/1M $10.00 $1.16
Cache read $/1M $0.500 $0.141
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.

MetricAnthropic: Claude Opus 4.7Z.ai: GLM 5.2
Context window 1.00M 1.05M
Max output tokens 128k 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.

MetricAnthropic: Claude Opus 4.7Z.ai: GLM 5.2
Output tokens/s 56 48
Time to first token 1.6s 2.2s
The Known Good

Providers

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

33 hosts
Full provider benchmarks →
Provider Anthropic: Claude Opus 4.7 blendedAnthropic: Claude Opus 4.7 tok/s Z.ai: GLM 5.2 blendedZ.ai: GLM 5.2 tok/s
Google · first party $10.00 72
Amazon Bedrock · first party $10.00 44
Anthropic · first party $10.00 44
Azure · first party $10.00
BaseTen $2.15 150
Friendli $2.15 101
Together $2.15 98
Wafer $1.94 91
Ionstream $2.15 83
Fireworks $2.15 80
Decart $1.52 77
Chutes $1.93 68
CoreWeave $1.18 67
Alibaba · first party $1.24 65
Parasail $2.15 65
DeepInfra $1.45 56
Io Net $4.32 54
Morph $1.85 54
Baidu · first party $1.07 53
Cloudflare $2.15 53
Phala $2.15 50
Sail Research $1.62 47
AkashML $1.18 44
Ambient $1.89 44
GMICloud $1.42 37
AtlasCloud $1.94 35
Venice $2.15 35
Z.AI · first party $2.15 32
SiliconFlow $2.00 31
Novita $1.16 27
DigitalOcean $1.89 26
StreamLake $1.16 26
Inceptron $1.43 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 →