GLM 5.2 vs GPT-6.2 Astra
GPT-6.2 Astra leads GLM 5.2 on coding, 87.0 to 61.1 on the Vibe Coding Index, and GLM 5.2 costs 9.1x less per output token ($4.40 vs $40.00 per million). Updated November 22, 2026; 51 benchmarks have a result for both.
GLM 5.2 or GPT-6.2 Astra: which to pick
Pick GPT-6.2 Astra for coding: it scores 87.0 on the Vibe Coding Index against 61.1 for GLM 5.2.
Pick GLM 5.2 for output tokens 9.1x cheaper ($4.40 vs $40.00 per million) and work measured by LMArena Text: coding or LMArena Text: software and IT, where it leads.
- Shared results
- 51
- GLM 5.2 only
- 61
- GPT-6.2 Astra only
- 25
- 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.2 Astra
GPT-6.2 Astra scores 87.0 against 61.1.
4 benchmarks behind each score
Intelligence
AA Intelligence Index
No call
Only GPT-6.2 Astra has a AA Intelligence Index result, 62.1.
Directional only
Reasoning
GPQA Diamond
No call
Only GLM 5.2 has a GPQA Diamond result, 85.6%.
Directional only
Knowledge
MMLU Pro
No call
Only GLM 5.2 has a MMLU Pro result, 86.7%.
Directional only
Web design
Design Arena: websites
GPT-6.2 Astra
GPT-6.2 Astra leads, 1333 against 1272.
Same board, both measured
General
Vals Index
No call
Only GPT-6.2 Astra has a Vals Index result, 67.7%.
Directional only
Long documents
Listed context window
GPT-6.2 Astra
GPT-6.2 Astra takes 1.05M tokens against 1.05M.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GLM 5.2
GLM 5.2 $0.0036, GPT-6.2 Astra $0.028 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only GLM 5.2 has the number, $0.86.
Directional only
At a glance
- Coding index
- GLM 5.2 61.1 from 4 benchmarks, GPT-6.2 Astra 87.0 from 4 benchmarks.
- Widest category
- Math, 47.5 points apart on average over 4 shared benchmarks.
- Widest single gap
- EBR-bench: GLM 5.2 9.5% against GPT-6.2 Astra 92.4%, 82.9 points apart on a 0 to 100 scale.
- Output price
- GLM 5.2 $4.40 against GPT-6.2 Astra $40.00 per million output tokens, 9.1x apart.
- Context window
- GLM 5.2 takes 1.05M tokens, GPT-6.2 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.2 | Bars | GPT-6.2 Astra | Ties |
|---|---|---|---|---|
| Coding | 2 | 7 | ||
| Intelligence | 0 | 1 | ||
| Agentic work | 0 | 7 | ||
| Reasoning | 2 | 8 | ||
| Math | 0 | 4 | ||
| Knowledge | 3 | 2 | ||
| Web design | 0 | 5 | ||
| General | 10 | 0 | ||
| All shared boards | 17 | 34 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index27
| Benchmark | GLM 5.2 | GPT-6.2 Astra | Leader |
|---|---|---|---|
| LiveBench coding | Not measured | 91.9% | Only GPT-6.2 Astra measured |
| LMArena WebDev | 1608 | 1766 | GPT-6.2 Astra |
| LiveCodeBench (Vals AI) | 69.5% | Not measured | Only GLM 5.2 measured |
| SWE-bench Verified (Vals AI) | 82.8% | Not measured | Only GLM 5.2 measured |
| Terminal-Bench 4 (Vals AI) | Not measured | 63.1% | Only GPT-6.2 Astra measured |
| Vibe Code Bench (Vals AI) | 64.0% | 89.9% | GPT-6.2 Astra |
| Code migration (Vals AI) | 37.9% | Not measured | Only GLM 5.2 measured |
| ProgramBench (Vals AI) | 0.5% | Not measured | Only GLM 5.2 measured |
| Terminal-Bench 2.1 (Vals AI) | 67.8% | Not measured | Only GLM 5.2 measured |
| SkillsBench (Vals AI) | 45.1% | Not measured | Only GLM 5.2 measured |
| SciCode | 51.2% | Not measured | Only GLM 5.2 measured |
| Terminal-Bench Hard (Artificial Analysis run) | 50.8% | Not measured | Only GLM 5.2 measured |
| Terminal-Bench 4.0 (Artificial Analysis run) | 1.0% | 64.1% | GPT-6.2 Astra |
| FrontierCode 2.0 | Not measured | 49.0% | Only GPT-6.2 Astra measured |
| FrontierCode | 24.5% | Not measured | Only GLM 5.2 measured |
| WeirdML | 70.1% | Not measured | Only GLM 5.2 measured |
| MirrorCode | 36.7% | 67.8% | GPT-6.2 Astra |
| ALE-Bench | 1047.0 | Not measured | Only GLM 5.2 measured |
| LMArena Text: coding | 1488 | 1450 | GLM 5.2 |
| LMArena Text: software and IT | 1487 | 1443 | GLM 5.2 |
| LMArena WebDev: React | 1621 | 1770 | GPT-6.2 Astra |
| LMArena WebDev: HTML | 1567 | 1854 | GPT-6.2 Astra |
| SWE Atlas: Codebase QnA | 48.1% | Not measured | Only GLM 5.2 measured |
| SWE Atlas: Refactoring | 42.4% | Not measured | Only GLM 5.2 measured |
| SWE Atlas: Test Writing | 41.5% | Not measured | Only GLM 5.2 measured |
| GameBench 2 | 49.9 | 97.2 | GPT-6.2 Astra |
| Terminal-Bench 3.0 | 4.6% | Not measured | Only GLM 5.2 measured |
| ProgramBench | 0.0% | Not measured | Only GLM 5.2 measured |
| Neither model has a result on the other 24 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | GLM 5.2 | GPT-6.2 Astra | Leader |
|---|---|---|---|
| AA Intelligence Index | Not measured | 62.1 | Only GPT-6.2 Astra measured |
| Epoch Capabilities Index | 153.1 | 172.8 | GPT-6.2 Astra |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index07
| Benchmark | GLM 5.2 | GPT-6.2 Astra | Leader |
|---|---|---|---|
| Design Arena: agents building web apps | 1191 | 1334 | GPT-6.2 Astra |
| Design Arena: agents building full-stack apps | 1218 | 1351 | GPT-6.2 Astra |
| Design Arena: agents building mobile apps | 1154 | 1305 | GPT-6.2 Astra |
| Design Arena: agents building Android apps | 1168 | 1257 | GPT-6.2 Astra |
| Design Arena: agents building Godot games | 1142 | Not measured | Only GLM 5.2 measured |
| Design Arena: agents building games | 1156 | Not measured | Only GLM 5.2 measured |
| Design Arena: HTML slides | 1075 | Not measured | Only GLM 5.2 measured |
| Design Arena: PowerPoint slides | 1160 | Not measured | Only GLM 5.2 measured |
| Design Arena: spreadsheets | 1027 | 1278 | GPT-6.2 Astra |
| LiveBench research | Not measured | 91.5% | Only GPT-6.2 Astra measured |
| LiveBench browser | Not measured | 93.0% | Only GPT-6.2 Astra measured |
| LiveBench long agentic | Not measured | 70.8% | Only GPT-6.2 Astra measured |
| SREBench (Vals AI) | 0.0% | Not measured | Only GLM 5.2 measured |
| Finance Agent (Vals AI) | 49.7% | Not measured | Only GLM 5.2 measured |
| Tax Agent Bench (Vals AI) | Not measured | 21.8% | Only GPT-6.2 Astra measured |
| Legal Research Bench (Vals AI) | 31.3% | 42.8% | GPT-6.2 Astra |
| Harvey's Legal Agent Benchmark (Vals AI) | Not measured | 16.3% | Only GPT-6.2 Astra measured |
| Excel Modeling Benchmark (Vals AI) | 61.5% | Not measured | Only GLM 5.2 measured |
| BioMysteryBench (Vals AI) | Not measured | 80.7% | Only GPT-6.2 Astra measured |
| Terminal-Bench-Science (Vals AI) | Not measured | 71.4% | Only GPT-6.2 Astra measured |
| Vals Science Index | Not measured | 68.4% | Only GPT-6.2 Astra measured |
| Robo-bench (Vals AI) | Not measured | 32.7% | Only GPT-6.2 Astra measured |
| τ²-Bench Telecom | 99.1% | Not measured | Only GLM 5.2 measured |
| APEX-Agents | 45.2% | 72.2% | GPT-6.2 Astra |
| PostTrainBench | 30.4% | Not measured | Only GLM 5.2 measured |
| SpireClimb | Not measured | 41.3% | Only GPT-6.2 Astra measured |
| Vending-Bench 2 | $8,314 | Not measured | Only GLM 5.2 measured |
| LMArena Search | Not measured | 1191 | Only GPT-6.2 Astra measured |
| MCP Atlas | 77.8% | Not measured | Only GLM 5.2 measured |
| Toolathlon-Verified | 59.9% | Not measured | Only GLM 5.2 measured |
| τ³-Banking | 37.1% | Not measured | Only GLM 5.2 measured |
| Neither model has a result on the other 13 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index28
| Benchmark | GLM 5.2 | GPT-6.2 Astra | Leader |
|---|---|---|---|
| GPQA Diamond | 85.6% | Not measured | Only GLM 5.2 measured |
| LiveBench reasoning | Not measured | 91.6% | Only GPT-6.2 Astra measured |
| MysteryMechanism (Vals AI) | Not measured | 53.1% | Only GPT-6.2 Astra measured |
| GPQA Diamond (Artificial Analysis run) | 89.5% | Not measured | Only GLM 5.2 measured |
| Humanity's Last Exam (Artificial Analysis run) | 41.1% | Not measured | Only GLM 5.2 measured |
| HLE-Diamond (Artificial Analysis run) | 17.7% | 72.2% | GPT-6.2 Astra |
| CritPt v2, hard subset (Artificial Analysis run) | Not measured | 71.5% | Only GPT-6.2 Astra measured |
| GPQA Diamond (Epoch AI run) | 91.9% | 96.8% | GPT-6.2 Astra |
| ARC-AGI | 77.0% | 98.5% | GPT-6.2 Astra |
| ARC-AGI-2 | 22.8% | 95.8% | GPT-6.2 Astra |
| SimpleBench | 58.8% | 77.3% | GPT-6.2 Astra |
| Chess puzzles | 22.0% | 78.0% | GPT-6.2 Astra |
| Mystery game puzzles | 19.0% | 95.0% | GPT-6.2 Astra |
| EBR-bench | 9.5% | 92.4% | GPT-6.2 Astra |
| LMArena Text: hard prompts | 1481 | 1425 | GLM 5.2 |
| LMArena Text: expert | 1489 | Not measured | Only GLM 5.2 measured |
| LMArena Text: hard prompts in English | 1481 | 1426 | GLM 5.2 |
| Kagi LLM Benchmark | 62.6% | Not measured | Only GLM 5.2 measured |
| Humanity's Last Exam (Scale run) | Not measured | 66.9% | Only GPT-6.2 Astra measured |
| GoBench | Not measured | 2493 | Only GPT-6.2 Astra measured |
| Neither model has a result on the other 6 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index04
| Benchmark | GLM 5.2 | GPT-6.2 Astra | Leader |
|---|---|---|---|
| OTIS Mock AIME | 86.4% | 100.0% | GPT-6.2 Astra |
| FrontierMath, tiers 1 to 3 | 59.2% | 92.6% | GPT-6.2 Astra |
| FrontierMath, tier 4 | 29.3% | 100.0% | GPT-6.2 Astra |
| ProofBench | 35.0% | Not measured | Only GLM 5.2 measured |
| LMArena Text: math | 1484 | Not measured | Only GLM 5.2 measured |
| LMArena Text: mathematical work | 1490 | Not measured | Only GLM 5.2 measured |
| MathArena | 20.4% | 92.9% | GPT-6.2 Astra |
| Neither model has a result on the other 7 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index32
| Benchmark | GLM 5.2 | GPT-6.2 Astra | Leader |
|---|---|---|---|
| MMLU Pro | 86.7% | Not measured | Only GLM 5.2 measured |
| LegalBench (Vals AI) | 84.1% | Not measured | Only GLM 5.2 measured |
| CorpFin (Vals AI) | 66.1% | Not measured | Only GLM 5.2 measured |
| TaxEval (Vals AI) | 73.3% | Not measured | Only GLM 5.2 measured |
| MedCode (Vals AI) | 40.8% | Not measured | Only GLM 5.2 measured |
| AA-Omniscience | 0.6 | 50.0 | GPT-6.2 Astra |
| SimpleQA Verified | 34.2% | 78.5% | GPT-6.2 Astra |
| LMArena Text: science | 1489 | 1415 | GLM 5.2 |
| LMArena Text: medicine and healthcare | 1476 | Not measured | Only GLM 5.2 measured |
| LMArena Text: legal and government | 1490 | 1415 | GLM 5.2 |
| LMArena Text: business and finance | 1450 | 1413 | GLM 5.2 |
| Neither model has a result on the other 10 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index05
| Benchmark | GLM 5.2 | GPT-6.2 Astra | Leader |
|---|---|---|---|
| Design Arena: websites | 1272 | 1333 | GPT-6.2 Astra |
| Design Arena: UI components | 1279 | 1341 | GPT-6.2 Astra |
| Design Arena: game dev | 1239 | 1501 | GPT-6.2 Astra |
| Design Arena: data viz | 1279 | Not measured | Only GLM 5.2 measured |
| Design Arena: 3D | 1252 | 1430 | GPT-6.2 Astra |
| Design Arena: all code categories | 1268 | 1389 | GPT-6.2 Astra |
| Design Arena: SVG | 1189 | Not measured | Only GLM 5.2 measured |
| Design Arena: ASCII art | 1175 | Not measured | Only GLM 5.2 measured |
| LiveBench design | Not measured | 82.8% | Only GPT-6.2 Astra measured |
GeneralLike-for-likePublic boards, shown as published, kept out of the index100
| Benchmark | GLM 5.2 | GPT-6.2 Astra | Leader |
|---|---|---|---|
| Vals Index | Not measured | 67.7% | Only GPT-6.2 Astra measured |
| LiveBench data analysis | Not measured | 84.1% | Only GPT-6.2 Astra measured |
| MedScribe (Vals AI) | 83.5% | Not measured | Only GLM 5.2 measured |
| IFBench | 73.3% | Not measured | Only GLM 5.2 measured |
| Long context reasoning (AA-LCR) | 78.3% | Not measured | Only GLM 5.2 measured |
| GDPval-AA | 1380 | Not measured | Only GLM 5.2 measured |
| DTBench | 93.6% | Not measured | Only GLM 5.2 measured |
| LMCA | 45.8% | Not measured | Only GLM 5.2 measured |
| Surface Evolver Bench | 55.6% | Not measured | Only GLM 5.2 measured |
| Furniture assembly | Not measured | 89.2% | Only GPT-6.2 Astra measured |
| LMArena Text | 1469 | 1414 | GLM 5.2 |
| LMArena Text: instruction following | 1467 | 1423 | GLM 5.2 |
| LMArena Text: creative writing | 1460 | 1417 | GLM 5.2 |
| LMArena Text: English | 1475 | 1417 | GLM 5.2 |
| LMArena Text: non-English | 1458 | 1404 | GLM 5.2 |
| LMArena Text: Chinese | 1523 | Not measured | Only GLM 5.2 measured |
| LMArena Text: German | 1467 | Not measured | Only GLM 5.2 measured |
| LMArena Text: Japanese | 1453 | Not measured | Only GLM 5.2 measured |
| LMArena Text: Korean | 1429 | Not measured | Only GLM 5.2 measured |
| LMArena Text: French | 1476 | Not measured | Only GLM 5.2 measured |
| LMArena Text: Spanish | 1482 | Not measured | Only GLM 5.2 measured |
| LMArena Text: Russian | 1466 | 1437 | GLM 5.2 |
| LMArena Text: Polish | 1459 | Not measured | Only GLM 5.2 measured |
| LMArena Text: multi-turn | 1470 | 1425 | GLM 5.2 |
| LMArena Text: longer queries | 1479 | 1431 | GLM 5.2 |
| LMArena Text: writing and language | 1461 | 1440 | GLM 5.2 |
| LMArena Text: entertainment and media | 1448 | 1413 | GLM 5.2 |
| MultiChallenge | Not measured | 73.2% | Only GPT-6.2 Astra measured |
| EQ-Bench 4 | 1208 | Not measured | Only GLM 5.2 measured |
| Neither model has a result on the other 20 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GLM 5.2 | GPT-6.2 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.2 costs less
Repository review
50K input + 3K output tokens
GLM 5.2 costs less
Agent loop
200K input + 10K output tokens
GLM 5.2 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.2 | OpenAI GPT-6.2 Astra |
|---|---|---|
| Maker | Z.ai | OpenAI |
| Weights | Open weights | No public weights listed |
| Released | June 16, 2026 | November 17, 2026 |
| Context window | 1.05M | 1.05M |
| Input $/Mtok | $1.40 | $8.00 |
| Output $/Mtok | $4.40 | $40.00 |
| Coding index | 61.1 | 87.0 |
| Independent measurements behind it | 4 | 4 |
| Cost per solved task | $0.86 | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GLM 5.2 better than GPT-6.2 Astra for coding?
Pick GPT-6.2 Astra for coding: it scores 87.0 on the Vibe Coding Index against 61.1 for GLM 5.2. Pick GLM 5.2 for output tokens 9.1x cheaper ($4.40 vs $40.00 per million) and work measured by LMArena Text: coding or LMArena Text: software and IT, where it leads.
Which is cheaper, GLM 5.2 or GPT-6.2 Astra?
GLM 5.2 costs $1.40 per million input tokens and $4.40 per million output tokens; GPT-6.2 Astra costs $8.00 and $40.00. Cost per solved task is known for GLM 5.2 only.
Which has the bigger context window, GLM 5.2 or GPT-6.2 Astra?
GPT-6.2 Astra, with 1.05M tokens against 1.05M.
How many benchmarks is the GLM 5.2 vs GPT-6.2 Astra comparison based on?
51 benchmarks have a result for both models as of November 22, 2026. GLM 5.2's coding index rests on 4 independent benchmarks and GPT-6.2 Astra's on 4. Where only one model has a result, the page says so instead of naming a winner.