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.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.
Coding
Vibe Coding Index, six public coding benchmarks
GPT-6 Sol
GPT-6 Sol scores 76.0 against 61.1.
4 and 5 benchmarks behind the scores
Intelligence
AA Intelligence Index
GPT-6 Sol
GPT-6 Sol leads, 47.6 against 33.7.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only GLM 5.2 has a AA Agentic Index result, 38.4.
Directional only
Reasoning
GPQA Diamond
No call
Only GLM 5.2 has a GPQA Diamond result, 85.6%.
Directional only
Knowledge
MMLU Pro
No call
Only GLM 5.2 has a MMLU Pro result, 86.7%.
Directional only
Web design
Design Arena: websites
GPT-6 Sol
GPT-6 Sol leads, 1292 against 1285.
Same board, both measured
Long documents
Listed context window
GPT-6 Sol
GPT-6 Sol takes 1.05M tokens against 1.05M.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GLM 5.2
GLM 5.2 $0.0036, GPT-6 Sol $0.0070 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only GLM 5.2 has the number, $0.86.
Directional only
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.
| Category | GLM 5.2 | Bars | GPT-6 Sol | Ties |
|---|---|---|---|---|
| Coding | 2 | 10 | ||
| Intelligence | 0 | 2 | ||
| Agentic work | 3 | 6 | ||
| Reasoning | 3 | 7 | ||
| Math | 2 | 4 | ||
| Knowledge | 4 | 2 | ||
| Web design | 2 | 6 | ||
| General | 18 | 3 | ||
| All shared boards | 34 | 40 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index210
| Benchmark | GLM 5.2 | GPT-6 Sol | Leader |
|---|---|---|---|
| LiveBench coding | Not measured | 93.1% | Only GPT-6 Sol measured |
| LMArena WebDev | 1604 | 1683 | GPT-6 Sol |
| AA Coding Index | 68.8 | Not measured | Only GLM 5.2 measured |
| LiveCodeBench (Vals AI) | 69.5% | Not measured | Only GLM 5.2 measured |
| SWE-bench Verified (Vals AI) | 82.8% | Not measured | Only GLM 5.2 measured |
| Terminal-Bench 4 (Vals AI) | Not measured | 44.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 measured | 82.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 measured | Only GLM 5.2 measured |
| CyberBench (Vals AI) | Not measured | 78.0% | Only GPT-6 Sol measured |
| SciCode | 51.2% | 57.6% | GPT-6 Sol |
| Terminal-Bench Hard (Artificial Analysis run) | 50.8% | Not measured | Only GLM 5.2 measured |
| FrontierCode | 24.5% | 49.3% | GPT-6 Sol |
| WeirdML | 70.1% | Not measured | Only GLM 5.2 measured |
| ALE-Bench | 1047.0 | 2462.0 | GPT-6 Sol |
| LMArena Text: coding | 1487 | 1448 | GLM 5.2 |
| LMArena Text: software and IT | 1486 | 1433 | GLM 5.2 |
| LMArena WebDev: React | 1617 | 1685 | GPT-6 Sol |
| LMArena WebDev: HTML | 1565 | 1685 | GPT-6 Sol |
| LMArena WebDev: from an image | Not measured | 1660 | Only 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
| Benchmark | GLM 5.2 | GPT-6 Sol | Leader |
|---|---|---|---|
| AA Intelligence Index | 33.7 | 47.6 | GPT-6 Sol |
| Epoch Capabilities Index | 151.9 | 163.7 | GPT-6 Sol |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index36
| Benchmark | GLM 5.2 | GPT-6 Sol | Leader |
|---|---|---|---|
| AA Agentic Index | 38.4 | Not measured | Only GLM 5.2 measured |
| Design Arena: agents building web apps | 1222 | 1231 | GPT-6 Sol |
| Design Arena: agents building full-stack apps | 1241 | 1238 | GLM 5.2 |
| Design Arena: agents building mobile apps | 1160 | 1214 | GPT-6 Sol |
| Design Arena: agents building Android apps | 1178 | Not measured | Only GLM 5.2 measured |
| Design Arena: agents building Godot games | 1142 | Not measured | Only GLM 5.2 measured |
| Design Arena: agents building games | 1206 | Not measured | Only GLM 5.2 measured |
| Design Arena: HTML slides | 1175 | Not measured | Only GLM 5.2 measured |
| Design Arena: PowerPoint slides | 1195 | Not measured | Only GLM 5.2 measured |
| LiveBench research | Not measured | 69.3% | Only GPT-6 Sol measured |
| LiveBench browser | Not measured | 92.0% | Only GPT-6 Sol measured |
| LiveBench long agentic | Not measured | 66.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 measured | 15.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 measured | 74.8% | Only GPT-6 Sol measured |
| Terminal-Bench-Science (Vals AI) | Not measured | 30.0% | Only GPT-6 Sol measured |
| Vals Science Index | Not measured | 45.0% | Only GPT-6 Sol measured |
| τ²-Bench Telecom | 99.1% | Not measured | Only GLM 5.2 measured |
| APEX-Agents | 45.2% | 54.3% | GPT-6 Sol |
| PostTrainBench | 31.7% | Not measured | Only GLM 5.2 measured |
| SpireClimb | Not measured | 7.5% | Only GPT-6 Sol measured |
| Vending-Bench 2 | $8,314 | $14,428 | GPT-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
| Benchmark | GLM 5.2 | GPT-6 Sol | Leader |
|---|---|---|---|
| GPQA Diamond | 85.6% | Not measured | Only GLM 5.2 measured |
| LiveBench reasoning | Not measured | 88.7% | Only GPT-6 Sol measured |
| MysteryMechanism (Vals AI) | Not measured | 30.2% | Only GPT-6 Sol measured |
| GPQA Diamond (Artificial Analysis run) | 89.5% | Not measured | Only 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-AGI | 77.0% | 95.5% | GPT-6 Sol |
| ARC-AGI-2 | 22.8% | 89.6% | GPT-6 Sol |
| SimpleBench | 58.8% | Not measured | Only GLM 5.2 measured |
| Chess puzzles | 22.0% | 56.0% | GPT-6 Sol |
| Mystery game puzzles | 19.0% | 56.0% | GPT-6 Sol |
| EBR-bench | 9.5% | 53.3% | GPT-6 Sol |
| LMArena Text: hard prompts | 1481 | 1422 | GLM 5.2 |
| LMArena Text: expert | 1487 | 1437 | GLM 5.2 |
| LMArena Text: hard prompts in English | 1481 | 1420 | GLM 5.2 |
| LMArena Vision: diagrams | Not measured | 1270 | Only GPT-6 Sol measured |
| LMArena Vision: homework | Not measured | 1286 | Only GPT-6 Sol measured |
| Kagi LLM Benchmark | 62.6% | Not measured | Only 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
| Benchmark | GLM 5.2 | GPT-6 Sol | Leader |
|---|---|---|---|
| OTIS Mock AIME | 86.4% | 100.0% | GPT-6 Sol |
| FrontierMath, tiers 1 to 3 | 59.2% | 89.8% | GPT-6 Sol |
| FrontierMath, tier 4 | 29.3% | 90.0% | GPT-6 Sol |
| ProofBench | 35.0% | 83.0% | GPT-6 Sol |
| LMArena Text: math | 1483 | 1407 | GLM 5.2 |
| LMArena Text: mathematical work | 1489 | 1424 | GLM 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
| Benchmark | GLM 5.2 | GPT-6 Sol | Leader |
|---|---|---|---|
| MMLU Pro | 86.7% | Not measured | Only GLM 5.2 measured |
| LegalBench (Vals AI) | 84.1% | Not measured | Only GLM 5.2 measured |
| CorpFin (Vals AI) | 66.1% | Not measured | Only GLM 5.2 measured |
| TaxEval (Vals AI) | 73.3% | Not measured | Only GLM 5.2 measured |
| MedCode (Vals AI) | 40.8% | 47.1% | GPT-6 Sol |
| SimpleQA Verified | 34.2% | 60.7% | GPT-6 Sol |
| LMArena Text: science | 1489 | 1389 | GLM 5.2 |
| LMArena Text: medicine and healthcare | 1475 | 1366 | GLM 5.2 |
| LMArena Text: legal and government | 1486 | 1396 | GLM 5.2 |
| LMArena Text: business and finance | 1451 | 1380 | GLM 5.2 |
| FACTS Benchmark Suite | Not measured | 72.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
| Benchmark | GLM 5.2 | GPT-6 Sol | Leader |
|---|---|---|---|
| Design Arena: websites | 1285 | 1292 | GPT-6 Sol |
| Design Arena: UI components | 1296 | 1292 | GLM 5.2 |
| Design Arena: game dev | 1268 | 1314 | GPT-6 Sol |
| Design Arena: data viz | 1285 | 1269 | GLM 5.2 |
| Design Arena: 3D | 1288 | 1318 | GPT-6 Sol |
| Design Arena: all code categories | 1288 | 1301 | GPT-6 Sol |
| Design Arena: SVG | 1214 | 1316 | GPT-6 Sol |
| Design Arena: ASCII art | 1190 | 1225 | GPT-6 Sol |
| LiveBench design | Not measured | 82.2% | Only GPT-6 Sol measured |
GeneralLike-for-likePublic boards, shown as published, kept out of the index183
| Benchmark | GLM 5.2 | GPT-6 Sol | Leader |
|---|---|---|---|
| LiveBench data analysis | Not measured | 81.2% | Only GPT-6 Sol measured |
| Public Benefits Bench (Vals AI) | Not measured | 56.6% | Only GPT-6 Sol measured |
| SAGE (Vals AI) | Not measured | 44.8% | Only GPT-6 Sol measured |
| MedScribe (Vals AI) | 83.5% | 82.0% | GLM 5.2 |
| IFBench | 73.3% | Not measured | Only GLM 5.2 measured |
| Long context reasoning (AA-LCR) | 78.3% | 83.7% | GPT-6 Sol |
| DTBench | 93.6% | 97.3% | GPT-6 Sol |
| LMCA | 45.8% | 59.1% | GPT-6 Sol |
| Surface Evolver Bench | 55.6% | Not measured | Only GLM 5.2 measured |
| Furniture assembly | Not measured | 58.3% | Only GPT-6 Sol measured |
| LMArena Text | 1470 | 1398 | GLM 5.2 |
| LMArena Text: instruction following | 1466 | 1413 | GLM 5.2 |
| LMArena Text: creative writing | 1463 | 1378 | GLM 5.2 |
| LMArena Vision | Not measured | 1240 | Only GPT-6 Sol measured |
| LMArena Text: English | 1475 | 1396 | GLM 5.2 |
| LMArena Text: non-English | 1459 | 1388 | GLM 5.2 |
| LMArena Text: Chinese | 1522 | 1412 | GLM 5.2 |
| LMArena Text: German | 1470 | 1379 | GLM 5.2 |
| LMArena Text: Japanese | 1450 | 1377 | GLM 5.2 |
| LMArena Text: Korean | 1440 | 1336 | GLM 5.2 |
| LMArena Text: French | 1479 | 1399 | GLM 5.2 |
| LMArena Text: Spanish | 1478 | 1387 | GLM 5.2 |
| LMArena Text: Russian | 1468 | 1402 | GLM 5.2 |
| LMArena Text: Polish | 1456 | 1372 | GLM 5.2 |
| LMArena Text: multi-turn | 1469 | 1414 | GLM 5.2 |
| LMArena Text: longer queries | 1480 | 1416 | GLM 5.2 |
| LMArena Text: writing and language | 1463 | 1389 | GLM 5.2 |
| LMArena Text: entertainment and media | 1450 | 1373 | GLM 5.2 |
| LMArena Vision: English | Not measured | 1229 | Only GPT-6 Sol measured |
| LMArena Vision: reading text | Not measured | 1258 | Only GPT-6 Sol measured |
| LMArena Vision: creative writing | Not measured | 1219 | Only 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
| Benchmark | GLM 5.2 | GPT-6 Sol | Leader |
|---|---|---|---|
| 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 costs less
Repository review
50K input + 3K output tokens
GLM 5.2 costs less
Agent loop
200K input + 10K output tokens
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.
| Specification | Z.ai GLM 5.2 | OpenAI GPT-6 Sol |
|---|---|---|
| Maker | Z.ai | OpenAI |
| Weights | Open weights | No public weights listed |
| Released | June 16, 2026 | September 22, 2026 |
| Context window | 1.05M | 1.05M |
| Input $/Mtok | $1.40 | $2.00 |
| Output $/Mtok | $4.40 | $10.00 |
| Coding index | 61.1 | 76.0 |
| Independent measurements behind it | 4 | 5 |
| Cost per solved task | $0.86 | Not computable |
| Source | OpenRouter listing | OpenRouter 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.