Enter opens the highlighted result. Esc closes.

GLM 4.5 vs GPT-5

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

GLM 4.5Z.ai
Coding
64.2
Overall
12.8
Output $/M
$2.20
25
GPT-5OpenAI
Coding
72.2
Overall
23.0
Output $/M
$10.00
35
vs boards won of 60 shared

Decision reading

Pick GPT-5 for coding: it scores 72.2 on the Vibe Coding Index against 64.2 for GLM 4.5.

Pick GLM 4.5 when output tokens cost 4.5x less, or when what matters is LMArena Text: software and IT or LMArena Text: hard prompts, where it leads.

Shared results
60
GLM 4.5 only
0
GPT-5 only
49
Like-for-like categories
8 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.5 64.2 from 1 benchmark, GPT-5 72.2 from 3 benchmarks.
Widest category
Agentic work, 43.6 points apart on average over 1 shared benchmark.
Widest single gap
τ²-Bench Telecom: GLM 4.5 43.0% against GPT-5 86.5%, 43.6 points apart on a 0 to 100 scale.
Output price
GLM 4.5 $2.20 against GPT-5 $10.00 per million output tokens, 4.5x apart.
Context window
GLM 4.5 takes 131K tokens, GPT-5 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.5BarsGPT-5Ties
Coding17
Intelligence01
Agentic work01
Reasoning33
Math25
Knowledge46
Web design16
General146
All shared boards2535
CodingLike-for-likeFour of these boards feed the Vibe Coding Index17
Coding benchmarks for GLM 4.5 and GPT-5
BenchmarkGLM 4.5GPT-5Leader
Aider polyglotNot measured88.0%Only GPT-5 measured
SWE-bench Verified64.2%74.4%GPT-5
LMArena WebDevNot measured1418Only GPT-5 measured
AA Coding IndexNot measured37.8Only GPT-5 measured
LiveCodeBench (Vals AI)67.5%85.9%GPT-5
SWE-bench Verified (Vals AI)Not measured69.0%Only GPT-5 measured
Vibe Code Bench (Vals AI)Not measured20.1%Only GPT-5 measured
LiveCodeBench (Artificial Analysis run)73.8%84.6%GPT-5
Terminal-Bench Hard (Artificial Analysis run)22.0%37.9%GPT-5
Terminal-BenchNot measured49.6%Only GPT-5 measured
GSO-BenchNot measured6.9%Only GPT-5 measured
WeirdML40.6%60.7%GPT-5
ALE-Bench344.8807.6GPT-5
LMArena Text: coding14341436GPT-5
LMArena Text: software and IT14401420GLM 4.5
LMArena WebDev: HTMLNot measured1427Only GPT-5 measured
Neither model has a result on the other 22 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for GLM 4.5 and GPT-5
BenchmarkGLM 4.5GPT-5Leader
AA Intelligence Index12.823.0GPT-5
Epoch Capabilities IndexNot measured150.0Only GPT-5 measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for GLM 4.5 and GPT-5
BenchmarkGLM 4.5GPT-5Leader
τ²-Bench Telecom43.0%86.5%GPT-5
METR time horizonsNot measured69.6%Only GPT-5 measured
Remote Labor IndexNot measured1.7%Only GPT-5 measured
GDPvalNot measured34.8%Only GPT-5 measured
BALROGNot measured32.8%Only GPT-5 measured
DeepResearch BenchNot measured49.6%Only GPT-5 measured
Neither model has a result on the other 33 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index33
Reasoning benchmarks for GLM 4.5 and GPT-5
BenchmarkGLM 4.5GPT-5Leader
GPQA Diamond72.2%85.6%GPT-5
MMMU Pro (Vals AI)Not measured81.5%Only GPT-5 measured
GPQA Diamond (Artificial Analysis run)78.2%85.4%GPT-5
Humanity's Last Exam (Artificial Analysis run)13.0%28.5%GPT-5
GPQA Diamond (Epoch AI run)Not measured86.2%Only GPT-5 measured
ARC-AGINot measured65.7%Only GPT-5 measured
ARC-AGI-2Not measured9.9%Only GPT-5 measured
SimpleBenchNot measured56.7%Only GPT-5 measured
Chess puzzlesNot measured36.0%Only GPT-5 measured
Mystery game puzzlesNot measured23.0%Only GPT-5 measured
EBR-benchNot measured12.7%Only GPT-5 measured
VPCTNot measured66.0%Only GPT-5 measured
LMArena Text: hard prompts14291415GLM 4.5
LMArena Text: expert14331419GLM 4.5
LMArena Text: hard prompts in English14291419GLM 4.5
LMArena Vision: diagramsNot measured1252Only GPT-5 measured
LMArena Vision: homeworkNot measured1278Only GPT-5 measured
Neither model has a result on the other 4 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index25
Math benchmarks for GLM 4.5 and GPT-5
BenchmarkGLM 4.5GPT-5Leader
AIME86.7%93.4%GPT-5
MATH 500 (Vals AI)94.0%96.0%GPT-5
MGSM (Vals AI)90.8%92.8%GPT-5
AA Math Index73.794.3GPT-5
AIME 2025 (Artificial Analysis run)73.7%94.3%GPT-5
OTIS Mock AIMENot measured91.4%Only GPT-5 measured
FrontierMath, tiers 1 to 3Not measured55.4%Only GPT-5 measured
FrontierMath, tier 4Not measured22.0%Only GPT-5 measured
ProofBenchNot measured18.0%Only GPT-5 measured
MATH level 5Not measured98.1%Only GPT-5 measured
LMArena Text: math14271407GLM 4.5
LMArena Text: mathematical work14301405GLM 4.5
Neither model has a result on the other 1 board here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index46
Knowledge benchmarks for GLM 4.5 and GPT-5
BenchmarkGLM 4.5GPT-5Leader
MMLU Pro81.2%86.5%GPT-5
LegalBench (Vals AI)75.6%86.0%GPT-5
CaseLaw (Vals AI)Not measured66.5%Only GPT-5 measured
CorpFin (Vals AI)61.0%61.1%GPT-5
TaxEval (Vals AI)72.4%73.4%GPT-5
MortgageTax (Vals AI)Not measured65.5%Only GPT-5 measured
MedQA (Vals AI)90.0%96.3%GPT-5
MedCode (Vals AI)Not measured49.6%Only GPT-5 measured
MMLU Pro (Artificial Analysis run)83.5%87.1%GPT-5
SimpleQA VerifiedNot measured50.1%Only GPT-5 measured
GeoBenchNot measured81.0%Only GPT-5 measured
LMArena Text: science14441416GLM 4.5
LMArena Text: medicine and healthcare14551413GLM 4.5
LMArena Text: legal and government14381431GLM 4.5
LMArena Text: business and finance14201400GLM 4.5
Neither model has a result on the other 2 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index16
Web design benchmarks for GLM 4.5 and GPT-5
BenchmarkGLM 4.5GPT-5Leader
Design Arena: websites11701185GPT-5
Design Arena: UI components11441179GPT-5
Design Arena: game dev11451185GPT-5
Design Arena: data viz11591221GPT-5
Design Arena: 3D11701056GLM 4.5
Design Arena: all code categories11651168GPT-5
Design Arena: SVG10961188GPT-5
Design Arena: ASCII artNot measured1140Only GPT-5 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index146
General benchmarks for GLM 4.5 and GPT-5
BenchmarkGLM 4.5GPT-5Leader
SAGE (Vals AI)Not measured43.7%Only GPT-5 measured
MedScribe (Vals AI)Not measured83.7%Only GPT-5 measured
IFBench44.1%73.1%GPT-5
Long context reasoning (AA-LCR)52.7%78.2%GPT-5
DTBenchNot measured90.7%Only GPT-5 measured
LMCANot measured40.0%Only GPT-5 measured
Fiction.LiveBenchNot measured97.2%Only GPT-5 measured
Creative writing (Lech Mazur)73.4%86.0%GPT-5
LMArena Text14301406GLM 4.5
LMArena Text: instruction following14041388GLM 4.5
LMArena Text: creative writing13951365GLM 4.5
LMArena VisionNot measured1232Only GPT-5 measured
LMArena Text: English14371409GLM 4.5
LMArena Text: non-English14171397GLM 4.5
LMArena Text: Chinese14651422GLM 4.5
LMArena Text: German14071416GPT-5
LMArena Text: Japanese14151409GLM 4.5
LMArena Text: Korean13801360GLM 4.5
LMArena Text: French14181409GLM 4.5
LMArena Text: Spanish14541399GLM 4.5
LMArena Text: Russian14131407GLM 4.5
LMArena Text: Polish14221431GPT-5
LMArena Text: multi-turn14151426GPT-5
LMArena Text: longer queries14121399GLM 4.5
LMArena Text: writing and language14031384GLM 4.5
LMArena Text: entertainment and media14041379GLM 4.5
LMArena Vision: EnglishNot measured1231Only GPT-5 measured
LMArena Vision: ChineseNot measured1267Only GPT-5 measured
LMArena Vision: reading textNot measured1246Only GPT-5 measured
LMArena Vision: humorNot measured1219Only GPT-5 measured
LMArena Vision: captioningNot measured1212Only GPT-5 measured
LMArena Vision: recognizing thingsNot measured1263Only GPT-5 measured
LMArena Vision: creative writingNot measured1210Only GPT-5 measured
Neither model has a result on the other 13 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GLM 4.5 and GPT-5
BenchmarkGLM 4.5GPT-5Leader
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.5$0.0017Fits in one request
GPT-5$0.0063Fits in one request

GLM 4.5 costs less

Repository review

50K input + 3K output tokens

GLM 4.5$0.037Fits in one request
GPT-5$0.092Fits in one request

GLM 4.5 costs less

Agent loop

200K input + 10K output tokens

GLM 4.5$0.142Exceeds the context window
GPT-5$0.350Fits in one request

GLM 4.5 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.5 and GPT-5
SpecificationZ.ai GLM 4.5OpenAI GPT-5
MakerZ.aiOpenAI
WeightsOpen weightsNo public weights listed
ReleasedJuly 25, 2025August 7, 2025
Context window131K400K
Input $/Mtok$0.60$1.25
Output $/Mtok$2.20$10.00
Coding index64.272.2
Independent measurements behind it13
Cost per solved taskNot computable$0.39
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 4.5 better than GPT-5 for coding?

Pick GPT-5 for coding: it scores 72.2 on the Vibe Coding Index against 64.2 for GLM 4.5. Pick GLM 4.5 when output tokens cost 4.5x less, or when what matters is LMArena Text: software and IT or LMArena Text: hard prompts, where it leads.

Which is cheaper, GLM 4.5 or GPT-5?

GLM 4.5 costs $0.60 per million input tokens and $2.20 per million output tokens; GPT-5 costs $1.25 and $10.00. Cost per solved task is known for GPT-5 only.

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

GPT-5, with 400K tokens against 131K.

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

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

Compare next