Enter opens the highlighted result. Esc closes.

GLM 5.1 vs GPT-6 Sol

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

GLM 5.1Z.ai
Coding
49.2
Overall
57.5
Output $/M
$4.40
32
GPT-6 SolOpenAI
Coding
76.0
Overall
74.6
Output $/M
$10.00
33
vs boards won of 65 shared

GLM 5.1 or GPT-6 Sol: which to pick

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

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

Shared results
65
GLM 5.1 only
24
GPT-6 Sol only
36
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 Sol 76.0 from 5 benchmarks.
Widest category
Math, 27.8 points apart on average over 5 shared benchmarks.
Widest single gap
ProofBench: GLM 5.1 22.2% against GPT-6 Sol 83.0%, 60.8 points apart on a 0 to 100 scale.
Output price
GLM 5.1 $4.40 against GPT-6 Sol $10.00 per million output tokens, 2.3x apart.
Context window
GLM 5.1 takes 205K tokens, GPT-6 Sol 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 SolTies
Coding29
Intelligence02
Agentic work07
Reasoning33
Math23
Knowledge42
Web design35
General182
All shared boards3233
CodingLike-for-likeSix of these boards feed the Vibe Coding Index29
Coding benchmarks for GLM 5.1 and GPT-6 Sol
BenchmarkGLM 5.1GPT-6 SolLeader
LiveBench codingNot measured93.1%Only GPT-6 Sol measured
LMArena WebDev15081683GPT-6 Sol
AA Coding Index55.8Not measuredOnly GLM 5.1 measured
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 measured44.4%Only GPT-6 Sol measured
Vibe Code Bench (Vals AI)31.5%87.8%GPT-6 Sol
Code migration (Vals AI)25.8%57.2%GPT-6 Sol
ProgramBench (Vals AI)0.0%2.0%GPT-6 Sol
IOI (Vals AI)Not measured82.6%Only GPT-6 Sol measured
Terminal-Bench 2.1 (Vals AI)56.9%83.2%GPT-6 Sol
CyberBench (Vals AI)Not measured78.0%Only GPT-6 Sol measured
SciCode44.8%57.6%GPT-6 Sol
Terminal-Bench Hard (Artificial Analysis run)43.2%Not measuredOnly GLM 5.1 measured
FrontierCodeNot measured49.3%Only GPT-6 Sol measured
WeirdML57.1%Not measuredOnly GLM 5.1 measured
ALE-Bench887.12462.0GPT-6 Sol
LMArena Text: coding14851448GLM 5.1
LMArena Text: software and IT14841433GLM 5.1
LMArena WebDev: React15051685GPT-6 Sol
LMArena WebDev: HTML15081685GPT-6 Sol
LMArena WebDev: from an imageNot measured1660Only GPT-6 Sol measured
Neither model has a result on the other 17 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for GLM 5.1 and GPT-6 Sol
BenchmarkGLM 5.1GPT-6 SolLeader
AA Intelligence Index26.147.6GPT-6 Sol
Epoch Capabilities Index149.8163.7GPT-6 Sol
Agentic workLike-for-likePublic boards, shown as published, kept out of the index07
Agentic work benchmarks for GLM 5.1 and GPT-6 Sol
BenchmarkGLM 5.1GPT-6 SolLeader
AA Agentic Index23.9Not measuredOnly GLM 5.1 measured
Design Arena: agents building web apps11751231GPT-6 Sol
Design Arena: agents building full-stack apps11671238GPT-6 Sol
Design Arena: agents building mobile apps11621217GPT-6 Sol
Design Arena: agents building Android apps1182Not measuredOnly GLM 5.1 measured
Design Arena: agents building Godot games1053Not measuredOnly GLM 5.1 measured
Design Arena: agents building games1164Not measuredOnly GLM 5.1 measured
Design Arena: HTML slides1120Not measuredOnly GLM 5.1 measured
Design Arena: PowerPoint slides1163Not measuredOnly GLM 5.1 measured
Design Arena: spreadsheets1315Not measuredOnly GLM 5.1 measured
LiveBench researchNot measured69.3%Only GPT-6 Sol measured
LiveBench browserNot measured92.0%Only GPT-6 Sol measured
LiveBench long agenticNot measured66.9%Only GPT-6 Sol measured
SREBench (Vals AI)Not measured30.5%Only GPT-6 Sol measured
Finance Agent (Vals AI)44.8%49.0%GPT-6 Sol
Tax Agent Bench (Vals AI)Not measured15.0%Only GPT-6 Sol measured
Legal Research Bench (Vals AI)27.9%28.9%GPT-6 Sol
Excel Modeling Benchmark (Vals AI)Not measured71.5%Only GPT-6 Sol measured
BioMysteryBench (Vals AI)Not measured74.8%Only GPT-6 Sol measured
Terminal-Bench-Science (Vals AI)Not measured30.0%Only GPT-6 Sol measured
Vals Science IndexNot measured45.0%Only GPT-6 Sol measured
τ²-Bench Telecom97.7%Not measuredOnly GLM 5.1 measured
APEX-Agents40.9%54.3%GPT-6 Sol
SpireClimbNot measured7.5%Only GPT-6 Sol measured
Vending-Bench 2$5,634$14,428GPT-6 Sol
Neither model has a result on the other 16 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index33
Reasoning benchmarks for GLM 5.1 and GPT-6 Sol
BenchmarkGLM 5.1GPT-6 SolLeader
GPQA Diamond84.5%Not measuredOnly GLM 5.1 measured
LiveBench reasoningNot measured88.7%Only GPT-6 Sol measured
MysteryMechanism (Vals AI)Not measured30.2%Only GPT-6 Sol measured
GPQA Diamond (Artificial Analysis run)86.8%Not measuredOnly GLM 5.1 measured
Humanity's Last Exam (Artificial Analysis run)30.1%47.9%GPT-6 Sol
GPQA Diamond (Epoch AI run)89.9%94.3%GPT-6 Sol
ARC-AGINot measured95.5%Only GPT-6 Sol measured
ARC-AGI-2Not measured89.6%Only GPT-6 Sol measured
SimpleBench55.1%Not measuredOnly GLM 5.1 measured
Chess puzzles20.0%56.0%GPT-6 Sol
Mystery game puzzlesNot measured56.0%Only GPT-6 Sol measured
EBR-benchNot measured53.3%Only GPT-6 Sol measured
LMArena Text: hard prompts14731422GLM 5.1
LMArena Text: expert14781437GLM 5.1
LMArena Text: hard prompts in English14821420GLM 5.1
LMArena Vision: diagramsNot measured1270Only GPT-6 Sol measured
LMArena Vision: homeworkNot measured1286Only GPT-6 Sol measured
Neither model has a result on the other 5 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index23
Math benchmarks for GLM 5.1 and GPT-6 Sol
BenchmarkGLM 5.1GPT-6 SolLeader
AIME91.9%Not measuredOnly GLM 5.1 measured
OTIS Mock AIME93.3%100.0%GPT-6 Sol
FrontierMath, tiers 1 to 336.8%89.8%GPT-6 Sol
FrontierMath, tier 4Not measured90.0%Only GPT-6 Sol measured
ProofBench22.2%83.0%GPT-6 Sol
LMArena Text: math14731407GLM 5.1
LMArena Text: mathematical work14701424GLM 5.1
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 Sol
BenchmarkGLM 5.1GPT-6 SolLeader
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%47.1%GPT-6 Sol
SimpleQA Verified34.0%60.7%GPT-6 Sol
LMArena Text: science14781389GLM 5.1
LMArena Text: medicine and healthcare14741366GLM 5.1
LMArena Text: legal and government14651396GLM 5.1
LMArena Text: business and finance14521380GLM 5.1
FACTS Benchmark SuiteNot measured72.5%Only GPT-6 Sol measured
Neither model has a result on the other 6 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index35
Web design benchmarks for GLM 5.1 and GPT-6 Sol
BenchmarkGLM 5.1GPT-6 SolLeader
Design Arena: websites12901292GPT-6 Sol
Design Arena: UI components12921290GLM 5.1
Design Arena: game dev12651311GPT-6 Sol
Design Arena: data viz13661269GLM 5.1
Design Arena: 3D13361314GLM 5.1
Design Arena: all code categories12681300GPT-6 Sol
Design Arena: SVG12181315GPT-6 Sol
Design Arena: ASCII art11411222GPT-6 Sol
LiveBench designNot measured82.2%Only GPT-6 Sol measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index182
General benchmarks for GLM 5.1 and GPT-6 Sol
BenchmarkGLM 5.1GPT-6 SolLeader
LiveBench data analysisNot measured81.2%Only GPT-6 Sol measured
Public Benefits Bench (Vals AI)61.8%56.6%GLM 5.1
SAGE (Vals AI)Not measured44.8%Only GPT-6 Sol measured
MedScribe (Vals AI)72.3%82.0%GPT-6 Sol
IFBench76.3%Not measuredOnly GLM 5.1 measured
Long context reasoning (AA-LCR)73.7%83.7%GPT-6 Sol
DTBenchNot measured97.3%Only GPT-6 Sol measured
LMCANot measured59.1%Only GPT-6 Sol measured
Furniture assemblyNot measured58.3%Only GPT-6 Sol measured
ExploitBench18.1%Not measuredOnly GLM 5.1 measured
LMArena Text14631398GLM 5.1
LMArena Text: instruction following14531413GLM 5.1
LMArena Text: creative writing14531378GLM 5.1
LMArena VisionNot measured1240Only GPT-6 Sol measured
LMArena Text: English14761396GLM 5.1
LMArena Text: non-English14481388GLM 5.1
LMArena Text: Chinese15151412GLM 5.1
LMArena Text: German14671379GLM 5.1
LMArena Text: Japanese14351377GLM 5.1
LMArena Text: Korean14241336GLM 5.1
LMArena Text: French14701399GLM 5.1
LMArena Text: Spanish14681387GLM 5.1
LMArena Text: Russian14541402GLM 5.1
LMArena Text: Polish14491372GLM 5.1
LMArena Text: multi-turn14731414GLM 5.1
LMArena Text: longer queries14671416GLM 5.1
LMArena Text: writing and language14541389GLM 5.1
LMArena Text: entertainment and media14421373GLM 5.1
LMArena Vision: EnglishNot measured1229Only GPT-6 Sol measured
LMArena Vision: reading textNot measured1258Only GPT-6 Sol measured
LMArena Vision: creative writingNot measured1219Only GPT-6 Sol measured
Neither model has a result on the other 15 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 Sol
BenchmarkGLM 5.1GPT-6 SolLeader
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 Sol$0.0070Fits 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 Sol$0.130Fits 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 Sol$0.500Fits 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 Sol
SpecificationZ.ai GLM 5.1OpenAI GPT-6 Sol
MakerZ.aiOpenAI
WeightsOpen weightsNo public weights listed
ReleasedApril 7, 2026September 22, 2026
Context window205K1.05M
Input $/Mtok$1.40$2.00
Output $/Mtok$4.40$10.00
Coding index49.276.0
Independent measurements behind it35
Cost per solved task$0.60Not computable
SourceOpenRouter listingOpenRouter listing

Questions

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

Pick GPT-6 Sol for coding: it scores 76.0 on the Vibe Coding Index against 49.2 for GLM 5.1. Pick GLM 5.1 for output tokens 2.3x cheaper ($4.40 vs $10.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 Sol?

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

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

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

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

65 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 Sol'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-sol" title="GLM 5.1 vs GPT-6 Sol, 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-sol">LLMBenchmark.ai, GLM 5.1 vs GPT-6 Sol</a></p>