GLM 5.4 vs GPT-6.2 Astra
GPT-6.2 Astra leads GLM 5.4 on coding, 87.1 to 72.7 on the Vibe Coding Index, and GLM 5.4 costs 9.1x less per output token ($4.40 vs $40.00 per million). Updated December 3, 2026; 10 benchmarks have a result for both.
GLM 5.4 or GPT-6.2 Astra: which to pick
Pick GPT-6.2 Astra for coding: it scores 87.1 on the Vibe Coding Index against 72.7 for GLM 5.4.
Pick GLM 5.4 for output tokens 9.1x cheaper ($4.40 vs $40.00 per million).
- Shared results
- 10
- GLM 5.4 only
- 0
- GPT-6.2 Astra only
- 80
- Like-for-like categories
- 5 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.1 against 72.7.
2 and 4 benchmarks behind the scores
Intelligence
AA Intelligence Index
No call
Only GPT-6.2 Astra has a AA Intelligence Index result, 62.0.
Directional only
Web design
Design Arena: websites
No call
Only GPT-6.2 Astra has a Design Arena: websites result, 1388.
Directional only
General
Vals Index
No call
Only GPT-6.2 Astra has a Vals Index result, 66.4%.
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.4
GLM 5.4 $0.0036, GPT-6.2 Astra $0.028 per turn.
List prices
At a glance
- Coding index
- GLM 5.4 72.7 from 2 benchmarks, GPT-6.2 Astra 87.1 from 4 benchmarks.
- Widest category
- Agentic work, 21.2 points apart on average over 3 shared benchmarks.
- Widest single gap
- LiveBench long agentic: GLM 5.4 41.3% against GPT-6.2 Astra 70.8%, 29.5 points apart on a 0 to 100 scale.
- Output price
- GLM 5.4 $4.40 against GPT-6.2 Astra $40.00 per million output tokens, 9.1x apart.
- Context window
- GLM 5.4 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.4 | Bars | GPT-6.2 Astra | Ties |
|---|---|---|---|---|
| Coding | 0 | 4 | ||
| Agentic work | 0 | 3 | ||
| Reasoning | 0 | 1 | ||
| Web design | 0 | 1 | ||
| General | 0 | 1 | ||
| All shared boards | 0 | 10 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index04
| Benchmark | GLM 5.4 | GPT-6.2 Astra | Leader |
|---|---|---|---|
| LiveBench coding | 74.5% | 91.9% | GPT-6.2 Astra |
| LMArena WebDev | 1690 | 1770 | GPT-6.2 Astra |
| Terminal-Bench 4 (Vals AI) | Not measured | 63.1% | Only GPT-6.2 Astra measured |
| Vibe Code Bench (Vals AI) | Not measured | 89.9% | Only GPT-6.2 Astra measured |
| Terminal-Bench 4.0 (Artificial Analysis run) | Not measured | 64.1% | Only GPT-6.2 Astra measured |
| FrontierCode 2.0 | Not measured | 45.4% | Only GPT-6.2 Astra measured |
| MirrorCode | Not measured | 67.8% | Only GPT-6.2 Astra measured |
| ALE-Bench | Not measured | 3017.1 | Only GPT-6.2 Astra measured |
| LMArena Text: coding | Not measured | 1447 | Only GPT-6.2 Astra measured |
| LMArena Text: software and IT | Not measured | 1434 | Only GPT-6.2 Astra measured |
| LMArena WebDev: React | 1739 | 1774 | GPT-6.2 Astra |
| LMArena WebDev: HTML | 1675 | 1859 | GPT-6.2 Astra |
| SciCode | Not measured | 9.2% | Only GPT-6.2 Astra measured |
| GameBench 2 | Not measured | 97.2 | Only GPT-6.2 Astra measured |
| Neither model has a result on the other 38 boards here | |||
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
| Benchmark | GLM 5.4 | GPT-6.2 Astra | Leader |
|---|---|---|---|
| AA Intelligence Index | Not measured | 62.0 | Only GPT-6.2 Astra measured |
| Epoch Capabilities Index | Not measured | 171.4 | Only GPT-6.2 Astra measured |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index03
| Benchmark | GLM 5.4 | GPT-6.2 Astra | Leader |
|---|---|---|---|
| Design Arena: agents building web apps | Not measured | 1341 | Only GPT-6.2 Astra measured |
| Design Arena: agents building full-stack apps | Not measured | 1432 | Only GPT-6.2 Astra measured |
| Design Arena: agents building mobile apps | Not measured | 1303 | Only GPT-6.2 Astra measured |
| Design Arena: agents building Android apps | Not measured | 1251 | Only GPT-6.2 Astra measured |
| Design Arena: PowerPoint slides | Not measured | 1177 | Only GPT-6.2 Astra measured |
| Design Arena: spreadsheets | Not measured | 1275 | Only GPT-6.2 Astra measured |
| LiveBench research | 86.0% | 91.5% | GPT-6.2 Astra |
| LiveBench browser | 64.5% | 93.0% | GPT-6.2 Astra |
| LiveBench long agentic | 41.3% | 70.8% | GPT-6.2 Astra |
| Tax Agent Bench (Vals AI) | Not measured | 24.3% | Only GPT-6.2 Astra measured |
| Legal Research Bench (Vals AI) | Not measured | 42.8% | Only GPT-6.2 Astra measured |
| Harvey's Legal Agent Benchmark (Vals AI) | Not measured | 16.3% | Only GPT-6.2 Astra measured |
| BioMysteryBench (Vals AI) | Not measured | 80.7% | Only GPT-6.2 Astra measured |
| Terminal-Bench-Science (Vals AI) | Not measured | 81.4% | Only GPT-6.2 Astra measured |
| Vals Science Index | Not measured | 71.8% | Only GPT-6.2 Astra measured |
| Robo-bench (Vals AI) | Not measured | 44.2% | Only GPT-6.2 Astra measured |
| APEX-Agents | Not measured | 72.2% | Only GPT-6.2 Astra measured |
| PostTrainBench | Not measured | 43.5% | Only GPT-6.2 Astra measured |
| SpireClimb | Not measured | 41.3% | Only GPT-6.2 Astra measured |
| LMArena Search | Not measured | 1191 | Only GPT-6.2 Astra measured |
| Neither model has a result on the other 24 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | GLM 5.4 | GPT-6.2 Astra | Leader |
|---|---|---|---|
| LiveBench reasoning | 85.2% | 91.6% | GPT-6.2 Astra |
| MysteryMechanism (Vals AI) | Not measured | 53.1% | Only GPT-6.2 Astra measured |
| HLE-Diamond (Artificial Analysis run) | Not measured | 72.2% | Only GPT-6.2 Astra measured |
| CritPt v2, hard subset (Artificial Analysis run) | Not measured | 71.5% | Only GPT-6.2 Astra measured |
| GPQA Diamond (Epoch AI run) | Not measured | 96.8% | Only GPT-6.2 Astra measured |
| ARC-AGI | Not measured | 98.5% | Only GPT-6.2 Astra measured |
| ARC-AGI-2 | Not measured | 95.8% | Only GPT-6.2 Astra measured |
| SimpleBench | Not measured | 77.3% | Only GPT-6.2 Astra measured |
| Chess puzzles | Not measured | 78.0% | Only GPT-6.2 Astra measured |
| Mystery game puzzles | Not measured | 95.0% | Only GPT-6.2 Astra measured |
| EBR-bench | Not measured | 92.4% | Only GPT-6.2 Astra measured |
| LMArena Text: hard prompts | Not measured | 1419 | Only GPT-6.2 Astra measured |
| LMArena Text: expert | Not measured | 1434 | Only GPT-6.2 Astra measured |
| LMArena Text: hard prompts in English | Not measured | 1424 | Only GPT-6.2 Astra 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 10 boards here | |||
MathDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
| Benchmark | GLM 5.4 | GPT-6.2 Astra | Leader |
|---|---|---|---|
| OTIS Mock AIME | Not measured | 100.0% | Only GPT-6.2 Astra measured |
| FrontierMath, tiers 1 to 3 | Not measured | 92.6% | Only GPT-6.2 Astra measured |
| FrontierMath, tier 4 | Not measured | 100.0% | Only GPT-6.2 Astra measured |
| LMArena Text: math | Not measured | 1463 | Only GPT-6.2 Astra measured |
| LMArena Text: mathematical work | Not measured | 1460 | Only GPT-6.2 Astra measured |
| MathArena | Not measured | 92.9% | Only GPT-6.2 Astra measured |
| Neither model has a result on the other 8 boards here | |||
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
| Benchmark | GLM 5.4 | GPT-6.2 Astra | Leader |
|---|---|---|---|
| AA-Omniscience | Not measured | 50.0 | Only GPT-6.2 Astra measured |
| SimpleQA Verified | Not measured | 78.5% | Only GPT-6.2 Astra measured |
| LMArena Text: science | Not measured | 1413 | Only GPT-6.2 Astra measured |
| LMArena Text: medicine and healthcare | Not measured | 1379 | Only GPT-6.2 Astra measured |
| LMArena Text: legal and government | Not measured | 1430 | Only GPT-6.2 Astra measured |
| LMArena Text: business and finance | Not measured | 1395 | Only GPT-6.2 Astra measured |
| PRBench Finance | Not measured | 41.8% | Only GPT-6.2 Astra measured |
| PRBench Legal | Not measured | 41.8% | Only GPT-6.2 Astra measured |
| Neither model has a result on the other 13 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | GLM 5.4 | GPT-6.2 Astra | Leader |
|---|---|---|---|
| Design Arena: websites | Not measured | 1388 | Only GPT-6.2 Astra measured |
| Design Arena: UI components | Not measured | 1326 | Only GPT-6.2 Astra measured |
| Design Arena: game dev | Not measured | 1504 | Only GPT-6.2 Astra measured |
| Design Arena: 3D | Not measured | 1453 | Only GPT-6.2 Astra measured |
| Design Arena: all code categories | Not measured | 1457 | Only GPT-6.2 Astra measured |
| LiveBench design | 74.2% | 82.8% | GPT-6.2 Astra |
| Neither model has a result on the other 3 boards here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | GLM 5.4 | GPT-6.2 Astra | Leader |
|---|---|---|---|
| Vals Index | Not measured | 66.4% | Only GPT-6.2 Astra measured |
| LiveBench data analysis | 72.2% | 84.1% | GPT-6.2 Astra |
| DTBench | Not measured | 97.6% | Only GPT-6.2 Astra measured |
| LMCA | Not measured | 62.1% | Only GPT-6.2 Astra measured |
| Furniture assembly | Not measured | 89.2% | Only GPT-6.2 Astra measured |
| LMArena Text | Not measured | 1413 | Only GPT-6.2 Astra measured |
| LMArena Text: instruction following | Not measured | 1420 | Only GPT-6.2 Astra measured |
| LMArena Text: creative writing | Not measured | 1421 | Only GPT-6.2 Astra measured |
| LMArena Text: English | Not measured | 1420 | Only GPT-6.2 Astra measured |
| LMArena Text: non-English | Not measured | 1402 | Only GPT-6.2 Astra measured |
| LMArena Text: Chinese | Not measured | 1433 | Only GPT-6.2 Astra measured |
| LMArena Text: Spanish | Not measured | 1398 | Only GPT-6.2 Astra measured |
| LMArena Text: Russian | Not measured | 1419 | Only GPT-6.2 Astra measured |
| LMArena Text: multi-turn | Not measured | 1417 | Only GPT-6.2 Astra measured |
| LMArena Text: longer queries | Not measured | 1432 | Only GPT-6.2 Astra measured |
| LMArena Text: writing and language | Not measured | 1422 | Only GPT-6.2 Astra measured |
| LMArena Text: entertainment and media | Not measured | 1401 | Only GPT-6.2 Astra measured |
| MultiChallenge | Not measured | 73.2% | Only GPT-6.2 Astra measured |
| Neither model has a result on the other 31 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GLM 5.4 | 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.4 costs less
Repository review
50K input + 3K output tokens
GLM 5.4 costs less
Agent loop
200K input + 10K output tokens
GLM 5.4 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.4 | OpenAI GPT-6.2 Astra |
|---|---|---|
| Maker | Z.ai | OpenAI |
| Weights | Open weights | No public weights listed |
| Released | December 2, 2026 | November 17, 2026 |
| Context window | 1.05M | 1.05M |
| Input $/Mtok | $1.40 | $8.00 |
| Output $/Mtok | $4.40 | $40.00 |
| Coding index | 72.7 | 87.1 |
| Independent measurements behind it | 2 | 4 |
| Cost per solved task | Not computable | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GLM 5.4 better than GPT-6.2 Astra for coding?
Pick GPT-6.2 Astra for coding: it scores 87.1 on the Vibe Coding Index against 72.7 for GLM 5.4. Pick GLM 5.4 for output tokens 9.1x cheaper ($4.40 vs $40.00 per million).
Which is cheaper, GLM 5.4 or GPT-6.2 Astra?
GLM 5.4 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 neither of them.
Which has the bigger context window, GLM 5.4 or GPT-6.2 Astra?
GPT-6.2 Astra, with 1.05M tokens against 1.05M.
How many benchmarks is the GLM 5.4 vs GPT-6.2 Astra comparison based on?
10 benchmarks have a result for both models as of December 3, 2026. GLM 5.4's coding index rests on 2 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.