Enter opens the highlighted result. Esc closes.

GLM 5.3 Flash vs GPT-5.4 Mini

GLM 5.3 Flash leads GPT-5.4 Mini on coding, 54.0 to 32.1 on the Vibe Coding Index, and GLM 5.3 Flash costs 9.0x less per output token ($0.50 vs $4.50 per million). Updated December 6, 2026; 74 benchmarks have a result for both.

GLM 5.3 FlashZ.ai
Coding
54.0
Overall
60.3
Output $/M
$0.50
67
GPT-5.4 MiniOpenAI
Coding
32.1
Overall
51.7
Output $/M
$4.50
5
vs boards won of 74 shared, 2 tied

GLM 5.3 Flash or GPT-5.4 Mini: which to pick

Pick GLM 5.3 Flash for coding: it scores 54.0 on the Vibe Coding Index against 32.1 for GPT-5.4 Mini.

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

Shared results
74
GLM 5.3 Flash only
41
GPT-5.4 Mini only
16
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 Flash 54.0 from 6 benchmarks, GPT-5.4 Mini 32.1 from 4 benchmarks.
Widest category
Agentic work, 19.6 points apart on average over 4 shared benchmarks.
Widest single gap
GDPval-AA: GLM 5.3 Flash 1651 against GPT-5.4 Mini 1024, 52.2 points apart on a 0 to 100 scale.
Output price
GLM 5.3 Flash $0.50 against GPT-5.4 Mini $4.50 per million output tokens, 9.0x apart.
Context window
GLM 5.3 Flash 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.3 FlashBarsGPT-5.4 MiniTies
Coding1331 tie
Intelligence10
Agentic work40
Reasoning122
Math501 tie
Knowledge60
General260
All shared boards6752 ties
CodingLike-for-likeSix of these boards feed the Vibe Coding Index133
Coding benchmarks for GLM 5.3 Flash and GPT-5.4 Mini
BenchmarkGLM 5.3 FlashGPT-5.4 MiniLeader
LiveBench coding70.9%Not measuredOnly GLM 5.3 Flash measured
LMArena WebDev16131398GLM 5.3 Flash
LiveCodeBench (Vals AI)80.5%81.5%GPT-5.4 Mini
SWE-bench Verified (Vals AI)92.0%73.0%GLM 5.3 Flash
Terminal-Bench 4 (Vals AI)37.4%2.5%GLM 5.3 Flash
Vibe Code Bench (Vals AI)19.4%Not measuredOnly GLM 5.3 Flash measured
Code migration (Vals AI)20.5%12.9%GLM 5.3 Flash
ProgramBench (Vals AI)0.0%0.0%Tie
IOI (Vals AI)52.5%Not measuredOnly GLM 5.3 Flash measured
Terminal-Bench 2.1 (Vals AI)62.9%54.7%GLM 5.3 Flash
Vibe Code Bench 1-100 (Vals AI)16.0%Not measuredOnly GLM 5.3 Flash measured
SkillsBench (Vals AI)40.2%Not measuredOnly GLM 5.3 Flash measured
CyberBench (Vals AI)67.9%Not measuredOnly GLM 5.3 Flash measured
SciCode51.6%52.1%GPT-5.4 Mini
Terminal-Bench Hard (Artificial Analysis run)Not measured52.3%Only GPT-5.4 Mini measured
Terminal-Bench 4.0 (Artificial Analysis run)32.8%2.0%GLM 5.3 Flash
FrontierCode 2.017.2%Not measuredOnly GLM 5.3 Flash measured
FrontierCode31.8%27.0%GLM 5.3 Flash
FrontierSWE18.1%Not measuredOnly GLM 5.3 Flash measured
WeirdMLNot measured60.3%Only GPT-5.4 Mini measured
ALE-Bench303.61188.6GPT-5.4 Mini
LMArena Text: coding15091438GLM 5.3 Flash
LMArena Text: software and IT15011436GLM 5.3 Flash
LMArena WebDev: React16311386GLM 5.3 Flash
LMArena WebDev: HTML15821420GLM 5.3 Flash
LMArena WebDev: from an image1584Not measuredOnly GLM 5.3 Flash measured
GameBench 260.446.5GLM 5.3 Flash
Terminal-Bench 4.036.7%1.8%GLM 5.3 Flash
ProgramBenchNot measured0.0%Only GPT-5.4 Mini measured
Neither model has a result on the other 23 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for GLM 5.3 Flash and GPT-5.4 Mini
BenchmarkGLM 5.3 FlashGPT-5.4 MiniLeader
AA Intelligence Index28.0Not measuredOnly GLM 5.3 Flash measured
Epoch Capabilities Index153.6149.4GLM 5.3 Flash
Agentic workLike-for-likePublic boards, shown as published, kept out of the index40
Agentic work benchmarks for GLM 5.3 Flash and GPT-5.4 Mini
BenchmarkGLM 5.3 FlashGPT-5.4 MiniLeader
LiveBench research73.9%Not measuredOnly GLM 5.3 Flash measured
LiveBench browser59.8%Not measuredOnly GLM 5.3 Flash measured
LiveBench long agentic20.7%Not measuredOnly GLM 5.3 Flash measured
SREBench (Vals AI)0.8%Not measuredOnly GLM 5.3 Flash measured
Finance Agent (Vals AI)57.9%45.4%GLM 5.3 Flash
Tax Agent Bench (Vals AI)31.6%8.8%GLM 5.3 Flash
Legal Research Bench (Vals AI)45.2%12.5%GLM 5.3 Flash
Harvey's Legal Agent Benchmark (Vals AI)10.4%Not measuredOnly GLM 5.3 Flash measured
Excel Modeling Benchmark (Vals AI)55.9%45.4%GLM 5.3 Flash
Terminal-Bench-Science (Vals AI)2.9%Not measuredOnly GLM 5.3 Flash measured
τ²-Bench TelecomNot measured83.3%Only GPT-5.4 Mini measured
APEX-Agents52.8%Not measuredOnly GLM 5.3 Flash measured
DeepResearch BenchNot measured36.3%Only GPT-5.4 Mini measured
PostTrainBench36.8%Not measuredOnly GLM 5.3 Flash measured
MCP AtlasNot measured56.7%Only GPT-5.4 Mini measured
Toolathlon-Verified78.4%Not measuredOnly GLM 5.3 Flash measured
Neither model has a result on the other 28 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index122
Reasoning benchmarks for GLM 5.3 Flash and GPT-5.4 Mini
BenchmarkGLM 5.3 FlashGPT-5.4 MiniLeader
GPQA Diamond86.4%83.1%GLM 5.3 Flash
LiveBench reasoning77.6%Not measuredOnly GLM 5.3 Flash measured
MMMU Pro (Vals AI)86.0%79.3%GLM 5.3 Flash
GPQA Diamond (Artificial Analysis run)91.2%87.5%GLM 5.3 Flash
Humanity's Last Exam (Artificial Analysis run)39.9%28.1%GLM 5.3 Flash
HLE-Diamond (Artificial Analysis run)18.2%Not measuredOnly GLM 5.3 Flash measured
CritPt v2, hard subset (Artificial Analysis run)24.5%Not measuredOnly GLM 5.3 Flash measured
GPQA Diamond (Epoch AI run)90.2%86.9%GLM 5.3 Flash
ARC-AGI91.0%63.7%GLM 5.3 Flash
ARC-AGI-265.8%18.9%GLM 5.3 Flash
Chess puzzles21.0%23.0%GPT-5.4 Mini
Mystery game puzzles8.0%11.0%GPT-5.4 Mini
LMArena Text: hard prompts14911425GLM 5.3 Flash
LMArena Text: expert15141436GLM 5.3 Flash
LMArena Text: hard prompts in English14911420GLM 5.3 Flash
LMArena Vision: diagrams13201265GLM 5.3 Flash
LMArena Vision: homework13251285GLM 5.3 Flash
Kagi LLM BenchmarkNot measured37.9%Only GPT-5.4 Mini measured
Humanity's Last Exam (Scale run)16.8%Not measuredOnly GLM 5.3 Flash measured
Neither model has a result on the other 7 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index50
Math benchmarks for GLM 5.3 Flash and GPT-5.4 Mini
BenchmarkGLM 5.3 FlashGPT-5.4 MiniLeader
AIMENot measured95.6%Only GPT-5.4 Mini measured
OTIS Mock AIME93.9%88.9%GLM 5.3 Flash
FrontierMath, tiers 1 to 355.8%51.2%GLM 5.3 Flash
FrontierMath, tier 417.1%9.8%GLM 5.3 Flash
ProofBench21.0%21.0%Tie
LMArena Text: math15061418GLM 5.3 Flash
LMArena Text: mathematical work14961428GLM 5.3 Flash
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index60
Knowledge benchmarks for GLM 5.3 Flash and GPT-5.4 Mini
BenchmarkGLM 5.3 FlashGPT-5.4 MiniLeader
MMLU Pro86.1%84.5%GLM 5.3 Flash
LegalBench (Vals AI)83.9%Not measuredOnly GLM 5.3 Flash 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)75.6%71.2%GLM 5.3 Flash
MortgageTax (Vals AI)Not measured63.5%Only GPT-5.4 Mini measured
AA-Omniscience0.7Not measuredOnly GLM 5.3 Flash measured
SimpleQA VerifiedNot measured29.4%Only GPT-5.4 Mini measured
LMArena Text: science14881417GLM 5.3 Flash
LMArena Text: medicine and healthcare14761394GLM 5.3 Flash
LMArena Text: legal and government14791415GLM 5.3 Flash
LMArena Text: business and finance14611418GLM 5.3 Flash
PRBench Finance51.7%Not measuredOnly GLM 5.3 Flash measured
PRBench Legal51.7%Not measuredOnly GLM 5.3 Flash measured
Neither model has a result on the other 7 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index9 boards, none shared
Web design benchmarks for GLM 5.3 Flash and GPT-5.4 Mini
BenchmarkGLM 5.3 FlashGPT-5.4 MiniLeader
Design Arena: websites1305Not measuredOnly GLM 5.3 Flash measured
Design Arena: UI components1284Not measuredOnly GLM 5.3 Flash measured
Design Arena: game dev1250Not measuredOnly GLM 5.3 Flash measured
Design Arena: data viz1249Not measuredOnly GLM 5.3 Flash measured
Design Arena: 3D1276Not measuredOnly GLM 5.3 Flash measured
Design Arena: all code categories1321Not measuredOnly GLM 5.3 Flash measured
Design Arena: SVG1319Not measuredOnly GLM 5.3 Flash measured
Design Arena: ASCII art1256Not measuredOnly GLM 5.3 Flash measured
LiveBench design73.7%Not measuredOnly GLM 5.3 Flash measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index260
General benchmarks for GLM 5.3 Flash and GPT-5.4 Mini
BenchmarkGLM 5.3 FlashGPT-5.4 MiniLeader
Vals Index49.5%Not measuredOnly GLM 5.3 Flash measured
LiveBench data analysis76.4%Not measuredOnly GLM 5.3 Flash measured
SAGE (Vals AI)89.3%Not measuredOnly GLM 5.3 Flash measured
MedScribe (Vals AI)88.9%Not measuredOnly GLM 5.3 Flash 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)80.0%77.0%GLM 5.3 Flash
GDPval-AA16511024GLM 5.3 Flash
DTBenchNot measured80.0%Only GPT-5.4 Mini measured
LMCANot measured40.8%Only GPT-5.4 Mini measured
Surface Evolver Bench52.5%Not measuredOnly GLM 5.3 Flash measured
LMArena Text14721412GLM 5.3 Flash
LMArena Text: instruction following14801405GLM 5.3 Flash
LMArena Text: creative writing14431370GLM 5.3 Flash
LMArena Vision12961245GLM 5.3 Flash
LMArena Text: English14771412GLM 5.3 Flash
LMArena Text: non-English14611405GLM 5.3 Flash
LMArena Text: Chinese15281446GLM 5.3 Flash
LMArena Text: German14571409GLM 5.3 Flash
LMArena Text: Japanese14491366GLM 5.3 Flash
LMArena Text: Korean14271368GLM 5.3 Flash
LMArena Text: French14881442GLM 5.3 Flash
LMArena Text: Spanish14781406GLM 5.3 Flash
LMArena Text: Russian14681418GLM 5.3 Flash
LMArena Text: Polish14521417GLM 5.3 Flash
LMArena Text: multi-turn14731429GLM 5.3 Flash
LMArena Text: longer queries14831408GLM 5.3 Flash
LMArena Text: writing and language14581392GLM 5.3 Flash
LMArena Text: entertainment and media14421372GLM 5.3 Flash
LMArena Vision: English13001244GLM 5.3 Flash
LMArena Vision: Chinese13551287GLM 5.3 Flash
LMArena Vision: reading text13061253GLM 5.3 Flash
LMArena Vision: humor12881239GLM 5.3 Flash
LMArena Vision: recognizing things12751224GLM 5.3 Flash
LMArena Vision: creative writing12731221GLM 5.3 Flash
Neither model has a result on the other 14 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GLM 5.3 Flash and GPT-5.4 Mini
BenchmarkGLM 5.3 FlashGPT-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 Flash$0.0004Fits in one request
GPT-5.4 Mini$0.0030Fits in one request

GLM 5.3 Flash costs less

Repository review

50K input + 3K output tokens

GLM 5.3 Flash$0.0090Fits in one request
GPT-5.4 Mini$0.051Fits in one request

GLM 5.3 Flash costs less

Agent loop

200K input + 10K output tokens

GLM 5.3 Flash$0.035Fits in one request
GPT-5.4 Mini$0.195Fits in one request

GLM 5.3 Flash 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 Flash and GPT-5.4 Mini
SpecificationZ.ai GLM 5.3 FlashOpenAI GPT-5.4 Mini
MakerZ.aiOpenAI
WeightsOpen weightsNo public weights listed
ReleasedAugust 26, 2026March 17, 2026
Context window1.05M400K
Input $/Mtok$0.15$0.75
Output $/Mtok$0.50$4.50
Coding index54.032.1
Independent measurements behind it64
Cost per solved task$0.02$0.70
SourceOpenRouter listingOpenRouter listing

Questions

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

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

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

GLM 5.3 Flash costs $0.15 per million input tokens and $0.50 per million output tokens; GPT-5.4 Mini costs $0.75 and $4.50. Per solved SWE-bench Verified task, GLM 5.3 Flash costs $0.02 and GPT-5.4 Mini $0.70.

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

GLM 5.3 Flash, with 1.05M tokens against 400K.

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

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