Enter opens the highlighted result. Esc closes.

GLM 5.1 vs GPT-6 Astra

GPT-6 Astra leads GLM 5.1 on coding, 85.1 to 49.2 on the Vibe Coding Index, and GLM 5.1 costs 11.4x less per output token ($4.40 vs $50.00 per million). Updated October 22, 2026; 71 benchmarks have a result for both.

GLM 5.1Z.ai
Coding
49.2
Overall
57.5
Output $/M
$4.40
24
GPT-6 AstraOpenAI
Coding
85.1
Overall
83.0
Output $/M
$50.00
47
vs boards won of 71 shared

GLM 5.1 or GPT-6 Astra: which to pick

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

Pick GLM 5.1 for output tokens 11.4x cheaper ($4.40 vs $50.00 per million) and work measured by LMArena Text: software and IT or LMArena Text: hard prompts, where it leads.

Shared results
71
GLM 5.1 only
18
GPT-6 Astra only
50
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 Astra 85.1 from 5 benchmarks.
Widest category
Math, 28.8 points apart on average over 5 shared benchmarks.
Widest single gap
ProofBench: GLM 5.1 22.2% against GPT-6 Astra 99.0%, 76.8 points apart on a 0 to 100 scale.
Output price
GLM 5.1 $4.40 against GPT-6 Astra $50.00 per million output tokens, 11.4x apart.
Context window
GLM 5.1 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 5.1BarsGPT-6 AstraTies
Coding112
Intelligence02
Agentic work011
Reasoning25
Math14
Knowledge42
Web design17
General154
All shared boards2447
CodingLike-for-likeSix of these boards feed the Vibe Coding Index112
Coding benchmarks for GLM 5.1 and GPT-6 Astra
BenchmarkGLM 5.1GPT-6 AstraLeader
LiveBench codingNot measured93.7%Only GPT-6 Astra measured
LMArena WebDev15081774GPT-6 Astra
AA Coding Index55.876.9GPT-6 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 measured59.6%Only GPT-6 Astra measured
Vibe Code Bench (Vals AI)31.5%89.6%GPT-6 Astra
Code migration (Vals AI)25.8%67.7%GPT-6 Astra
ProgramBench (Vals AI)0.0%5.5%GPT-6 Astra
IOI (Vals AI)Not measured100.0%Only GPT-6 Astra measured
Terminal-Bench 2.1 (Vals AI)56.9%87.3%GPT-6 Astra
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
SciCode44.8%56.5%GPT-6 Astra
Terminal-Bench Hard (Artificial Analysis run)43.2%Not measuredOnly GLM 5.1 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
WeirdML57.1%93.3%GPT-6 Astra
MirrorCodeNot measured46.7%Only GPT-6 Astra measured
ALE-Bench887.12951.3GPT-6 Astra
LMArena Text: coding14851489GPT-6 Astra
LMArena Text: software and IT14841474GLM 5.1
LMArena WebDev: React15051798GPT-6 Astra
LMArena WebDev: HTML15081775GPT-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 11 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for GLM 5.1 and GPT-6 Astra
BenchmarkGLM 5.1GPT-6 AstraLeader
AA Intelligence Index26.152.7GPT-6 Astra
Epoch Capabilities Index149.8168.8GPT-6 Astra
Agentic workLike-for-likePublic boards, shown as published, kept out of the index011
Agentic work benchmarks for GLM 5.1 and GPT-6 Astra
BenchmarkGLM 5.1GPT-6 AstraLeader
AA Agentic Index23.951.0GPT-6 Astra
Design Arena: agents building web apps11751373GPT-6 Astra
Design Arena: agents building full-stack apps11671357GPT-6 Astra
Design Arena: agents building mobile apps11621312GPT-6 Astra
Design Arena: agents building Android apps1182Not measuredOnly GLM 5.1 measured
Design Arena: agents building Godot games10531348GPT-6 Astra
Design Arena: agents building games1164Not measuredOnly GLM 5.1 measured
Design Arena: HTML slides1120Not measuredOnly GLM 5.1 measured
Design Arena: PowerPoint slides11631219GPT-6 Astra
Design Arena: spreadsheets13151365GPT-6 Astra
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)44.8%53.5%GPT-6 Astra
Tax Agent Bench (Vals AI)Not measured20.7%Only GPT-6 Astra measured
Legal Research Bench (Vals AI)27.9%39.4%GPT-6 Astra
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 Telecom97.7%Not measuredOnly GLM 5.1 measured
APEX-Agents40.9%64.7%GPT-6 Astra
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$5,634$15,515GPT-6 Astra
Neither model has a result on the other 10 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index25
Reasoning benchmarks for GLM 5.1 and GPT-6 Astra
BenchmarkGLM 5.1GPT-6 AstraLeader
GPQA Diamond84.5%Not measuredOnly GLM 5.1 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)86.8%96.3%GPT-6 Astra
Humanity's Last Exam (Artificial Analysis run)30.1%54.7%GPT-6 Astra
GPQA Diamond (Epoch AI run)89.9%95.8%GPT-6 Astra
ARC-AGINot measured98.5%Only GPT-6 Astra measured
ARC-AGI-2Not measured95.0%Only GPT-6 Astra measured
SimpleBench55.1%Not measuredOnly GLM 5.1 measured
Chess puzzles20.0%74.0%GPT-6 Astra
Mystery game puzzlesNot measured84.0%Only GPT-6 Astra measured
EBR-benchNot measured76.2%Only GPT-6 Astra measured
LMArena Text: hard prompts14731463GLM 5.1
LMArena Text: expert14781489GPT-6 Astra
LMArena Text: hard prompts in English14821464GLM 5.1
LMArena Vision: diagramsNot measured1297Only GPT-6 Astra measured
LMArena Vision: homeworkNot measured1337Only GPT-6 Astra measured
Neither model has a result on the other 5 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index14
Math benchmarks for GLM 5.1 and GPT-6 Astra
BenchmarkGLM 5.1GPT-6 AstraLeader
AIME91.9%Not measuredOnly GLM 5.1 measured
OTIS Mock AIME93.3%100.0%GPT-6 Astra
FrontierMath, tiers 1 to 336.8%93.7%GPT-6 Astra
FrontierMath, tier 4Not measured97.6%Only GPT-6 Astra measured
ProofBench22.2%99.0%GPT-6 Astra
LMArena Text: math14731465GLM 5.1
LMArena Text: mathematical work14701484GPT-6 Astra
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index42
Knowledge benchmarks for GLM 5.1 and GPT-6 Astra
BenchmarkGLM 5.1GPT-6 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%48.5%GPT-6 Astra
SimpleQA Verified34.0%75.6%GPT-6 Astra
LMArena Text: science14781451GLM 5.1
LMArena Text: medicine and healthcare14741425GLM 5.1
LMArena Text: legal and government14651462GLM 5.1
LMArena Text: business and finance14521439GLM 5.1
FACTS Benchmark SuiteNot measured75.7%Only GPT-6 Astra measured
Neither model has a result on the other 6 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index17
Web design benchmarks for GLM 5.1 and GPT-6 Astra
BenchmarkGLM 5.1GPT-6 AstraLeader
Design Arena: websites12901336GPT-6 Astra
Design Arena: UI components12921393GPT-6 Astra
Design Arena: game dev12651478GPT-6 Astra
Design Arena: data viz13661335GLM 5.1
Design Arena: 3D13361500GPT-6 Astra
Design Arena: all code categories12681379GPT-6 Astra
Design Arena: SVG12181431GPT-6 Astra
Design Arena: ASCII art11411353GPT-6 Astra
LiveBench designNot measured82.0%Only GPT-6 Astra measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index154
General benchmarks for GLM 5.1 and GPT-6 Astra
BenchmarkGLM 5.1GPT-6 AstraLeader
Vals IndexNot measured65.0%Only GPT-6 Astra measured
LiveBench data analysisNot measured83.0%Only GPT-6 Astra measured
Public Benefits Bench (Vals AI)61.8%Not measuredOnly GLM 5.1 measured
SAGE (Vals AI)Not measured46.4%Only GPT-6 Astra measured
MedScribe (Vals AI)72.3%87.9%GPT-6 Astra
IFBench76.3%Not measuredOnly GLM 5.1 measured
Long context reasoning (AA-LCR)73.7%80.7%GPT-6 Astra
DTBenchNot measured97.3%Only GPT-6 Astra measured
LMCANot measured64.4%Only GPT-6 Astra measured
Furniture assemblyNot measured80.0%Only GPT-6 Astra measured
ExploitBench18.1%Not measuredOnly GLM 5.1 measured
LMArena Text14631441GLM 5.1
LMArena Text: instruction following14531455GPT-6 Astra
LMArena Text: creative writing14531420GLM 5.1
LMArena VisionNot measured1280Only GPT-6 Astra measured
LMArena Text: English14761447GLM 5.1
LMArena Text: non-English14481432GLM 5.1
LMArena Text: Chinese15151489GLM 5.1
LMArena Text: German14671459GLM 5.1
LMArena Text: Japanese14351405GLM 5.1
LMArena Text: Korean14241428GPT-6 Astra
LMArena Text: French14701432GLM 5.1
LMArena Text: Spanish14681422GLM 5.1
LMArena Text: Russian14541438GLM 5.1
LMArena Text: Polish14491422GLM 5.1
LMArena Text: multi-turn14731447GLM 5.1
LMArena Text: longer queries14671460GLM 5.1
LMArena Text: writing and language14541437GLM 5.1
LMArena Text: entertainment and media14421427GLM 5.1
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 13 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 Astra
BenchmarkGLM 5.1GPT-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.1$0.0036Fits in one request
GPT-6 Astra$0.035Fits 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 Astra$0.650Fits 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 Astra$2.50Fits 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 Astra
SpecificationZ.ai GLM 5.1OpenAI GPT-6 Astra
MakerZ.aiOpenAI
WeightsOpen weightsNo public weights listed
ReleasedApril 7, 2026September 4, 2026
Context window205K1.05M
Input $/Mtok$1.40$10.00
Output $/Mtok$4.40$50.00
Coding index49.285.1
Independent measurements behind it35
Cost per solved task$0.60Not computable
SourceOpenRouter listingOpenRouter listing

Questions

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

Pick GPT-6 Astra for coding: it scores 85.1 on the Vibe Coding Index against 49.2 for GLM 5.1. Pick GLM 5.1 for output tokens 11.4x cheaper ($4.40 vs $50.00 per million) and work measured by LMArena Text: software and IT or LMArena Text: hard prompts, where it leads.

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

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

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

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

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

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