Enter opens the highlighted result. Esc closes.

GLM 5.3 vs GPT-5.4 Mini

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

GLM 5.3Z.ai
Coding
70.6
Overall
67.9
Output $/M
$4.40
65
GPT-5.4 MiniOpenAI
Coding
35.8
Overall
44.0
Output $/M
$4.50
1
vs boards won of 66 shared

GLM 5.3 or GPT-5.4 Mini: which to pick

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

Pick GPT-5.4 Mini for work measured by LiveCodeBench (Vals AI), where it leads.

Shared results
66
GLM 5.3 only
34
GPT-5.4 Mini only
23
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 5.3 70.6 from 6 benchmarks, GPT-5.4 Mini 35.8 from 5 benchmarks.
Widest category
Agentic work, 24.8 points apart on average over 5 shared benchmarks.
Widest single gap
Terminal-Bench 4 (Vals AI): GLM 5.3 38.9% against GPT-5.4 Mini 2.5%, 48.5 points apart on a 0 to 100 scale.
Output price
GLM 5.3 $4.40 against GPT-5.4 Mini $4.50 per million output tokens, 1.0x apart.
Context window
GLM 5.3 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.3BarsGPT-5.4 MiniTies
Coding161
Intelligence20
Agentic work50
Reasoning90
Math60
Knowledge70
General200
All shared boards651
CodingLike-for-likeSix of these boards feed the Vibe Coding Index161
Coding benchmarks for GLM 5.3 and GPT-5.4 Mini
BenchmarkGLM 5.3GPT-5.4 MiniLeader
LiveBench coding82.8%Not measuredOnly GLM 5.3 measured
LMArena WebDev16211397GLM 5.3
AA Coding Index74.856.1GLM 5.3
LiveCodeBench (Vals AI)80.5%81.5%GPT-5.4 Mini
SWE-bench Verified (Vals AI)95.4%73.0%GLM 5.3
Terminal-Bench 4 (Vals AI)38.9%2.5%GLM 5.3
Vibe Code Bench (Vals AI)78.1%48.0%GLM 5.3
Code migration (Vals AI)44.2%12.9%GLM 5.3
ProgramBench (Vals AI)1.5%0.0%GLM 5.3
IOI (Vals AI)68.4%Not measuredOnly GLM 5.3 measured
Terminal-Bench 2.1 (Vals AI)71.5%54.7%GLM 5.3
Vibe Code Bench 1-100 (Vals AI)20.0%Not measuredOnly GLM 5.3 measured
SkillsBench (Vals AI)47.5%Not measuredOnly GLM 5.3 measured
CyberBench (Vals AI)72.1%Not measuredOnly GLM 5.3 measured
SciCode59.0%52.1%GLM 5.3
Terminal-Bench Hard (Artificial Analysis run)Not measured52.3%Only GPT-5.4 Mini measured
FrontierCode40.1%27.0%GLM 5.3
FrontierSWE30.2%Not measuredOnly GLM 5.3 measured
WeirdML75.4%60.3%GLM 5.3
ALE-Bench1317.41188.6GLM 5.3
LMArena Text: coding14971438GLM 5.3
LMArena Text: software and IT14931436GLM 5.3
LMArena WebDev: React16411386GLM 5.3
LMArena WebDev: HTML15951419GLM 5.3
Neither model has a result on the other 15 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for GLM 5.3 and GPT-5.4 Mini
BenchmarkGLM 5.3GPT-5.4 MiniLeader
AA Intelligence Index44.824.1GLM 5.3
Epoch Capabilities Index156.0148.7GLM 5.3
Agentic workLike-for-likePublic boards, shown as published, kept out of the index50
Agentic work benchmarks for GLM 5.3 and GPT-5.4 Mini
BenchmarkGLM 5.3GPT-5.4 MiniLeader
AA Agentic Index53.117.9GLM 5.3
Design Arena: agents building mobile apps1194Not measuredOnly GLM 5.3 measured
Design Arena: HTML slides1189Not measuredOnly GLM 5.3 measured
Design Arena: PowerPoint slides1230Not measuredOnly GLM 5.3 measured
LiveBench research73.2%Not measuredOnly GLM 5.3 measured
LiveBench browser0.0%Not measuredOnly GLM 5.3 measured
LiveBench long agentic35.9%Not measuredOnly GLM 5.3 measured
SREBench (Vals AI)9.2%Not measuredOnly GLM 5.3 measured
Finance Agent (Vals AI)55.8%45.4%GLM 5.3
Tax Agent Bench (Vals AI)39.7%8.8%GLM 5.3
Legal Research Bench (Vals AI)49.0%12.5%GLM 5.3
Harvey's Legal Agent Benchmark (Vals AI)14.6%Not measuredOnly GLM 5.3 measured
Excel Modeling Benchmark (Vals AI)56.3%45.4%GLM 5.3
Terminal-Bench-Science (Vals AI)5.7%Not measuredOnly GLM 5.3 measured
τ²-Bench TelecomNot measured83.3%Only GPT-5.4 Mini measured
APEX-Agents56.6%Not measuredOnly GLM 5.3 measured
DeepResearch BenchNot measured36.3%Only GPT-5.4 Mini measured
Vending-Bench 2$8,164Not measuredOnly GLM 5.3 measured
Neither model has a result on the other 23 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index90
Reasoning benchmarks for GLM 5.3 and GPT-5.4 Mini
BenchmarkGLM 5.3GPT-5.4 MiniLeader
GPQA Diamond88.1%83.1%GLM 5.3
LiveBench reasoning85.8%Not measuredOnly GLM 5.3 measured
MysteryMechanism (Vals AI)23.0%Not measuredOnly GLM 5.3 measured
MMMU Pro (Vals AI)Not measured79.3%Only GPT-5.4 Mini measured
GPQA Diamond (Artificial Analysis run)91.7%87.5%GLM 5.3
Humanity's Last Exam (Artificial Analysis run)42.3%28.1%GLM 5.3
GPQA Diamond (Epoch AI run)90.9%86.9%GLM 5.3
ARC-AGINot measured63.7%Only GPT-5.4 Mini measured
ARC-AGI-2Not measured18.9%Only GPT-5.4 Mini measured
Chess puzzles37.0%23.0%GLM 5.3
Mystery game puzzles33.0%11.0%GLM 5.3
LMArena Text: hard prompts14901424GLM 5.3
LMArena Text: expert15141435GLM 5.3
LMArena Text: hard prompts in English14961420GLM 5.3
LMArena Vision: diagramsNot measured1266Only 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 5 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index60
Math benchmarks for GLM 5.3 and GPT-5.4 Mini
BenchmarkGLM 5.3GPT-5.4 MiniLeader
AIMENot measured95.6%Only GPT-5.4 Mini measured
OTIS Mock AIME91.1%88.9%GLM 5.3
FrontierMath, tiers 1 to 368.8%51.2%GLM 5.3
FrontierMath, tier 429.3%9.8%GLM 5.3
ProofBench49.0%21.0%GLM 5.3
LMArena Text: math14951418GLM 5.3
LMArena Text: mathematical work14971429GLM 5.3
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index70
Knowledge benchmarks for GLM 5.3 and GPT-5.4 Mini
BenchmarkGLM 5.3GPT-5.4 MiniLeader
MMLU Pro86.8%84.5%GLM 5.3
LegalBench (Vals AI)84.8%Not measuredOnly GLM 5.3 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)72.4%71.2%GLM 5.3
MortgageTax (Vals AI)Not measured63.5%Only GPT-5.4 Mini measured
MedCode (Vals AI)42.9%Not measuredOnly GLM 5.3 measured
SimpleQA Verified41.0%29.4%GLM 5.3
LMArena Text: science14981417GLM 5.3
LMArena Text: medicine and healthcare14811395GLM 5.3
LMArena Text: legal and government14731414GLM 5.3
LMArena Text: business and finance14591418GLM 5.3
Neither model has a result on the other 6 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index9 boards, none shared
Web design benchmarks for GLM 5.3 and GPT-5.4 Mini
BenchmarkGLM 5.3GPT-5.4 MiniLeader
Design Arena: websites1295Not measuredOnly GLM 5.3 measured
Design Arena: UI components1314Not measuredOnly GLM 5.3 measured
Design Arena: game dev1311Not measuredOnly GLM 5.3 measured
Design Arena: data viz1260Not measuredOnly GLM 5.3 measured
Design Arena: 3D1332Not measuredOnly GLM 5.3 measured
Design Arena: all code categories1304Not measuredOnly GLM 5.3 measured
Design Arena: SVG1294Not measuredOnly GLM 5.3 measured
Design Arena: ASCII art1208Not measuredOnly GLM 5.3 measured
LiveBench design77.3%Not measuredOnly GLM 5.3 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index200
General benchmarks for GLM 5.3 and GPT-5.4 Mini
BenchmarkGLM 5.3GPT-5.4 MiniLeader
Vals Index59.7%Not measuredOnly GLM 5.3 measured
LiveBench data analysis70.2%Not measuredOnly GLM 5.3 measured
Public Benefits Bench (Vals AI)68.5%Not measuredOnly GLM 5.3 measured
SAGE (Vals AI)Not measured50.8%Only GPT-5.4 Mini measured
MedScribe (Vals AI)88.8%Not measuredOnly GLM 5.3 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)79.7%77.0%GLM 5.3
DTBench87.7%80.0%GLM 5.3
LMCA55.5%40.8%GLM 5.3
LMArena Text14741412GLM 5.3
LMArena Text: instruction following14791405GLM 5.3
LMArena Text: creative writing14581370GLM 5.3
LMArena VisionNot measured1245Only GPT-5.4 Mini measured
LMArena Text: English14821412GLM 5.3
LMArena Text: non-English14591405GLM 5.3
LMArena Text: Chinese15321446GLM 5.3
LMArena Text: German14881408GLM 5.3
LMArena Text: Japanese14601375GLM 5.3
LMArena Text: Korean14601370GLM 5.3
LMArena Text: French15031441GLM 5.3
LMArena Text: Spanish14621405GLM 5.3
LMArena Text: Russian14691417GLM 5.3
LMArena Text: Polish14661415GLM 5.3
LMArena Text: multi-turn14721429GLM 5.3
LMArena Text: longer queries14831408GLM 5.3
LMArena Text: writing and language14691393GLM 5.3
LMArena Text: entertainment and media14471373GLM 5.3
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 12 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GLM 5.3 and GPT-5.4 Mini
BenchmarkGLM 5.3GPT-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.3$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.3$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.3$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.3 and GPT-5.4 Mini
SpecificationZ.ai GLM 5.3OpenAI GPT-5.4 Mini
MakerZ.aiOpenAI
WeightsOpen weightsNo public weights listed
ReleasedAugust 18, 2026March 17, 2026
Context window1.05M400K
Input $/Mtok$1.40$0.75
Output $/Mtok$4.40$4.50
Coding index70.635.8
Independent measurements behind it65
Cost per solved task$0.36$0.70
SourceOpenRouter listingOpenRouter listing

Questions

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

Pick GLM 5.3 for coding: it scores 70.6 on the Vibe Coding Index against 35.8 for GPT-5.4 Mini. Pick GPT-5.4 Mini for work measured by LiveCodeBench (Vals AI), where it leads.

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

GLM 5.3 costs $1.40 per million input tokens and $4.40 per million output tokens; GPT-5.4 Mini costs $0.75 and $4.50. Per solved SWE-bench Verified task, GLM 5.3 costs $0.36 and GPT-5.4 Mini $0.70.

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

GLM 5.3, with 1.05M tokens against 400K.

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

66 benchmarks have a result for both models as of October 22, 2026. GLM 5.3's coding index rests on 6 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-3-vs-gpt-5-4-mini" title="GLM 5.3 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-3-vs-gpt-5-4-mini">LLMBenchmark.ai, GLM 5.3 vs GPT-5.4 Mini</a></p>