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 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.
Coding
Vibe Coding Index, six public coding benchmarks
GLM 5.3 Flash
GLM 5.3 Flash scores 54.0 against 32.1.
6 and 4 benchmarks behind the scores
Intelligence
AA Intelligence Index
No call
Only GLM 5.3 Flash has a AA Intelligence Index result, 28.0.
Directional only
Reasoning
GPQA Diamond
GLM 5.3 Flash
GLM 5.3 Flash leads, 86.4% against 83.1%.
Same board, both measured
Math
AIME
No call
Only GPT-5.4 Mini has a AIME result, 95.6%.
Directional only
Knowledge
MMLU Pro
GLM 5.3 Flash
GLM 5.3 Flash leads, 86.1% against 84.5%.
Same board, both measured
Web design
Design Arena: websites
No call
Only GLM 5.3 Flash has a Design Arena: websites result, 1305.
Directional only
General
Vals Index
No call
Only GLM 5.3 Flash has a Vals Index result, 49.5%.
Directional only
Long documents
Listed context window
GLM 5.3 Flash
GLM 5.3 Flash takes 1.05M tokens against 400K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GLM 5.3 Flash
GLM 5.3 Flash $0.0004, GPT-5.4 Mini $0.0030 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
GLM 5.3 Flash
GLM 5.3 Flash $0.02, GPT-5.4 Mini $0.70.
Published attempt cost and pass rate
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.
| Category | GLM 5.3 Flash | Bars | GPT-5.4 Mini | Ties |
|---|---|---|---|---|
| Coding | 13 | 3 | 1 tie | |
| Intelligence | 1 | 0 | ||
| Agentic work | 4 | 0 | ||
| Reasoning | 12 | 2 | ||
| Math | 5 | 0 | 1 tie | |
| Knowledge | 6 | 0 | ||
| General | 26 | 0 | ||
| All shared boards | 67 | 5 | 2 ties |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index133
| Benchmark | GLM 5.3 Flash | GPT-5.4 Mini | Leader |
|---|---|---|---|
| LiveBench coding | 70.9% | Not measured | Only GLM 5.3 Flash measured |
| LMArena WebDev | 1613 | 1398 | GLM 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 measured | Only 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 measured | Only 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 measured | Only GLM 5.3 Flash measured |
| SkillsBench (Vals AI) | 40.2% | Not measured | Only GLM 5.3 Flash measured |
| CyberBench (Vals AI) | 67.9% | Not measured | Only GLM 5.3 Flash measured |
| SciCode | 51.6% | 52.1% | GPT-5.4 Mini |
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 52.3% | Only GPT-5.4 Mini measured |
| Terminal-Bench 4.0 (Artificial Analysis run) | 32.8% | 2.0% | GLM 5.3 Flash |
| FrontierCode 2.0 | 17.2% | Not measured | Only GLM 5.3 Flash measured |
| FrontierCode | 31.8% | 27.0% | GLM 5.3 Flash |
| FrontierSWE | 18.1% | Not measured | Only GLM 5.3 Flash measured |
| WeirdML | Not measured | 60.3% | Only GPT-5.4 Mini measured |
| ALE-Bench | 303.6 | 1188.6 | GPT-5.4 Mini |
| LMArena Text: coding | 1509 | 1438 | GLM 5.3 Flash |
| LMArena Text: software and IT | 1501 | 1436 | GLM 5.3 Flash |
| LMArena WebDev: React | 1631 | 1386 | GLM 5.3 Flash |
| LMArena WebDev: HTML | 1582 | 1420 | GLM 5.3 Flash |
| LMArena WebDev: from an image | 1584 | Not measured | Only GLM 5.3 Flash measured |
| GameBench 2 | 60.4 | 46.5 | GLM 5.3 Flash |
| Terminal-Bench 4.0 | 36.7% | 1.8% | GLM 5.3 Flash |
| ProgramBench | Not measured | 0.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
| Benchmark | GLM 5.3 Flash | GPT-5.4 Mini | Leader |
|---|---|---|---|
| AA Intelligence Index | 28.0 | Not measured | Only GLM 5.3 Flash measured |
| Epoch Capabilities Index | 153.6 | 149.4 | GLM 5.3 Flash |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index40
| Benchmark | GLM 5.3 Flash | GPT-5.4 Mini | Leader |
|---|---|---|---|
| LiveBench research | 73.9% | Not measured | Only GLM 5.3 Flash measured |
| LiveBench browser | 59.8% | Not measured | Only GLM 5.3 Flash measured |
| LiveBench long agentic | 20.7% | Not measured | Only GLM 5.3 Flash measured |
| SREBench (Vals AI) | 0.8% | Not measured | Only 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 measured | Only 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 measured | Only GLM 5.3 Flash measured |
| τ²-Bench Telecom | Not measured | 83.3% | Only GPT-5.4 Mini measured |
| APEX-Agents | 52.8% | Not measured | Only GLM 5.3 Flash measured |
| DeepResearch Bench | Not measured | 36.3% | Only GPT-5.4 Mini measured |
| PostTrainBench | 36.8% | Not measured | Only GLM 5.3 Flash measured |
| MCP Atlas | Not measured | 56.7% | Only GPT-5.4 Mini measured |
| Toolathlon-Verified | 78.4% | Not measured | Only 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
| Benchmark | GLM 5.3 Flash | GPT-5.4 Mini | Leader |
|---|---|---|---|
| GPQA Diamond | 86.4% | 83.1% | GLM 5.3 Flash |
| LiveBench reasoning | 77.6% | Not measured | Only 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 measured | Only GLM 5.3 Flash measured |
| CritPt v2, hard subset (Artificial Analysis run) | 24.5% | Not measured | Only GLM 5.3 Flash measured |
| GPQA Diamond (Epoch AI run) | 90.2% | 86.9% | GLM 5.3 Flash |
| ARC-AGI | 91.0% | 63.7% | GLM 5.3 Flash |
| ARC-AGI-2 | 65.8% | 18.9% | GLM 5.3 Flash |
| Chess puzzles | 21.0% | 23.0% | GPT-5.4 Mini |
| Mystery game puzzles | 8.0% | 11.0% | GPT-5.4 Mini |
| LMArena Text: hard prompts | 1491 | 1425 | GLM 5.3 Flash |
| LMArena Text: expert | 1514 | 1436 | GLM 5.3 Flash |
| LMArena Text: hard prompts in English | 1491 | 1420 | GLM 5.3 Flash |
| LMArena Vision: diagrams | 1320 | 1265 | GLM 5.3 Flash |
| LMArena Vision: homework | 1325 | 1285 | GLM 5.3 Flash |
| Kagi LLM Benchmark | Not measured | 37.9% | Only GPT-5.4 Mini measured |
| Humanity's Last Exam (Scale run) | 16.8% | Not measured | Only 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
| Benchmark | GLM 5.3 Flash | GPT-5.4 Mini | Leader |
|---|---|---|---|
| AIME | Not measured | 95.6% | Only GPT-5.4 Mini measured |
| OTIS Mock AIME | 93.9% | 88.9% | GLM 5.3 Flash |
| FrontierMath, tiers 1 to 3 | 55.8% | 51.2% | GLM 5.3 Flash |
| FrontierMath, tier 4 | 17.1% | 9.8% | GLM 5.3 Flash |
| ProofBench | 21.0% | 21.0% | Tie |
| LMArena Text: math | 1506 | 1418 | GLM 5.3 Flash |
| LMArena Text: mathematical work | 1496 | 1428 | GLM 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
| Benchmark | GLM 5.3 Flash | GPT-5.4 Mini | Leader |
|---|---|---|---|
| MMLU Pro | 86.1% | 84.5% | GLM 5.3 Flash |
| LegalBench (Vals AI) | 83.9% | Not measured | Only GLM 5.3 Flash measured |
| CaseLaw (Vals AI) | Not measured | 51.7% | Only GPT-5.4 Mini measured |
| CorpFin (Vals AI) | Not measured | 60.9% | Only GPT-5.4 Mini measured |
| TaxEval (Vals AI) | 75.6% | 71.2% | GLM 5.3 Flash |
| MortgageTax (Vals AI) | Not measured | 63.5% | Only GPT-5.4 Mini measured |
| AA-Omniscience | 0.7 | Not measured | Only GLM 5.3 Flash measured |
| SimpleQA Verified | Not measured | 29.4% | Only GPT-5.4 Mini measured |
| LMArena Text: science | 1488 | 1417 | GLM 5.3 Flash |
| LMArena Text: medicine and healthcare | 1476 | 1394 | GLM 5.3 Flash |
| LMArena Text: legal and government | 1479 | 1415 | GLM 5.3 Flash |
| LMArena Text: business and finance | 1461 | 1418 | GLM 5.3 Flash |
| PRBench Finance | 51.7% | Not measured | Only GLM 5.3 Flash measured |
| PRBench Legal | 51.7% | Not measured | Only 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
| Benchmark | GLM 5.3 Flash | GPT-5.4 Mini | Leader |
|---|---|---|---|
| Design Arena: websites | 1305 | Not measured | Only GLM 5.3 Flash measured |
| Design Arena: UI components | 1284 | Not measured | Only GLM 5.3 Flash measured |
| Design Arena: game dev | 1250 | Not measured | Only GLM 5.3 Flash measured |
| Design Arena: data viz | 1249 | Not measured | Only GLM 5.3 Flash measured |
| Design Arena: 3D | 1276 | Not measured | Only GLM 5.3 Flash measured |
| Design Arena: all code categories | 1321 | Not measured | Only GLM 5.3 Flash measured |
| Design Arena: SVG | 1319 | Not measured | Only GLM 5.3 Flash measured |
| Design Arena: ASCII art | 1256 | Not measured | Only GLM 5.3 Flash measured |
| LiveBench design | 73.7% | Not measured | Only GLM 5.3 Flash measured |
GeneralLike-for-likePublic boards, shown as published, kept out of the index260
| Benchmark | GLM 5.3 Flash | GPT-5.4 Mini | Leader |
|---|---|---|---|
| Vals Index | 49.5% | Not measured | Only GLM 5.3 Flash measured |
| LiveBench data analysis | 76.4% | Not measured | Only GLM 5.3 Flash measured |
| SAGE (Vals AI) | 89.3% | Not measured | Only GLM 5.3 Flash measured |
| MedScribe (Vals AI) | 88.9% | Not measured | Only GLM 5.3 Flash measured |
| Vals Multimodal Index | Not measured | 54.2% | Only GPT-5.4 Mini measured |
| IFBench | Not measured | 73.3% | Only GPT-5.4 Mini measured |
| Long context reasoning (AA-LCR) | 80.0% | 77.0% | GLM 5.3 Flash |
| GDPval-AA | 1651 | 1024 | GLM 5.3 Flash |
| DTBench | Not measured | 80.0% | Only GPT-5.4 Mini measured |
| LMCA | Not measured | 40.8% | Only GPT-5.4 Mini measured |
| Surface Evolver Bench | 52.5% | Not measured | Only GLM 5.3 Flash measured |
| LMArena Text | 1472 | 1412 | GLM 5.3 Flash |
| LMArena Text: instruction following | 1480 | 1405 | GLM 5.3 Flash |
| LMArena Text: creative writing | 1443 | 1370 | GLM 5.3 Flash |
| LMArena Vision | 1296 | 1245 | GLM 5.3 Flash |
| LMArena Text: English | 1477 | 1412 | GLM 5.3 Flash |
| LMArena Text: non-English | 1461 | 1405 | GLM 5.3 Flash |
| LMArena Text: Chinese | 1528 | 1446 | GLM 5.3 Flash |
| LMArena Text: German | 1457 | 1409 | GLM 5.3 Flash |
| LMArena Text: Japanese | 1449 | 1366 | GLM 5.3 Flash |
| LMArena Text: Korean | 1427 | 1368 | GLM 5.3 Flash |
| LMArena Text: French | 1488 | 1442 | GLM 5.3 Flash |
| LMArena Text: Spanish | 1478 | 1406 | GLM 5.3 Flash |
| LMArena Text: Russian | 1468 | 1418 | GLM 5.3 Flash |
| LMArena Text: Polish | 1452 | 1417 | GLM 5.3 Flash |
| LMArena Text: multi-turn | 1473 | 1429 | GLM 5.3 Flash |
| LMArena Text: longer queries | 1483 | 1408 | GLM 5.3 Flash |
| LMArena Text: writing and language | 1458 | 1392 | GLM 5.3 Flash |
| LMArena Text: entertainment and media | 1442 | 1372 | GLM 5.3 Flash |
| LMArena Vision: English | 1300 | 1244 | GLM 5.3 Flash |
| LMArena Vision: Chinese | 1355 | 1287 | GLM 5.3 Flash |
| LMArena Vision: reading text | 1306 | 1253 | GLM 5.3 Flash |
| LMArena Vision: humor | 1288 | 1239 | GLM 5.3 Flash |
| LMArena Vision: recognizing things | 1275 | 1224 | GLM 5.3 Flash |
| LMArena Vision: creative writing | 1273 | 1221 | GLM 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
| Benchmark | GLM 5.3 Flash | GPT-5.4 Mini | Leader |
|---|---|---|---|
| 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 costs less
Repository review
50K input + 3K output tokens
GLM 5.3 Flash costs less
Agent loop
200K input + 10K output tokens
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.
| Specification | Z.ai GLM 5.3 Flash | OpenAI GPT-5.4 Mini |
|---|---|---|
| Maker | Z.ai | OpenAI |
| Weights | Open weights | No public weights listed |
| Released | August 26, 2026 | March 17, 2026 |
| Context window | 1.05M | 400K |
| Input $/Mtok | $0.15 | $0.75 |
| Output $/Mtok | $0.50 | $4.50 |
| Coding index | 54.0 | 32.1 |
| Independent measurements behind it | 6 | 4 |
| Cost per solved task | $0.02 | $0.70 |
| Source | OpenRouter listing | OpenRouter 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.