Enter opens the highlighted result. Esc closes.

GLM 5.1 vs GPT-6.2 Astra

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

GLM 5.1Z.ai
Coding
49.2
Overall
61.9
Output $/M
$4.40
18
GPT-6.2 AstraOpenAI
Coding
87.0
Overall
86.4
Output $/M
$40.00
24
vs boards won of 42 shared

GLM 5.1 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 49.2 for GLM 5.1.

Pick GLM 5.1 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
42
GLM 5.1 only
49
GPT-6.2 Astra only
34
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.1 49.2 from 3 benchmarks, GPT-6.2 Astra 87.0 from 4 benchmarks.
Widest category
Math, 45.8 points apart on average over 3 shared benchmarks.
Widest single gap
MathArena: GLM 5.1 17.8% against GPT-6.2 Astra 92.9%, 75.0 points apart on a 0 to 100 scale.
Output price
GLM 5.1 $4.40 against GPT-6.2 Astra $40.00 per million output tokens, 9.1x apart.
Context window
GLM 5.1 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 5.1BarsGPT-6.2 AstraTies
Coding25
Intelligence01
Agentic work16
Reasoning23
Math03
Knowledge31
Web design05
General100
All shared boards1824
CodingLike-for-likeSix of these boards feed the Vibe Coding Index25
Coding benchmarks for GLM 5.1 and GPT-6.2 Astra
BenchmarkGLM 5.1GPT-6.2 AstraLeader
LiveBench codingNot measured91.9%Only GPT-6.2 Astra measured
LMArena WebDev15081766GPT-6.2 Astra
LiveCodeBench (Vals AI)81.4%Not measuredOnly GLM 5.1 measured
SWE-bench Verified (Vals AI)76.4%Not measuredOnly GLM 5.1 measured
Terminal-Bench 4 (Vals AI)Not measured63.1%Only GPT-6.2 Astra measured
Vibe Code Bench (Vals AI)31.5%89.9%GPT-6.2 Astra
Code migration (Vals AI)25.8%Not measuredOnly GLM 5.1 measured
ProgramBench (Vals AI)0.0%Not measuredOnly GLM 5.1 measured
Terminal-Bench 2.1 (Vals AI)56.9%Not measuredOnly GLM 5.1 measured
SciCode44.8%Not measuredOnly GLM 5.1 measured
Terminal-Bench Hard (Artificial Analysis run)43.2%Not measuredOnly GLM 5.1 measured
Terminal-Bench 4.0 (Artificial Analysis run)2.0%64.1%GPT-6.2 Astra
FrontierCode 2.0Not measured49.0%Only GPT-6.2 Astra measured
WeirdML57.1%Not measuredOnly GLM 5.1 measured
MirrorCodeNot measured67.8%Only GPT-6.2 Astra measured
ALE-Bench887.1Not measuredOnly GLM 5.1 measured
LMArena Text: coding14851450GLM 5.1
LMArena Text: software and IT14841443GLM 5.1
LMArena WebDev: React15041770GPT-6.2 Astra
LMArena WebDev: HTML15111854GPT-6.2 Astra
GameBench 2Not measured97.2Only GPT-6.2 Astra measured
Terminal-Bench 2.158.7%Not measuredOnly GLM 5.1 measured
Neither model has a result on the other 30 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for GLM 5.1 and GPT-6.2 Astra
BenchmarkGLM 5.1GPT-6.2 AstraLeader
AA Intelligence IndexNot measured62.1Only GPT-6.2 Astra measured
Epoch Capabilities Index150.7172.8GPT-6.2 Astra
Agentic workLike-for-likePublic boards, shown as published, kept out of the index16
Agentic work benchmarks for GLM 5.1 and GPT-6.2 Astra
BenchmarkGLM 5.1GPT-6.2 AstraLeader
Design Arena: agents building web apps11441334GPT-6.2 Astra
Design Arena: agents building full-stack apps11451351GPT-6.2 Astra
Design Arena: agents building mobile apps11541305GPT-6.2 Astra
Design Arena: agents building Android apps11731257GPT-6.2 Astra
Design Arena: agents building Godot games1025Not measuredOnly GLM 5.1 measured
Design Arena: agents building games1109Not measuredOnly GLM 5.1 measured
Design Arena: HTML slides1072Not measuredOnly GLM 5.1 measured
Design Arena: PowerPoint slides1156Not measuredOnly GLM 5.1 measured
Design Arena: spreadsheets13151278GLM 5.1
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
Finance Agent (Vals AI)44.8%Not measuredOnly GLM 5.1 measured
Tax Agent Bench (Vals AI)Not measured21.8%Only GPT-6.2 Astra measured
Legal Research Bench (Vals AI)27.9%42.8%GPT-6.2 Astra
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 Telecom97.7%Not measuredOnly GLM 5.1 measured
APEX-Agents40.9%72.2%GPT-6.2 Astra
SpireClimbNot measured41.3%Only GPT-6.2 Astra measured
Vending-Bench 2$5,634Not measuredOnly GLM 5.1 measured
LMArena SearchNot measured1191Only GPT-6.2 Astra measured
MCP Atlas75.6%Not measuredOnly GLM 5.1 measured
Neither model has a result on the other 18 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index23
Reasoning benchmarks for GLM 5.1 and GPT-6.2 Astra
BenchmarkGLM 5.1GPT-6.2 AstraLeader
GPQA Diamond84.5%Not measuredOnly GLM 5.1 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)86.8%Not measuredOnly GLM 5.1 measured
Humanity's Last Exam (Artificial Analysis run)30.1%Not measuredOnly GLM 5.1 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)89.9%96.8%GPT-6.2 Astra
ARC-AGINot measured98.5%Only GPT-6.2 Astra measured
ARC-AGI-2Not measured95.8%Only GPT-6.2 Astra measured
SimpleBench55.1%77.3%GPT-6.2 Astra
Chess puzzles20.0%78.0%GPT-6.2 Astra
Mystery game puzzlesNot measured95.0%Only GPT-6.2 Astra measured
EBR-benchNot measured92.4%Only GPT-6.2 Astra measured
LMArena Text: hard prompts14731425GLM 5.1
LMArena Text: expert1477Not measuredOnly GLM 5.1 measured
LMArena Text: hard prompts in English14821426GLM 5.1
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 7 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index03
Math benchmarks for GLM 5.1 and GPT-6.2 Astra
BenchmarkGLM 5.1GPT-6.2 AstraLeader
AIME91.9%Not measuredOnly GLM 5.1 measured
OTIS Mock AIME93.3%100.0%GPT-6.2 Astra
FrontierMath, tiers 1 to 336.8%92.6%GPT-6.2 Astra
FrontierMath, tier 4Not measured100.0%Only GPT-6.2 Astra measured
ProofBench22.2%Not measuredOnly GLM 5.1 measured
LMArena Text: math1472Not measuredOnly GLM 5.1 measured
LMArena Text: mathematical work1471Not measuredOnly GLM 5.1 measured
MathArena17.8%92.9%GPT-6.2 Astra
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index31
Knowledge benchmarks for GLM 5.1 and GPT-6.2 Astra
BenchmarkGLM 5.1GPT-6.2 AstraLeader
MMLU Pro86.9%Not measuredOnly GLM 5.1 measured
LegalBench (Vals AI)84.4%Not measuredOnly GLM 5.1 measured
CaseLaw (Vals AI)51.5%Not measuredOnly GLM 5.1 measured
CorpFin (Vals AI)64.5%Not measuredOnly GLM 5.1 measured
TaxEval (Vals AI)71.2%Not measuredOnly GLM 5.1 measured
MedCode (Vals AI)41.6%Not measuredOnly GLM 5.1 measured
AA-OmniscienceNot measured50.0Only GPT-6.2 Astra measured
SimpleQA Verified34.0%78.5%GPT-6.2 Astra
LMArena Text: science14791415GLM 5.1
LMArena Text: medicine and healthcare1474Not measuredOnly GLM 5.1 measured
LMArena Text: legal and government14661415GLM 5.1
LMArena Text: business and finance14541413GLM 5.1
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.1 and GPT-6.2 Astra
BenchmarkGLM 5.1GPT-6.2 AstraLeader
Design Arena: websites12901333GPT-6.2 Astra
Design Arena: UI components12921341GPT-6.2 Astra
Design Arena: game dev12391501GPT-6.2 Astra
Design Arena: data viz1366Not measuredOnly GLM 5.1 measured
Design Arena: 3D13361430GPT-6.2 Astra
Design Arena: all code categories12521389GPT-6.2 Astra
Design Arena: SVG1202Not measuredOnly GLM 5.1 measured
Design Arena: ASCII art1130Not measuredOnly GLM 5.1 measured
LiveBench designNot measured82.8%Only GPT-6.2 Astra measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index100
General benchmarks for GLM 5.1 and GPT-6.2 Astra
BenchmarkGLM 5.1GPT-6.2 AstraLeader
Vals IndexNot measured67.7%Only GPT-6.2 Astra measured
LiveBench data analysisNot measured84.1%Only GPT-6.2 Astra measured
Public Benefits Bench (Vals AI)61.8%Not measuredOnly GLM 5.1 measured
MedScribe (Vals AI)72.3%Not measuredOnly GLM 5.1 measured
IFBench76.3%Not measuredOnly GLM 5.1 measured
Long context reasoning (AA-LCR)73.7%Not measuredOnly GLM 5.1 measured
GDPval-AA1125Not measuredOnly GLM 5.1 measured
Furniture assemblyNot measured89.2%Only GPT-6.2 Astra measured
ExploitBench18.1%Not measuredOnly GLM 5.1 measured
LMArena Text14631414GLM 5.1
LMArena Text: instruction following14521423GLM 5.1
LMArena Text: creative writing14531417GLM 5.1
LMArena Text: English14761417GLM 5.1
LMArena Text: non-English14481404GLM 5.1
LMArena Text: Chinese1517Not measuredOnly GLM 5.1 measured
LMArena Text: German1466Not measuredOnly GLM 5.1 measured
LMArena Text: Japanese1439Not measuredOnly GLM 5.1 measured
LMArena Text: Korean1425Not measuredOnly GLM 5.1 measured
LMArena Text: French1470Not measuredOnly GLM 5.1 measured
LMArena Text: Spanish1469Not measuredOnly GLM 5.1 measured
LMArena Text: Russian14541437GLM 5.1
LMArena Text: Polish1452Not measuredOnly GLM 5.1 measured
LMArena Text: multi-turn14721425GLM 5.1
LMArena Text: longer queries14671431GLM 5.1
LMArena Text: writing and language14541440GLM 5.1
LMArena Text: entertainment and media14431413GLM 5.1
MultiChallengeNot measured73.2%Only GPT-6.2 Astra measured
Neither model has a result on the other 22 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GLM 5.1 and GPT-6.2 Astra
BenchmarkGLM 5.1GPT-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.1$0.0036Fits in one request
GPT-6.2 Astra$0.028Fits in one request

GLM 5.1 costs less

Repository review

50K input + 3K output tokens

GLM 5.1$0.083Fits in one request
GPT-6.2 Astra$0.520Fits in one request

GLM 5.1 costs less

Agent loop

200K input + 10K output tokens

GLM 5.1$0.324Exceeds the context window
GPT-6.2 Astra$2.00Fits in one request

GLM 5.1 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.1 and GPT-6.2 Astra
SpecificationZ.ai GLM 5.1OpenAI GPT-6.2 Astra
MakerZ.aiOpenAI
WeightsOpen weightsNo public weights listed
ReleasedApril 7, 2026November 17, 2026
Context window205K1.05M
Input $/Mtok$1.40$8.00
Output $/Mtok$4.40$40.00
Coding index49.287.0
Independent measurements behind it34
Cost per solved task$0.60Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 5.1 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 49.2 for GLM 5.1. Pick GLM 5.1 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.1 or GPT-6.2 Astra?

GLM 5.1 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.1 only.

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

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

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

42 benchmarks have a result for both models as of November 22, 2026. GLM 5.1'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-1-vs-gpt-6-2-astra" title="GLM 5.1 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-1-vs-gpt-6-2-astra">LLMBenchmark.ai, GLM 5.1 vs GPT-6.2 Astra</a></p>