Enter opens the highlighted result. Esc closes.

GLM 5.4 vs GPT-5.4 Mini

GLM 5.4 leads GPT-5.4 Mini on coding, 72.7 to 35.8 on the Vibe Coding Index, at about the same output price ($4.40 vs $4.50 per million). Updated December 3, 2026; 3 benchmarks have a result for both.

GLM 5.4Z.ai
Coding
72.7
Overall
No data
Output $/M
$4.40
3
GPT-5.4 MiniOpenAI
Coding
35.8
Overall
52.7
Output $/M
$4.50
0
vs boards won of 3 shared

GLM 5.4 or GPT-5.4 Mini: which to pick

Pick GLM 5.4 for coding: it scores 72.7 on the Vibe Coding Index against 35.8 for GPT-5.4 Mini, though on 2 benchmarks against 5.

GPT-5.4 Mini is neither cheaper nor larger in context, and leads no benchmark both models were measured on.

Shared results
3
GLM 5.4 only
7
GPT-5.4 Mini only
88
Like-for-like categories
1 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.4 72.7 from 2 benchmarks, GPT-5.4 Mini 35.8 from 5 benchmarks.
Widest category
Coding, 35.8 points apart on average over 3 shared benchmarks.
Widest single gap
LMArena WebDev: GLM 5.4 1690 against GPT-5.4 Mini 1398, 41.7 points apart on a 0 to 100 scale.
Output price
GLM 5.4 $4.40 against GPT-5.4 Mini $4.50 per million output tokens, 1.0x apart.
Context window
GLM 5.4 takes 1.05M 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 5.4BarsGPT-5.4 MiniTies
Coding30
All shared boards30
CodingLike-for-likeSix of these boards feed the Vibe Coding Index30
Coding benchmarks for GLM 5.4 and GPT-5.4 Mini
BenchmarkGLM 5.4GPT-5.4 MiniLeader
LiveBench coding74.5%Not measuredOnly GLM 5.4 measured
LMArena WebDev16901398GLM 5.4
LiveCodeBench (Vals AI)Not measured81.5%Only GPT-5.4 Mini measured
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)Not measured48.0%Only GPT-5.4 Mini measured
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
SciCodeNot measured52.1%Only GPT-5.4 Mini measured
Terminal-Bench Hard (Artificial Analysis run)Not measured52.3%Only GPT-5.4 Mini measured
Terminal-Bench 4.0 (Artificial Analysis run)Not measured2.0%Only GPT-5.4 Mini measured
FrontierCodeNot measured27.0%Only GPT-5.4 Mini measured
WeirdMLNot measured60.3%Only GPT-5.4 Mini measured
ALE-BenchNot measured1188.6Only GPT-5.4 Mini measured
LMArena Text: codingNot measured1438Only GPT-5.4 Mini measured
LMArena Text: software and ITNot measured1436Only GPT-5.4 Mini measured
LMArena WebDev: React17391386GLM 5.4
LMArena WebDev: HTML16751420GLM 5.4
GameBench 2Not measured46.5Only GPT-5.4 Mini measured
Terminal-Bench 4.0Not measured1.8%Only GPT-5.4 Mini measured
ProgramBenchNot measured0.0%Only GPT-5.4 Mini measured
Neither model has a result on the other 30 boards here
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index1 board, none shared
Intelligence benchmarks for GLM 5.4 and GPT-5.4 Mini
BenchmarkGLM 5.4GPT-5.4 MiniLeader
Epoch Capabilities IndexNot measured149.4Only GPT-5.4 Mini measured
Neither model has a result on the other 1 board here
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index10 boards, none shared
Agentic work benchmarks for GLM 5.4 and GPT-5.4 Mini
BenchmarkGLM 5.4GPT-5.4 MiniLeader
LiveBench research86.0%Not measuredOnly GLM 5.4 measured
LiveBench browser64.5%Not measuredOnly GLM 5.4 measured
LiveBench long agentic41.3%Not measuredOnly GLM 5.4 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 TelecomNot measured83.3%Only GPT-5.4 Mini measured
DeepResearch BenchNot measured36.3%Only GPT-5.4 Mini measured
MCP AtlasNot measured56.7%Only GPT-5.4 Mini measured
Neither model has a result on the other 34 boards here
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index16 boards, none shared
Reasoning benchmarks for GLM 5.4 and GPT-5.4 Mini
BenchmarkGLM 5.4GPT-5.4 MiniLeader
GPQA DiamondNot measured83.1%Only GPT-5.4 Mini measured
LiveBench reasoning85.2%Not measuredOnly GLM 5.4 measured
MMMU Pro (Vals AI)Not measured79.3%Only GPT-5.4 Mini measured
GPQA Diamond (Artificial Analysis run)Not measured87.5%Only GPT-5.4 Mini measured
Humanity's Last Exam (Artificial Analysis run)Not measured28.1%Only GPT-5.4 Mini measured
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 promptsNot measured1425Only GPT-5.4 Mini measured
LMArena Text: expertNot measured1436Only GPT-5.4 Mini measured
LMArena Text: hard prompts in EnglishNot measured1420Only GPT-5.4 Mini measured
LMArena Vision: diagramsNot measured1265Only GPT-5.4 Mini measured
LMArena Vision: homeworkNot measured1285Only GPT-5.4 Mini measured
Kagi LLM BenchmarkNot measured37.9%Only GPT-5.4 Mini measured
Neither model has a result on the other 10 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index7 boards, none shared
Math benchmarks for GLM 5.4 and GPT-5.4 Mini
BenchmarkGLM 5.4GPT-5.4 MiniLeader
AIMENot measured95.6%Only GPT-5.4 Mini 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: mathNot measured1418Only GPT-5.4 Mini measured
LMArena Text: mathematical workNot measured1428Only GPT-5.4 Mini measured
Neither model has a result on the other 7 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index10 boards, none shared
Knowledge benchmarks for GLM 5.4 and GPT-5.4 Mini
BenchmarkGLM 5.4GPT-5.4 MiniLeader
MMLU ProNot measured84.5%Only GPT-5.4 Mini measured
CaseLaw (Vals AI)Not measured51.7%Only GPT-5.4 Mini measured
CorpFin (Vals AI)Not measured60.9%Only GPT-5.4 Mini measured
TaxEval (Vals AI)Not measured71.2%Only GPT-5.4 Mini measured
MortgageTax (Vals AI)Not measured63.5%Only GPT-5.4 Mini measured
SimpleQA VerifiedNot measured29.4%Only GPT-5.4 Mini measured
LMArena Text: scienceNot measured1417Only GPT-5.4 Mini measured
LMArena Text: medicine and healthcareNot measured1394Only GPT-5.4 Mini measured
LMArena Text: legal and governmentNot measured1415Only GPT-5.4 Mini measured
LMArena Text: business and financeNot measured1418Only GPT-5.4 Mini measured
Neither model has a result on the other 11 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index1 board, none shared
Web design benchmarks for GLM 5.4 and GPT-5.4 Mini
BenchmarkGLM 5.4GPT-5.4 MiniLeader
LiveBench design74.2%Not measuredOnly GLM 5.4 measured
Neither model has a result on the other 8 boards here
GeneralDirectional onlyPublic boards, shown as published, kept out of the index31 boards, none shared
General benchmarks for GLM 5.4 and GPT-5.4 Mini
BenchmarkGLM 5.4GPT-5.4 MiniLeader
LiveBench data analysis72.2%Not measuredOnly GLM 5.4 measured
Vals Multimodal IndexNot measured54.2%Only GPT-5.4 Mini measured
IFBenchNot measured73.3%Only GPT-5.4 Mini measured
Long context reasoning (AA-LCR)Not measured77.0%Only GPT-5.4 Mini measured
GDPval-AANot measured1021Only GPT-5.4 Mini measured
DTBenchNot measured80.0%Only GPT-5.4 Mini measured
LMCANot measured40.8%Only GPT-5.4 Mini measured
LMArena TextNot measured1412Only GPT-5.4 Mini measured
LMArena Text: instruction followingNot measured1405Only GPT-5.4 Mini measured
LMArena Text: creative writingNot measured1370Only GPT-5.4 Mini measured
LMArena VisionNot measured1245Only GPT-5.4 Mini measured
LMArena Text: EnglishNot measured1412Only GPT-5.4 Mini measured
LMArena Text: non-EnglishNot measured1405Only GPT-5.4 Mini measured
LMArena Text: ChineseNot measured1446Only GPT-5.4 Mini measured
LMArena Text: GermanNot measured1409Only GPT-5.4 Mini measured
LMArena Text: JapaneseNot measured1366Only GPT-5.4 Mini measured
LMArena Text: KoreanNot measured1368Only GPT-5.4 Mini measured
LMArena Text: FrenchNot measured1442Only GPT-5.4 Mini measured
LMArena Text: SpanishNot measured1406Only GPT-5.4 Mini measured
LMArena Text: RussianNot measured1418Only GPT-5.4 Mini measured
LMArena Text: PolishNot measured1417Only GPT-5.4 Mini measured
LMArena Text: multi-turnNot measured1429Only GPT-5.4 Mini measured
LMArena Text: longer queriesNot measured1408Only GPT-5.4 Mini measured
LMArena Text: writing and languageNot measured1392Only GPT-5.4 Mini measured
LMArena Text: entertainment and mediaNot measured1372Only GPT-5.4 Mini measured
LMArena Vision: EnglishNot measured1244Only GPT-5.4 Mini measured
LMArena Vision: ChineseNot measured1287Only GPT-5.4 Mini measured
LMArena Vision: reading textNot measured1253Only GPT-5.4 Mini measured
LMArena Vision: humorNot measured1239Only GPT-5.4 Mini measured
LMArena Vision: recognizing thingsNot measured1224Only GPT-5.4 Mini measured
LMArena Vision: creative writingNot measured1221Only GPT-5.4 Mini measured
Neither model has a result on the other 18 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GLM 5.4 and GPT-5.4 Mini
BenchmarkGLM 5.4GPT-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 5.4$0.0036Fits in one request
GPT-5.4 Mini$0.0030Fits in one request

GPT-5.4 Mini costs less

Repository review

50K input + 3K output tokens

GLM 5.4$0.083Fits in one request
GPT-5.4 Mini$0.051Fits in one request

GPT-5.4 Mini costs less

Agent loop

200K input + 10K output tokens

GLM 5.4$0.324Fits in one request
GPT-5.4 Mini$0.195Fits in one request

GPT-5.4 Mini 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.4 and GPT-5.4 Mini
SpecificationZ.ai GLM 5.4OpenAI GPT-5.4 Mini
MakerZ.aiOpenAI
WeightsOpen weightsNo public weights listed
ReleasedDecember 2, 2026March 17, 2026
Context window1.05M400K
Input $/Mtok$1.40$0.75
Output $/Mtok$4.40$4.50
Coding index72.735.8
Independent measurements behind it25
Cost per solved taskNot computable$0.70
SourceOpenRouter listingOpenRouter listing

Questions

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

Pick GLM 5.4 for coding: it scores 72.7 on the Vibe Coding Index against 35.8 for GPT-5.4 Mini, though on 2 benchmarks against 5. GPT-5.4 Mini is neither cheaper nor larger in context, and leads no benchmark both models were measured on.

Which is cheaper, GLM 5.4 or GPT-5.4 Mini?

GLM 5.4 costs $1.40 per million input tokens and $4.40 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 5.4 or GPT-5.4 Mini?

GLM 5.4, with 1.05M tokens against 400K.

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

3 benchmarks have a result for both models as of December 3, 2026. GLM 5.4'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-5-4-vs-gpt-5-4-mini" title="GLM 5.4 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-5-4-vs-gpt-5-4-mini">LLMBenchmark.ai, GLM 5.4 vs GPT-5.4 Mini</a></p>