Enter opens the highlighted result. Esc closes.

GLM 5.2 vs Step 5 Preview

GLM 5.2 leads Step 5 Preview on coding, 59.7 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; 45 benchmarks have a result for both.

GLM 5.2Z.ai
Coding
59.7
Overall
65.2
Output $/M
$4.40
32
Step 5 PreviewStepFun
Coding
53.3
Overall
57.2
Output $/M
$2.70
13
vs boards won of 45 shared

GLM 5.2 or Step 5 Preview: which to pick

Pick GLM 5.2 for coding: it scores 59.7 on the Vibe Coding Index against 53.3 for Step 5 Preview, though on 3 benchmarks against 4.

Pick Step 5 Preview for output tokens 1.6x cheaper ($2.70 vs $4.40 per million) and work measured by Code migration (Vals AI) or SciCode, where it leads.

Shared results
45
GLM 5.2 only
66
Step 5 Preview only
30
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.2 59.7 from 3 benchmarks, Step 5 Preview 53.3 from 4 benchmarks.
Widest category
Coding, 6.5 points apart on average over 9 shared benchmarks.
Widest single gap
Terminal-Bench 4.0 (Artificial Analysis run): GLM 5.2 1.0% against Step 5 Preview 33.3%, 32.3 points apart on a 0 to 100 scale.
Output price
GLM 5.2 $4.40 against Step 5 Preview $2.70 per million output tokens, 1.6x apart.
Context window
GLM 5.2 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.2BarsStep 5 PreviewTies
Coding54
Agentic work13
Reasoning32
Math21
Knowledge41
General172
All shared boards3213
CodingLike-for-likeSix of these boards feed the Vibe Coding Index54
Coding benchmarks for GLM 5.2 and Step 5 Preview
BenchmarkGLM 5.2Step 5 PreviewLeader
LiveBench codingNot measured67.6%Only Step 5 Preview measured
LMArena WebDev16081572GLM 5.2
LiveCodeBench (Vals AI)69.5%Not measuredOnly GLM 5.2 measured
SWE-bench Verified (Vals AI)82.8%Not measuredOnly GLM 5.2 measured
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)37.9%39.0%Step 5 Preview
ProgramBench (Vals AI)0.5%Not measuredOnly GLM 5.2 measured
IOI (Vals AI)Not measured38.1%Only Step 5 Preview measured
Terminal-Bench 2.1 (Vals AI)67.8%Not measuredOnly GLM 5.2 measured
SWE-bench Multimodal (Vals AI)Not measured40.8%Only Step 5 Preview measured
SkillsBench (Vals AI)45.1%Not measuredOnly GLM 5.2 measured
SciCode51.2%58.9%Step 5 Preview
Terminal-Bench Hard (Artificial Analysis run)50.8%Not measuredOnly GLM 5.2 measured
Terminal-Bench 4.0 (Artificial Analysis run)1.0%33.3%Step 5 Preview
FrontierCode 2.0Not measured11.6%Only Step 5 Preview measured
FrontierCode24.5%Not measuredOnly GLM 5.2 measured
WeirdML70.1%Not measuredOnly GLM 5.2 measured
MirrorCode36.7%Not measuredOnly GLM 5.2 measured
ALE-Bench1047.0Not measuredOnly GLM 5.2 measured
LMArena Text: coding14881481GLM 5.2
LMArena Text: software and IT14871471GLM 5.2
LMArena WebDev: React16211588GLM 5.2
LMArena WebDev: HTML15671547GLM 5.2
LMArena WebDev: from an imageNot measured1550Only Step 5 Preview measured
SWE Atlas: Codebase QnA48.1%Not measuredOnly GLM 5.2 measured
SWE Atlas: Refactoring42.4%Not measuredOnly GLM 5.2 measured
SWE Atlas: Test Writing41.5%Not measuredOnly GLM 5.2 measured
GameBench 249.953.2Step 5 Preview
Terminal-Bench 3.04.6%Not measuredOnly GLM 5.2 measured
ProgramBench0.0%Not measuredOnly GLM 5.2 measured
Neither model has a result on the other 21 boards here
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index1 board, none shared
Intelligence benchmarks for GLM 5.2 and Step 5 Preview
BenchmarkGLM 5.2Step 5 PreviewLeader
Epoch Capabilities Index153.0Not measuredOnly GLM 5.2 measured
Neither model has a result on the other 1 board here
Agentic workLike-for-likePublic boards, shown as published, kept out of the index13
Agentic work benchmarks for GLM 5.2 and Step 5 Preview
BenchmarkGLM 5.2Step 5 PreviewLeader
Design Arena: agents building web apps1184Not measuredOnly GLM 5.2 measured
Design Arena: agents building full-stack apps1288Not measuredOnly GLM 5.2 measured
Design Arena: agents building mobile apps1152Not measuredOnly GLM 5.2 measured
Design Arena: agents building Android apps1162Not measuredOnly GLM 5.2 measured
Design Arena: agents building Godot games1142Not measuredOnly GLM 5.2 measured
Design Arena: agents building games1156Not measuredOnly GLM 5.2 measured
Design Arena: HTML slides1077Not measuredOnly GLM 5.2 measured
Design Arena: PowerPoint slides1157Not measuredOnly GLM 5.2 measured
Design Arena: spreadsheets1123Not measuredOnly GLM 5.2 measured
LiveBench researchNot measured75.5%Only Step 5 Preview measured
LiveBench browserNot measured24.8%Only Step 5 Preview measured
LiveBench long agenticNot measured19.4%Only Step 5 Preview measured
SREBench (Vals AI)0.0%0.4%Step 5 Preview
Finance Agent (Vals AI)49.7%50.7%Step 5 Preview
Tax Agent Bench (Vals AI)Not measured27.3%Only Step 5 Preview measured
Legal Research Bench (Vals AI)31.3%40.4%Step 5 Preview
Harvey's Legal Agent Benchmark (Vals AI)Not measured12.9%Only Step 5 Preview measured
Excel Modeling Benchmark (Vals AI)61.5%57.1%GLM 5.2
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
τ²-Bench Telecom99.1%Not measuredOnly GLM 5.2 measured
APEX-Agents45.2%Not measuredOnly GLM 5.2 measured
PostTrainBench30.4%Not measuredOnly GLM 5.2 measured
Vending-Bench 2$8,314Not measuredOnly GLM 5.2 measured
MCP Atlas77.8%Not measuredOnly GLM 5.2 measured
Toolathlon-Verified59.9%Not measuredOnly GLM 5.2 measured
τ³-Banking37.1%Not measuredOnly GLM 5.2 measured
Neither model has a result on the other 16 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index32
Reasoning benchmarks for GLM 5.2 and Step 5 Preview
BenchmarkGLM 5.2Step 5 PreviewLeader
GPQA Diamond85.6%Not measuredOnly GLM 5.2 measured
LiveBench reasoningNot measured83.8%Only Step 5 Preview measured
MysteryMechanism (Vals AI)Not measured18.5%Only Step 5 Preview measured
GPQA Diamond (Artificial Analysis run)89.5%Not measuredOnly GLM 5.2 measured
Humanity's Last Exam (Artificial Analysis run)41.1%46.5%Step 5 Preview
HLE-Diamond (Artificial Analysis run)17.7%24.3%Step 5 Preview
CritPt v2, hard subset (Artificial Analysis run)Not measured32.5%Only Step 5 Preview measured
GPQA Diamond (Epoch AI run)91.9%Not measuredOnly GLM 5.2 measured
ARC-AGI77.0%Not measuredOnly GLM 5.2 measured
ARC-AGI-222.8%Not measuredOnly GLM 5.2 measured
SimpleBench58.8%Not measuredOnly GLM 5.2 measured
Chess puzzles22.0%Not measuredOnly GLM 5.2 measured
Mystery game puzzles19.0%Not measuredOnly GLM 5.2 measured
EBR-bench9.5%Not measuredOnly GLM 5.2 measured
LMArena Text: hard prompts14811464GLM 5.2
LMArena Text: expert14881479GLM 5.2
LMArena Text: hard prompts in English14811464GLM 5.2
LMArena Vision: diagramsNot measured1300Only Step 5 Preview measured
LMArena Vision: homeworkNot measured1276Only Step 5 Preview measured
Kagi LLM Benchmark62.6%Not measuredOnly GLM 5.2 measured
Neither model has a result on the other 6 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index21
Math benchmarks for GLM 5.2 and Step 5 Preview
BenchmarkGLM 5.2Step 5 PreviewLeader
OTIS Mock AIME86.4%Not measuredOnly GLM 5.2 measured
FrontierMath, tiers 1 to 359.2%Not measuredOnly GLM 5.2 measured
FrontierMath, tier 429.3%Not measuredOnly GLM 5.2 measured
ProofBench35.0%42.0%Step 5 Preview
LMArena Text: math14851467GLM 5.2
LMArena Text: mathematical work14901467GLM 5.2
MathArena21.1%Not measuredOnly GLM 5.2 measured
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index41
Knowledge benchmarks for GLM 5.2 and Step 5 Preview
BenchmarkGLM 5.2Step 5 PreviewLeader
MMLU Pro86.7%Not measuredOnly GLM 5.2 measured
LegalBench (Vals AI)84.1%Not measuredOnly GLM 5.2 measured
CorpFin (Vals AI)66.1%Not measuredOnly GLM 5.2 measured
TaxEval (Vals AI)73.3%Not measuredOnly GLM 5.2 measured
MedCode (Vals AI)40.8%Not measuredOnly GLM 5.2 measured
AA-Omniscience0.616.4Step 5 Preview
SimpleQA Verified34.2%Not measuredOnly GLM 5.2 measured
LMArena Text: science14891463GLM 5.2
LMArena Text: medicine and healthcare14761444GLM 5.2
LMArena Text: legal and government14901441GLM 5.2
LMArena Text: business and finance14501446GLM 5.2
Neither model has a result on the other 10 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index9 boards, none shared
Web design benchmarks for GLM 5.2 and Step 5 Preview
BenchmarkGLM 5.2Step 5 PreviewLeader
Design Arena: websites1323Not measuredOnly GLM 5.2 measured
Design Arena: UI components1271Not measuredOnly GLM 5.2 measured
Design Arena: game dev1234Not measuredOnly GLM 5.2 measured
Design Arena: data viz1275Not measuredOnly GLM 5.2 measured
Design Arena: 3D1247Not measuredOnly GLM 5.2 measured
Design Arena: all code categories1328Not measuredOnly GLM 5.2 measured
Design Arena: SVG1245Not measuredOnly GLM 5.2 measured
Design Arena: ASCII art1174Not measuredOnly GLM 5.2 measured
LiveBench designNot measured70.8%Only Step 5 Preview measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index172
General benchmarks for GLM 5.2 and Step 5 Preview
BenchmarkGLM 5.2Step 5 PreviewLeader
Vals IndexNot measured53.1%Only Step 5 Preview measured
LiveBench data analysisNot measured63.5%Only Step 5 Preview measured
Public Benefits Bench (Vals AI)Not measured58.1%Only Step 5 Preview measured
MedScribe (Vals AI)83.5%Not measuredOnly GLM 5.2 measured
IFBench73.3%Not measuredOnly GLM 5.2 measured
Long context reasoning (AA-LCR)78.3%88.3%Step 5 Preview
GDPval-AA13831593Step 5 Preview
DTBench93.6%Not measuredOnly GLM 5.2 measured
LMCA45.8%Not measuredOnly GLM 5.2 measured
Surface Evolver Bench55.6%Not measuredOnly GLM 5.2 measured
LMArena Text14701444GLM 5.2
LMArena Text: instruction following14671446GLM 5.2
LMArena Text: creative writing14601417GLM 5.2
LMArena VisionNot measured1264Only Step 5 Preview measured
LMArena Text: English14751456GLM 5.2
LMArena Text: non-English14581430GLM 5.2
LMArena Text: Chinese15231495GLM 5.2
LMArena Text: German14671450GLM 5.2
LMArena Text: Japanese14521396GLM 5.2
LMArena Text: Korean14301401GLM 5.2
LMArena Text: French14771445GLM 5.2
LMArena Text: Spanish14801445GLM 5.2
LMArena Text: Russian14661434GLM 5.2
LMArena Text: Polish14591405GLM 5.2
LMArena Text: multi-turn14701440GLM 5.2
LMArena Text: longer queries14791455GLM 5.2
LMArena Text: writing and language14621432GLM 5.2
LMArena Text: entertainment and media14481414GLM 5.2
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
EQ-Bench 41208Not measuredOnly GLM 5.2 measured
Neither model has a result on the other 15 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GLM 5.2 and Step 5 Preview
BenchmarkGLM 5.2Step 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.2$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.2$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.2$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.2 and Step 5 Preview
SpecificationZ.ai GLM 5.2StepFun Step 5 Preview
MakerZ.aiStepFun
WeightsOpen weightsOpen weights
ReleasedJune 16, 2026October 8, 2026
Context window1.05M262K
Input $/Mtok$1.40$1.00
Output $/Mtok$4.40$2.70
Coding index59.753.3
Independent measurements behind it34
Cost per solved task$0.86Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 5.2 better than Step 5 Preview for coding?

Pick GLM 5.2 for coding: it scores 59.7 on the Vibe Coding Index against 53.3 for Step 5 Preview, though on 3 benchmarks against 4. Pick Step 5 Preview for output tokens 1.6x cheaper ($2.70 vs $4.40 per million) and work measured by Code migration (Vals AI) or SciCode, where it leads.

Which is cheaper, GLM 5.2 or Step 5 Preview?

GLM 5.2 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 GLM 5.2 only.

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

GLM 5.2, with 1.05M tokens against 262K.

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

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