Enter opens the highlighted result. Esc closes.

GLM 4.6 vs GPT-5.4 Mini

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

GLM 4.6Z.ai
Coding
8.8
Overall
33.4
Output $/M
$2.20
26
GPT-5.4 MiniOpenAI
Coding
35.8
Overall
44.0
Output $/M
$4.50
21
vs boards won of 47 shared

GLM 4.6 or GPT-5.4 Mini: which to pick

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

Pick GLM 4.6 for output tokens 2.0x cheaper ($2.20 vs $4.50 per million) and work measured by LMArena Text: coding or LMArena Text: software and IT, where it leads.

Shared results
47
GLM 4.6 only
22
GPT-5.4 Mini only
42
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 Mini 35.8 from 5 benchmarks.
Widest category
Coding, 14.6 points apart on average over 9 shared benchmarks.
Widest single gap
Vibe Code Bench (Vals AI): GLM 4.6 3.1% against GPT-5.4 Mini 48.0%, 44.9 points apart on a 0 to 100 scale.
Output price
GLM 4.6 $2.20 against GPT-5.4 Mini $4.50 per million output tokens, 2.0x apart.
Context window
GLM 4.6 takes 205K tokens, GPT-5.4 Mini 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 MiniTies
Coding27
Intelligence01
Agentic work01
Reasoning34
Math21
Knowledge34
General163
All shared boards2621
CodingLike-for-likeSix of these boards feed the Vibe Coding Index27
Coding benchmarks for GLM 4.6 and GPT-5.4 Mini
BenchmarkGLM 4.6GPT-5.4 MiniLeader
SWE-bench Verified68.2%Not measuredOnly GLM 4.6 measured
LMArena WebDev13411397GPT-5.4 Mini
AA Coding Index45.856.1GPT-5.4 Mini
LiveCodeBench (Vals AI)81.0%81.5%GPT-5.4 Mini
SWE-bench Verified (Vals AI)Not measured73.0%Only GPT-5.4 Mini measured
Terminal-Bench 4 (Vals AI)Not measured2.5%Only GPT-5.4 Mini measured
Vibe Code Bench (Vals AI)3.1%48.0%GPT-5.4 Mini
Code migration (Vals AI)Not measured12.9%Only GPT-5.4 Mini measured
ProgramBench (Vals AI)Not measured0.0%Only GPT-5.4 Mini measured
Terminal-Bench 2.1 (Vals AI)Not measured54.7%Only GPT-5.4 Mini measured
LiveCodeBench (Artificial Analysis run)69.5%Not measuredOnly GLM 4.6 measured
SciCodeNot measured52.1%Only GPT-5.4 Mini measured
Terminal-Bench Hard (Artificial Analysis run)28.8%52.3%GPT-5.4 Mini
Terminal-Bench24.5%Not measuredOnly GLM 4.6 measured
FrontierCodeNot measured27.0%Only GPT-5.4 Mini measured
WeirdMLNot measured60.3%Only GPT-5.4 Mini measured
ALE-Bench340.81188.6GPT-5.4 Mini
LMArena Text: coding14491438GLM 4.6
LMArena Text: software and IT14551436GLM 4.6
LMArena WebDev: ReactNot measured1386Only GPT-5.4 Mini measured
LMArena WebDev: HTML13501419GPT-5.4 Mini
Neither model has a result on the other 18 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for GLM 4.6 and GPT-5.4 Mini
BenchmarkGLM 4.6GPT-5.4 MiniLeader
AA Intelligence Index18.524.1GPT-5.4 Mini
Epoch Capabilities IndexNot measured148.7Only GPT-5.4 Mini measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for GLM 4.6 and GPT-5.4 Mini
BenchmarkGLM 4.6GPT-5.4 MiniLeader
AA Agentic IndexNot measured17.9Only GPT-5.4 Mini 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 apps1084Not measuredOnly GLM 4.6 measured
Design Arena: agents building Godot games1180Not measuredOnly GLM 4.6 measured
Finance Agent (Vals AI)Not measured45.4%Only GPT-5.4 Mini measured
Tax Agent Bench (Vals AI)Not measured8.8%Only GPT-5.4 Mini measured
Legal Research Bench (Vals AI)Not measured12.5%Only GPT-5.4 Mini measured
Excel Modeling Benchmark (Vals AI)Not measured45.4%Only GPT-5.4 Mini measured
τ²-Bench Telecom76.9%83.3%GPT-5.4 Mini
DeepResearch BenchNot measured36.3%Only GPT-5.4 Mini measured
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 28 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index34
Reasoning benchmarks for GLM 4.6 and GPT-5.4 Mini
BenchmarkGLM 4.6GPT-5.4 MiniLeader
GPQA Diamond74.5%83.1%GPT-5.4 Mini
MMMU Pro (Vals AI)Not measured79.3%Only GPT-5.4 Mini measured
GPQA Diamond (Artificial Analysis run)78.0%87.5%GPT-5.4 Mini
Humanity's Last Exam (Artificial Analysis run)14.5%28.1%GPT-5.4 Mini
GPQA Diamond (Epoch AI run)Not measured86.9%Only GPT-5.4 Mini measured
ARC-AGINot measured63.7%Only GPT-5.4 Mini measured
ARC-AGI-2Not measured18.9%Only GPT-5.4 Mini measured
Chess puzzlesNot measured23.0%Only GPT-5.4 Mini measured
Mystery game puzzlesNot measured11.0%Only GPT-5.4 Mini measured
LMArena Text: hard prompts14401424GLM 4.6
LMArena Text: expert14321435GPT-5.4 Mini
LMArena Text: hard prompts in English14451420GLM 4.6
LMArena Vision: diagramsNot measured1266Only GPT-5.4 Mini measured
LMArena Vision: homeworkNot measured1285Only GPT-5.4 Mini measured
Kagi LLM Benchmark45.7%37.9%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 index21
Math benchmarks for GLM 4.6 and GPT-5.4 Mini
BenchmarkGLM 4.6GPT-5.4 MiniLeader
AIME92.7%95.6%GPT-5.4 Mini
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 measured88.9%Only GPT-5.4 Mini measured
FrontierMath, tiers 1 to 3Not measured51.2%Only GPT-5.4 Mini measured
FrontierMath, tier 4Not measured9.8%Only GPT-5.4 Mini measured
ProofBenchNot measured21.0%Only GPT-5.4 Mini measured
LMArena Text: math14321418GLM 4.6
LMArena Text: mathematical work14471429GLM 4.6
Neither model has a result on the other 3 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index34
Knowledge benchmarks for GLM 4.6 and GPT-5.4 Mini
BenchmarkGLM 4.6GPT-5.4 MiniLeader
MMLU Pro82.2%84.5%GPT-5.4 Mini
LegalBench (Vals AI)79.6%Not measuredOnly GLM 4.6 measured
CaseLaw (Vals AI)Not measured51.7%Only GPT-5.4 Mini measured
CorpFin (Vals AI)56.8%60.9%GPT-5.4 Mini
TaxEval (Vals AI)66.2%71.2%GPT-5.4 Mini
MortgageTax (Vals AI)Not measured63.5%Only GPT-5.4 Mini measured
MedQA (Vals AI)92.2%Not measuredOnly GLM 4.6 measured
MMLU Pro (Artificial Analysis run)82.9%Not measuredOnly GLM 4.6 measured
SimpleQA VerifiedNot measured29.4%Only GPT-5.4 Mini measured
LMArena Text: science14561417GLM 4.6
LMArena Text: medicine and healthcare14551395GLM 4.6
LMArena Text: legal and government14481414GLM 4.6
LMArena Text: business and finance14161418GPT-5.4 Mini
Neither model has a result on the other 5 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 Mini
BenchmarkGLM 4.6GPT-5.4 MiniLeader
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 index163
General benchmarks for GLM 4.6 and GPT-5.4 Mini
BenchmarkGLM 4.6GPT-5.4 MiniLeader
SAGE (Vals AI)Not measured50.8%Only GPT-5.4 Mini measured
Vals Multimodal IndexNot measured54.2%Only GPT-5.4 Mini measured
IFBench43.4%73.3%GPT-5.4 Mini
Long context reasoning (AA-LCR)54.0%77.0%GPT-5.4 Mini
DTBenchNot measured80.0%Only GPT-5.4 Mini measured
LMCANot measured40.8%Only GPT-5.4 Mini measured
LMArena Text14401412GLM 4.6
LMArena Text: instruction following14101405GLM 4.6
LMArena Text: creative writing14121370GLM 4.6
LMArena VisionNot measured1245Only GPT-5.4 Mini measured
LMArena Text: English14491412GLM 4.6
LMArena Text: non-English14261405GLM 4.6
LMArena Text: Chinese14991446GLM 4.6
LMArena Text: German14471408GLM 4.6
LMArena Text: Japanese13931375GLM 4.6
LMArena Text: Korean14001370GLM 4.6
LMArena Text: French14591441GLM 4.6
LMArena Text: Spanish14361405GLM 4.6
LMArena Text: Russian14181417GLM 4.6
LMArena Text: Polish14471415GLM 4.6
LMArena Text: multi-turn14271429GPT-5.4 Mini
LMArena Text: longer queries14221408GLM 4.6
LMArena Text: writing and language14151393GLM 4.6
LMArena Text: entertainment and media14091373GLM 4.6
LMArena Vision: EnglishNot measured1244Only GPT-5.4 Mini measured
LMArena Vision: ChineseNot measured1286Only GPT-5.4 Mini measured
LMArena Vision: reading textNot measured1253Only GPT-5.4 Mini measured
LMArena Vision: humorNot measured1235Only GPT-5.4 Mini measured
LMArena Vision: recognizing thingsNot measured1218Only GPT-5.4 Mini measured
LMArena Vision: creative writingNot measured1222Only GPT-5.4 Mini 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 4.6 and GPT-5.4 Mini
BenchmarkGLM 4.6GPT-5.4 MiniLeader
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 Mini$0.0030Fits in one request

GLM 4.6 costs less

Repository review

50K input + 3K output tokens

GLM 4.6$0.037Fits in one request
GPT-5.4 Mini$0.051Fits in one request

GLM 4.6 costs less

Agent loop

200K input + 10K output tokens

GLM 4.6$0.142Exceeds the context window
GPT-5.4 Mini$0.195Fits in one request

GLM 4.6 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 Mini
SpecificationZ.ai GLM 4.6OpenAI GPT-5.4 Mini
MakerZ.aiOpenAI
WeightsOpen weightsNo public weights listed
ReleasedSeptember 30, 2025March 17, 2026
Context window205K400K
Input $/Mtok$0.60$0.75
Output $/Mtok$2.20$4.50
Coding index8.835.8
Independent measurements behind it25
Cost per solved taskNot computable$0.70
SourceOpenRouter listingOpenRouter listing

Questions

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

Pick GPT-5.4 Mini for coding: it scores 35.8 on the Vibe Coding Index against 8.8 for GLM 4.6. Pick GLM 4.6 for output tokens 2.0x cheaper ($2.20 vs $4.50 per million) and 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 Mini?

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

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

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

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

47 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 Mini's on 5. 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-mini" title="GLM 4.6 vs GPT-5.4 Mini, 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-mini">LLMBenchmark.ai, GLM 4.6 vs GPT-5.4 Mini</a></p>