Enter opens the highlighted result. Esc closes.

GLM 5.1 vs GPT-5 Mini

GLM 5.1 leads GPT-5 Mini on coding, 49.2 to 34.2 on the Vibe Coding Index, and GPT-5 Mini costs 2.2x less per output token ($2.00 vs $4.40 per million). Updated October 21, 2026; 65 benchmarks have a result for both.

GLM 5.1Z.ai
Coding
49.2
Overall
57.5
Output $/M
$4.40
58
GPT-5 MiniOpenAI
Coding
34.2
Overall
43.7
Output $/M
$2.00
7
vs boards won of 65 shared

GLM 5.1 or GPT-5 Mini: which to pick

Pick GLM 5.1 for coding: it scores 49.2 on the Vibe Coding Index against 34.2 for GPT-5 Mini.

Pick GPT-5 Mini for output tokens 2.2x cheaper ($2.00 vs $4.40 per million) and a lower cost per solved task ($0.08 against $0.60).

Shared results
65
GLM 5.1 only
24
GPT-5 Mini only
36
Like-for-like categories
8 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.1 49.2 from 3 benchmarks, GPT-5 Mini 34.2 from 2 benchmarks.
Widest category
Agentic work, 30.9 points apart on average over 2 shared benchmarks.
Widest single gap
Design Arena: 3D: GLM 5.1 1336 against GPT-5 Mini 1037, 37.4 points apart on a 0 to 100 scale.
Output price
GLM 5.1 $4.40 against GPT-5 Mini $2.00 per million output tokens, 2.2x apart.
Context window
GLM 5.1 takes 205K tokens, GPT-5 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.1BarsGPT-5 MiniTies
Coding71
Intelligence20
Agentic work20
Reasoning71
Math51
Knowledge83
Web design80
General191
All shared boards587
CodingLike-for-likeSix of these boards feed the Vibe Coding Index71
Coding benchmarks for GLM 5.1 and GPT-5 Mini
BenchmarkGLM 5.1GPT-5 MiniLeader
SWE-bench VerifiedNot measured59.8%Only GPT-5 Mini measured
SWE-bench MultilingualNot measured39.7%Only GPT-5 Mini measured
LMArena WebDev1508Not measuredOnly GLM 5.1 measured
AA Coding Index55.8Not measuredOnly GLM 5.1 measured
LiveCodeBench (Vals AI)81.4%86.6%GPT-5 Mini
SWE-bench Verified (Vals AI)76.4%60.8%GLM 5.1
Vibe Code Bench (Vals AI)31.5%14.2%GLM 5.1
Code migration (Vals AI)25.8%Not measuredOnly GLM 5.1 measured
ProgramBench (Vals AI)0.0%Not measuredOnly GLM 5.1 measured
Terminal-Bench 2.1 (Vals AI)56.9%Not measuredOnly GLM 5.1 measured
LiveCodeBench (Artificial Analysis run)Not measured83.8%Only GPT-5 Mini measured
SciCode44.8%39.0%GLM 5.1
Terminal-Bench Hard (Artificial Analysis run)43.2%33.3%GLM 5.1
Terminal-BenchNot measured34.8%Only GPT-5 Mini measured
WeirdML57.1%52.7%GLM 5.1
ALE-Bench887.1Not measuredOnly GLM 5.1 measured
LMArena Text: coding14851406GLM 5.1
LMArena Text: software and IT14841394GLM 5.1
LMArena WebDev: React1505Not measuredOnly GLM 5.1 measured
LMArena WebDev: HTML1508Not measuredOnly GLM 5.1 measured
Neither model has a result on the other 19 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for GLM 5.1 and GPT-5 Mini
BenchmarkGLM 5.1GPT-5 MiniLeader
AA Intelligence Index26.120.6GLM 5.1
Epoch Capabilities Index149.8145.3GLM 5.1
Agentic workLike-for-likePublic boards, shown as published, kept out of the index20
Agentic work benchmarks for GLM 5.1 and GPT-5 Mini
BenchmarkGLM 5.1GPT-5 MiniLeader
AA Agentic Index23.9Not measuredOnly GLM 5.1 measured
Design Arena: agents building web apps1175Not measuredOnly GLM 5.1 measured
Design Arena: agents building full-stack apps1167Not measuredOnly GLM 5.1 measured
Design Arena: agents building mobile apps1162Not measuredOnly GLM 5.1 measured
Design Arena: agents building Android apps1180Not measuredOnly GLM 5.1 measured
Design Arena: agents building Godot games1053Not measuredOnly GLM 5.1 measured
Design Arena: agents building games1164Not measuredOnly GLM 5.1 measured
Design Arena: HTML slides1170Not measuredOnly GLM 5.1 measured
Design Arena: PowerPoint slides1188Not measuredOnly GLM 5.1 measured
Design Arena: spreadsheets1315Not measuredOnly GLM 5.1 measured
Finance Agent (Vals AI)44.8%Not measuredOnly GLM 5.1 measured
Legal Research Bench (Vals AI)27.9%Not measuredOnly GLM 5.1 measured
τ²-Bench Telecom97.7%71.1%GLM 5.1
APEX-Agents40.9%Not measuredOnly GLM 5.1 measured
Vending-Bench 2$5,634-$31GLM 5.1
Berkeley Function Calling Leaderboard (BFCL)Not measured55.5%Only GPT-5 Mini measured
Neither model has a result on the other 25 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index71
Reasoning benchmarks for GLM 5.1 and GPT-5 Mini
BenchmarkGLM 5.1GPT-5 MiniLeader
GPQA Diamond84.5%80.3%GLM 5.1
MMMU Pro (Vals AI)Not measured78.9%Only GPT-5 Mini measured
GPQA Diamond (Artificial Analysis run)86.8%82.8%GLM 5.1
Humanity's Last Exam (Artificial Analysis run)30.1%21.5%GLM 5.1
GPQA Diamond (Epoch AI run)89.9%75.0%GLM 5.1
ARC-AGINot measured54.3%Only GPT-5 Mini measured
ARC-AGI-2Not measured4.4%Only GPT-5 Mini measured
SimpleBench55.1%Not measuredOnly GLM 5.1 measured
Chess puzzles20.0%24.0%GPT-5 Mini
Mystery game puzzlesNot measured10.0%Only GPT-5 Mini measured
VPCTNot measured40.2%Only GPT-5 Mini measured
LMArena Text: hard prompts14731380GLM 5.1
LMArena Text: expert14781379GLM 5.1
LMArena Text: hard prompts in English14821383GLM 5.1
LMArena Vision: diagramsNot measured1202Only GPT-5 Mini measured
LMArena Vision: homeworkNot measured1210Only GPT-5 Mini measured
Kagi LLM BenchmarkNot measured70.3%Only GPT-5 Mini measured
Neither model has a result on the other 5 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index51
Math benchmarks for GLM 5.1 and GPT-5 Mini
BenchmarkGLM 5.1GPT-5 MiniLeader
AIME91.9%91.5%GLM 5.1
MATH 500 (Vals AI)Not measured94.8%Only GPT-5 Mini measured
MGSM (Vals AI)Not measured92.6%Only GPT-5 Mini measured
AA Math IndexNot measured90.7Only GPT-5 Mini measured
AIME 2025 (Artificial Analysis run)Not measured90.7%Only GPT-5 Mini measured
OTIS Mock AIME93.3%86.7%GLM 5.1
FrontierMath, tiers 1 to 336.8%46.7%GPT-5 Mini
FrontierMath, tier 4Not measured12.2%Only GPT-5 Mini measured
ProofBench22.2%9.0%GLM 5.1
MATH level 5Not measured97.8%Only GPT-5 Mini measured
LMArena Text: math14731378GLM 5.1
LMArena Text: mathematical work14701380GLM 5.1
Neither model has a result on the other 1 board here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index83
Knowledge benchmarks for GLM 5.1 and GPT-5 Mini
BenchmarkGLM 5.1GPT-5 MiniLeader
MMLU Pro86.9%82.2%GLM 5.1
LegalBench (Vals AI)84.4%81.8%GLM 5.1
CaseLaw (Vals AI)51.5%68.5%GPT-5 Mini
CorpFin (Vals AI)64.5%60.2%GLM 5.1
TaxEval (Vals AI)71.2%75.2%GPT-5 Mini
MortgageTax (Vals AI)Not measured66.9%Only GPT-5 Mini measured
MedQA (Vals AI)Not measured96.1%Only GPT-5 Mini measured
MedCode (Vals AI)41.6%43.0%GPT-5 Mini
MMLU Pro (Artificial Analysis run)Not measured83.7%Only GPT-5 Mini measured
SimpleQA Verified34.0%21.6%GLM 5.1
LMArena Text: science14781371GLM 5.1
LMArena Text: medicine and healthcare14741380GLM 5.1
LMArena Text: legal and government14651375GLM 5.1
LMArena Text: business and finance14521358GLM 5.1
FACTS Benchmark SuiteNot measured38.6%Only GPT-5 Mini measured
Neither model has a result on the other 3 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index80
Web design benchmarks for GLM 5.1 and GPT-5 Mini
BenchmarkGLM 5.1GPT-5 MiniLeader
Design Arena: websites12901125GLM 5.1
Design Arena: UI components12921106GLM 5.1
Design Arena: game dev12651130GLM 5.1
Design Arena: data viz13661130GLM 5.1
Design Arena: 3D13361037GLM 5.1
Design Arena: all code categories12681115GLM 5.1
Design Arena: SVG12181091GLM 5.1
Design Arena: ASCII art11421125GLM 5.1
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index191
General benchmarks for GLM 5.1 and GPT-5 Mini
BenchmarkGLM 5.1GPT-5 MiniLeader
Public Benefits Bench (Vals AI)61.8%Not measuredOnly GLM 5.1 measured
SAGE (Vals AI)Not measured43.0%Only GPT-5 Mini measured
MedScribe (Vals AI)72.3%80.6%GPT-5 Mini
IFBench76.3%75.4%GLM 5.1
Long context reasoning (AA-LCR)73.7%72.3%GLM 5.1
DTBenchNot measured80.5%Only GPT-5 Mini measured
LMCANot measured34.2%Only GPT-5 Mini measured
Fiction.LiveBenchNot measured69.4%Only GPT-5 Mini measured
Creative writing (Lech Mazur)Not measured83.1%Only GPT-5 Mini measured
ExploitBench18.1%Not measuredOnly GLM 5.1 measured
LMArena Text14631373GLM 5.1
LMArena Text: instruction following14531357GLM 5.1
LMArena Text: creative writing14531325GLM 5.1
LMArena VisionNot measured1202Only GPT-5 Mini measured
LMArena Text: English14761379GLM 5.1
LMArena Text: non-English14481363GLM 5.1
LMArena Text: Chinese15151386GLM 5.1
LMArena Text: German14671366GLM 5.1
LMArena Text: Japanese14351341GLM 5.1
LMArena Text: Korean14241308GLM 5.1
LMArena Text: French14701386GLM 5.1
LMArena Text: Spanish14681354GLM 5.1
LMArena Text: Russian14541362GLM 5.1
LMArena Text: Polish14491378GLM 5.1
LMArena Text: multi-turn14731363GLM 5.1
LMArena Text: longer queries14671355GLM 5.1
LMArena Text: writing and language14541344GLM 5.1
LMArena Text: entertainment and media14421340GLM 5.1
LMArena Vision: EnglishNot measured1216Only GPT-5 Mini measured
LMArena Vision: ChineseNot measured1214Only GPT-5 Mini measured
LMArena Vision: reading textNot measured1199Only GPT-5 Mini measured
LMArena Vision: humorNot measured1205Only GPT-5 Mini measured
LMArena Vision: captioningNot measured1217Only GPT-5 Mini measured
LMArena Vision: recognizing thingsNot measured1226Only GPT-5 Mini measured
LMArena Vision: creative writingNot measured1181Only GPT-5 Mini measured
Neither model has a result on the other 11 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GLM 5.1 and GPT-5 Mini
BenchmarkGLM 5.1GPT-5 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.1$0.0036Fits in one request
GPT-5 Mini$0.0013Fits in one request

GPT-5 Mini costs less

Repository review

50K input + 3K output tokens

GLM 5.1$0.083Fits in one request
GPT-5 Mini$0.018Fits in one request

GPT-5 Mini costs less

Agent loop

200K input + 10K output tokens

GLM 5.1$0.324Exceeds the context window
GPT-5 Mini$0.070Fits in one request

GPT-5 Mini 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.1 and GPT-5 Mini
SpecificationZ.ai GLM 5.1OpenAI GPT-5 Mini
MakerZ.aiOpenAI
WeightsOpen weightsNo public weights listed
ReleasedApril 7, 2026August 7, 2025
Context window205K400K
Input $/Mtok$1.40$0.25
Output $/Mtok$4.40$2.00
Coding index49.234.2
Independent measurements behind it32
Cost per solved task$0.60$0.08
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 5.1 better than GPT-5 Mini for coding?

Pick GLM 5.1 for coding: it scores 49.2 on the Vibe Coding Index against 34.2 for GPT-5 Mini. Pick GPT-5 Mini for output tokens 2.2x cheaper ($2.00 vs $4.40 per million) and a lower cost per solved task ($0.08 against $0.60).

Which is cheaper, GLM 5.1 or GPT-5 Mini?

GLM 5.1 costs $1.40 per million input tokens and $4.40 per million output tokens; GPT-5 Mini costs $0.25 and $2.00. Per solved SWE-bench Verified task, GLM 5.1 costs $0.60 and GPT-5 Mini $0.08.

Which has the bigger context window, GLM 5.1 or GPT-5 Mini?

GPT-5 Mini, with 400K tokens against 205K.

How many benchmarks is the GLM 5.1 vs GPT-5 Mini comparison based on?

65 benchmarks have a result for both models as of October 21, 2026. GLM 5.1's coding index rests on 3 independent benchmarks and GPT-5 Mini's on 2. 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-1-vs-gpt-5-mini" title="GLM 5.1 vs GPT-5 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-1-vs-gpt-5-mini">LLMBenchmark.ai, GLM 5.1 vs GPT-5 Mini</a></p>