Enter opens the highlighted result. Esc closes.

GLM 5.2 vs GPT-5.6 Terra

GPT-5.6 Terra leads GLM 5.2 on coding, 63.9 to 61.1 on the Vibe Coding Index, and GLM 5.2 costs 2.7x less per output token ($4.40 vs $12.00 per million). Updated October 22, 2026; 96 benchmarks have a result for both.

GLM 5.2Z.ai
Coding
61.1
Overall
62.5
Output $/M
$4.40
52
GPT-5.6 TerraOpenAI
Coding
63.9
Overall
68.1
Output $/M
$12.00
43
vs boards won of 96 shared, 1 tied

GLM 5.2 or GPT-5.6 Terra: which to pick

Pick GPT-5.6 Terra for coding: it scores 63.9 on the Vibe Coding Index against 61.1 for GLM 5.2.

Pick GLM 5.2 for output tokens 2.7x cheaper ($4.40 vs $12.00 per million) and work measured by LMArena WebDev or LMArena Text: coding, where it leads.

Shared results
96
GLM 5.2 only
8
GPT-5.6 Terra only
33
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-5.6 Terra 63.9 from 6 benchmarks.
Widest category
Math, 20.9 points apart on average over 6 shared benchmarks.
Widest single gap
ARC-AGI-2: GLM 5.2 22.8% against GPT-5.6 Terra 83.9%, 61.1 points apart on a 0 to 100 scale.
Output price
GLM 5.2 $4.40 against GPT-5.6 Terra $12.00 per million output tokens, 2.7x apart.
Context window
GLM 5.2 takes 1.05M tokens, GPT-5.6 Terra 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-5.6 TerraTies
Coding5121 tie
Intelligence02
Agentic work96
Reasoning49
Math24
Knowledge64
Web design71
General195
All shared boards52431 tie
CodingLike-for-likeSix of these boards feed the Vibe Coding Index512
Coding benchmarks for GLM 5.2 and GPT-5.6 Terra
BenchmarkGLM 5.2GPT-5.6 TerraLeader
LiveBench codingNot measured86.2%Only GPT-5.6 Terra measured
LMArena WebDev16041522GLM 5.2
AA Coding Index68.876.7GPT-5.6 Terra
LiveCodeBench (Vals AI)69.5%85.9%GPT-5.6 Terra
SWE-bench Verified (Vals AI)82.8%95.4%GPT-5.6 Terra
Terminal-Bench 4 (Vals AI)Not measured22.7%Only GPT-5.6 Terra measured
Vibe Code Bench (Vals AI)64.0%74.6%GPT-5.6 Terra
Code migration (Vals AI)37.9%47.8%GPT-5.6 Terra
ProgramBench (Vals AI)0.5%0.5%Tie
IOI (Vals AI)Not measured87.6%Only GPT-5.6 Terra measured
Terminal-Bench 2.1 (Vals AI)67.8%77.5%GPT-5.6 Terra
Vibe Code Bench 1-100 (Vals AI)Not measured14.8%Only GPT-5.6 Terra measured
SkillsBench (Vals AI)45.1%58.9%GPT-5.6 Terra
CyberBench (Vals AI)Not measured72.1%Only GPT-5.6 Terra measured
SciCode51.2%55.0%GPT-5.6 Terra
Terminal-Bench Hard (Artificial Analysis run)50.8%62.9%GPT-5.6 Terra
FrontierCode24.5%41.3%GPT-5.6 Terra
WeirdML70.1%78.3%GPT-5.6 Terra
ALE-Bench1047.01951.4GPT-5.6 Terra
LMArena Text: coding14871485GLM 5.2
LMArena Text: software and IT14861482GLM 5.2
LMArena WebDev: React16171513GLM 5.2
LMArena WebDev: HTML15651526GLM 5.2
LMArena WebDev: from an imageNot measured1541Only GPT-5.6 Terra measured
SciCodeNot measured10.8%Only GPT-5.6 Terra measured
SWE-Bench Pro V2Not measured92.4%Only GPT-5.6 Terra 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
Neither model has a result on the other 14 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for GLM 5.2 and GPT-5.6 Terra
BenchmarkGLM 5.2GPT-5.6 TerraLeader
AA Intelligence Index33.742.1GPT-5.6 Terra
Epoch Capabilities Index151.9160.1GPT-5.6 Terra
Agentic workLike-for-likePublic boards, shown as published, kept out of the index96
Agentic work benchmarks for GLM 5.2 and GPT-5.6 Terra
BenchmarkGLM 5.2GPT-5.6 TerraLeader
AA Agentic Index38.443.2GPT-5.6 Terra
Design Arena: agents building web apps12221120GLM 5.2
Design Arena: agents building full-stack apps12411061GLM 5.2
Design Arena: agents building mobile apps11591110GLM 5.2
Design Arena: agents building Android apps11771060GLM 5.2
Design Arena: agents building Godot games1142Not measuredOnly GLM 5.2 measured
Design Arena: agents building games12061083GLM 5.2
Design Arena: HTML slides11141047GLM 5.2
Design Arena: PowerPoint slides11671104GLM 5.2
LiveBench researchNot measured60.4%Only GPT-5.6 Terra measured
LiveBench browserNot measured84.0%Only GPT-5.6 Terra measured
LiveBench long agenticNot measured48.4%Only GPT-5.6 Terra measured
SREBench (Vals AI)0.0%9.5%GPT-5.6 Terra
Finance Agent (Vals AI)49.7%54.4%GPT-5.6 Terra
Tax Agent Bench (Vals AI)Not measured30.0%Only GPT-5.6 Terra measured
Legal Research Bench (Vals AI)31.3%41.4%GPT-5.6 Terra
Excel Modeling Benchmark (Vals AI)61.5%66.2%GPT-5.6 Terra
Terminal-Bench-Science (Vals AI)Not measured10.0%Only GPT-5.6 Terra measured
τ²-Bench Telecom99.1%86.3%GLM 5.2
APEX-Agents45.2%58.2%GPT-5.6 Terra
BALROGNot measured53.2%Only GPT-5.6 Terra measured
PostTrainBench31.7%Not measuredOnly GLM 5.2 measured
Vending-Bench 2$8,314$7,343GLM 5.2
MCP Atlas77.8%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 index49
Reasoning benchmarks for GLM 5.2 and GPT-5.6 Terra
BenchmarkGLM 5.2GPT-5.6 TerraLeader
GPQA Diamond85.6%90.9%GPT-5.6 Terra
LiveBench reasoningNot measured90.6%Only GPT-5.6 Terra measured
MMMU Pro (Vals AI)Not measured86.5%Only GPT-5.6 Terra measured
GPQA Diamond (Artificial Analysis run)89.5%92.5%GPT-5.6 Terra
Humanity's Last Exam (Artificial Analysis run)41.1%42.9%GPT-5.6 Terra
GPQA Diamond (Epoch AI run)91.9%93.3%GPT-5.6 Terra
ARC-AGI77.0%96.5%GPT-5.6 Terra
ARC-AGI-222.8%83.9%GPT-5.6 Terra
SimpleBench58.8%48.9%GLM 5.2
Chess puzzles22.0%47.0%GPT-5.6 Terra
Mystery game puzzles19.0%35.0%GPT-5.6 Terra
EBR-bench9.5%Not measuredOnly GLM 5.2 measured
LMArena Text: hard prompts14811469GLM 5.2
LMArena Text: expert14871496GPT-5.6 Terra
LMArena Text: hard prompts in English14811465GLM 5.2
LMArena Vision: diagramsNot measured1295Only GPT-5.6 Terra measured
LMArena Vision: homeworkNot measured1312Only GPT-5.6 Terra measured
Kagi LLM Benchmark62.6%51.3%GLM 5.2
Neither model has a result on the other 5 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index24
Math benchmarks for GLM 5.2 and GPT-5.6 Terra
BenchmarkGLM 5.2GPT-5.6 TerraLeader
OTIS Mock AIME86.4%99.7%GPT-5.6 Terra
FrontierMath, tiers 1 to 359.2%86.0%GPT-5.6 Terra
FrontierMath, tier 429.3%70.7%GPT-5.6 Terra
ProofBench35.0%74.0%GPT-5.6 Terra
LMArena Text: math14831465GLM 5.2
LMArena Text: mathematical work14891478GLM 5.2
MathArena22.7%Not measuredOnly GLM 5.2 measured
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index64
Knowledge benchmarks for GLM 5.2 and GPT-5.6 Terra
BenchmarkGLM 5.2GPT-5.6 TerraLeader
MMLU Pro86.7%86.7%GLM 5.2
LegalBench (Vals AI)84.1%85.1%GPT-5.6 Terra
CorpFin (Vals AI)66.1%65.3%GLM 5.2
TaxEval (Vals AI)73.3%76.2%GPT-5.6 Terra
MortgageTax (Vals AI)Not measured67.3%Only GPT-5.6 Terra measured
MedCode (Vals AI)40.8%43.4%GPT-5.6 Terra
SimpleQA Verified34.2%43.2%GPT-5.6 Terra
LMArena Text: science14891452GLM 5.2
LMArena Text: medicine and healthcare14751430GLM 5.2
LMArena Text: legal and government14861461GLM 5.2
LMArena Text: business and finance14511448GLM 5.2
FACTS Benchmark SuiteNot measured52.0%Only GPT-5.6 Terra measured
Neither model has a result on the other 8 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index71
Web design benchmarks for GLM 5.2 and GPT-5.6 Terra
BenchmarkGLM 5.2GPT-5.6 TerraLeader
Design Arena: websites12851268GLM 5.2
Design Arena: UI components12941256GLM 5.2
Design Arena: game dev12671229GLM 5.2
Design Arena: data viz12861240GLM 5.2
Design Arena: 3D12871134GLM 5.2
Design Arena: all code categories12871240GLM 5.2
Design Arena: SVG12131219GPT-5.6 Terra
Design Arena: ASCII art11911178GLM 5.2
LiveBench designNot measured76.0%Only GPT-5.6 Terra measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index195
General benchmarks for GLM 5.2 and GPT-5.6 Terra
BenchmarkGLM 5.2GPT-5.6 TerraLeader
LiveBench data analysisNot measured79.3%Only GPT-5.6 Terra measured
Public Benefits Bench (Vals AI)Not measured62.4%Only GPT-5.6 Terra measured
SAGE (Vals AI)Not measured47.0%Only GPT-5.6 Terra measured
MedScribe (Vals AI)83.5%82.9%GLM 5.2
Vals Multimodal IndexNot measured65.1%Only GPT-5.6 Terra measured
IFBench73.3%71.2%GLM 5.2
Long context reasoning (AA-LCR)78.3%83.0%GPT-5.6 Terra
DTBench93.6%93.3%GLM 5.2
LMCA45.8%54.9%GPT-5.6 Terra
Surface Evolver Bench55.6%83.8%GPT-5.6 Terra
Furniture assemblyNot measured54.2%Only GPT-5.6 Terra measured
LMArena Text14701448GLM 5.2
LMArena Text: instruction following14661456GLM 5.2
LMArena Text: creative writing14631413GLM 5.2
LMArena VisionNot measured1271Only GPT-5.6 Terra measured
LMArena Text: English14751449GLM 5.2
LMArena Text: non-English14591441GLM 5.2
LMArena Text: Chinese15221514GLM 5.2
LMArena Text: German14701460GLM 5.2
LMArena Text: Japanese14501454GPT-5.6 Terra
LMArena Text: Korean14401427GLM 5.2
LMArena Text: French14791466GLM 5.2
LMArena Text: Spanish14781451GLM 5.2
LMArena Text: Russian14681452GLM 5.2
LMArena Text: Polish14561446GLM 5.2
LMArena Text: multi-turn14691453GLM 5.2
LMArena Text: longer queries14801454GLM 5.2
LMArena Text: writing and language14631431GLM 5.2
LMArena Text: entertainment and media14501418GLM 5.2
LMArena Vision: EnglishNot measured1272Only GPT-5.6 Terra measured
LMArena Vision: ChineseNot measured1337Only GPT-5.6 Terra measured
LMArena Vision: reading textNot measured1278Only GPT-5.6 Terra measured
LMArena Vision: humorNot measured1236Only GPT-5.6 Terra measured
LMArena Vision: creative writingNot measured1248Only GPT-5.6 Terra measured
LMArena DocumentNot measured1472Only GPT-5.6 Terra measured
EQ-Bench 412221234GPT-5.6 Terra
Neither model has a result on the other 12 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-5.6 Terra
BenchmarkGLM 5.2GPT-5.6 TerraLeader
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-5.6 Terra$0.0080Fits in one request

GLM 5.2 costs less

Repository review

50K input + 3K output tokens

GLM 5.2$0.083Fits in one request
GPT-5.6 Terra$0.136Fits in one request

GLM 5.2 costs less

Agent loop

200K input + 10K output tokens

GLM 5.2$0.324Fits in one request
GPT-5.6 Terra$0.520Fits 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-5.6 Terra
SpecificationZ.ai GLM 5.2OpenAI GPT-5.6 Terra
MakerZ.aiOpenAI
WeightsOpen weightsNo public weights listed
ReleasedJune 16, 2026July 9, 2026
Context window1.05M1.05M
Input $/Mtok$1.40$2.00
Output $/Mtok$4.40$12.00
Coding index61.163.9
Independent measurements behind it46
Cost per solved task$0.86$0.42
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 5.2 better than GPT-5.6 Terra for coding?

Pick GPT-5.6 Terra for coding: it scores 63.9 on the Vibe Coding Index against 61.1 for GLM 5.2. Pick GLM 5.2 for output tokens 2.7x cheaper ($4.40 vs $12.00 per million) and work measured by LMArena WebDev or LMArena Text: coding, where it leads.

Which is cheaper, GLM 5.2 or GPT-5.6 Terra?

GLM 5.2 costs $1.40 per million input tokens and $4.40 per million output tokens; GPT-5.6 Terra costs $2.00 and $12.00. Per solved SWE-bench Verified task, GLM 5.2 costs $0.86 and GPT-5.6 Terra $0.42.

Which has the bigger context window, GLM 5.2 or GPT-5.6 Terra?

GPT-5.6 Terra, with 1.05M tokens against 1.05M.

How many benchmarks is the GLM 5.2 vs GPT-5.6 Terra comparison based on?

96 benchmarks have a result for both models as of October 22, 2026. GLM 5.2's coding index rests on 4 independent benchmarks and GPT-5.6 Terra's on 6. 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-5-6-terra" title="GLM 5.2 vs GPT-5.6 Terra, 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-5-6-terra">LLMBenchmark.ai, GLM 5.2 vs GPT-5.6 Terra</a></p>