Enter opens the highlighted result. Esc closes.

GLM 5 vs GPT-6.2 Astra

GPT-6.2 Astra leads GLM 5 on coding, 87.0 to 41.6 on the Vibe Coding Index, and GLM 5 costs 12.5x less per output token ($3.20 vs $40.00 per million). Updated November 22, 2026; 36 benchmarks have a result for both.

GLM 5Z.ai
Coding
41.6
Overall
57.9
Output $/M
$3.20
15
GPT-6.2 AstraOpenAI
Coding
87.0
Overall
86.4
Output $/M
$40.00
21
vs boards won of 36 shared

GLM 5 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 41.6 for GLM 5.

Pick GLM 5 for output tokens 12.5x cheaper ($3.20 vs $40.00 per million) and work measured by LMArena Text: coding or LMArena Text: software and IT, where it leads.

Shared results
36
GLM 5 only
44
GPT-6.2 Astra only
40
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.

At a glance

Coding index
GLM 5 41.6 from 3 benchmarks, GPT-6.2 Astra 87.0 from 4 benchmarks.
Widest category
Math, 47.6 points apart on average over 2 shared benchmarks.
Widest single gap
ARC-AGI-2: GLM 5 4.9% against GPT-6.2 Astra 95.8%, 91.0 points apart on a 0 to 100 scale.
Output price
GLM 5 $3.20 against GPT-6.2 Astra $40.00 per million output tokens, 12.5x apart.
Context window
GLM 5 takes 205K 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.

Boards won, where both have a result
CategoryGLM 5BarsGPT-6.2 AstraTies
Coding24
Intelligence01
Agentic work03
Reasoning24
Math02
Knowledge30
Web design05
General82
All shared boards1521
CodingLike-for-likeSix of these boards feed the Vibe Coding Index24
Coding benchmarks for GLM 5 and GPT-6.2 Astra
BenchmarkGLM 5GPT-6.2 AstraLeader
SWE-bench Verified72.8%Not measuredOnly GLM 5 measured
SWE-bench Multilingual69.7%Not measuredOnly GLM 5 measured
LiveBench codingNot measured91.9%Only GPT-6.2 Astra measured
LMArena WebDev14351766GPT-6.2 Astra
LiveCodeBench (Vals AI)81.9%Not measuredOnly GLM 5 measured
SWE-bench Verified (Vals AI)71.4%Not measuredOnly GLM 5 measured
Terminal-Bench 4 (Vals AI)Not measured63.1%Only GPT-6.2 Astra measured
Vibe Code Bench (Vals AI)23.4%89.9%GPT-6.2 Astra
Terminal-Bench Hard (Artificial Analysis run)43.2%Not measuredOnly GLM 5 measured
Terminal-Bench 4.0 (Artificial Analysis run)Not measured64.1%Only GPT-6.2 Astra measured
FrontierCode 2.0Not measured49.0%Only GPT-6.2 Astra measured
Terminal-Bench52.4%Not measuredOnly GLM 5 measured
WeirdML48.2%Not measuredOnly GLM 5 measured
MirrorCodeNot measured67.8%Only GPT-6.2 Astra measured
ALE-Bench765.6Not measuredOnly GLM 5 measured
LMArena Text: coding14621450GLM 5
LMArena Text: software and IT14601443GLM 5
LMArena WebDev: React14231770GPT-6.2 Astra
LMArena WebDev: HTML14491854GPT-6.2 Astra
SWE Atlas: Codebase QnA20.5%Not measuredOnly GLM 5 measured
SWE Atlas: Refactoring24.2%Not measuredOnly GLM 5 measured
SWE Atlas: Test Writing28.7%Not measuredOnly GLM 5 measured
GameBench 2Not measured97.2Only GPT-6.2 Astra measured
Terminal-Bench 2.052.4%Not measuredOnly GLM 5 measured
Neither model has a result on the other 28 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for GLM 5 and GPT-6.2 Astra
BenchmarkGLM 5GPT-6.2 AstraLeader
AA Intelligence IndexNot measured62.1Only GPT-6.2 Astra measured
Epoch Capabilities Index146.5172.8GPT-6.2 Astra
Agentic workLike-for-likePublic boards, shown as published, kept out of the index03
Agentic work benchmarks for GLM 5 and GPT-6.2 Astra
BenchmarkGLM 5GPT-6.2 AstraLeader
Design Arena: agents building web appsNot measured1334Only GPT-6.2 Astra measured
Design Arena: agents building full-stack apps11001351GPT-6.2 Astra
Design Arena: agents building mobile apps11291305GPT-6.2 Astra
Design Arena: agents building Android apps11341257GPT-6.2 Astra
Design Arena: agents building Godot games1144Not measuredOnly GLM 5 measured
Design Arena: HTML slides1049Not measuredOnly GLM 5 measured
Design Arena: spreadsheetsNot measured1278Only GPT-6.2 Astra measured
LiveBench researchNot measured91.5%Only GPT-6.2 Astra measured
LiveBench browserNot measured93.0%Only GPT-6.2 Astra measured
LiveBench long agenticNot measured70.8%Only GPT-6.2 Astra measured
Tax Agent Bench (Vals AI)Not measured21.8%Only GPT-6.2 Astra measured
Legal Research Bench (Vals AI)Not measured42.8%Only GPT-6.2 Astra measured
Harvey's Legal Agent Benchmark (Vals AI)Not measured16.3%Only GPT-6.2 Astra measured
BioMysteryBench (Vals AI)Not measured80.7%Only GPT-6.2 Astra measured
Terminal-Bench-Science (Vals AI)Not measured71.4%Only GPT-6.2 Astra measured
Vals Science IndexNot measured68.4%Only GPT-6.2 Astra measured
Robo-bench (Vals AI)Not measured32.7%Only GPT-6.2 Astra measured
τ²-Bench Telecom98.2%Not measuredOnly GLM 5 measured
APEX-AgentsNot measured72.2%Only GPT-6.2 Astra measured
SpireClimbNot measured41.3%Only GPT-6.2 Astra measured
Vending-Bench 2$4,432Not measuredOnly GLM 5 measured
LMArena SearchNot measured1191Only GPT-6.2 Astra measured
Neither model has a result on the other 22 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index24
Reasoning benchmarks for GLM 5 and GPT-6.2 Astra
BenchmarkGLM 5GPT-6.2 AstraLeader
GPQA Diamond83.3%Not measuredOnly GLM 5 measured
LiveBench reasoningNot measured91.6%Only GPT-6.2 Astra measured
MysteryMechanism (Vals AI)Not measured53.1%Only GPT-6.2 Astra measured
GPQA Diamond (Artificial Analysis run)82.0%Not measuredOnly GLM 5 measured
Humanity's Last Exam (Artificial Analysis run)29.3%Not measuredOnly GLM 5 measured
HLE-Diamond (Artificial Analysis run)Not measured72.2%Only GPT-6.2 Astra measured
CritPt v2, hard subset (Artificial Analysis run)Not measured71.5%Only GPT-6.2 Astra measured
GPQA Diamond (Epoch AI run)87.8%96.8%GPT-6.2 Astra
ARC-AGI44.7%98.5%GPT-6.2 Astra
ARC-AGI-24.9%95.8%GPT-6.2 Astra
SimpleBench53.2%77.3%GPT-6.2 Astra
Chess puzzlesNot measured78.0%Only GPT-6.2 Astra measured
Mystery game puzzlesNot measured95.0%Only GPT-6.2 Astra measured
EBR-benchNot measured92.4%Only GPT-6.2 Astra measured
LMArena Text: hard prompts14521425GLM 5
LMArena Text: expert1454Not measuredOnly GLM 5 measured
LMArena Text: hard prompts in English14601426GLM 5
Kagi LLM Benchmark75.0%Not measuredOnly GLM 5 measured
Humanity's Last Exam (Scale run)Not measured66.9%Only GPT-6.2 Astra measured
GoBenchNot measured2493Only 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 index02
Math benchmarks for GLM 5 and GPT-6.2 Astra
BenchmarkGLM 5GPT-6.2 AstraLeader
AIME91.7%Not measuredOnly GLM 5 measured
OTIS Mock AIME80.0%100.0%GPT-6.2 Astra
FrontierMath, tiers 1 to 3Not measured92.6%Only GPT-6.2 Astra measured
FrontierMath, tier 4Not measured100.0%Only GPT-6.2 Astra measured
LMArena Text: math1439Not measuredOnly GLM 5 measured
LMArena Text: mathematical work1449Not measuredOnly GLM 5 measured
MathArena17.6%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 index30
Knowledge benchmarks for GLM 5 and GPT-6.2 Astra
BenchmarkGLM 5GPT-6.2 AstraLeader
MMLU Pro86.0%Not measuredOnly GLM 5 measured
LegalBench (Vals AI)84.1%Not measuredOnly GLM 5 measured
CaseLaw (Vals AI)52.5%Not measuredOnly GLM 5 measured
CorpFin (Vals AI)62.9%Not measuredOnly GLM 5 measured
TaxEval (Vals AI)70.0%Not measuredOnly GLM 5 measured
MedQA (Vals AI)94.3%Not measuredOnly GLM 5 measured
AA-OmniscienceNot measured50.0Only GPT-6.2 Astra measured
SimpleQA VerifiedNot measured78.5%Only GPT-6.2 Astra measured
LMArena Text: science14601415GLM 5
LMArena Text: medicine and healthcare1454Not measuredOnly GLM 5 measured
LMArena Text: legal and government14531415GLM 5
LMArena Text: business and finance14311413GLM 5
Neither model has a result on the other 9 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index05
Web design benchmarks for GLM 5 and GPT-6.2 Astra
BenchmarkGLM 5GPT-6.2 AstraLeader
Design Arena: websites12351333GPT-6.2 Astra
Design Arena: UI components12141341GPT-6.2 Astra
Design Arena: game dev12071501GPT-6.2 Astra
Design Arena: data viz1223Not measuredOnly GLM 5 measured
Design Arena: 3D11961430GPT-6.2 Astra
Design Arena: all code categories12281389GPT-6.2 Astra
Design Arena: SVG1152Not measuredOnly GLM 5 measured
Design Arena: ASCII art1132Not measuredOnly GLM 5 measured
LiveBench designNot measured82.8%Only GPT-6.2 Astra measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index82
General benchmarks for GLM 5 and GPT-6.2 Astra
BenchmarkGLM 5GPT-6.2 AstraLeader
Vals IndexNot measured67.7%Only GPT-6.2 Astra measured
LiveBench data analysisNot measured84.1%Only GPT-6.2 Astra measured
IFBench72.3%Not measuredOnly GLM 5 measured
Long context reasoning (AA-LCR)75.7%Not measuredOnly GLM 5 measured
CL-bench18.7%Not measuredOnly GLM 5 measured
Furniture assemblyNot measured89.2%Only GPT-6.2 Astra measured
LMArena Text14461414GLM 5
LMArena Text: instruction following14281423GLM 5
LMArena Text: creative writing14371417GLM 5
LMArena Text: English14571417GLM 5
LMArena Text: non-English14301404GLM 5
LMArena Text: Chinese1512Not measuredOnly GLM 5 measured
LMArena Text: German1448Not measuredOnly GLM 5 measured
LMArena Text: Japanese1415Not measuredOnly GLM 5 measured
LMArena Text: Korean1420Not measuredOnly GLM 5 measured
LMArena Text: French1457Not measuredOnly GLM 5 measured
LMArena Text: Spanish1454Not measuredOnly GLM 5 measured
LMArena Text: Russian14371437GPT-6.2 Astra
LMArena Text: Polish1435Not measuredOnly GLM 5 measured
LMArena Text: multi-turn14561425GLM 5
LMArena Text: longer queries14461431GLM 5
LMArena Text: writing and language14361440GPT-6.2 Astra
LMArena Text: entertainment and media14261413GLM 5
MultiChallengeNot measured73.2%Only GPT-6.2 Astra measured
Neither model has a result on the other 25 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GLM 5 and GPT-6.2 Astra
BenchmarkGLM 5GPT-6.2 AstraLeader
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$0.0026Fits in one request
GPT-6.2 Astra$0.028Fits in one request

GLM 5 costs less

Repository review

50K input + 3K output tokens

GLM 5$0.060Fits in one request
GPT-6.2 Astra$0.520Fits in one request

GLM 5 costs less

Agent loop

200K input + 10K output tokens

GLM 5$0.232Exceeds the context window
GPT-6.2 Astra$2.00Fits in one request

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.

Specifications of GLM 5 and GPT-6.2 Astra
SpecificationZ.ai GLM 5OpenAI GPT-6.2 Astra
MakerZ.aiOpenAI
WeightsOpen weightsNo public weights listed
ReleasedFebruary 11, 2026November 17, 2026
Context window205K1.05M
Input $/Mtok$1.00$8.00
Output $/Mtok$3.20$40.00
Coding index41.687.0
Independent measurements behind it34
Cost per solved task$0.63Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 5 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 41.6 for GLM 5. Pick GLM 5 for output tokens 12.5x cheaper ($3.20 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 or GPT-6.2 Astra?

GLM 5 costs $1.00 per million input tokens and $3.20 per million output tokens; GPT-6.2 Astra costs $8.00 and $40.00. Cost per solved task is known for GLM 5 only.

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

GPT-6.2 Astra, with 1.05M tokens against 205K.

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

36 benchmarks have a result for both models as of November 22, 2026. GLM 5's coding index rests on 3 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.

Compare next

Embed this comparison on your site

Free under CC BY 4.0, while the source link stays visible. Preview the frame · Terms and other embeds

<iframe src="https://llmbenchmark.ai/embed/compare/glm-5-vs-gpt-6-2-astra" title="GLM 5 vs GPT-6.2 Astra, LLMBenchmark.ai" width="100%" height="360" style="border:0;max-width:100%" loading="lazy"></iframe>
<p style="font:13px/1.4 sans-serif;margin:6px 0 0">Source: <a href="https://llmbenchmark.ai/compare/glm-5-vs-gpt-6-2-astra">LLMBenchmark.ai, GLM 5 vs GPT-6.2 Astra</a></p>