Enter opens the highlighted result. Esc closes.

GLM 5.2 vs GPT-6 Sol

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

GLM 5.2Z.ai
Coding
59.7
Overall
65.2
Output $/M
$4.40
34
GPT-6 SolOpenAI
Coding
67.5
Overall
72.4
Output $/M
$10.00
48
vs boards won of 82 shared

GLM 5.2 or GPT-6 Sol: which to pick

Pick GPT-6 Sol for coding: it scores 67.5 on the Vibe Coding Index against 59.7 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
82
GLM 5.2 only
29
GPT-6 Sol only
29
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 59.7 from 3 benchmarks, GPT-6 Sol 67.5 from 4 benchmarks.
Widest category
Math, 33.6 points apart on average over 7 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
Coding212
Intelligence01
Agentic work47
Reasoning39
Math25
Knowledge43
Web design17
General184
All shared boards3448
CodingLike-for-likeSix of these boards feed the Vibe Coding Index212
Coding benchmarks for GLM 5.2 and GPT-6 Sol
BenchmarkGLM 5.2GPT-6 SolLeader
LMArena WebDev16081674GPT-6 Sol
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)Not measured71.6%Only GPT-6 Sol measured
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
Terminal-Bench 4.0 (Artificial Analysis run)1.0%43.9%GPT-6 Sol
FrontierCode 2.0Not measured35.6%Only GPT-6 Sol measured
FrontierCode24.5%49.3%GPT-6 Sol
WeirdML70.1%Not measuredOnly GLM 5.2 measured
MirrorCode36.7%48.9%GPT-6 Sol
ALE-Bench1047.02462.0GPT-6 Sol
LMArena Text: coding14881448GLM 5.2
LMArena Text: software and IT14871433GLM 5.2
LMArena WebDev: React16211676GPT-6 Sol
LMArena WebDev: HTML15671687GPT-6 Sol
LMArena WebDev: from an imageNot measured1662Only GPT-6 Sol measured
SWE Atlas: Codebase QnA48.1%Not measuredOnly GLM 5.2 measured
SWE Atlas: Refactoring42.4%Not measuredOnly GLM 5.2 measured
SWE Atlas: Test Writing41.5%Not measuredOnly GLM 5.2 measured
GameBench 249.979.1GPT-6 Sol
Terminal-Bench 3.04.6%Not measuredOnly GLM 5.2 measured
Terminal-Bench 4.0Not measured49.4%Only GPT-6 Sol measured
ProgramBench0.0%Not measuredOnly GLM 5.2 measured
Neither model has a result on the other 21 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for GLM 5.2 and GPT-6 Sol
BenchmarkGLM 5.2GPT-6 SolLeader
AA Intelligence IndexNot measured44.0Only GPT-6 Sol measured
Epoch Capabilities Index153.0163.5GPT-6 Sol
Agentic workLike-for-likePublic boards, shown as published, kept out of the index47
Agentic work benchmarks for GLM 5.2 and GPT-6 Sol
BenchmarkGLM 5.2GPT-6 SolLeader
Design Arena: agents building web apps11841192GPT-6 Sol
Design Arena: agents building full-stack apps12881279GLM 5.2
Design Arena: agents building mobile apps11521189GPT-6 Sol
Design Arena: agents building Android apps11621167GPT-6 Sol
Design Arena: agents building Godot games1142Not measuredOnly GLM 5.2 measured
Design Arena: agents building games1156Not measuredOnly GLM 5.2 measured
Design Arena: HTML slides1077Not measuredOnly GLM 5.2 measured
Design Arena: PowerPoint slides1157Not measuredOnly GLM 5.2 measured
Design Arena: spreadsheets11231039GLM 5.2
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 measured31.4%Only GPT-6 Sol measured
Vals Science IndexNot measured45.5%Only GPT-6 Sol measured
τ²-Bench Telecom99.1%Not measuredOnly GLM 5.2 measured
APEX-Agents45.2%54.3%GPT-6 Sol
PostTrainBench30.4%Not measuredOnly GLM 5.2 measured
SpireClimbNot measured9.2%Only GPT-6 Sol measured
Vending-Bench 2$8,314$14,428GPT-6 Sol
LMArena SearchNot measured1174Only GPT-6 Sol measured
MCP Atlas77.8%Not measuredOnly GLM 5.2 measured
Toolathlon-Verified59.9%Not measuredOnly GLM 5.2 measured
τ³-Banking37.1%Not measuredOnly GLM 5.2 measured
Neither model has a result on the other 18 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index39
Reasoning benchmarks for GLM 5.2 and GPT-6 Sol
BenchmarkGLM 5.2GPT-6 SolLeader
GPQA Diamond85.6%Not measuredOnly GLM 5.2 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
HLE-Diamond (Artificial Analysis run)17.7%45.2%GPT-6 Sol
CritPt v2, hard subset (Artificial Analysis run)Not measured66.5%Only GPT-6 Sol measured
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%73.1%GPT-6 Sol
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 prompts14811420GLM 5.2
LMArena Text: expert14881440GLM 5.2
LMArena Text: hard prompts in English14811418GLM 5.2
LMArena Vision: diagramsNot measured1263Only GPT-6 Sol measured
LMArena Vision: homeworkNot measured1295Only GPT-6 Sol measured
Kagi LLM Benchmark62.6%Not measuredOnly GLM 5.2 measured
Humanity's Last Exam (Scale run)Not measured33.8%Only GPT-6 Sol measured
GoBenchNot measured2003Only 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 index25
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: math14851398GLM 5.2
LMArena Text: mathematical work14901415GLM 5.2
MathArena21.1%76.4%GPT-6 Sol
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index43
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
AA-Omniscience0.621.4GPT-6 Sol
SimpleQA Verified34.2%60.7%GPT-6 Sol
LMArena Text: science14891388GLM 5.2
LMArena Text: medicine and healthcare14761364GLM 5.2
LMArena Text: legal and government14901401GLM 5.2
LMArena Text: business and finance14501384GLM 5.2
FACTS Benchmark SuiteNot measured74.0%Only GPT-6 Sol measured
Neither model has a result on the other 9 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index17
Web design benchmarks for GLM 5.2 and GPT-6 Sol
BenchmarkGLM 5.2GPT-6 SolLeader
Design Arena: websites13231338GPT-6 Sol
Design Arena: UI components12711278GPT-6 Sol
Design Arena: game dev12341290GPT-6 Sol
Design Arena: data viz12751265GLM 5.2
Design Arena: 3D12471287GPT-6 Sol
Design Arena: all code categories13281351GPT-6 Sol
Design Arena: SVG12451349GPT-6 Sol
Design Arena: ASCII art11741223GPT-6 Sol
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index184
General benchmarks for GLM 5.2 and GPT-6 Sol
BenchmarkGLM 5.2GPT-6 SolLeader
Public Benefits Bench (Vals AI)Not measured56.6%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
GDPval-AA13831517GPT-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 following14671410GLM 5.2
LMArena Text: creative writing14601371GLM 5.2
LMArena VisionNot measured1232Only GPT-6 Sol measured
LMArena Text: English14751398GLM 5.2
LMArena Text: non-English14581387GLM 5.2
LMArena Text: Chinese15231408GLM 5.2
LMArena Text: German14671390GLM 5.2
LMArena Text: Japanese14521356GLM 5.2
LMArena Text: Korean14301343GLM 5.2
LMArena Text: French14771400GLM 5.2
LMArena Text: Spanish14801391GLM 5.2
LMArena Text: Russian14661408GLM 5.2
LMArena Text: Polish14591387GLM 5.2
LMArena Text: multi-turn14701415GLM 5.2
LMArena Text: longer queries14791415GLM 5.2
LMArena Text: writing and language14621390GLM 5.2
LMArena Text: entertainment and media14481369GLM 5.2
LMArena Vision: EnglishNot measured1224Only GPT-6 Sol measured
LMArena Vision: ChineseNot measured1262Only GPT-6 Sol measured
LMArena Vision: reading textNot measured1251Only GPT-6 Sol measured
LMArena Vision: humorNot measured1174Only GPT-6 Sol measured
LMArena Vision: creative writingNot measured1191Only GPT-6 Sol measured
EQ-Bench 41208Not measuredOnly GLM 5.2 measured
Neither model has a result on the other 16 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 index59.767.5
Independent measurements behind it34
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 67.5 on the Vibe Coding Index against 59.7 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?

82 benchmarks have a result for both models as of December 6, 2026. GLM 5.2's coding index rests on 3 independent benchmarks and GPT-6 Sol'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-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>