Enter opens the highlighted result. Esc closes.

GLM 5.2 vs GPT-6 Sol

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

GLM 5.2Z.ai
Coding
61.1
Overall
62.5
Output $/M
$4.40
34
GPT-6 SolOpenAI
Coding
76.0
Overall
74.6
Output $/M
$10.00
40
vs boards won of 74 shared

GLM 5.2 or GPT-6 Sol: which to pick

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

Pick GLM 5.2 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
74
GLM 5.2 only
24
GPT-6 Sol only
27
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.2 61.1 from 4 benchmarks, GPT-6 Sol 76.0 from 5 benchmarks.
Widest category
Math, 29.4 points apart on average over 6 shared benchmarks.
Widest single gap
ARC-AGI-2: GLM 5.2 22.8% against GPT-6 Sol 89.6%, 66.8 points apart on a 0 to 100 scale.
Output price
GLM 5.2 $4.40 against GPT-6 Sol $10.00 per million output tokens, 2.3x apart.
Context window
GLM 5.2 takes 1.05M 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.2BarsGPT-6 SolTies
Coding210
Intelligence02
Agentic work36
Reasoning37
Math24
Knowledge42
Web design26
General183
All shared boards3440
CodingLike-for-likeSix of these boards feed the Vibe Coding Index210
Coding benchmarks for GLM 5.2 and GPT-6 Sol
BenchmarkGLM 5.2GPT-6 SolLeader
LiveBench codingNot measured93.1%Only GPT-6 Sol measured
LMArena WebDev16041683GPT-6 Sol
AA Coding Index68.8Not measuredOnly GLM 5.2 measured
LiveCodeBench (Vals AI)69.5%Not measuredOnly GLM 5.2 measured
SWE-bench Verified (Vals AI)82.8%Not measuredOnly GLM 5.2 measured
Terminal-Bench 4 (Vals AI)Not measured44.4%Only GPT-6 Sol measured
Vibe Code Bench (Vals AI)64.0%87.8%GPT-6 Sol
Code migration (Vals AI)37.9%57.2%GPT-6 Sol
ProgramBench (Vals AI)0.5%2.0%GPT-6 Sol
IOI (Vals AI)Not measured82.6%Only GPT-6 Sol measured
Terminal-Bench 2.1 (Vals AI)67.8%83.2%GPT-6 Sol
SkillsBench (Vals AI)45.1%Not measuredOnly GLM 5.2 measured
CyberBench (Vals AI)Not measured78.0%Only GPT-6 Sol measured
SciCode51.2%57.6%GPT-6 Sol
Terminal-Bench Hard (Artificial Analysis run)50.8%Not measuredOnly GLM 5.2 measured
FrontierCode24.5%49.3%GPT-6 Sol
WeirdML70.1%Not measuredOnly GLM 5.2 measured
ALE-Bench1047.02462.0GPT-6 Sol
LMArena Text: coding14871448GLM 5.2
LMArena Text: software and IT14861433GLM 5.2
LMArena WebDev: React16171685GPT-6 Sol
LMArena WebDev: HTML15651685GPT-6 Sol
LMArena WebDev: from an imageNot measured1660Only GPT-6 Sol measured
Neither model has a result on the other 16 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for GLM 5.2 and GPT-6 Sol
BenchmarkGLM 5.2GPT-6 SolLeader
AA Intelligence Index33.747.6GPT-6 Sol
Epoch Capabilities Index151.9163.7GPT-6 Sol
Agentic workLike-for-likePublic boards, shown as published, kept out of the index36
Agentic work benchmarks for GLM 5.2 and GPT-6 Sol
BenchmarkGLM 5.2GPT-6 SolLeader
AA Agentic Index38.4Not measuredOnly GLM 5.2 measured
Design Arena: agents building web apps12221231GPT-6 Sol
Design Arena: agents building full-stack apps12411238GLM 5.2
Design Arena: agents building mobile apps11601214GPT-6 Sol
Design Arena: agents building Android apps1178Not measuredOnly GLM 5.2 measured
Design Arena: agents building Godot games1142Not measuredOnly GLM 5.2 measured
Design Arena: agents building games1206Not measuredOnly GLM 5.2 measured
Design Arena: HTML slides1175Not measuredOnly GLM 5.2 measured
Design Arena: PowerPoint slides1195Not measuredOnly GLM 5.2 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)0.0%30.5%GPT-6 Sol
Finance Agent (Vals AI)49.7%49.0%GLM 5.2
Tax Agent Bench (Vals AI)Not measured15.0%Only GPT-6 Sol measured
Legal Research Bench (Vals AI)31.3%28.9%GLM 5.2
Excel Modeling Benchmark (Vals AI)61.5%71.5%GPT-6 Sol
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 Telecom99.1%Not measuredOnly GLM 5.2 measured
APEX-Agents45.2%54.3%GPT-6 Sol
PostTrainBench31.7%Not measuredOnly GLM 5.2 measured
SpireClimbNot measured7.5%Only GPT-6 Sol measured
Vending-Bench 2$8,314$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 index37
Reasoning benchmarks for GLM 5.2 and GPT-6 Sol
BenchmarkGLM 5.2GPT-6 SolLeader
GPQA Diamond85.6%Not measuredOnly GLM 5.2 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)89.5%Not measuredOnly GLM 5.2 measured
Humanity's Last Exam (Artificial Analysis run)41.1%47.9%GPT-6 Sol
GPQA Diamond (Epoch AI run)91.9%94.3%GPT-6 Sol
ARC-AGI77.0%95.5%GPT-6 Sol
ARC-AGI-222.8%89.6%GPT-6 Sol
SimpleBench58.8%Not measuredOnly GLM 5.2 measured
Chess puzzles22.0%56.0%GPT-6 Sol
Mystery game puzzles19.0%56.0%GPT-6 Sol
EBR-bench9.5%53.3%GPT-6 Sol
LMArena Text: hard prompts14811422GLM 5.2
LMArena Text: expert14871437GLM 5.2
LMArena Text: hard prompts in English14811420GLM 5.2
LMArena Vision: diagramsNot measured1270Only GPT-6 Sol measured
LMArena Vision: homeworkNot measured1286Only GPT-6 Sol measured
Kagi LLM Benchmark62.6%Not measuredOnly GLM 5.2 measured
Neither model has a result on the other 4 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index24
Math benchmarks for GLM 5.2 and GPT-6 Sol
BenchmarkGLM 5.2GPT-6 SolLeader
OTIS Mock AIME86.4%100.0%GPT-6 Sol
FrontierMath, tiers 1 to 359.2%89.8%GPT-6 Sol
FrontierMath, tier 429.3%90.0%GPT-6 Sol
ProofBench35.0%83.0%GPT-6 Sol
LMArena Text: math14831407GLM 5.2
LMArena Text: mathematical work14891424GLM 5.2
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index42
Knowledge benchmarks for GLM 5.2 and GPT-6 Sol
BenchmarkGLM 5.2GPT-6 SolLeader
MMLU Pro86.7%Not measuredOnly GLM 5.2 measured
LegalBench (Vals AI)84.1%Not measuredOnly GLM 5.2 measured
CorpFin (Vals AI)66.1%Not measuredOnly GLM 5.2 measured
TaxEval (Vals AI)73.3%Not measuredOnly GLM 5.2 measured
MedCode (Vals AI)40.8%47.1%GPT-6 Sol
SimpleQA Verified34.2%60.7%GPT-6 Sol
LMArena Text: science14891389GLM 5.2
LMArena Text: medicine and healthcare14751366GLM 5.2
LMArena Text: legal and government14861396GLM 5.2
LMArena Text: business and finance14511380GLM 5.2
FACTS Benchmark SuiteNot measured72.5%Only GPT-6 Sol measured
Neither model has a result on the other 7 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index26
Web design benchmarks for GLM 5.2 and GPT-6 Sol
BenchmarkGLM 5.2GPT-6 SolLeader
Design Arena: websites12851292GPT-6 Sol
Design Arena: UI components12961292GLM 5.2
Design Arena: game dev12681314GPT-6 Sol
Design Arena: data viz12851269GLM 5.2
Design Arena: 3D12881318GPT-6 Sol
Design Arena: all code categories12881301GPT-6 Sol
Design Arena: SVG12141316GPT-6 Sol
Design Arena: ASCII art11901225GPT-6 Sol
LiveBench designNot measured82.2%Only GPT-6 Sol measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index183
General benchmarks for GLM 5.2 and GPT-6 Sol
BenchmarkGLM 5.2GPT-6 SolLeader
LiveBench data analysisNot measured81.2%Only GPT-6 Sol measured
Public Benefits Bench (Vals AI)Not measured56.6%Only GPT-6 Sol measured
SAGE (Vals AI)Not measured44.8%Only GPT-6 Sol measured
MedScribe (Vals AI)83.5%82.0%GLM 5.2
IFBench73.3%Not measuredOnly GLM 5.2 measured
Long context reasoning (AA-LCR)78.3%83.7%GPT-6 Sol
DTBench93.6%97.3%GPT-6 Sol
LMCA45.8%59.1%GPT-6 Sol
Surface Evolver Bench55.6%Not measuredOnly GLM 5.2 measured
Furniture assemblyNot measured58.3%Only GPT-6 Sol measured
LMArena Text14701398GLM 5.2
LMArena Text: instruction following14661413GLM 5.2
LMArena Text: creative writing14631378GLM 5.2
LMArena VisionNot measured1240Only GPT-6 Sol measured
LMArena Text: English14751396GLM 5.2
LMArena Text: non-English14591388GLM 5.2
LMArena Text: Chinese15221412GLM 5.2
LMArena Text: German14701379GLM 5.2
LMArena Text: Japanese14501377GLM 5.2
LMArena Text: Korean14401336GLM 5.2
LMArena Text: French14791399GLM 5.2
LMArena Text: Spanish14781387GLM 5.2
LMArena Text: Russian14681402GLM 5.2
LMArena Text: Polish14561372GLM 5.2
LMArena Text: multi-turn14691414GLM 5.2
LMArena Text: longer queries14801416GLM 5.2
LMArena Text: writing and language14631389GLM 5.2
LMArena Text: entertainment and media14501373GLM 5.2
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.2 and GPT-6 Sol
BenchmarkGLM 5.2GPT-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.2$0.0036Fits in one request
GPT-6 Sol$0.0070Fits in one request

GLM 5.2 costs less

Repository review

50K input + 3K output tokens

GLM 5.2$0.083Fits in one request
GPT-6 Sol$0.130Fits in one request

GLM 5.2 costs less

Agent loop

200K input + 10K output tokens

GLM 5.2$0.324Fits in one request
GPT-6 Sol$0.500Fits in one request

GLM 5.2 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.2 and GPT-6 Sol
SpecificationZ.ai GLM 5.2OpenAI GPT-6 Sol
MakerZ.aiOpenAI
WeightsOpen weightsNo public weights listed
ReleasedJune 16, 2026September 22, 2026
Context window1.05M1.05M
Input $/Mtok$1.40$2.00
Output $/Mtok$4.40$10.00
Coding index61.176.0
Independent measurements behind it45
Cost per solved task$0.86Not computable
SourceOpenRouter listingOpenRouter listing

Questions

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

Pick GPT-6 Sol for coding: it scores 76.0 on the Vibe Coding Index against 61.1 for GLM 5.2. Pick GLM 5.2 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.2 or GPT-6 Sol?

GLM 5.2 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.2 only.

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

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

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

74 benchmarks have a result for both models as of October 21, 2026. GLM 5.2's coding index rests on 4 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-2-vs-gpt-6-sol" title="GLM 5.2 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-2-vs-gpt-6-sol">LLMBenchmark.ai, GLM 5.2 vs GPT-6 Sol</a></p>