Enter opens the highlighted result. Esc closes.

GLM 5.4 vs Step 5 Preview

GLM 5.4 leads Step 5 Preview on coding, 72.8 to 53.3 on the Vibe Coding Index, and Step 5 Preview costs 1.6x less per output token ($2.70 vs $4.40 per million). Updated December 6, 2026; 15 benchmarks have a result for both.

GLM 5.4Z.ai
Coding
72.8
Overall
69.2
Output $/M
$4.40
15
Step 5 PreviewStepFun
Coding
53.3
Overall
57.2
Output $/M
$2.70
0
vs boards won of 15 shared

GLM 5.4 or Step 5 Preview: which to pick

Pick GLM 5.4 for coding: it scores 72.8 on the Vibe Coding Index against 53.3 for Step 5 Preview, though on 2 benchmarks against 4.

Pick Step 5 Preview for output tokens 1.6x cheaper ($2.70 vs $4.40 per million).

Shared results
15
GLM 5.4 only
10
Step 5 Preview only
60
Like-for-like categories
6 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.8 from 2 benchmarks, Step 5 Preview 53.3 from 4 benchmarks.
Widest category
Agentic work, 24.0 points apart on average over 3 shared benchmarks.
Widest single gap
LiveBench browser: GLM 5.4 64.5% against Step 5 Preview 24.8%, 39.7 points apart on a 0 to 100 scale.
Output price
GLM 5.4 $4.40 against Step 5 Preview $2.70 per million output tokens, 1.6x apart.
Context window
GLM 5.4 takes 1.05M tokens, Step 5 Preview 262K.

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.4BarsStep 5 PreviewTies
Coding60
Agentic work30
Reasoning30
Knowledge10
Web design10
General10
All shared boards150
CodingLike-for-likeSix of these boards feed the Vibe Coding Index60
Coding benchmarks for GLM 5.4 and Step 5 Preview
BenchmarkGLM 5.4Step 5 PreviewLeader
LiveBench coding74.5%67.6%GLM 5.4
LMArena WebDev16911572GLM 5.4
Terminal-Bench 4 (Vals AI)Not measured31.8%Only Step 5 Preview measured
Vibe Code Bench (Vals AI)Not measured56.4%Only Step 5 Preview measured
Code migration (Vals AI)Not measured39.0%Only Step 5 Preview measured
IOI (Vals AI)Not measured38.1%Only Step 5 Preview measured
SWE-bench Multimodal (Vals AI)Not measured40.8%Only Step 5 Preview measured
SciCodeNot measured58.9%Only Step 5 Preview measured
Terminal-Bench 4.0 (Artificial Analysis run)Not measured33.3%Only Step 5 Preview measured
FrontierCode 2.028.2%11.6%GLM 5.4
ALE-Bench1491.7Not measuredOnly GLM 5.4 measured
LMArena Text: codingNot measured1481Only Step 5 Preview measured
LMArena Text: software and ITNot measured1471Only Step 5 Preview measured
LMArena WebDev: React17411588GLM 5.4
LMArena WebDev: HTML16741547GLM 5.4
LMArena WebDev: from an imageNot measured1550Only Step 5 Preview measured
GameBench 278.553.2GLM 5.4
Neither model has a result on the other 35 boards here
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index1 board, none shared
Intelligence benchmarks for GLM 5.4 and Step 5 Preview
BenchmarkGLM 5.4Step 5 PreviewLeader
AA Intelligence Index42.0Not measuredOnly GLM 5.4 measured
Neither model has a result on the other 1 board here
Agentic workLike-for-likePublic boards, shown as published, kept out of the index30
Agentic work benchmarks for GLM 5.4 and Step 5 Preview
BenchmarkGLM 5.4Step 5 PreviewLeader
LiveBench research86.0%75.5%GLM 5.4
LiveBench browser64.5%24.8%GLM 5.4
LiveBench long agentic41.3%19.4%GLM 5.4
SREBench (Vals AI)Not measured0.4%Only Step 5 Preview measured
Finance Agent (Vals AI)Not measured50.7%Only Step 5 Preview measured
Tax Agent Bench (Vals AI)Not measured27.3%Only Step 5 Preview measured
Legal Research Bench (Vals AI)Not measured40.4%Only Step 5 Preview measured
Harvey's Legal Agent Benchmark (Vals AI)Not measured12.9%Only Step 5 Preview measured
Excel Modeling Benchmark (Vals AI)Not measured57.1%Only Step 5 Preview measured
BioMysteryBench (Vals AI)Not measured67.4%Only Step 5 Preview measured
Terminal-Bench-Science (Vals AI)Not measured5.7%Only Step 5 Preview measured
Vals Science IndexNot measured30.5%Only Step 5 Preview measured
Neither model has a result on the other 32 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index30
Reasoning benchmarks for GLM 5.4 and Step 5 Preview
BenchmarkGLM 5.4Step 5 PreviewLeader
LiveBench reasoning85.2%83.8%GLM 5.4
MysteryMechanism (Vals AI)Not measured18.5%Only Step 5 Preview measured
Humanity's Last Exam (Artificial Analysis run)Not measured46.5%Only Step 5 Preview measured
HLE-Diamond (Artificial Analysis run)36.9%24.3%GLM 5.4
CritPt v2, hard subset (Artificial Analysis run)52.0%32.5%GLM 5.4
GPQA Diamond (Epoch AI run)90.5%Not measuredOnly GLM 5.4 measured
Mystery game puzzles43.0%Not measuredOnly GLM 5.4 measured
LMArena Text: hard promptsNot measured1464Only Step 5 Preview measured
LMArena Text: expertNot measured1479Only Step 5 Preview measured
LMArena Text: hard prompts in EnglishNot measured1464Only Step 5 Preview measured
LMArena Vision: diagramsNot measured1300Only Step 5 Preview measured
LMArena Vision: homeworkNot measured1276Only Step 5 Preview measured
Neither model has a result on the other 14 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
Math benchmarks for GLM 5.4 and Step 5 Preview
BenchmarkGLM 5.4Step 5 PreviewLeader
OTIS Mock AIME97.2%Not measuredOnly GLM 5.4 measured
FrontierMath, tiers 1 to 367.4%Not measuredOnly GLM 5.4 measured
FrontierMath, tier 441.5%Not measuredOnly GLM 5.4 measured
ProofBenchNot measured42.0%Only Step 5 Preview measured
LMArena Text: mathNot measured1467Only Step 5 Preview measured
LMArena Text: mathematical workNot measured1467Only Step 5 Preview measured
Neither model has a result on the other 8 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index10
Knowledge benchmarks for GLM 5.4 and Step 5 Preview
BenchmarkGLM 5.4Step 5 PreviewLeader
AA-Omniscience17.216.4GLM 5.4
SimpleQA Verified37.0%Not measuredOnly GLM 5.4 measured
LMArena Text: scienceNot measured1463Only Step 5 Preview measured
LMArena Text: medicine and healthcareNot measured1444Only Step 5 Preview measured
LMArena Text: legal and governmentNot measured1441Only Step 5 Preview measured
LMArena Text: business and financeNot measured1446Only Step 5 Preview measured
Neither model has a result on the other 15 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index10
Web design benchmarks for GLM 5.4 and Step 5 Preview
BenchmarkGLM 5.4Step 5 PreviewLeader
Design Arena: game dev1298Not measuredOnly GLM 5.4 measured
LiveBench design74.2%70.8%GLM 5.4
Neither model has a result on the other 7 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index10
General benchmarks for GLM 5.4 and Step 5 Preview
BenchmarkGLM 5.4Step 5 PreviewLeader
Vals IndexNot measured53.1%Only Step 5 Preview measured
LiveBench data analysis72.2%63.5%GLM 5.4
Public Benefits Bench (Vals AI)Not measured58.1%Only Step 5 Preview measured
Long context reasoning (AA-LCR)Not measured88.3%Only Step 5 Preview measured
GDPval-AANot measured1593Only Step 5 Preview measured
Furniture assembly23.3%Not measuredOnly GLM 5.4 measured
LMArena TextNot measured1444Only Step 5 Preview measured
LMArena Text: instruction followingNot measured1446Only Step 5 Preview measured
LMArena Text: creative writingNot measured1417Only Step 5 Preview measured
LMArena VisionNot measured1264Only Step 5 Preview measured
LMArena Text: EnglishNot measured1456Only Step 5 Preview measured
LMArena Text: non-EnglishNot measured1430Only Step 5 Preview measured
LMArena Text: ChineseNot measured1495Only Step 5 Preview measured
LMArena Text: GermanNot measured1450Only Step 5 Preview measured
LMArena Text: JapaneseNot measured1396Only Step 5 Preview measured
LMArena Text: KoreanNot measured1401Only Step 5 Preview measured
LMArena Text: FrenchNot measured1445Only Step 5 Preview measured
LMArena Text: SpanishNot measured1445Only Step 5 Preview measured
LMArena Text: RussianNot measured1434Only Step 5 Preview measured
LMArena Text: PolishNot measured1405Only Step 5 Preview measured
LMArena Text: multi-turnNot measured1440Only Step 5 Preview measured
LMArena Text: longer queriesNot measured1455Only Step 5 Preview measured
LMArena Text: writing and languageNot measured1432Only Step 5 Preview measured
LMArena Text: entertainment and mediaNot measured1414Only Step 5 Preview measured
LMArena Vision: EnglishNot measured1275Only Step 5 Preview measured
LMArena Vision: ChineseNot measured1323Only Step 5 Preview measured
LMArena Vision: reading textNot measured1278Only Step 5 Preview measured
LMArena Vision: humorNot measured1210Only Step 5 Preview measured
LMArena Vision: creative writingNot measured1248Only Step 5 Preview measured
Neither model has a result on the other 20 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 Step 5 Preview
BenchmarkGLM 5.4Step 5 PreviewLeader
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
Step 5 Preview$0.0024Fits in one request

Step 5 Preview costs less

Repository review

50K input + 3K output tokens

GLM 5.4$0.083Fits in one request
Step 5 Preview$0.058Fits in one request

Step 5 Preview costs less

Agent loop

200K input + 10K output tokens

GLM 5.4$0.324Fits in one request
Step 5 Preview$0.227Fits in one request

Step 5 Preview 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 Step 5 Preview
SpecificationZ.ai GLM 5.4StepFun Step 5 Preview
MakerZ.aiStepFun
WeightsOpen weightsOpen weights
ReleasedDecember 2, 2026October 8, 2026
Context window1.05M262K
Input $/Mtok$1.40$1.00
Output $/Mtok$4.40$2.70
Coding index72.853.3
Independent measurements behind it24
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 5.4 better than Step 5 Preview for coding?

Pick GLM 5.4 for coding: it scores 72.8 on the Vibe Coding Index against 53.3 for Step 5 Preview, though on 2 benchmarks against 4. Pick Step 5 Preview for output tokens 1.6x cheaper ($2.70 vs $4.40 per million).

Which is cheaper, GLM 5.4 or Step 5 Preview?

GLM 5.4 costs $1.40 per million input tokens and $4.40 per million output tokens; Step 5 Preview costs $1.00 and $2.70. Cost per solved task is known for neither of them.

Which has the bigger context window, GLM 5.4 or Step 5 Preview?

GLM 5.4, with 1.05M tokens against 262K.

How many benchmarks is the GLM 5.4 vs Step 5 Preview comparison based on?

15 benchmarks have a result for both models as of December 6, 2026. GLM 5.4's coding index rests on 2 independent benchmarks and Step 5 Preview'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-4-vs-stepfun-step-5-preview" title="GLM 5.4 vs Step 5 Preview, 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-stepfun-step-5-preview">LLMBenchmark.ai, GLM 5.4 vs Step 5 Preview</a></p>