GLM 5.3 vs GPT-5
GLM 5.3 leads GPT-5 on coding, 70.6 to 38.8 on the Vibe Coding Index, and GLM 5.3 costs 2.3x less per output token ($4.40 vs $10.00 per million). Updated October 21, 2026; 65 benchmarks have a result for both.
GLM 5.3 or GPT-5: which to pick
Pick GLM 5.3 for coding: it scores 70.6 on the Vibe Coding Index against 38.8 for GPT-5.
Pick GPT-5 for work measured by LiveCodeBench (Vals AI) or OTIS Mock AIME, where it leads.
- Shared results
- 65
- GLM 5.3 only
- 35
- GPT-5 only
- 48
- Like-for-like categories
- 7 of 9
Only benchmarks that tested both models count toward a pick; a result only one model has is shown but not compared.
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.
Coding
Vibe Coding Index, six public coding benchmarks
GLM 5.3
GLM 5.3 scores 70.6 against 38.8.
6 and 3 benchmarks behind the scores
Intelligence
AA Intelligence Index
GLM 5.3
GLM 5.3 leads, 44.8 against 23.0.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only GLM 5.3 has a AA Agentic Index result, 53.1.
Directional only
Reasoning
GPQA Diamond
GLM 5.3
GLM 5.3 leads, 88.1% against 85.6%.
Same board, both measured
Math
AIME
No call
Only GPT-5 has a AIME result, 93.4%.
Directional only
Knowledge
MMLU Pro
GLM 5.3
GLM 5.3 leads, 86.8% against 86.5%.
Same board, both measured
Web design
Design Arena: websites
GLM 5.3
GLM 5.3 leads, 1295 against 1184.
Same board, both measured
General
Vals Index
No call
Only GLM 5.3 has a Vals Index result, 59.7%.
Directional only
Long documents
Listed context window
GLM 5.3
GLM 5.3 takes 1.05M tokens against 400K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GLM 5.3
GLM 5.3 $0.0036, GPT-5 $0.0063 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
GLM 5.3
GLM 5.3 $0.36, GPT-5 $0.39.
Published attempt cost and pass rate
At a glance
- Coding index
- GLM 5.3 70.6 from 6 benchmarks, GPT-5 38.8 from 3 benchmarks.
- Widest category
- Coding, 23.8 points apart on average over 10 shared benchmarks.
- Widest single gap
- Vibe Code Bench (Vals AI): GLM 5.3 78.1% against GPT-5 20.1%, 58.0 points apart on a 0 to 100 scale.
- Output price
- GLM 5.3 $4.40 against GPT-5 $10.00 per million output tokens, 2.3x apart.
- Context window
- GLM 5.3 takes 1.05M 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.
| Category | GLM 5.3 | Bars | GPT-5 | Ties |
|---|---|---|---|---|
| Coding | 9 | 1 | ||
| Intelligence | 2 | 0 | ||
| Reasoning | 9 | 0 | ||
| Math | 5 | 1 | ||
| Knowledge | 5 | 4 | ||
| Web design | 8 | 0 | ||
| General | 20 | 1 | ||
| All shared boards | 58 | 7 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index91
| Benchmark | GLM 5.3 | GPT-5 | Leader |
|---|---|---|---|
| Aider polyglot | Not measured | 88.0% | Only GPT-5 measured |
| SWE-bench Verified | Not measured | 74.4% | Only GPT-5 measured |
| LiveBench coding | 82.8% | Not measured | Only GLM 5.3 measured |
| LMArena WebDev | 1621 | 1418 | GLM 5.3 |
| AA Coding Index | 74.8 | 37.8 | GLM 5.3 |
| LiveCodeBench (Vals AI) | 80.5% | 85.9% | GPT-5 |
| SWE-bench Verified (Vals AI) | 95.4% | 69.0% | GLM 5.3 |
| Terminal-Bench 4 (Vals AI) | 38.9% | Not measured | Only GLM 5.3 measured |
| Vibe Code Bench (Vals AI) | 78.1% | 20.1% | GLM 5.3 |
| Code migration (Vals AI) | 44.2% | Not measured | Only GLM 5.3 measured |
| ProgramBench (Vals AI) | 1.5% | Not measured | Only GLM 5.3 measured |
| IOI (Vals AI) | 68.4% | Not measured | Only GLM 5.3 measured |
| Terminal-Bench 2.1 (Vals AI) | 71.5% | Not measured | Only GLM 5.3 measured |
| Vibe Code Bench 1-100 (Vals AI) | 20.0% | Not measured | Only GLM 5.3 measured |
| SkillsBench (Vals AI) | 47.5% | Not measured | Only GLM 5.3 measured |
| CyberBench (Vals AI) | 72.1% | Not measured | Only GLM 5.3 measured |
| LiveCodeBench (Artificial Analysis run) | Not measured | 84.6% | Only GPT-5 measured |
| SciCode | 59.0% | Not measured | Only GLM 5.3 measured |
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 37.9% | Only GPT-5 measured |
| Terminal-Bench | Not measured | 49.6% | Only GPT-5 measured |
| FrontierCode | 40.1% | Not measured | Only GLM 5.3 measured |
| FrontierSWE | 30.2% | Not measured | Only GLM 5.3 measured |
| GSO-Bench | Not measured | 6.9% | Only GPT-5 measured |
| WeirdML | 75.4% | 60.7% | GLM 5.3 |
| ALE-Bench | 1317.4 | 807.6 | GLM 5.3 |
| LMArena Text: coding | 1497 | 1436 | GLM 5.3 |
| LMArena Text: software and IT | 1493 | 1420 | GLM 5.3 |
| LMArena WebDev: React | 1641 | Not measured | Only GLM 5.3 measured |
| LMArena WebDev: HTML | 1595 | 1427 | GLM 5.3 |
| SciCode | Not measured | 0.0% | Only GPT-5 measured |
| Neither model has a result on the other 9 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
| Benchmark | GLM 5.3 | GPT-5 | Leader |
|---|---|---|---|
| AA Intelligence Index | 44.8 | 23.0 | GLM 5.3 |
| Epoch Capabilities Index | 156.0 | 150.0 | GLM 5.3 |
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index23 boards, none shared
| Benchmark | GLM 5.3 | GPT-5 | Leader |
|---|---|---|---|
| AA Agentic Index | 53.1 | Not measured | Only GLM 5.3 measured |
| Design Arena: agents building mobile apps | 1194 | Not measured | Only GLM 5.3 measured |
| Design Arena: HTML slides | 1189 | Not measured | Only GLM 5.3 measured |
| Design Arena: PowerPoint slides | 1254 | Not measured | Only GLM 5.3 measured |
| LiveBench research | 73.2% | Not measured | Only GLM 5.3 measured |
| LiveBench browser | 0.0% | Not measured | Only GLM 5.3 measured |
| LiveBench long agentic | 35.9% | Not measured | Only GLM 5.3 measured |
| SREBench (Vals AI) | 9.2% | Not measured | Only GLM 5.3 measured |
| Finance Agent (Vals AI) | 55.8% | Not measured | Only GLM 5.3 measured |
| Tax Agent Bench (Vals AI) | 39.7% | Not measured | Only GLM 5.3 measured |
| Legal Research Bench (Vals AI) | 49.0% | Not measured | Only GLM 5.3 measured |
| Harvey's Legal Agent Benchmark (Vals AI) | 14.6% | Not measured | Only GLM 5.3 measured |
| Excel Modeling Benchmark (Vals AI) | 56.3% | Not measured | Only GLM 5.3 measured |
| Terminal-Bench-Science (Vals AI) | 5.7% | Not measured | Only GLM 5.3 measured |
| τ²-Bench Telecom | Not measured | 86.5% | Only GPT-5 measured |
| APEX-Agents | 56.6% | Not measured | Only GLM 5.3 measured |
| METR time horizons | Not measured | 69.6% | Only GPT-5 measured |
| Remote Labor Index | Not measured | 1.7% | Only GPT-5 measured |
| GDPval | Not measured | 34.8% | Only GPT-5 measured |
| BALROG | Not measured | 32.8% | Only GPT-5 measured |
| DeepResearch Bench | Not measured | 49.6% | Only GPT-5 measured |
| Vending-Bench 2 | $8,164 | Not measured | Only GLM 5.3 measured |
| BrowseComp-Plus | Not measured | 80.0% | Only GPT-5 measured |
| Neither model has a result on the other 18 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index90
| Benchmark | GLM 5.3 | GPT-5 | Leader |
|---|---|---|---|
| GPQA Diamond | 88.1% | 85.6% | GLM 5.3 |
| LiveBench reasoning | 85.8% | Not measured | Only GLM 5.3 measured |
| MysteryMechanism (Vals AI) | 23.0% | Not measured | Only GLM 5.3 measured |
| MMMU Pro (Vals AI) | Not measured | 81.5% | Only GPT-5 measured |
| GPQA Diamond (Artificial Analysis run) | 91.7% | 85.4% | GLM 5.3 |
| Humanity's Last Exam (Artificial Analysis run) | 42.3% | 28.5% | GLM 5.3 |
| GPQA Diamond (Epoch AI run) | 90.9% | 86.2% | GLM 5.3 |
| ARC-AGI | Not measured | 65.7% | Only GPT-5 measured |
| ARC-AGI-2 | Not measured | 9.9% | Only GPT-5 measured |
| SimpleBench | Not measured | 56.7% | Only GPT-5 measured |
| Chess puzzles | 37.0% | 36.0% | GLM 5.3 |
| Mystery game puzzles | 33.0% | 23.0% | GLM 5.3 |
| EBR-bench | Not measured | 12.7% | Only GPT-5 measured |
| VPCT | Not measured | 66.0% | Only GPT-5 measured |
| LMArena Text: hard prompts | 1490 | 1415 | GLM 5.3 |
| LMArena Text: expert | 1514 | 1419 | GLM 5.3 |
| LMArena Text: hard prompts in English | 1496 | 1419 | GLM 5.3 |
| LMArena Vision: diagrams | Not measured | 1252 | Only GPT-5 measured |
| LMArena Vision: homework | Not measured | 1278 | Only GPT-5 measured |
| Kagi LLM Benchmark | Not measured | 72.7% | Only GPT-5 measured |
| Neither model has a result on the other 2 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index51
| Benchmark | GLM 5.3 | GPT-5 | Leader |
|---|---|---|---|
| AIME | Not measured | 93.4% | Only GPT-5 measured |
| MATH 500 (Vals AI) | Not measured | 96.0% | Only GPT-5 measured |
| MGSM (Vals AI) | Not measured | 92.8% | Only GPT-5 measured |
| AA Math Index | Not measured | 94.3 | Only GPT-5 measured |
| AIME 2025 (Artificial Analysis run) | Not measured | 94.3% | Only GPT-5 measured |
| OTIS Mock AIME | 91.1% | 91.4% | GPT-5 |
| FrontierMath, tiers 1 to 3 | 68.8% | 55.4% | GLM 5.3 |
| FrontierMath, tier 4 | 29.3% | 22.0% | GLM 5.3 |
| ProofBench | 49.0% | 18.0% | GLM 5.3 |
| MATH level 5 | Not measured | 98.1% | Only GPT-5 measured |
| LMArena Text: math | 1495 | 1407 | GLM 5.3 |
| LMArena Text: mathematical work | 1497 | 1405 | GLM 5.3 |
| Neither model has a result on the other 1 board here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index54
| Benchmark | GLM 5.3 | GPT-5 | Leader |
|---|---|---|---|
| MMLU Pro | 86.8% | 86.5% | GLM 5.3 |
| LegalBench (Vals AI) | 84.8% | 86.0% | GPT-5 |
| CaseLaw (Vals AI) | Not measured | 66.5% | Only GPT-5 measured |
| CorpFin (Vals AI) | Not measured | 61.1% | Only GPT-5 measured |
| TaxEval (Vals AI) | 72.4% | 73.4% | GPT-5 |
| MortgageTax (Vals AI) | Not measured | 65.5% | Only GPT-5 measured |
| MedQA (Vals AI) | Not measured | 96.3% | Only GPT-5 measured |
| MedCode (Vals AI) | 42.9% | 49.6% | GPT-5 |
| MMLU Pro (Artificial Analysis run) | Not measured | 87.1% | Only GPT-5 measured |
| SimpleQA Verified | 41.0% | 50.1% | GPT-5 |
| GeoBench | Not measured | 81.0% | Only GPT-5 measured |
| LMArena Text: science | 1498 | 1416 | GLM 5.3 |
| LMArena Text: medicine and healthcare | 1481 | 1413 | GLM 5.3 |
| LMArena Text: legal and government | 1473 | 1431 | GLM 5.3 |
| LMArena Text: business and finance | 1459 | 1400 | GLM 5.3 |
| FACTS Benchmark Suite | Not measured | 56.5% | Only GPT-5 measured |
| Neither model has a result on the other 2 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index80
| Benchmark | GLM 5.3 | GPT-5 | Leader |
|---|---|---|---|
| Design Arena: websites | 1295 | 1184 | GLM 5.3 |
| Design Arena: UI components | 1314 | 1180 | GLM 5.3 |
| Design Arena: game dev | 1311 | 1185 | GLM 5.3 |
| Design Arena: data viz | 1259 | 1221 | GLM 5.3 |
| Design Arena: 3D | 1332 | 1056 | GLM 5.3 |
| Design Arena: all code categories | 1304 | 1168 | GLM 5.3 |
| Design Arena: SVG | 1293 | 1189 | GLM 5.3 |
| Design Arena: ASCII art | 1213 | 1141 | GLM 5.3 |
| LiveBench design | 77.3% | Not measured | Only GLM 5.3 measured |
GeneralLike-for-likePublic boards, shown as published, kept out of the index201
| Benchmark | GLM 5.3 | GPT-5 | Leader |
|---|---|---|---|
| Vals Index | 59.7% | Not measured | Only GLM 5.3 measured |
| LiveBench data analysis | 70.2% | Not measured | Only GLM 5.3 measured |
| Public Benefits Bench (Vals AI) | 68.5% | Not measured | Only GLM 5.3 measured |
| SAGE (Vals AI) | Not measured | 43.7% | Only GPT-5 measured |
| MedScribe (Vals AI) | 88.8% | 83.7% | GLM 5.3 |
| IFBench | Not measured | 73.1% | Only GPT-5 measured |
| Long context reasoning (AA-LCR) | 79.7% | 78.2% | GLM 5.3 |
| DTBench | 87.7% | 90.7% | GPT-5 |
| LMCA | 55.5% | 40.0% | GLM 5.3 |
| Fiction.LiveBench | Not measured | 97.2% | Only GPT-5 measured |
| Creative writing (Lech Mazur) | Not measured | 86.0% | Only GPT-5 measured |
| LMArena Text | 1474 | 1406 | GLM 5.3 |
| LMArena Text: instruction following | 1479 | 1388 | GLM 5.3 |
| LMArena Text: creative writing | 1458 | 1365 | GLM 5.3 |
| LMArena Vision | Not measured | 1232 | Only GPT-5 measured |
| LMArena Text: English | 1482 | 1409 | GLM 5.3 |
| LMArena Text: non-English | 1459 | 1397 | GLM 5.3 |
| LMArena Text: Chinese | 1532 | 1422 | GLM 5.3 |
| LMArena Text: German | 1488 | 1416 | GLM 5.3 |
| LMArena Text: Japanese | 1460 | 1409 | GLM 5.3 |
| LMArena Text: Korean | 1460 | 1360 | GLM 5.3 |
| LMArena Text: French | 1503 | 1409 | GLM 5.3 |
| LMArena Text: Spanish | 1462 | 1399 | GLM 5.3 |
| LMArena Text: Russian | 1469 | 1407 | GLM 5.3 |
| LMArena Text: Polish | 1466 | 1431 | GLM 5.3 |
| LMArena Text: multi-turn | 1472 | 1426 | GLM 5.3 |
| LMArena Text: longer queries | 1483 | 1399 | GLM 5.3 |
| LMArena Text: writing and language | 1469 | 1384 | GLM 5.3 |
| LMArena Text: entertainment and media | 1447 | 1379 | GLM 5.3 |
| LMArena Vision: English | Not measured | 1231 | Only GPT-5 measured |
| LMArena Vision: Chinese | Not measured | 1267 | Only GPT-5 measured |
| LMArena Vision: reading text | Not measured | 1246 | Only GPT-5 measured |
| LMArena Vision: humor | Not measured | 1219 | Only GPT-5 measured |
| LMArena Vision: captioning | Not measured | 1212 | Only GPT-5 measured |
| LMArena Vision: recognizing things | Not measured | 1263 | Only GPT-5 measured |
| LMArena Vision: creative writing | Not measured | 1210 | Only GPT-5 measured |
| Neither model has a result on the other 10 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GLM 5.3 | GPT-5 | Leader |
|---|---|---|---|
| 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 5.3 costs less
Repository review
50K input + 3K output tokens
GLM 5.3 costs less
Agent loop
200K input + 10K output tokens
GLM 5.3 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.
| Specification | Z.ai GLM 5.3 | OpenAI GPT-5 |
|---|---|---|
| Maker | Z.ai | OpenAI |
| Weights | Open weights | No public weights listed |
| Released | August 18, 2026 | August 7, 2025 |
| Context window | 1.05M | 400K |
| Input $/Mtok | $1.40 | $1.25 |
| Output $/Mtok | $4.40 | $10.00 |
| Coding index | 70.6 | 38.8 |
| Independent measurements behind it | 6 | 3 |
| Cost per solved task | $0.36 | $0.39 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GLM 5.3 better than GPT-5 for coding?
Pick GLM 5.3 for coding: it scores 70.6 on the Vibe Coding Index against 38.8 for GPT-5. Pick GPT-5 for work measured by LiveCodeBench (Vals AI) or OTIS Mock AIME, where it leads.
Which is cheaper, GLM 5.3 or GPT-5?
GLM 5.3 costs $1.40 per million input tokens and $4.40 per million output tokens; GPT-5 costs $1.25 and $10.00. Per solved SWE-bench Verified task, GLM 5.3 costs $0.36 and GPT-5 $0.39.
Which has the bigger context window, GLM 5.3 or GPT-5?
GLM 5.3, with 1.05M tokens against 400K.
How many benchmarks is the GLM 5.3 vs GPT-5 comparison based on?
65 benchmarks have a result for both models as of October 21, 2026. GLM 5.3's coding index rests on 6 independent benchmarks and GPT-5's on 3. Where only one model has a result, the page says so instead of naming a winner.