Enter opens the highlighted result. Esc closes.

GLM 5.4 vs GPT-5.4

GLM 5.4 leads GPT-5.4 on coding, 72.7 to 64.3 on the Vibe Coding Index, and GLM 5.4 costs 3.4x less per output token ($4.40 vs $15.00 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.4OpenAI
Coding
64.3
Overall
72.5
Output $/M
$15.00
0
vs boards won of 3 shared

GLM 5.4 or GPT-5.4: which to pick

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

Pick GPT-5.4 for a larger context window (1.05M against 1.05M tokens).

Shared results
3
GLM 5.4 only
7
GPT-5.4 only
117
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 64.3 from 3 benchmarks.
Widest category
Coding, 25.9 points apart on average over 3 shared benchmarks.
Widest single gap
LMArena WebDev: GLM 5.4 1690 against GPT-5.4 1462, 32.6 points apart on a 0 to 100 scale.
Output price
GLM 5.4 $4.40 against GPT-5.4 $15.00 per million output tokens, 3.4x apart.
Context window
GLM 5.4 takes 1.05M tokens, GPT-5.4 1.05M.

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.4Ties
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
BenchmarkGLM 5.4GPT-5.4Leader
LiveBench coding74.5%Not measuredOnly GLM 5.4 measured
LMArena WebDev16901462GLM 5.4
LiveCodeBench (Vals AI)Not measured84.1%Only GPT-5.4 measured
SWE-bench Verified (Vals AI)Not measured78.2%Only GPT-5.4 measured
Vibe Code Bench (Vals AI)Not measured67.4%Only GPT-5.4 measured
Code migration (Vals AI)Not measured35.0%Only GPT-5.4 measured
ProgramBench (Vals AI)Not measured0.5%Only GPT-5.4 measured
SkillsBench (Vals AI)Not measured51.7%Only GPT-5.4 measured
Terminal-Bench Hard (Artificial Analysis run)Not measured57.6%Only GPT-5.4 measured
Terminal-BenchNot measured81.8%Only GPT-5.4 measured
GSO-BenchNot measured31.4%Only GPT-5.4 measured
WeirdMLNot measured77.7%Only GPT-5.4 measured
MirrorCodeNot measured23.3%Only GPT-5.4 measured
ALE-BenchNot measured1607.0Only GPT-5.4 measured
LMArena Text: codingNot measured1497Only GPT-5.4 measured
LMArena Text: software and ITNot measured1491Only GPT-5.4 measured
LMArena WebDev: React17391451GLM 5.4
LMArena WebDev: HTML16751479GLM 5.4
LMArena WebDev: from an imageNot measured1441Only GPT-5.4 measured
SWE Atlas: Codebase QnANot measured40.8%Only GPT-5.4 measured
SWE Atlas: RefactoringNot measured44.3%Only GPT-5.4 measured
SWE Atlas: Test WritingNot measured44.4%Only GPT-5.4 measured
GameBench 2Not measured62.2Only GPT-5.4 measured
ProgramBenchNot measured0.0%Only GPT-5.4 measured
Neither model has a result on the other 28 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
BenchmarkGLM 5.4GPT-5.4Leader
Epoch Capabilities IndexNot measured157.8Only GPT-5.4 measured
Neither model has a result on the other 1 board here
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index17 boards, none shared
Agentic work benchmarks for GLM 5.4 and GPT-5.4
BenchmarkGLM 5.4GPT-5.4Leader
Design Arena: agents building web appsNot measured1024Only GPT-5.4 measured
Design Arena: agents building full-stack appsNot measured1063Only GPT-5.4 measured
Design Arena: agents building mobile appsNot measured1077Only GPT-5.4 measured
Design Arena: agents building Android appsNot measured1004Only GPT-5.4 measured
Design Arena: agents building Godot gamesNot measured1135Only GPT-5.4 measured
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
τ²-Bench TelecomNot measured87.1%Only GPT-5.4 measured
APEX-AgentsNot measured52.4%Only GPT-5.4 measured
METR time horizonsNot measured74.3%Only GPT-5.4 measured
DeepResearch BenchNot measured35.1%Only GPT-5.4 measured
PostTrainBenchNot measured17.8%Only GPT-5.4 measured
Vending-Bench 2Not measured$6,144Only GPT-5.4 measured
LMArena SearchNot measured1198Only GPT-5.4 measured
MCP AtlasNot measured70.6%Only GPT-5.4 measured
τ³-BankingNot measured39.4%Only GPT-5.4 measured
Neither model has a result on the other 27 boards here
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index17 boards, none shared
Reasoning benchmarks for GLM 5.4 and GPT-5.4
BenchmarkGLM 5.4GPT-5.4Leader
GPQA DiamondNot measured91.7%Only GPT-5.4 measured
LiveBench reasoning85.2%Not measuredOnly GLM 5.4 measured
MMMU Pro (Vals AI)Not measured87.5%Only GPT-5.4 measured
GPQA Diamond (Artificial Analysis run)Not measured92.0%Only GPT-5.4 measured
Humanity's Last Exam (Artificial Analysis run)Not measured43.7%Only GPT-5.4 measured
GPQA Diamond (Epoch AI run)Not measured93.3%Only GPT-5.4 measured
ARC-AGINot measured93.7%Only GPT-5.4 measured
ARC-AGI-2Not measured74.0%Only GPT-5.4 measured
Chess puzzlesNot measured48.0%Only GPT-5.4 measured
Mystery game puzzlesNot measured37.0%Only GPT-5.4 measured
EBR-benchNot measured25.4%Only GPT-5.4 measured
LMArena Text: hard promptsNot measured1485Only GPT-5.4 measured
LMArena Text: expertNot measured1507Only GPT-5.4 measured
LMArena Text: hard prompts in EnglishNot measured1479Only GPT-5.4 measured
LMArena Vision: diagramsNot measured1325Only GPT-5.4 measured
LMArena Vision: homeworkNot measured1336Only GPT-5.4 measured
Kagi LLM BenchmarkNot measured63.8%Only GPT-5.4 measured
Neither model has a result on the other 9 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
Math benchmarks for GLM 5.4 and GPT-5.4
BenchmarkGLM 5.4GPT-5.4Leader
AIMENot measured96.7%Only GPT-5.4 measured
OTIS Mock AIMENot measured97.8%Only GPT-5.4 measured
FrontierMath, tiers 1 to 3Not measured78.6%Only GPT-5.4 measured
FrontierMath, tier 4Not measured49.0%Only GPT-5.4 measured
ProofBenchNot measured56.0%Only GPT-5.4 measured
LMArena Text: mathNot measured1487Only GPT-5.4 measured
LMArena Text: mathematical workNot measured1496Only GPT-5.4 measured
MathArenaNot measured34.2%Only GPT-5.4 measured
Neither model has a result on the other 6 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index15 boards, none shared
Knowledge benchmarks for GLM 5.4 and GPT-5.4
BenchmarkGLM 5.4GPT-5.4Leader
MMLU ProNot measured87.5%Only GPT-5.4 measured
LegalBench (Vals AI)Not measured86.0%Only GPT-5.4 measured
CaseLaw (Vals AI)Not measured63.8%Only GPT-5.4 measured
CorpFin (Vals AI)Not measured65.3%Only GPT-5.4 measured
TaxEval (Vals AI)Not measured74.0%Only GPT-5.4 measured
MortgageTax (Vals AI)Not measured68.3%Only GPT-5.4 measured
MedQA (Vals AI)Not measured96.1%Only GPT-5.4 measured
MedCode (Vals AI)Not measured41.3%Only GPT-5.4 measured
SimpleQA VerifiedNot measured45.1%Only GPT-5.4 measured
LMArena Text: scienceNot measured1478Only GPT-5.4 measured
LMArena Text: medicine and healthcareNot measured1458Only GPT-5.4 measured
LMArena Text: legal and governmentNot measured1485Only GPT-5.4 measured
LMArena Text: business and financeNot measured1475Only GPT-5.4 measured
PRBench FinanceNot measured45.6%Only GPT-5.4 measured
PRBench LegalNot measured45.6%Only GPT-5.4 measured
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.4 and GPT-5.4
BenchmarkGLM 5.4GPT-5.4Leader
Design Arena: websitesNot measured1239Only GPT-5.4 measured
Design Arena: UI componentsNot measured1197Only GPT-5.4 measured
Design Arena: game devNot measured1162Only GPT-5.4 measured
Design Arena: data vizNot measured1188Only GPT-5.4 measured
Design Arena: 3DNot measured1013Only GPT-5.4 measured
Design Arena: all code categoriesNot measured1221Only GPT-5.4 measured
Design Arena: SVGNot measured1183Only GPT-5.4 measured
Design Arena: ASCII artNot measured1167Only GPT-5.4 measured
LiveBench design74.2%Not measuredOnly GLM 5.4 measured
GeneralDirectional onlyPublic boards, shown as published, kept out of the index36 boards, none shared
General benchmarks for GLM 5.4 and GPT-5.4
BenchmarkGLM 5.4GPT-5.4Leader
LiveBench data analysis72.2%Not measuredOnly GLM 5.4 measured
MedScribe (Vals AI)Not measured77.5%Only GPT-5.4 measured
IFBenchNot measured73.9%Only GPT-5.4 measured
Long context reasoning (AA-LCR)Not measured82.0%Only GPT-5.4 measured
GDPval-AANot measured1255Only GPT-5.4 measured
DTBenchNot measured94.4%Only GPT-5.4 measured
LMCANot measured52.0%Only GPT-5.4 measured
CL-benchNot measured27.9%Only GPT-5.4 measured
Furniture assemblyNot measured37.5%Only GPT-5.4 measured
CL-bench LifeNot measured21.7%Only GPT-5.4 measured
LMArena TextNot measured1469Only GPT-5.4 measured
LMArena Text: instruction followingNot measured1469Only GPT-5.4 measured
LMArena Text: creative writingNot measured1437Only GPT-5.4 measured
LMArena VisionNot measured1301Only GPT-5.4 measured
LMArena Text: EnglishNot measured1467Only GPT-5.4 measured
LMArena Text: non-EnglishNot measured1464Only GPT-5.4 measured
LMArena Text: ChineseNot measured1517Only GPT-5.4 measured
LMArena Text: GermanNot measured1473Only GPT-5.4 measured
LMArena Text: JapaneseNot measured1484Only GPT-5.4 measured
LMArena Text: KoreanNot measured1449Only GPT-5.4 measured
LMArena Text: FrenchNot measured1493Only GPT-5.4 measured
LMArena Text: SpanishNot measured1453Only GPT-5.4 measured
LMArena Text: RussianNot measured1481Only GPT-5.4 measured
LMArena Text: PolishNot measured1472Only GPT-5.4 measured
LMArena Text: multi-turnNot measured1482Only GPT-5.4 measured
LMArena Text: longer queriesNot measured1473Only GPT-5.4 measured
LMArena Text: writing and languageNot measured1457Only GPT-5.4 measured
LMArena Text: entertainment and mediaNot measured1437Only GPT-5.4 measured
LMArena Vision: EnglishNot measured1298Only GPT-5.4 measured
LMArena Vision: ChineseNot measured1356Only GPT-5.4 measured
LMArena Vision: reading textNot measured1310Only GPT-5.4 measured
LMArena Vision: humorNot measured1284Only GPT-5.4 measured
LMArena Vision: recognizing thingsNot measured1246Only GPT-5.4 measured
LMArena Vision: creative writingNot measured1286Only GPT-5.4 measured
LMArena DocumentNot measured1472Only GPT-5.4 measured
EQ-Bench 4Not measured1258Only GPT-5.4 measured
Neither model has a result on the other 13 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
BenchmarkGLM 5.4GPT-5.4Leader
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$0.010Fits in one request

GLM 5.4 costs less

Repository review

50K input + 3K output tokens

GLM 5.4$0.083Fits in one request
GPT-5.4$0.170Fits in one request

GLM 5.4 costs less

Agent loop

200K input + 10K output tokens

GLM 5.4$0.324Fits in one request
GPT-5.4$0.650Fits in one request

GLM 5.4 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
SpecificationZ.ai GLM 5.4OpenAI GPT-5.4
MakerZ.aiOpenAI
WeightsOpen weightsNo public weights listed
ReleasedDecember 2, 2026March 5, 2026
Context window1.05M1.05M
Input $/Mtok$1.40$2.50
Output $/Mtok$4.40$15.00
Coding index72.764.3
Independent measurements behind it23
Cost per solved taskNot computable$1.02
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 5.4 better than GPT-5.4 for coding?

Pick GLM 5.4 for coding: it scores 72.7 on the Vibe Coding Index against 64.3 for GPT-5.4, though on 2 benchmarks against 3. Pick GPT-5.4 for a larger context window (1.05M against 1.05M tokens).

Which is cheaper, GLM 5.4 or GPT-5.4?

GLM 5.4 costs $1.40 per million input tokens and $4.40 per million output tokens; GPT-5.4 costs $2.50 and $15.00. Cost per solved task is known for GPT-5.4 only.

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

GPT-5.4, with 1.05M tokens against 1.05M.

How many benchmarks is the GLM 5.4 vs GPT-5.4 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's on 3. 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" title="GLM 5.4 vs GPT-5.4, 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">LLMBenchmark.ai, GLM 5.4 vs GPT-5.4</a></p>