GLM 5 vs GPT-6 Astra
GPT-6 Astra leads GLM 5 on coding, 85.1 to 41.7 on the Vibe Coding Index, and GLM 5 costs 15.6x less per output token ($3.20 vs $50.00 per million). Updated October 21, 2026; 55 benchmarks have a result for both.
GLM 5 or GPT-6 Astra: which to pick
Pick GPT-6 Astra for coding: it scores 85.1 on the Vibe Coding Index against 41.7 for GLM 5.
Pick GLM 5 for output tokens 15.6x cheaper ($3.20 vs $50.00 per million) and work measured by LMArena Text: science or LMArena Text: medicine and healthcare, where it leads.
- Shared results
- 55
- GLM 5 only
- 21
- GPT-6 Astra only
- 66
- Like-for-like categories
- 8 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
GPT-6 Astra
GPT-6 Astra scores 85.1 against 41.7.
3 and 5 benchmarks behind the scores
Intelligence
AA Intelligence Index
GPT-6 Astra
GPT-6 Astra leads, 52.7 against 27.9.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only GPT-6 Astra has a AA Agentic Index result, 51.0.
Directional only
Reasoning
GPQA Diamond
No call
Only GLM 5 has a GPQA Diamond result, 83.3%.
Directional only
Math
AIME
No call
Only GLM 5 has a AIME result, 91.7%.
Directional only
Knowledge
MMLU Pro
No call
Only GLM 5 has a MMLU Pro result, 86.0%.
Directional only
Web design
Design Arena: websites
GPT-6 Astra
GPT-6 Astra leads, 1337 against 1247.
Same board, both measured
General
Vals Index
No call
Only GPT-6 Astra has a Vals Index result, 65.0%.
Directional only
Long documents
Listed context window
GPT-6 Astra
GPT-6 Astra takes 1.05M tokens against 205K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GLM 5
GLM 5 $0.0026, GPT-6 Astra $0.035 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only GLM 5 has the number, $0.63.
Directional only
At a glance
- Coding index
- GLM 5 41.7 from 3 benchmarks, GPT-6 Astra 85.1 from 5 benchmarks.
- Widest category
- Coding, 36.7 points apart on average over 8 shared benchmarks.
- Widest single gap
- ARC-AGI-2: GLM 5 4.9% against GPT-6 Astra 95.0%, 90.1 points apart on a 0 to 100 scale.
- Output price
- GLM 5 $3.20 against GPT-6 Astra $50.00 per million output tokens, 15.6x apart.
- Context window
- GLM 5 takes 205K tokens, GPT-6 Astra 1.05M.
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 | Bars | GPT-6 Astra | Ties |
|---|---|---|---|---|
| Coding | 0 | 8 | ||
| Intelligence | 0 | 2 | ||
| Agentic work | 0 | 4 | ||
| Reasoning | 0 | 8 | ||
| Math | 0 | 3 | ||
| Knowledge | 2 | 2 | ||
| Web design | 0 | 8 | ||
| General | 9 | 9 | ||
| All shared boards | 11 | 44 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index08
| Benchmark | GLM 5 | GPT-6 Astra | Leader |
|---|---|---|---|
| SWE-bench Verified | 72.8% | Not measured | Only GLM 5 measured |
| SWE-bench Multilingual | 69.7% | Not measured | Only GLM 5 measured |
| LiveBench coding | Not measured | 93.7% | Only GPT-6 Astra measured |
| LMArena WebDev | 1435 | 1774 | GPT-6 Astra |
| AA Coding Index | Not measured | 76.9 | Only GPT-6 Astra measured |
| LiveCodeBench (Vals AI) | 81.9% | Not measured | Only GLM 5 measured |
| SWE-bench Verified (Vals AI) | 71.4% | Not measured | Only GLM 5 measured |
| Terminal-Bench 4 (Vals AI) | Not measured | 59.6% | Only GPT-6 Astra measured |
| Vibe Code Bench (Vals AI) | 23.4% | 89.6% | GPT-6 Astra |
| Code migration (Vals AI) | Not measured | 67.7% | Only GPT-6 Astra measured |
| ProgramBench (Vals AI) | Not measured | 5.5% | Only GPT-6 Astra measured |
| IOI (Vals AI) | Not measured | 100.0% | Only GPT-6 Astra measured |
| Terminal-Bench 2.1 (Vals AI) | Not measured | 87.3% | Only GPT-6 Astra measured |
| SWE-bench Multimodal (Vals AI) | Not measured | 43.3% | Only GPT-6 Astra measured |
| Vibe Code Bench 1-100 (Vals AI) | Not measured | 27.6% | Only GPT-6 Astra measured |
| CyberBench (Vals AI) | Not measured | 41.1% | Only GPT-6 Astra measured |
| SciCode | Not measured | 56.5% | Only GPT-6 Astra measured |
| Terminal-Bench Hard (Artificial Analysis run) | 43.2% | Not measured | Only GLM 5 measured |
| Terminal-Bench | 52.4% | Not measured | Only GLM 5 measured |
| FrontierCode | Not measured | 53.3% | Only GPT-6 Astra measured |
| FrontierSWE | Not measured | 65.5% | Only GPT-6 Astra measured |
| GSO-Bench | Not measured | 79.4% | Only GPT-6 Astra measured |
| WeirdML | 48.2% | 93.3% | GPT-6 Astra |
| MirrorCode | Not measured | 46.7% | Only GPT-6 Astra measured |
| ALE-Bench | 765.6 | 2951.3 | GPT-6 Astra |
| LMArena Text: coding | 1461 | 1489 | GPT-6 Astra |
| LMArena Text: software and IT | 1460 | 1474 | GPT-6 Astra |
| LMArena WebDev: React | 1424 | 1798 | GPT-6 Astra |
| LMArena WebDev: HTML | 1450 | 1775 | GPT-6 Astra |
| LMArena WebDev: from an image | Not measured | 1726 | Only GPT-6 Astra measured |
| SciCode | Not measured | 12.3% | Only GPT-6 Astra measured |
| Neither model has a result on the other 8 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | GLM 5 | GPT-6 Astra | Leader |
|---|---|---|---|
| AA Intelligence Index | 27.9 | 52.7 | GPT-6 Astra |
| Epoch Capabilities Index | 145.8 | 168.8 | GPT-6 Astra |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index04
| Benchmark | GLM 5 | GPT-6 Astra | Leader |
|---|---|---|---|
| AA Agentic Index | Not measured | 51.0 | Only GPT-6 Astra measured |
| Design Arena: agents building web apps | Not measured | 1373 | Only GPT-6 Astra measured |
| Design Arena: agents building full-stack apps | 1123 | 1357 | GPT-6 Astra |
| Design Arena: agents building mobile apps | 1136 | 1315 | GPT-6 Astra |
| Design Arena: agents building Android apps | 1146 | Not measured | Only GLM 5 measured |
| Design Arena: agents building Godot games | 1144 | 1348 | GPT-6 Astra |
| Design Arena: HTML slides | 1148 | Not measured | Only GLM 5 measured |
| Design Arena: PowerPoint slides | Not measured | 1243 | Only GPT-6 Astra measured |
| Design Arena: spreadsheets | Not measured | 1361 | Only GPT-6 Astra measured |
| LiveBench research | Not measured | 85.2% | Only GPT-6 Astra measured |
| LiveBench browser | Not measured | 84.0% | Only GPT-6 Astra measured |
| LiveBench long agentic | Not measured | 82.4% | Only GPT-6 Astra measured |
| SREBench (Vals AI) | Not measured | 56.9% | Only GPT-6 Astra measured |
| Finance Agent (Vals AI) | Not measured | 53.5% | Only GPT-6 Astra measured |
| Tax Agent Bench (Vals AI) | Not measured | 20.7% | Only GPT-6 Astra measured |
| Legal Research Bench (Vals AI) | Not measured | 39.4% | Only GPT-6 Astra measured |
| Harvey's Legal Agent Benchmark (Vals AI) | Not measured | 7.1% | Only GPT-6 Astra measured |
| Excel Modeling Benchmark (Vals AI) | Not measured | 71.7% | Only GPT-6 Astra measured |
| BioMysteryBench (Vals AI) | Not measured | 79.3% | Only GPT-6 Astra measured |
| Terminal-Bench-Science (Vals AI) | Not measured | 62.9% | Only GPT-6 Astra measured |
| Vals Science Index | Not measured | 65.1% | Only GPT-6 Astra measured |
| Time Horizon Index (Vals AI) | Not measured | 90.5% | Only GPT-6 Astra measured |
| CUA-bench (Vals AI) | Not measured | 19.2% | Only GPT-6 Astra measured |
| Robo-bench (Vals AI) | Not measured | 23.3% | Only GPT-6 Astra measured |
| τ²-Bench Telecom | 98.2% | Not measured | Only GLM 5 measured |
| APEX-Agents | Not measured | 64.7% | Only GPT-6 Astra measured |
| Remote Labor Index | Not measured | 20.8% | Only GPT-6 Astra measured |
| BALROG | Not measured | 68.3% | Only GPT-6 Astra measured |
| SpireClimb | Not measured | 25.7% | Only GPT-6 Astra measured |
| Vending-Bench 2 | $4,432 | $15,515 | GPT-6 Astra |
| Neither model has a result on the other 11 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index08
| Benchmark | GLM 5 | GPT-6 Astra | Leader |
|---|---|---|---|
| GPQA Diamond | 83.3% | Not measured | Only GLM 5 measured |
| LiveBench reasoning | Not measured | 92.7% | Only GPT-6 Astra measured |
| MysteryMechanism (Vals AI) | Not measured | 53.1% | Only GPT-6 Astra measured |
| GPQA Diamond (Artificial Analysis run) | 82.0% | 96.3% | GPT-6 Astra |
| Humanity's Last Exam (Artificial Analysis run) | 29.3% | 54.7% | GPT-6 Astra |
| GPQA Diamond (Epoch AI run) | 87.8% | 95.8% | GPT-6 Astra |
| ARC-AGI | 44.7% | 98.5% | GPT-6 Astra |
| ARC-AGI-2 | 4.9% | 95.0% | GPT-6 Astra |
| SimpleBench | 53.2% | Not measured | Only GLM 5 measured |
| Chess puzzles | Not measured | 74.0% | Only GPT-6 Astra measured |
| Mystery game puzzles | Not measured | 84.0% | Only GPT-6 Astra measured |
| EBR-bench | Not measured | 76.2% | Only GPT-6 Astra measured |
| LMArena Text: hard prompts | 1452 | 1463 | GPT-6 Astra |
| LMArena Text: expert | 1454 | 1489 | GPT-6 Astra |
| LMArena Text: hard prompts in English | 1460 | 1464 | GPT-6 Astra |
| LMArena Vision: diagrams | Not measured | 1297 | Only GPT-6 Astra measured |
| LMArena Vision: homework | Not measured | 1337 | Only GPT-6 Astra measured |
| Kagi LLM Benchmark | 75.0% | Not measured | Only GLM 5 measured |
| Neither model has a result on the other 4 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index03
| Benchmark | GLM 5 | GPT-6 Astra | Leader |
|---|---|---|---|
| AIME | 91.7% | Not measured | Only GLM 5 measured |
| OTIS Mock AIME | 80.0% | 100.0% | GPT-6 Astra |
| FrontierMath, tiers 1 to 3 | Not measured | 93.7% | Only GPT-6 Astra measured |
| FrontierMath, tier 4 | Not measured | 97.6% | Only GPT-6 Astra measured |
| ProofBench | Not measured | 99.0% | Only GPT-6 Astra measured |
| LMArena Text: math | 1440 | 1465 | GPT-6 Astra |
| LMArena Text: mathematical work | 1451 | 1484 | GPT-6 Astra |
| Neither model has a result on the other 6 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index22
| Benchmark | GLM 5 | GPT-6 Astra | Leader |
|---|---|---|---|
| MMLU Pro | 86.0% | Not measured | Only GLM 5 measured |
| LegalBench (Vals AI) | 84.1% | Not measured | Only GLM 5 measured |
| CaseLaw (Vals AI) | 52.5% | Not measured | Only GLM 5 measured |
| CorpFin (Vals AI) | 62.9% | Not measured | Only GLM 5 measured |
| TaxEval (Vals AI) | 70.0% | Not measured | Only GLM 5 measured |
| MedQA (Vals AI) | 94.3% | Not measured | Only GLM 5 measured |
| MedCode (Vals AI) | Not measured | 48.5% | Only GPT-6 Astra measured |
| SimpleQA Verified | Not measured | 75.6% | Only GPT-6 Astra measured |
| LMArena Text: science | 1460 | 1451 | GLM 5 |
| LMArena Text: medicine and healthcare | 1455 | 1425 | GLM 5 |
| LMArena Text: legal and government | 1453 | 1462 | GPT-6 Astra |
| LMArena Text: business and finance | 1430 | 1439 | GPT-6 Astra |
| FACTS Benchmark Suite | Not measured | 75.7% | Only GPT-6 Astra measured |
| Neither model has a result on the other 5 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index08
| Benchmark | GLM 5 | GPT-6 Astra | Leader |
|---|---|---|---|
| Design Arena: websites | 1247 | 1337 | GPT-6 Astra |
| Design Arena: UI components | 1230 | 1396 | GPT-6 Astra |
| Design Arena: game dev | 1234 | 1475 | GPT-6 Astra |
| Design Arena: data viz | 1228 | 1334 | GPT-6 Astra |
| Design Arena: 3D | 1229 | 1500 | GPT-6 Astra |
| Design Arena: all code categories | 1246 | 1379 | GPT-6 Astra |
| Design Arena: SVG | 1168 | 1431 | GPT-6 Astra |
| Design Arena: ASCII art | 1147 | 1353 | GPT-6 Astra |
| LiveBench design | Not measured | 82.0% | Only GPT-6 Astra measured |
GeneralLike-for-likePublic boards, shown as published, kept out of the index99
| Benchmark | GLM 5 | GPT-6 Astra | Leader |
|---|---|---|---|
| Vals Index | Not measured | 65.0% | Only GPT-6 Astra measured |
| LiveBench data analysis | Not measured | 83.0% | Only GPT-6 Astra measured |
| SAGE (Vals AI) | Not measured | 46.4% | Only GPT-6 Astra measured |
| MedScribe (Vals AI) | Not measured | 87.9% | Only GPT-6 Astra measured |
| IFBench | 72.3% | Not measured | Only GLM 5 measured |
| Long context reasoning (AA-LCR) | 75.7% | 80.7% | GPT-6 Astra |
| DTBench | Not measured | 97.3% | Only GPT-6 Astra measured |
| LMCA | Not measured | 64.4% | Only GPT-6 Astra measured |
| CL-bench | 18.7% | Not measured | Only GLM 5 measured |
| Furniture assembly | Not measured | 80.0% | Only GPT-6 Astra measured |
| LMArena Text | 1446 | 1441 | GLM 5 |
| LMArena Text: instruction following | 1428 | 1455 | GPT-6 Astra |
| LMArena Text: creative writing | 1438 | 1420 | GLM 5 |
| LMArena Vision | Not measured | 1280 | Only GPT-6 Astra measured |
| LMArena Text: English | 1458 | 1447 | GLM 5 |
| LMArena Text: non-English | 1430 | 1432 | GPT-6 Astra |
| LMArena Text: Chinese | 1511 | 1489 | GLM 5 |
| LMArena Text: German | 1447 | 1459 | GPT-6 Astra |
| LMArena Text: Japanese | 1416 | 1405 | GLM 5 |
| LMArena Text: Korean | 1423 | 1428 | GPT-6 Astra |
| LMArena Text: French | 1456 | 1432 | GLM 5 |
| LMArena Text: Spanish | 1454 | 1422 | GLM 5 |
| LMArena Text: Russian | 1436 | 1438 | GPT-6 Astra |
| LMArena Text: Polish | 1434 | 1422 | GLM 5 |
| LMArena Text: multi-turn | 1456 | 1447 | GLM 5 |
| LMArena Text: longer queries | 1446 | 1460 | GPT-6 Astra |
| LMArena Text: writing and language | 1437 | 1437 | GPT-6 Astra |
| LMArena Text: entertainment and media | 1426 | 1427 | GPT-6 Astra |
| LMArena Vision: English | Not measured | 1280 | Only GPT-6 Astra measured |
| LMArena Vision: Chinese | Not measured | 1361 | Only GPT-6 Astra measured |
| LMArena Vision: reading text | Not measured | 1292 | Only GPT-6 Astra measured |
| LMArena Vision: creative writing | Not measured | 1286 | Only GPT-6 Astra measured |
| Neither model has a result on the other 14 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GLM 5 | GPT-6 Astra | 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 costs less
Repository review
50K input + 3K output tokens
GLM 5 costs less
Agent loop
200K input + 10K output tokens
GLM 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.
| Specification | Z.ai GLM 5 | OpenAI GPT-6 Astra |
|---|---|---|
| Maker | Z.ai | OpenAI |
| Weights | Open weights | No public weights listed |
| Released | February 11, 2026 | September 4, 2026 |
| Context window | 205K | 1.05M |
| Input $/Mtok | $1.00 | $10.00 |
| Output $/Mtok | $3.20 | $50.00 |
| Coding index | 41.7 | 85.1 |
| Independent measurements behind it | 3 | 5 |
| Cost per solved task | $0.63 | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GLM 5 better than GPT-6 Astra for coding?
Pick GPT-6 Astra for coding: it scores 85.1 on the Vibe Coding Index against 41.7 for GLM 5. Pick GLM 5 for output tokens 15.6x cheaper ($3.20 vs $50.00 per million) and work measured by LMArena Text: science or LMArena Text: medicine and healthcare, where it leads.
Which is cheaper, GLM 5 or GPT-6 Astra?
GLM 5 costs $1.00 per million input tokens and $3.20 per million output tokens; GPT-6 Astra costs $10.00 and $50.00. Cost per solved task is known for GLM 5 only.
Which has the bigger context window, GLM 5 or GPT-6 Astra?
GPT-6 Astra, with 1.05M tokens against 205K.
How many benchmarks is the GLM 5 vs GPT-6 Astra comparison based on?
55 benchmarks have a result for both models as of October 21, 2026. GLM 5's coding index rests on 3 independent benchmarks and GPT-6 Astra's on 5. Where only one model has a result, the page says so instead of naming a winner.