Enter opens the highlighted result. Esc closes.

GLM 5 vs GPT-6 Astra

GPT-6 Astra leads GLM 5 on coding, 85.1 to 41.7 on the Vibe Coding Index, and GLM 5 costs 15.6x less per output token ($3.20 vs $50.00 per million). Updated October 21, 2026; 55 benchmarks have a result for both.

GLM 5Z.ai
Coding
41.7
Overall
54.3
Output $/M
$3.20
11
GPT-6 AstraOpenAI
Coding
85.1
Overall
83.0
Output $/M
$50.00
44
vs boards won of 55 shared

GLM 5 or GPT-6 Astra: which to pick

Pick GPT-6 Astra for coding: it scores 85.1 on the Vibe Coding Index against 41.7 for GLM 5.

Pick GLM 5 for output tokens 15.6x cheaper ($3.20 vs $50.00 per million) and work measured by LMArena Text: science or LMArena Text: medicine and healthcare, where it leads.

Shared results
55
GLM 5 only
21
GPT-6 Astra only
66
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.7 from 3 benchmarks, GPT-6 Astra 85.1 from 5 benchmarks.
Widest category
Coding, 36.7 points apart on average over 8 shared benchmarks.
Widest single gap
ARC-AGI-2: GLM 5 4.9% against GPT-6 Astra 95.0%, 90.1 points apart on a 0 to 100 scale.
Output price
GLM 5 $3.20 against GPT-6 Astra $50.00 per million output tokens, 15.6x apart.
Context window
GLM 5 takes 205K tokens, GPT-6 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 AstraTies
Coding08
Intelligence02
Agentic work04
Reasoning08
Math03
Knowledge22
Web design08
General99
All shared boards1144
CodingLike-for-likeSix of these boards feed the Vibe Coding Index08
Coding benchmarks for GLM 5 and GPT-6 Astra
BenchmarkGLM 5GPT-6 AstraLeader
SWE-bench Verified72.8%Not measuredOnly GLM 5 measured
SWE-bench Multilingual69.7%Not measuredOnly GLM 5 measured
LiveBench codingNot measured93.7%Only GPT-6 Astra measured
LMArena WebDev14351774GPT-6 Astra
AA Coding IndexNot measured76.9Only GPT-6 Astra measured
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 measured59.6%Only GPT-6 Astra measured
Vibe Code Bench (Vals AI)23.4%89.6%GPT-6 Astra
Code migration (Vals AI)Not measured67.7%Only GPT-6 Astra measured
ProgramBench (Vals AI)Not measured5.5%Only GPT-6 Astra measured
IOI (Vals AI)Not measured100.0%Only GPT-6 Astra measured
Terminal-Bench 2.1 (Vals AI)Not measured87.3%Only GPT-6 Astra measured
SWE-bench Multimodal (Vals AI)Not measured43.3%Only GPT-6 Astra measured
Vibe Code Bench 1-100 (Vals AI)Not measured27.6%Only GPT-6 Astra measured
CyberBench (Vals AI)Not measured41.1%Only GPT-6 Astra measured
SciCodeNot measured56.5%Only GPT-6 Astra measured
Terminal-Bench Hard (Artificial Analysis run)43.2%Not measuredOnly GLM 5 measured
Terminal-Bench52.4%Not measuredOnly GLM 5 measured
FrontierCodeNot measured53.3%Only GPT-6 Astra measured
FrontierSWENot measured65.5%Only GPT-6 Astra measured
GSO-BenchNot measured79.4%Only GPT-6 Astra measured
WeirdML48.2%93.3%GPT-6 Astra
MirrorCodeNot measured46.7%Only GPT-6 Astra measured
ALE-Bench765.62951.3GPT-6 Astra
LMArena Text: coding14611489GPT-6 Astra
LMArena Text: software and IT14601474GPT-6 Astra
LMArena WebDev: React14241798GPT-6 Astra
LMArena WebDev: HTML14501775GPT-6 Astra
LMArena WebDev: from an imageNot measured1726Only GPT-6 Astra measured
SciCodeNot measured12.3%Only GPT-6 Astra measured
Neither model has a result on the other 8 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for GLM 5 and GPT-6 Astra
BenchmarkGLM 5GPT-6 AstraLeader
AA Intelligence Index27.952.7GPT-6 Astra
Epoch Capabilities Index145.8168.8GPT-6 Astra
Agentic workLike-for-likePublic boards, shown as published, kept out of the index04
Agentic work benchmarks for GLM 5 and GPT-6 Astra
BenchmarkGLM 5GPT-6 AstraLeader
AA Agentic IndexNot measured51.0Only GPT-6 Astra measured
Design Arena: agents building web appsNot measured1373Only GPT-6 Astra measured
Design Arena: agents building full-stack apps11231357GPT-6 Astra
Design Arena: agents building mobile apps11361315GPT-6 Astra
Design Arena: agents building Android apps1146Not measuredOnly GLM 5 measured
Design Arena: agents building Godot games11441348GPT-6 Astra
Design Arena: HTML slides1148Not measuredOnly GLM 5 measured
Design Arena: PowerPoint slidesNot measured1243Only GPT-6 Astra measured
Design Arena: spreadsheetsNot measured1361Only GPT-6 Astra measured
LiveBench researchNot measured85.2%Only GPT-6 Astra measured
LiveBench browserNot measured84.0%Only GPT-6 Astra measured
LiveBench long agenticNot measured82.4%Only GPT-6 Astra measured
SREBench (Vals AI)Not measured56.9%Only GPT-6 Astra measured
Finance Agent (Vals AI)Not measured53.5%Only GPT-6 Astra measured
Tax Agent Bench (Vals AI)Not measured20.7%Only GPT-6 Astra measured
Legal Research Bench (Vals AI)Not measured39.4%Only GPT-6 Astra measured
Harvey's Legal Agent Benchmark (Vals AI)Not measured7.1%Only GPT-6 Astra measured
Excel Modeling Benchmark (Vals AI)Not measured71.7%Only GPT-6 Astra measured
BioMysteryBench (Vals AI)Not measured79.3%Only GPT-6 Astra measured
Terminal-Bench-Science (Vals AI)Not measured62.9%Only GPT-6 Astra measured
Vals Science IndexNot measured65.1%Only GPT-6 Astra measured
Time Horizon Index (Vals AI)Not measured90.5%Only GPT-6 Astra measured
CUA-bench (Vals AI)Not measured19.2%Only GPT-6 Astra measured
Robo-bench (Vals AI)Not measured23.3%Only GPT-6 Astra measured
τ²-Bench Telecom98.2%Not measuredOnly GLM 5 measured
APEX-AgentsNot measured64.7%Only GPT-6 Astra measured
Remote Labor IndexNot measured20.8%Only GPT-6 Astra measured
BALROGNot measured68.3%Only GPT-6 Astra measured
SpireClimbNot measured25.7%Only GPT-6 Astra measured
Vending-Bench 2$4,432$15,515GPT-6 Astra
Neither model has a result on the other 11 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index08
Reasoning benchmarks for GLM 5 and GPT-6 Astra
BenchmarkGLM 5GPT-6 AstraLeader
GPQA Diamond83.3%Not measuredOnly GLM 5 measured
LiveBench reasoningNot measured92.7%Only GPT-6 Astra measured
MysteryMechanism (Vals AI)Not measured53.1%Only GPT-6 Astra measured
GPQA Diamond (Artificial Analysis run)82.0%96.3%GPT-6 Astra
Humanity's Last Exam (Artificial Analysis run)29.3%54.7%GPT-6 Astra
GPQA Diamond (Epoch AI run)87.8%95.8%GPT-6 Astra
ARC-AGI44.7%98.5%GPT-6 Astra
ARC-AGI-24.9%95.0%GPT-6 Astra
SimpleBench53.2%Not measuredOnly GLM 5 measured
Chess puzzlesNot measured74.0%Only GPT-6 Astra measured
Mystery game puzzlesNot measured84.0%Only GPT-6 Astra measured
EBR-benchNot measured76.2%Only GPT-6 Astra measured
LMArena Text: hard prompts14521463GPT-6 Astra
LMArena Text: expert14541489GPT-6 Astra
LMArena Text: hard prompts in English14601464GPT-6 Astra
LMArena Vision: diagramsNot measured1297Only GPT-6 Astra measured
LMArena Vision: homeworkNot measured1337Only GPT-6 Astra measured
Kagi LLM Benchmark75.0%Not measuredOnly GLM 5 measured
Neither model has a result on the other 4 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index03
Math benchmarks for GLM 5 and GPT-6 Astra
BenchmarkGLM 5GPT-6 AstraLeader
AIME91.7%Not measuredOnly GLM 5 measured
OTIS Mock AIME80.0%100.0%GPT-6 Astra
FrontierMath, tiers 1 to 3Not measured93.7%Only GPT-6 Astra measured
FrontierMath, tier 4Not measured97.6%Only GPT-6 Astra measured
ProofBenchNot measured99.0%Only GPT-6 Astra measured
LMArena Text: math14401465GPT-6 Astra
LMArena Text: mathematical work14511484GPT-6 Astra
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index22
Knowledge benchmarks for GLM 5 and GPT-6 Astra
BenchmarkGLM 5GPT-6 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
MedCode (Vals AI)Not measured48.5%Only GPT-6 Astra measured
SimpleQA VerifiedNot measured75.6%Only GPT-6 Astra measured
LMArena Text: science14601451GLM 5
LMArena Text: medicine and healthcare14551425GLM 5
LMArena Text: legal and government14531462GPT-6 Astra
LMArena Text: business and finance14301439GPT-6 Astra
FACTS Benchmark SuiteNot measured75.7%Only GPT-6 Astra measured
Neither model has a result on the other 5 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index08
Web design benchmarks for GLM 5 and GPT-6 Astra
BenchmarkGLM 5GPT-6 AstraLeader
Design Arena: websites12471337GPT-6 Astra
Design Arena: UI components12301396GPT-6 Astra
Design Arena: game dev12341475GPT-6 Astra
Design Arena: data viz12281334GPT-6 Astra
Design Arena: 3D12291500GPT-6 Astra
Design Arena: all code categories12461379GPT-6 Astra
Design Arena: SVG11681431GPT-6 Astra
Design Arena: ASCII art11471353GPT-6 Astra
LiveBench designNot measured82.0%Only GPT-6 Astra measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index99
General benchmarks for GLM 5 and GPT-6 Astra
BenchmarkGLM 5GPT-6 AstraLeader
Vals IndexNot measured65.0%Only GPT-6 Astra measured
LiveBench data analysisNot measured83.0%Only GPT-6 Astra measured
SAGE (Vals AI)Not measured46.4%Only GPT-6 Astra measured
MedScribe (Vals AI)Not measured87.9%Only GPT-6 Astra measured
IFBench72.3%Not measuredOnly GLM 5 measured
Long context reasoning (AA-LCR)75.7%80.7%GPT-6 Astra
DTBenchNot measured97.3%Only GPT-6 Astra measured
LMCANot measured64.4%Only GPT-6 Astra measured
CL-bench18.7%Not measuredOnly GLM 5 measured
Furniture assemblyNot measured80.0%Only GPT-6 Astra measured
LMArena Text14461441GLM 5
LMArena Text: instruction following14281455GPT-6 Astra
LMArena Text: creative writing14381420GLM 5
LMArena VisionNot measured1280Only GPT-6 Astra measured
LMArena Text: English14581447GLM 5
LMArena Text: non-English14301432GPT-6 Astra
LMArena Text: Chinese15111489GLM 5
LMArena Text: German14471459GPT-6 Astra
LMArena Text: Japanese14161405GLM 5
LMArena Text: Korean14231428GPT-6 Astra
LMArena Text: French14561432GLM 5
LMArena Text: Spanish14541422GLM 5
LMArena Text: Russian14361438GPT-6 Astra
LMArena Text: Polish14341422GLM 5
LMArena Text: multi-turn14561447GLM 5
LMArena Text: longer queries14461460GPT-6 Astra
LMArena Text: writing and language14371437GPT-6 Astra
LMArena Text: entertainment and media14261427GPT-6 Astra
LMArena Vision: EnglishNot measured1280Only GPT-6 Astra measured
LMArena Vision: ChineseNot measured1361Only GPT-6 Astra measured
LMArena Vision: reading textNot measured1292Only GPT-6 Astra measured
LMArena Vision: creative writingNot measured1286Only GPT-6 Astra measured
Neither model has a result on the other 14 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 Astra
BenchmarkGLM 5GPT-6 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 Astra$0.035Fits in one request

GLM 5 costs less

Repository review

50K input + 3K output tokens

GLM 5$0.060Fits in one request
GPT-6 Astra$0.650Fits in one request

GLM 5 costs less

Agent loop

200K input + 10K output tokens

GLM 5$0.232Exceeds the context window
GPT-6 Astra$2.50Fits 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 Astra
SpecificationZ.ai GLM 5OpenAI GPT-6 Astra
MakerZ.aiOpenAI
WeightsOpen weightsNo public weights listed
ReleasedFebruary 11, 2026September 4, 2026
Context window205K1.05M
Input $/Mtok$1.00$10.00
Output $/Mtok$3.20$50.00
Coding index41.785.1
Independent measurements behind it35
Cost per solved task$0.63Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 5 better than GPT-6 Astra for coding?

Pick GPT-6 Astra for coding: it scores 85.1 on the Vibe Coding Index against 41.7 for GLM 5. Pick GLM 5 for output tokens 15.6x cheaper ($3.20 vs $50.00 per million) and work measured by LMArena Text: science or LMArena Text: medicine and healthcare, where it leads.

Which is cheaper, GLM 5 or GPT-6 Astra?

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

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

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

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

55 benchmarks have a result for both models as of October 21, 2026. GLM 5's coding index rests on 3 independent benchmarks and GPT-6 Astra's on 5. 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-astra" title="GLM 5 vs GPT-6 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-astra">LLMBenchmark.ai, GLM 5 vs GPT-6 Astra</a></p>