Enter opens the highlighted result. Esc closes.

GLM 4.6 vs GPT-5.4 Nano

GPT-5.4 Nano leads GLM 4.6 on coding, 44.8 to 8.8 on the Vibe Coding Index, and GPT-5.4 Nano costs 1.8x less per output token ($1.25 vs $2.20 per million). Updated October 22, 2026; 46 benchmarks have a result for both.

GLM 4.6Z.ai
Coding
8.8
Overall
33.4
Output $/M
$2.20
33
GPT-5.4 NanoOpenAI
Coding
44.8
Overall
45.7
Output $/M
$1.25
13
vs boards won of 46 shared

GLM 4.6 or GPT-5.4 Nano: which to pick

Pick GPT-5.4 Nano for coding: it scores 44.8 on the Vibe Coding Index against 8.8 for GLM 4.6.

Pick GLM 4.6 for work measured by LMArena Text: coding or LMArena Text: software and IT, where it leads.

Shared results
46
GLM 4.6 only
23
GPT-5.4 Nano only
39
Like-for-like categories
7 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.6 8.8 from 2 benchmarks, GPT-5.4 Nano 44.8 from 2 benchmarks.
Widest category
General, 13.4 points apart on average over 19 shared benchmarks.
Widest single gap
IFBench: GLM 4.6 43.4% against GPT-5.4 Nano 75.9%, 32.5 points apart on a 0 to 100 scale.
Output price
GLM 4.6 $2.20 against GPT-5.4 Nano $1.25 per million output tokens, 1.8x apart.
Context window
GLM 4.6 takes 205K tokens, GPT-5.4 Nano 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.6BarsGPT-5.4 NanoTies
Coding25
Intelligence01
Agentic work10
Reasoning43
Math30
Knowledge62
General172
All shared boards3313
CodingLike-for-likeSix of these boards feed the Vibe Coding Index25
Coding benchmarks for GLM 4.6 and GPT-5.4 Nano
BenchmarkGLM 4.6GPT-5.4 NanoLeader
SWE-bench Verified68.2%Not measuredOnly GLM 4.6 measured
LMArena WebDev1341Not measuredOnly GLM 4.6 measured
AA Coding Index45.856.1GPT-5.4 Nano
LiveCodeBench (Vals AI)81.0%84.0%GPT-5.4 Nano
SWE-bench Verified (Vals AI)Not measured69.8%Only GPT-5.4 Nano measured
Vibe Code Bench (Vals AI)3.1%26.1%GPT-5.4 Nano
Code migration (Vals AI)Not measured14.5%Only GPT-5.4 Nano measured
Terminal-Bench 2.1 (Vals AI)Not measured41.6%Only GPT-5.4 Nano measured
LiveCodeBench (Artificial Analysis run)69.5%Not measuredOnly GLM 4.6 measured
SciCodeNot measured47.2%Only GPT-5.4 Nano measured
Terminal-Bench Hard (Artificial Analysis run)28.8%42.4%GPT-5.4 Nano
Terminal-Bench24.5%Not measuredOnly GLM 4.6 measured
WeirdMLNot measured49.2%Only GPT-5.4 Nano measured
ALE-Bench340.81004.5GPT-5.4 Nano
LMArena Text: coding14491404GLM 4.6
LMArena Text: software and IT14551402GLM 4.6
LMArena WebDev: HTML1350Not measuredOnly GLM 4.6 measured
Neither model has a result on the other 22 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for GLM 4.6 and GPT-5.4 Nano
BenchmarkGLM 4.6GPT-5.4 NanoLeader
AA Intelligence Index18.520.7GPT-5.4 Nano
Epoch Capabilities IndexNot measured146.0Only GPT-5.4 Nano measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index10
Agentic work benchmarks for GLM 4.6 and GPT-5.4 Nano
BenchmarkGLM 4.6GPT-5.4 NanoLeader
AA Agentic IndexNot measured16.0Only GPT-5.4 Nano measured
Design Arena: agents building full-stack apps1029Not measuredOnly GLM 4.6 measured
Design Arena: agents building mobile apps1096Not measuredOnly GLM 4.6 measured
Design Arena: agents building Android apps1085Not measuredOnly GLM 4.6 measured
Design Arena: agents building Godot games1180Not measuredOnly GLM 4.6 measured
Finance Agent (Vals AI)Not measured38.2%Only GPT-5.4 Nano measured
Tax Agent Bench (Vals AI)Not measured5.0%Only GPT-5.4 Nano measured
Legal Research Bench (Vals AI)Not measured6.3%Only GPT-5.4 Nano measured
Excel Modeling Benchmark (Vals AI)Not measured44.8%Only GPT-5.4 Nano measured
τ²-Bench Telecom76.9%76.0%GLM 4.6
Berkeley Function Calling Leaderboard (BFCL)72.4%Not measuredOnly GLM 4.6 measured
BrowseComp-Plus48.2%Not measuredOnly GLM 4.6 measured
Neither model has a result on the other 29 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index43
Reasoning benchmarks for GLM 4.6 and GPT-5.4 Nano
BenchmarkGLM 4.6GPT-5.4 NanoLeader
GPQA Diamond74.5%77.5%GPT-5.4 Nano
MMMU Pro (Vals AI)Not measured73.6%Only GPT-5.4 Nano measured
GPQA Diamond (Artificial Analysis run)78.0%81.7%GPT-5.4 Nano
Humanity's Last Exam (Artificial Analysis run)14.5%28.3%GPT-5.4 Nano
GPQA Diamond (Epoch AI run)Not measured78.5%Only GPT-5.4 Nano measured
ARC-AGINot measured51.5%Only GPT-5.4 Nano measured
ARC-AGI-2Not measured5.7%Only GPT-5.4 Nano measured
Chess puzzlesNot measured45.0%Only GPT-5.4 Nano measured
Mystery game puzzlesNot measured9.0%Only GPT-5.4 Nano measured
LMArena Text: hard prompts14401381GLM 4.6
LMArena Text: expert14321396GLM 4.6
LMArena Text: hard prompts in English14451387GLM 4.6
LMArena Vision: diagramsNot measured1210Only GPT-5.4 Nano measured
LMArena Vision: homeworkNot measured1225Only GPT-5.4 Nano measured
Kagi LLM Benchmark45.7%39.7%GLM 4.6
Neither model has a result on the other 7 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index30
Math benchmarks for GLM 4.6 and GPT-5.4 Nano
BenchmarkGLM 4.6GPT-5.4 NanoLeader
AIME92.7%88.8%GLM 4.6
MGSM (Vals AI)89.8%Not measuredOnly GLM 4.6 measured
AA Math Index86.0Not measuredOnly GLM 4.6 measured
AIME 2025 (Artificial Analysis run)86.0%Not measuredOnly GLM 4.6 measured
OTIS Mock AIMENot measured87.8%Only GPT-5.4 Nano measured
FrontierMath, tiers 1 to 3Not measured44.9%Only GPT-5.4 Nano measured
FrontierMath, tier 4Not measured12.2%Only GPT-5.4 Nano measured
ProofBenchNot measured5.0%Only GPT-5.4 Nano measured
LMArena Text: math14321405GLM 4.6
LMArena Text: mathematical work14471409GLM 4.6
Neither model has a result on the other 3 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index62
Knowledge benchmarks for GLM 4.6 and GPT-5.4 Nano
BenchmarkGLM 4.6GPT-5.4 NanoLeader
MMLU Pro82.2%77.2%GLM 4.6
LegalBench (Vals AI)79.6%77.9%GLM 4.6
CaseLaw (Vals AI)Not measured51.9%Only GPT-5.4 Nano measured
CorpFin (Vals AI)56.8%61.2%GPT-5.4 Nano
TaxEval (Vals AI)66.2%67.4%GPT-5.4 Nano
MortgageTax (Vals AI)Not measured59.1%Only GPT-5.4 Nano measured
MedQA (Vals AI)92.2%Not measuredOnly GLM 4.6 measured
MedCode (Vals AI)Not measured41.0%Only GPT-5.4 Nano measured
MMLU Pro (Artificial Analysis run)82.9%Not measuredOnly GLM 4.6 measured
SimpleQA VerifiedNot measured11.7%Only GPT-5.4 Nano measured
LMArena Text: science14561374GLM 4.6
LMArena Text: medicine and healthcare14551369GLM 4.6
LMArena Text: legal and government14481368GLM 4.6
LMArena Text: business and finance14161366GLM 4.6
Neither model has a result on the other 4 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
Web design benchmarks for GLM 4.6 and GPT-5.4 Nano
BenchmarkGLM 4.6GPT-5.4 NanoLeader
Design Arena: websites1174Not measuredOnly GLM 4.6 measured
Design Arena: UI components1145Not measuredOnly GLM 4.6 measured
Design Arena: game dev1150Not measuredOnly GLM 4.6 measured
Design Arena: data viz1161Not measuredOnly GLM 4.6 measured
Design Arena: 3D1128Not measuredOnly GLM 4.6 measured
Design Arena: all code categories1165Not measuredOnly GLM 4.6 measured
Design Arena: SVG1108Not measuredOnly GLM 4.6 measured
Neither model has a result on the other 2 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index172
General benchmarks for GLM 4.6 and GPT-5.4 Nano
BenchmarkGLM 4.6GPT-5.4 NanoLeader
SAGE (Vals AI)Not measured38.1%Only GPT-5.4 Nano measured
MedScribe (Vals AI)Not measured77.1%Only GPT-5.4 Nano measured
Vals Multimodal IndexNot measured47.6%Only GPT-5.4 Nano measured
IFBench43.4%75.9%GPT-5.4 Nano
Long context reasoning (AA-LCR)54.0%76.7%GPT-5.4 Nano
DTBenchNot measured80.3%Only GPT-5.4 Nano measured
LMCANot measured36.9%Only GPT-5.4 Nano measured
LMArena Text14401372GLM 4.6
LMArena Text: instruction following14101362GLM 4.6
LMArena Text: creative writing14121315GLM 4.6
LMArena VisionNot measured1196Only GPT-5.4 Nano measured
LMArena Text: English14491381GLM 4.6
LMArena Text: non-English14261359GLM 4.6
LMArena Text: Chinese14991391GLM 4.6
LMArena Text: German14471368GLM 4.6
LMArena Text: Japanese13931343GLM 4.6
LMArena Text: Korean14001321GLM 4.6
LMArena Text: French14591395GLM 4.6
LMArena Text: Spanish14361371GLM 4.6
LMArena Text: Russian14181363GLM 4.6
LMArena Text: Polish14471366GLM 4.6
LMArena Text: multi-turn14271382GLM 4.6
LMArena Text: longer queries14221365GLM 4.6
LMArena Text: writing and language14151338GLM 4.6
LMArena Text: entertainment and media14091325GLM 4.6
LMArena Vision: EnglishNot measured1202Only GPT-5.4 Nano measured
LMArena Vision: ChineseNot measured1232Only GPT-5.4 Nano measured
LMArena Vision: reading textNot measured1204Only GPT-5.4 Nano measured
LMArena Vision: humorNot measured1161Only GPT-5.4 Nano measured
LMArena Vision: recognizing thingsNot measured1141Only GPT-5.4 Nano measured
LMArena Vision: creative writingNot measured1159Only GPT-5.4 Nano 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 4.6 and GPT-5.4 Nano
BenchmarkGLM 4.6GPT-5.4 NanoLeader
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.6$0.0017Fits in one request
GPT-5.4 Nano$0.0008Fits in one request

GPT-5.4 Nano costs less

Repository review

50K input + 3K output tokens

GLM 4.6$0.037Fits in one request
GPT-5.4 Nano$0.014Fits in one request

GPT-5.4 Nano costs less

Agent loop

200K input + 10K output tokens

GLM 4.6$0.142Exceeds the context window
GPT-5.4 Nano$0.052Fits in one request

GPT-5.4 Nano 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.6 and GPT-5.4 Nano
SpecificationZ.ai GLM 4.6OpenAI GPT-5.4 Nano
MakerZ.aiOpenAI
WeightsOpen weightsNo public weights listed
ReleasedSeptember 30, 2025March 17, 2026
Context window205K400K
Input $/Mtok$0.60$0.20
Output $/Mtok$2.20$1.25
Coding index8.844.8
Independent measurements behind it22
Cost per solved taskNot computable$0.14
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 4.6 better than GPT-5.4 Nano for coding?

Pick GPT-5.4 Nano for coding: it scores 44.8 on the Vibe Coding Index against 8.8 for GLM 4.6. Pick GLM 4.6 for work measured by LMArena Text: coding or LMArena Text: software and IT, where it leads.

Which is cheaper, GLM 4.6 or GPT-5.4 Nano?

GLM 4.6 costs $0.60 per million input tokens and $2.20 per million output tokens; GPT-5.4 Nano costs $0.20 and $1.25. Cost per solved task is known for GPT-5.4 Nano only.

Which has the bigger context window, GLM 4.6 or GPT-5.4 Nano?

GPT-5.4 Nano, with 400K tokens against 205K.

How many benchmarks is the GLM 4.6 vs GPT-5.4 Nano comparison based on?

46 benchmarks have a result for both models as of October 22, 2026. GLM 4.6's coding index rests on 2 independent benchmarks and GPT-5.4 Nano's on 2. 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-4-6-vs-gpt-5-4-nano" title="GLM 4.6 vs GPT-5.4 Nano, 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-4-6-vs-gpt-5-4-nano">LLMBenchmark.ai, GLM 4.6 vs GPT-5.4 Nano</a></p>