Enter opens the highlighted result. Esc closes.

GLM 4.5 vs GPT-5.2

GPT-5.2 leads GLM 4.5 on the Artificial Analysis Intelligence Index, 30.4 to 12.8, and GLM 4.5 costs 6.4x less per output token ($2.20 vs $14.00 per million). Updated October 22, 2026; 59 benchmarks have a result for both.

GLM 4.5Z.ai
Coding
No data
Overall
No data
Output $/M
$2.20
16
GPT-5.2OpenAI
Coding
55.9
Overall
60.7
Output $/M
$14.00
43
vs boards won of 59 shared

GLM 4.5 or GPT-5.2: which to pick

Only GPT-5.2 has a coding score, 55.9 on the Vibe Coding Index; GLM 4.5 has none, so the two cannot be ranked on coding.

Pick GLM 4.5 for output tokens 6.4x cheaper ($2.20 vs $14.00 per million) and work measured by LMArena Text: software and IT or LMArena Text: hard prompts, where it leads.

Shared results
59
GLM 4.5 only
2
GPT-5.2 only
55
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 4.5 not benchmarked, GPT-5.2 55.9 from 3 benchmarks.
Widest category
Agentic work, 41.8 points apart on average over 1 shared benchmark.
Widest single gap
τ²-Bench Telecom: GLM 4.5 43.0% against GPT-5.2 84.8%, 41.8 points apart on a 0 to 100 scale.
Output price
GLM 4.5 $2.20 against GPT-5.2 $14.00 per million output tokens, 6.4x apart.
Context window
GLM 4.5 takes 131K tokens, GPT-5.2 400K.

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 4.5BarsGPT-5.2Ties
Coding17
Intelligence01
Agentic work01
Reasoning16
Math06
Knowledge46
Web design16
General910
All shared boards1643
CodingLike-for-likeSix of these boards feed the Vibe Coding Index17
Coding benchmarks for GLM 4.5 and GPT-5.2
BenchmarkGLM 4.5GPT-5.2Leader
SWE-bench Verified64.2%72.8%GPT-5.2
SWE-bench MultilingualNot measured66.7%Only GPT-5.2 measured
LMArena WebDevNot measured1417Only GPT-5.2 measured
LiveCodeBench (Vals AI)67.5%85.4%GPT-5.2
SWE-bench Verified (Vals AI)Not measured75.8%Only GPT-5.2 measured
Vibe Code Bench (Vals AI)Not measured53.5%Only GPT-5.2 measured
LiveCodeBench (Artificial Analysis run)73.8%89.4%GPT-5.2
Terminal-Bench Hard (Artificial Analysis run)22.0%47.0%GPT-5.2
Terminal-BenchNot measured64.9%Only GPT-5.2 measured
GSO-BenchNot measured27.5%Only GPT-5.2 measured
WeirdML40.6%72.2%GPT-5.2
ALE-Bench344.81293.5GPT-5.2
LMArena Text: coding14341442GPT-5.2
LMArena Text: software and IT14401434GLM 4.5
LMArena WebDev: HTMLNot measured1427Only GPT-5.2 measured
Neither model has a result on the other 24 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for GLM 4.5 and GPT-5.2
BenchmarkGLM 4.5GPT-5.2Leader
AA Intelligence Index12.830.4GPT-5.2
Epoch Capabilities IndexNot measured153.7Only GPT-5.2 measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for GLM 4.5 and GPT-5.2
BenchmarkGLM 4.5GPT-5.2Leader
Design Arena: agents building web appsNot measured1086Only GPT-5.2 measured
Design Arena: agents building full-stack appsNot measured1043Only GPT-5.2 measured
Design Arena: agents building mobile appsNot measured1093Only GPT-5.2 measured
Design Arena: agents building Android appsNot measured1059Only GPT-5.2 measured
Design Arena: agents building Godot gamesNot measured1142Only GPT-5.2 measured
τ²-Bench Telecom43.0%84.8%GPT-5.2
METR time horizonsNot measured75.3%Only GPT-5.2 measured
Remote Labor IndexNot measured2.5%Only GPT-5.2 measured
GDPvalNot measured49.7%Only GPT-5.2 measured
DeepResearch BenchNot measured41.1%Only GPT-5.2 measured
Vending-Bench 2Not measured$3,591Only GPT-5.2 measured
Berkeley Function Calling Leaderboard (BFCL)Not measured55.9%Only GPT-5.2 measured
Neither model has a result on the other 29 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index16
Reasoning benchmarks for GLM 4.5 and GPT-5.2
BenchmarkGLM 4.5GPT-5.2Leader
GPQA Diamond72.2%91.7%GPT-5.2
MMMU Pro (Vals AI)Not measured86.7%Only GPT-5.2 measured
GPQA Diamond (Artificial Analysis run)78.2%90.3%GPT-5.2
Humanity's Last Exam (Artificial Analysis run)13.0%37.7%GPT-5.2
GPQA Diamond (Epoch AI run)Not measured91.4%Only GPT-5.2 measured
ARC-AGINot measured86.2%Only GPT-5.2 measured
ARC-AGI-2Not measured52.9%Only GPT-5.2 measured
SimpleBenchNot measured45.8%Only GPT-5.2 measured
Chess puzzlesNot measured48.0%Only GPT-5.2 measured
Mystery game puzzlesNot measured23.0%Only GPT-5.2 measured
EBR-benchNot measured23.0%Only GPT-5.2 measured
VPCTNot measured84.0%Only GPT-5.2 measured
LMArena Text: hard prompts14291428GLM 4.5
LMArena Text: expert14331445GPT-5.2
LMArena Text: hard prompts in English14291431GPT-5.2
LMArena Vision: diagramsNot measured1265Only GPT-5.2 measured
LMArena Vision: homeworkNot measured1276Only GPT-5.2 measured
Kagi LLM Benchmark57.9%73.3%GPT-5.2
Neither model has a result on the other 4 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index06
Math benchmarks for GLM 4.5 and GPT-5.2
BenchmarkGLM 4.5GPT-5.2Leader
AIME86.7%96.9%GPT-5.2
MATH 500 (Vals AI)94.0%Not measuredOnly GLM 4.5 measured
MGSM (Vals AI)90.8%94.0%GPT-5.2
AA Math Index73.799.0GPT-5.2
AIME 2025 (Artificial Analysis run)73.7%99.0%GPT-5.2
OTIS Mock AIMENot measured96.1%Only GPT-5.2 measured
FrontierMath, tiers 1 to 3Not measured67.4%Only GPT-5.2 measured
FrontierMath, tier 4Not measured31.7%Only GPT-5.2 measured
ProofBenchNot measured15.0%Only GPT-5.2 measured
LMArena Text: math14271440GPT-5.2
LMArena Text: mathematical work14301442GPT-5.2
Neither model has a result on the other 2 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index46
Knowledge benchmarks for GLM 4.5 and GPT-5.2
BenchmarkGLM 4.5GPT-5.2Leader
MMLU Pro81.2%86.2%GPT-5.2
LegalBench (Vals AI)75.6%82.8%GPT-5.2
CaseLaw (Vals AI)Not measured66.0%Only GPT-5.2 measured
CorpFin (Vals AI)61.0%65.9%GPT-5.2
TaxEval (Vals AI)72.4%75.8%GPT-5.2
MortgageTax (Vals AI)Not measured67.1%Only GPT-5.2 measured
MedQA (Vals AI)90.0%94.1%GPT-5.2
MedCode (Vals AI)Not measured49.8%Only GPT-5.2 measured
MMLU Pro (Artificial Analysis run)83.5%87.4%GPT-5.2
SimpleQA VerifiedNot measured37.1%Only GPT-5.2 measured
LMArena Text: science14441425GLM 4.5
LMArena Text: medicine and healthcare14551425GLM 4.5
LMArena Text: legal and government14381427GLM 4.5
LMArena Text: business and finance14201414GLM 4.5
FACTS Benchmark SuiteNot measured48.5%Only GPT-5.2 measured
Neither model has a result on the other 3 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index16
Web design benchmarks for GLM 4.5 and GPT-5.2
BenchmarkGLM 4.5GPT-5.2Leader
Design Arena: websites11691195GPT-5.2
Design Arena: UI components11411190GPT-5.2
Design Arena: game dev11441195GPT-5.2
Design Arena: data viz11591202GPT-5.2
Design Arena: 3D11701079GLM 4.5
Design Arena: all code categories11651170GPT-5.2
Design Arena: SVG10961139GPT-5.2
Design Arena: ASCII artNot measured1152Only GPT-5.2 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index910
General benchmarks for GLM 4.5 and GPT-5.2
BenchmarkGLM 4.5GPT-5.2Leader
SAGE (Vals AI)Not measured49.3%Only GPT-5.2 measured
MedScribe (Vals AI)Not measured84.4%Only GPT-5.2 measured
IFBench44.1%75.4%GPT-5.2
Long context reasoning (AA-LCR)52.7%82.7%GPT-5.2
DTBenchNot measured90.9%Only GPT-5.2 measured
LMCANot measured43.9%Only GPT-5.2 measured
Creative writing (Lech Mazur)73.4%Not measuredOnly GLM 4.5 measured
CL-benchNot measured18.2%Only GPT-5.2 measured
Furniture assemblyNot measured38.3%Only GPT-5.2 measured
LMArena Text14301416GLM 4.5
LMArena Text: instruction following14041409GPT-5.2
LMArena Text: creative writing13951376GLM 4.5
LMArena VisionNot measured1246Only GPT-5.2 measured
LMArena Text: English14371422GLM 4.5
LMArena Text: non-English14171405GLM 4.5
LMArena Text: Chinese14651447GLM 4.5
LMArena Text: German14071444GPT-5.2
LMArena Text: Japanese14151420GPT-5.2
LMArena Text: Korean13801374GLM 4.5
LMArena Text: French14181454GPT-5.2
LMArena Text: Spanish14541413GLM 4.5
LMArena Text: Russian14131415GPT-5.2
LMArena Text: Polish14221426GPT-5.2
LMArena Text: multi-turn14151419GPT-5.2
LMArena Text: longer queries14121413GPT-5.2
LMArena Text: writing and language14031392GLM 4.5
LMArena Text: entertainment and media14041378GLM 4.5
LMArena Vision: EnglishNot measured1243Only GPT-5.2 measured
LMArena Vision: ChineseNot measured1305Only GPT-5.2 measured
LMArena Vision: reading textNot measured1257Only GPT-5.2 measured
LMArena Vision: humorNot measured1227Only GPT-5.2 measured
LMArena Vision: captioningNot measured1267Only GPT-5.2 measured
LMArena Vision: recognizing thingsNot measured1232Only GPT-5.2 measured
LMArena Vision: creative writingNot measured1225Only GPT-5.2 measured
LMArena DocumentNot measured1405Only GPT-5.2 measured
Neither model has a result on the other 11 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GLM 4.5 and GPT-5.2
BenchmarkGLM 4.5GPT-5.2Leader
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 4.5$0.0017Fits in one request
GPT-5.2$0.0088Fits in one request

GLM 4.5 costs less

Repository review

50K input + 3K output tokens

GLM 4.5$0.037Fits in one request
GPT-5.2$0.130Fits in one request

GLM 4.5 costs less

Agent loop

200K input + 10K output tokens

GLM 4.5$0.142Exceeds the context window
GPT-5.2$0.490Fits in one request

GLM 4.5 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 4.5 and GPT-5.2
SpecificationZ.ai GLM 4.5OpenAI GPT-5.2
MakerZ.aiOpenAI
WeightsOpen weightsNo public weights listed
ReleasedJuly 25, 2025December 10, 2025
Context window131K400K
Input $/Mtok$0.60$1.75
Output $/Mtok$2.20$14.00
Coding indexNot benchmarked55.9
Independent measurements behind it03
Cost per solved taskNot computable$1.91
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 4.5 better than GPT-5.2 for coding?

Only GPT-5.2 has a coding score, 55.9 on the Vibe Coding Index; GLM 4.5 has none, so the two cannot be ranked on coding. Pick GLM 4.5 for output tokens 6.4x cheaper ($2.20 vs $14.00 per million) and work measured by LMArena Text: software and IT or LMArena Text: hard prompts, where it leads.

Which is cheaper, GLM 4.5 or GPT-5.2?

GLM 4.5 costs $0.60 per million input tokens and $2.20 per million output tokens; GPT-5.2 costs $1.75 and $14.00. Cost per solved task is known for GPT-5.2 only.

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

GPT-5.2, with 400K tokens against 131K.

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

59 benchmarks have a result for both models as of October 22, 2026. GLM 4.5's coding index rests on 0 independent benchmarks and GPT-5.2's on 3. Where only one model has a result, the page says so instead of naming a winner.

Compare next