Enter opens the highlighted result. Esc closes.

GLM 4.7 vs GPT-5 Pro

Updated October 21, 2026. 3 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.

GLM 4.7Z.ai
Coding
55.1
Overall
22.2
Output $/M
$2.20
0
GPT-5 ProOpenAI
Coding
No data
Overall
No data
Output $/M
$120.00
3
vs boards won of 3 shared

Decision reading

Only GLM 4.7 has a coding score, 55.1 on the Vibe Coding Index; GPT-5 Pro has none, so the two cannot be ranked on coding.

GPT-5 Pro has the edge where the context window is larger, 400K against 205K tokens, and where what matters is Epoch Capabilities Index or SimpleBench, where it leads.

Shared results
3
GLM 4.7 only
77
GPT-5 Pro only
5
Like-for-like categories
2 of 9

Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.

Which one for your work

Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.

At a glance

Coding index
GLM 4.7 55.1 from 2 benchmarks, GPT-5 Pro not benchmarked.
Widest category
Reasoning, 20.4 points apart on average over 2 shared benchmarks.
Widest single gap
Chess puzzles: GLM 4.7 21.0% against GPT-5 Pro 48.0%, 27.0 points apart on a 0 to 100 scale.
Output price
GLM 4.7 $2.20 against GPT-5 Pro $120.00 per million output tokens, 54.5x apart.
Context window
GLM 4.7 takes 205K tokens, GPT-5 Pro 400K.

Benchmark by benchmark

First the score: boards each model leads, per category, where both have a result. Then every board, a category to a fold; bars are each result on a 0 to 100 scale, so compare the two in a row, not one row with another.

Boards won, where both have a result
CategoryGLM 4.7BarsGPT-5 ProTies
Intelligence01
Reasoning02
All shared boards03
CodingDirectional onlySix of these boards feed the Vibe Coding Index13 boards, none shared
Coding benchmarks for GLM 4.7 and GPT-5 Pro
BenchmarkGLM 4.7GPT-5 ProLeader
LMArena WebDev1435Not measuredOnly GLM 4.7 measured
AA Coding Index45.3Not measuredOnly GLM 4.7 measured
LiveCodeBench (Vals AI)82.2%Not measuredOnly GLM 4.7 measured
SWE-bench Verified (Vals AI)69.4%Not measuredOnly GLM 4.7 measured
LiveCodeBench (Artificial Analysis run)89.4%Not measuredOnly GLM 4.7 measured
Terminal-Bench Hard (Artificial Analysis run)31.8%Not measuredOnly GLM 4.7 measured
Terminal-Bench33.4%Not measuredOnly GLM 4.7 measured
WeirdMLNot measured60.4%Only GPT-5 Pro measured
ALE-Bench399.5Not measuredOnly GLM 4.7 measured
LMArena Text: coding1454Not measuredOnly GLM 4.7 measured
LMArena Text: software and IT1453Not measuredOnly GLM 4.7 measured
LMArena WebDev: React1420Not measuredOnly GLM 4.7 measured
LMArena WebDev: HTML1447Not measuredOnly GLM 4.7 measured
Neither model has a result on the other 25 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for GLM 4.7 and GPT-5 Pro
BenchmarkGLM 4.7GPT-5 ProLeader
AA Intelligence Index22.2Not measuredOnly GLM 4.7 measured
Epoch Capabilities Index143.6150.6GPT-5 Pro
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
Agentic work benchmarks for GLM 4.7 and GPT-5 Pro
BenchmarkGLM 4.7GPT-5 ProLeader
Design Arena: agents building full-stack apps1050Not measuredOnly GLM 4.7 measured
Design Arena: agents building mobile apps1105Not measuredOnly GLM 4.7 measured
Design Arena: agents building Android apps1119Not measuredOnly GLM 4.7 measured
Design Arena: agents building Godot games1058Not measuredOnly GLM 4.7 measured
τ²-Bench Telecom95.9%Not measuredOnly GLM 4.7 measured
Vending-Bench 2$2,377Not measuredOnly GLM 4.7 measured
Neither model has a result on the other 33 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index02
Reasoning benchmarks for GLM 4.7 and GPT-5 Pro
BenchmarkGLM 4.7GPT-5 ProLeader
GPQA Diamond80.0%Not measuredOnly GLM 4.7 measured
GPQA Diamond (Artificial Analysis run)85.9%Not measuredOnly GLM 4.7 measured
Humanity's Last Exam (Artificial Analysis run)27.4%Not measuredOnly GLM 4.7 measured
GPQA Diamond (Epoch AI run)83.3%Not measuredOnly GLM 4.7 measured
ARC-AGINot measured70.2%Only GPT-5 Pro measured
ARC-AGI-2Not measured18.3%Only GPT-5 Pro measured
SimpleBench47.7%61.6%GPT-5 Pro
Chess puzzles21.0%48.0%GPT-5 Pro
LMArena Text: hard prompts1443Not measuredOnly GLM 4.7 measured
LMArena Text: expert1424Not measuredOnly GLM 4.7 measured
LMArena Text: hard prompts in English1452Not measuredOnly GLM 4.7 measured
Neither model has a result on the other 10 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index10 boards, none shared
Math benchmarks for GLM 4.7 and GPT-5 Pro
BenchmarkGLM 4.7GPT-5 ProLeader
AIME93.3%Not measuredOnly GLM 4.7 measured
MGSM (Vals AI)88.2%Not measuredOnly GLM 4.7 measured
AA Math Index95.0Not measuredOnly GLM 4.7 measured
AIME 2025 (Artificial Analysis run)95.0%Not measuredOnly GLM 4.7 measured
OTIS Mock AIME83.3%Not measuredOnly GLM 4.7 measured
FrontierMath, tiers 1 to 3Not measured55.8%Only GPT-5 Pro measured
FrontierMath, tier 4Not measured19.5%Only GPT-5 Pro measured
ProofBench6.0%Not measuredOnly GLM 4.7 measured
LMArena Text: math1424Not measuredOnly GLM 4.7 measured
LMArena Text: mathematical work1411Not measuredOnly GLM 4.7 measured
Neither model has a result on the other 3 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index13 boards, none shared
Knowledge benchmarks for GLM 4.7 and GPT-5 Pro
BenchmarkGLM 4.7GPT-5 ProLeader
MMLU Pro82.7%Not measuredOnly GLM 4.7 measured
LegalBench (Vals AI)83.4%Not measuredOnly GLM 4.7 measured
CaseLaw (Vals AI)54.9%Not measuredOnly GLM 4.7 measured
CorpFin (Vals AI)46.4%Not measuredOnly GLM 4.7 measured
TaxEval (Vals AI)68.8%Not measuredOnly GLM 4.7 measured
MedQA (Vals AI)93.7%Not measuredOnly GLM 4.7 measured
MedCode (Vals AI)32.8%Not measuredOnly GLM 4.7 measured
MMLU Pro (Artificial Analysis run)85.6%Not measuredOnly GLM 4.7 measured
SimpleQA Verified32.2%Not measuredOnly GLM 4.7 measured
LMArena Text: science1457Not measuredOnly GLM 4.7 measured
LMArena Text: medicine and healthcare1469Not measuredOnly GLM 4.7 measured
LMArena Text: legal and government1444Not measuredOnly GLM 4.7 measured
LMArena Text: business and finance1429Not measuredOnly GLM 4.7 measured
Neither model has a result on the other 4 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
Web design benchmarks for GLM 4.7 and GPT-5 Pro
BenchmarkGLM 4.7GPT-5 ProLeader
Design Arena: websites1226Not measuredOnly GLM 4.7 measured
Design Arena: UI components1199Not measuredOnly GLM 4.7 measured
Design Arena: game dev1188Not measuredOnly GLM 4.7 measured
Design Arena: data viz1195Not measuredOnly GLM 4.7 measured
Design Arena: 3D1191Not measuredOnly GLM 4.7 measured
Design Arena: all code categories1217Not measuredOnly GLM 4.7 measured
Design Arena: SVG1143Not measuredOnly GLM 4.7 measured
Design Arena: ASCII art1165Not measuredOnly GLM 4.7 measured
Neither model has a result on the other 1 board here
GeneralDirectional onlyPublic boards, shown as published, kept out of the index22 boards, none shared
General benchmarks for GLM 4.7 and GPT-5 Pro
BenchmarkGLM 4.7GPT-5 ProLeader
MedScribe (Vals AI)68.6%Not measuredOnly GLM 4.7 measured
IFBench67.9%Not measuredOnly GLM 4.7 measured
Long context reasoning (AA-LCR)71.0%Not measuredOnly GLM 4.7 measured
CL-bench15.9%Not measuredOnly GLM 4.7 measured
CL-bench Life10.9%Not measuredOnly GLM 4.7 measured
LMArena Text1435Not measuredOnly GLM 4.7 measured
LMArena Text: instruction following1412Not measuredOnly GLM 4.7 measured
LMArena Text: creative writing1401Not measuredOnly GLM 4.7 measured
LMArena Text: English1453Not measuredOnly GLM 4.7 measured
LMArena Text: non-English1417Not measuredOnly GLM 4.7 measured
LMArena Text: Chinese1495Not measuredOnly GLM 4.7 measured
LMArena Text: German1426Not measuredOnly GLM 4.7 measured
LMArena Text: Japanese1439Not measuredOnly GLM 4.7 measured
LMArena Text: Korean1399Not measuredOnly GLM 4.7 measured
LMArena Text: French1432Not measuredOnly GLM 4.7 measured
LMArena Text: Spanish1434Not measuredOnly GLM 4.7 measured
LMArena Text: Russian1423Not measuredOnly GLM 4.7 measured
LMArena Text: Polish1435Not measuredOnly GLM 4.7 measured
LMArena Text: multi-turn1446Not measuredOnly GLM 4.7 measured
LMArena Text: longer queries1432Not measuredOnly GLM 4.7 measured
LMArena Text: writing and language1411Not measuredOnly GLM 4.7 measured
LMArena Text: entertainment and media1400Not measuredOnly GLM 4.7 measured
Neither model has a result on the other 24 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GLM 4.7 and GPT-5 Pro
BenchmarkGLM 4.7GPT-5 ProLeader
Neither model has a result on 5 boards here

What each workload costs

Three fixed token mixes at each model's listed price, so per-token rates become a bill.

Chat turn

1K input + 500 output tokens

GLM 4.7$0.0017Fits in one request
GPT-5 Pro$0.075Fits in one request

GLM 4.7 costs less

Repository review

50K input + 3K output tokens

GLM 4.7$0.037Fits in one request
GPT-5 Pro$1.11Fits in one request

GLM 4.7 costs less

Agent loop

200K input + 10K output tokens

GLM 4.7$0.142Exceeds the context window
GPT-5 Pro$4.20Fits in one request

GLM 4.7 costs less

Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.

Specification differences

The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.

Specifications of GLM 4.7 and GPT-5 Pro
SpecificationZ.ai GLM 4.7OpenAI GPT-5 Pro
MakerZ.aiOpenAI
WeightsOpen weightsNo public weights listed
ReleasedDecember 22, 2025October 6, 2025
Context window205K400K
Input $/Mtok$0.60$15.00
Output $/Mtok$2.20$120.00
Coding index55.1Not benchmarked
Independent measurements behind it20
Cost per solved task$0.29Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 4.7 better than GPT-5 Pro for coding?

Only GLM 4.7 has a coding score, 55.1 on the Vibe Coding Index; GPT-5 Pro has none, so the two cannot be ranked on coding. GPT-5 Pro has the edge where the context window is larger, 400K against 205K tokens, and where what matters is Epoch Capabilities Index or SimpleBench, where it leads.

Which is cheaper, GLM 4.7 or GPT-5 Pro?

GLM 4.7 costs $0.60 per million input tokens and $2.20 per million output tokens; GPT-5 Pro costs $15.00 and $120.00. Cost per solved task is known for GLM 4.7 only.

Which has the bigger context window, GLM 4.7 or GPT-5 Pro?

GPT-5 Pro, with 400K tokens against 205K.

How many benchmarks is the GLM 4.7 vs GPT-5 Pro comparison based on?

3 benchmarks have a result for both models as of October 21, 2026. GLM 4.7's coding index rests on 2 independent benchmarks and GPT-5 Pro's on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next