Enter opens the highlighted result. Esc closes.

GLM 4.7 vs GPT-6.2 Astra

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

GLM 4.7Z.ai
Coding
55.1
Overall
62.3
Output $/M
$2.20
12
GPT-6.2 AstraOpenAI
Coding
87.0
Overall
86.4
Output $/M
$40.00
22
vs boards won of 34 shared

GLM 4.7 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 55.1 for GLM 4.7.

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

Shared results
34
GLM 4.7 only
47
GPT-6.2 Astra only
42
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 4.7 55.1 from 2 benchmarks, GPT-6.2 Astra 87.0 from 4 benchmarks.
Widest category
Intelligence, 36.8 points apart on average over 1 shared benchmark.
Widest single gap
Chess puzzles: GLM 4.7 21.0% against GPT-6.2 Astra 78.0%, 57.0 points apart on a 0 to 100 scale.
Output price
GLM 4.7 $2.20 against GPT-6.2 Astra $40.00 per million output tokens, 18.2x apart.
Context window
GLM 4.7 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 4.7BarsGPT-6.2 AstraTies
Coding23
Intelligence01
Agentic work03
Reasoning23
Math01
Knowledge31
Web design05
General55
All shared boards1222
CodingLike-for-likeSix of these boards feed the Vibe Coding Index23
Coding benchmarks for GLM 4.7 and GPT-6.2 Astra
BenchmarkGLM 4.7GPT-6.2 AstraLeader
LiveBench codingNot measured91.9%Only GPT-6.2 Astra measured
LMArena WebDev14361766GPT-6.2 Astra
LiveCodeBench (Vals AI)82.2%Not measuredOnly GLM 4.7 measured
SWE-bench Verified (Vals AI)69.4%Not measuredOnly GLM 4.7 measured
Terminal-Bench 4 (Vals AI)Not measured63.1%Only GPT-6.2 Astra measured
Vibe Code Bench (Vals AI)Not measured89.9%Only GPT-6.2 Astra measured
LiveCodeBench (Artificial Analysis run)89.4%Not measuredOnly GLM 4.7 measured
Terminal-Bench Hard (Artificial Analysis run)31.8%Not measuredOnly GLM 4.7 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-Bench33.4%Not measuredOnly GLM 4.7 measured
MirrorCodeNot measured67.8%Only GPT-6.2 Astra measured
ALE-Bench399.5Not measuredOnly GLM 4.7 measured
LMArena Text: coding14541450GLM 4.7
LMArena Text: software and IT14531443GLM 4.7
LMArena WebDev: React14211770GPT-6.2 Astra
LMArena WebDev: HTML14471854GPT-6.2 Astra
GameBench 2Not measured97.2Only GPT-6.2 Astra measured
Terminal-Bench 2.033.4%Not measuredOnly GLM 4.7 measured
Neither model has a result on the other 33 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for GLM 4.7 and GPT-6.2 Astra
BenchmarkGLM 4.7GPT-6.2 AstraLeader
AA Intelligence IndexNot measured62.1Only GPT-6.2 Astra measured
Epoch Capabilities Index143.3172.8GPT-6.2 Astra
Agentic workLike-for-likePublic boards, shown as published, kept out of the index03
Agentic work benchmarks for GLM 4.7 and GPT-6.2 Astra
BenchmarkGLM 4.7GPT-6.2 AstraLeader
Design Arena: agents building web appsNot measured1334Only GPT-6.2 Astra measured
Design Arena: agents building full-stack apps10271351GPT-6.2 Astra
Design Arena: agents building mobile apps10971305GPT-6.2 Astra
Design Arena: agents building Android apps10951257GPT-6.2 Astra
Design Arena: agents building Godot games1058Not measuredOnly GLM 4.7 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 Telecom95.9%Not measuredOnly GLM 4.7 measured
APEX-AgentsNot measured72.2%Only GPT-6.2 Astra measured
SpireClimbNot measured41.3%Only GPT-6.2 Astra measured
Vending-Bench 2$2,377Not measuredOnly GLM 4.7 measured
LMArena SearchNot measured1191Only GPT-6.2 Astra measured
BrowseComp-Plus64.7%Not measuredOnly GLM 4.7 measured
MCP Atlas58.1%Not measuredOnly GLM 4.7 measured
Neither model has a result on the other 21 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index23
Reasoning benchmarks for GLM 4.7 and GPT-6.2 Astra
BenchmarkGLM 4.7GPT-6.2 AstraLeader
GPQA Diamond80.0%Not measuredOnly GLM 4.7 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)85.9%Not measuredOnly GLM 4.7 measured
Humanity's Last Exam (Artificial Analysis run)27.4%Not measuredOnly GLM 4.7 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)83.3%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
SimpleBench47.7%77.3%GPT-6.2 Astra
Chess puzzles21.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 prompts14431425GLM 4.7
LMArena Text: expert1424Not measuredOnly GLM 4.7 measured
LMArena Text: hard prompts in English14521426GLM 4.7
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 index01
Math benchmarks for GLM 4.7 and GPT-6.2 Astra
BenchmarkGLM 4.7GPT-6.2 AstraLeader
AIME93.3%Not measuredOnly GLM 4.7 measured
MGSM (Vals AI)88.2%Not measuredOnly GLM 4.7 measured
AIME 2025 (Artificial Analysis run)95.0%Not measuredOnly GLM 4.7 measured
OTIS Mock AIME83.3%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
ProofBench6.0%Not measuredOnly GLM 4.7 measured
LMArena Text: math1423Not measuredOnly GLM 4.7 measured
LMArena Text: mathematical work1411Not measuredOnly GLM 4.7 measured
MathArenaNot measured92.9%Only GPT-6.2 Astra measured
Neither model has a result on the other 4 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index31
Knowledge benchmarks for GLM 4.7 and GPT-6.2 Astra
BenchmarkGLM 4.7GPT-6.2 AstraLeader
MMLU Pro82.7%Not measuredOnly GLM 4.7 measured
LegalBench (Vals AI)83.4%Not measuredOnly GLM 4.7 measured
CaseLaw (Vals AI)54.9%Not measuredOnly GLM 4.7 measured
CorpFin (Vals AI)46.4%Not measuredOnly GLM 4.7 measured
TaxEval (Vals AI)68.8%Not measuredOnly GLM 4.7 measured
MedQA (Vals AI)93.7%Not measuredOnly GLM 4.7 measured
MedCode (Vals AI)32.8%Not measuredOnly GLM 4.7 measured
MMLU Pro (Artificial Analysis run)85.6%Not measuredOnly GLM 4.7 measured
AA-OmniscienceNot measured50.0Only GPT-6.2 Astra measured
SimpleQA Verified32.2%78.5%GPT-6.2 Astra
LMArena Text: science14571415GLM 4.7
LMArena Text: medicine and healthcare1469Not measuredOnly GLM 4.7 measured
LMArena Text: legal and government14451415GLM 4.7
LMArena Text: business and finance14301413GLM 4.7
Neither model has a result on the other 7 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index05
Web design benchmarks for GLM 4.7 and GPT-6.2 Astra
BenchmarkGLM 4.7GPT-6.2 AstraLeader
Design Arena: websites12131333GPT-6.2 Astra
Design Arena: UI components11831341GPT-6.2 Astra
Design Arena: game dev11601501GPT-6.2 Astra
Design Arena: data viz1190Not measuredOnly GLM 4.7 measured
Design Arena: 3D11581430GPT-6.2 Astra
Design Arena: all code categories11981389GPT-6.2 Astra
Design Arena: SVG1127Not measuredOnly GLM 4.7 measured
Design Arena: ASCII art1151Not measuredOnly GLM 4.7 measured
LiveBench designNot measured82.8%Only GPT-6.2 Astra measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index55
General benchmarks for GLM 4.7 and GPT-6.2 Astra
BenchmarkGLM 4.7GPT-6.2 AstraLeader
Vals IndexNot measured67.7%Only GPT-6.2 Astra measured
LiveBench data analysisNot measured84.1%Only GPT-6.2 Astra measured
MedScribe (Vals AI)68.6%Not measuredOnly GLM 4.7 measured
IFBench67.9%Not measuredOnly GLM 4.7 measured
Long context reasoning (AA-LCR)71.0%Not measuredOnly GLM 4.7 measured
GDPval-AA1021Not measuredOnly GLM 4.7 measured
CL-bench15.9%Not measuredOnly GLM 4.7 measured
Furniture assemblyNot measured89.2%Only GPT-6.2 Astra measured
CL-bench Life10.9%Not measuredOnly GLM 4.7 measured
LMArena Text14351414GLM 4.7
LMArena Text: instruction following14121423GPT-6.2 Astra
LMArena Text: creative writing14011417GPT-6.2 Astra
LMArena Text: English14531417GLM 4.7
LMArena Text: non-English14171404GLM 4.7
LMArena Text: Chinese1494Not measuredOnly GLM 4.7 measured
LMArena Text: German1426Not measuredOnly GLM 4.7 measured
LMArena Text: Japanese1439Not measuredOnly GLM 4.7 measured
LMArena Text: Korean1398Not measuredOnly GLM 4.7 measured
LMArena Text: French1430Not measuredOnly GLM 4.7 measured
LMArena Text: Spanish1434Not measuredOnly GLM 4.7 measured
LMArena Text: Russian14251437GPT-6.2 Astra
LMArena Text: Polish1435Not measuredOnly GLM 4.7 measured
LMArena Text: multi-turn14461425GLM 4.7
LMArena Text: longer queries14321431GLM 4.7
LMArena Text: writing and language14101440GPT-6.2 Astra
LMArena Text: entertainment and media14001413GPT-6.2 Astra
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 4.7 and GPT-6.2 Astra
BenchmarkGLM 4.7GPT-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 4.7$0.0017Fits in one request
GPT-6.2 Astra$0.028Fits in one request

GLM 4.7 costs less

Repository review

50K input + 3K output tokens

GLM 4.7$0.037Fits in one request
GPT-6.2 Astra$0.520Fits in one request

GLM 4.7 costs less

Agent loop

200K input + 10K output tokens

GLM 4.7$0.142Exceeds the context window
GPT-6.2 Astra$2.00Fits in one request

GLM 4.7 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 4.7 and GPT-6.2 Astra
SpecificationZ.ai GLM 4.7OpenAI GPT-6.2 Astra
MakerZ.aiOpenAI
WeightsOpen weightsNo public weights listed
ReleasedDecember 22, 2025November 17, 2026
Context window205K1.05M
Input $/Mtok$0.60$8.00
Output $/Mtok$2.20$40.00
Coding index55.187.0
Independent measurements behind it24
Cost per solved task$0.29Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 4.7 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 55.1 for GLM 4.7. Pick GLM 4.7 for output tokens 18.2x cheaper ($2.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 4.7 or GPT-6.2 Astra?

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

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

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

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

34 benchmarks have a result for both models as of November 22, 2026. GLM 4.7'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.

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-4-7-vs-gpt-6-2-astra" title="GLM 4.7 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-4-7-vs-gpt-6-2-astra">LLMBenchmark.ai, GLM 4.7 vs GPT-6.2 Astra</a></p>