The Known Good Updated 25 Jul 2026
OpenAI: GPT-5.2 vs Z.ai: GLM 4.7 ·OpenAI vs Z.ai

OpenAI: GPT-5.2 vs Z.ai: GLM 4.7 — head-to-head comparison

OpenAI: GPT-5.2 profile Z.ai: GLM 4.7 profile All comparisons
OpenAI: GPT-5.2 — OpenAI
Quality
#16 of 61
80based on 5 of 6 evaluations
Known Good Index
Speed
#151 of 316
53.9
Output tokens per second
Price
#295 of 340
$4.81
Blended per 1M tokens
In $1.75 · Out $14.00
Cache hit price
#134 of 206
$0.17
per 1M tokens (−90%)
Context
#106 of 345
400k
tokens (~600 pages)
Z.ai: GLM 4.7 — Z.ai
Quality
#26 of 61
68based on 3 of 6 evaluations
Known Good Index
Speed
#109 of 316
66.2
Output tokens per second
Price
#168 of 340
$0.74
Blended per 1M tokens
In $0.40 · Out $1.75
Cache hit price
#83 of 206
$0.080
per 1M tokens (−80%)
Context
#193 of 345
205k
tokens (~300 pages)
Summary

On the Known Good Index, OpenAI: GPT-5.2 scores 80 and Z.ai: GLM 4.7 scores 68 — a 12-point lead for OpenAI: GPT-5.2. They share 3 published evaluations, with OpenAI: GPT-5.2 ahead on 3 and Z.ai: GLM 4.7 ahead on 0.

Blended pricing is $4.81 per 1M tokens for OpenAI: GPT-5.2 and $0.74 for Z.ai: GLM 4.7 — Z.ai: GLM 4.7 is about 6.5× cheaper.

Throughput is 54 tokens per second for OpenAI: GPT-5.2 and 66 for Z.ai: GLM 4.7, with time to first token at 2.5s and 2.1s. OpenAI: GPT-5.2 accepts 400k tokens of context against 205k.

OpenAI: GPT-5.2 is proprietary; Z.ai: GLM 4.7 is open weights under Open weights (unrestricted). 11 tracked hosts serve one or both.

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

At a glance
MetricOpenAI: GPT-5.2Z.ai: GLM 4.7
Known Good Index 80 based on 5 of 6 evaluations 68 based on 3 of 6 evaluations
Blended $/1M $4.81 $0.74
Output tok/s 54 66
Context window 400k 205k
Providers 2 9
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.

MetricOpenAI: GPT-5.2Z.ai: GLM 4.7
Known Good Index 80 68
Coding Index 76
Mathematics Index 96 83
Science Index 96 86
Reasoning Index 77
Agentic Index 76 35
Openness Index 5 60
The Known Good

Quality Breakdown

Every evaluation both models report a published score for

Evaluations both models report

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

GPQA Diamond91 / 83
MATH / AIME96 / 83
Terminal-Bench65 / 33

Right-hand figures read OpenAI: GPT-5.2 / Z.ai: GLM 4.7. OpenAI: GPT-5.2 leads on 3 of 3, Z.ai: GLM 4.7 on 0.

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.

MetricOpenAI: GPT-5.2Z.ai: GLM 4.7
Text Arena 1,411 1,436
Text Arena (style controlled) 1,434 1,442
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.

MetricOpenAI: GPT-5.2Z.ai: GLM 4.7
Input $/1M $1.75 $0.40
Output $/1M $14.00 $1.75
Blended $/1M $4.81 $0.74
Cache read $/1M $0.175 $0.080
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.

MetricOpenAI: GPT-5.2Z.ai: GLM 4.7
Context window 400k 205k
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.

MetricOpenAI: GPT-5.2Z.ai: GLM 4.7
Output tokens/s 54 66
Time to first token 2.5s 2.1s
The Known Good

Providers

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

11 hosts
Full provider benchmarks →
Provider OpenAI: GPT-5.2 blendedOpenAI: GPT-5.2 tok/s Z.ai: GLM 4.7 blendedZ.ai: GLM 4.7 tok/s
OpenAI · first party $2.41 49
Azure · first party $4.81 43
Cerebras $2.38 401
Google · first party $1.00 140
AtlasCloud $0.85 54
DeepInfra $0.74 49
Venice $1.07 46
StreamLake $0.80 41
Phala $1.46 31
Z.AI · first party $1.00 30
Novita $0.90 27

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 →