Enter opens the highlighted result. Esc closes.

GLM 4.6 vs GPT-5 Mini

GPT-5 Mini leads GLM 4.6 on coding, 34.2 to 8.8 on the Vibe Coding Index, at about the same output price ($2.00 vs $2.20 per million). Updated October 22, 2026; 60 benchmarks have a result for both.

GLM 4.6Z.ai
Coding
8.8
Overall
33.4
Output $/M
$2.20
39
GPT-5 MiniOpenAI
Coding
34.2
Overall
43.7
Output $/M
$2.00
21
vs boards won of 60 shared

GLM 4.6 or GPT-5 Mini: which to pick

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

Pick GLM 4.6 for work measured by SWE-bench Verified or LMArena Text: coding, where it leads.

Shared results
60
GLM 4.6 only
9
GPT-5 Mini only
41
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 4.6 8.8 from 2 benchmarks, GPT-5 Mini 34.2 from 2 benchmarks.
Widest category
General, 13.4 points apart on average over 19 shared benchmarks.
Widest single gap
IFBench: GLM 4.6 43.4% against GPT-5 Mini 75.4%, 32.0 points apart on a 0 to 100 scale.
Output price
GLM 4.6 $2.20 against GPT-5 Mini $2.00 per million output tokens, 1.1x apart.
Context window
GLM 4.6 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 4.6BarsGPT-5 MiniTies
Coding35
Intelligence01
Agentic work20
Reasoning34
Math33
Knowledge46
Web design70
General172
All shared boards3921
CodingLike-for-likeSix of these boards feed the Vibe Coding Index35
Coding benchmarks for GLM 4.6 and GPT-5 Mini
BenchmarkGLM 4.6GPT-5 MiniLeader
SWE-bench Verified68.2%59.8%GLM 4.6
SWE-bench MultilingualNot measured39.7%Only GPT-5 Mini measured
LMArena WebDev1341Not measuredOnly GLM 4.6 measured
AA Coding Index45.8Not measuredOnly GLM 4.6 measured
LiveCodeBench (Vals AI)81.0%86.6%GPT-5 Mini
SWE-bench Verified (Vals AI)Not measured60.8%Only GPT-5 Mini measured
Vibe Code Bench (Vals AI)3.1%14.2%GPT-5 Mini
LiveCodeBench (Artificial Analysis run)69.5%83.8%GPT-5 Mini
SciCodeNot measured39.0%Only GPT-5 Mini measured
Terminal-Bench Hard (Artificial Analysis run)28.8%33.3%GPT-5 Mini
Terminal-Bench24.5%34.8%GPT-5 Mini
WeirdMLNot measured52.7%Only GPT-5 Mini measured
ALE-Bench340.8Not measuredOnly GLM 4.6 measured
LMArena Text: coding14491406GLM 4.6
LMArena Text: software and IT14551394GLM 4.6
LMArena WebDev: HTML1350Not measuredOnly GLM 4.6 measured
Neither model has a result on the other 23 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for GLM 4.6 and GPT-5 Mini
BenchmarkGLM 4.6GPT-5 MiniLeader
AA Intelligence Index18.520.6GPT-5 Mini
Epoch Capabilities IndexNot measured145.3Only GPT-5 Mini measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index20
Agentic work benchmarks for GLM 4.6 and GPT-5 Mini
BenchmarkGLM 4.6GPT-5 MiniLeader
Design Arena: agents building full-stack apps1029Not measuredOnly GLM 4.6 measured
Design Arena: agents building mobile apps1096Not measuredOnly GLM 4.6 measured
Design Arena: agents building Android apps1084Not measuredOnly GLM 4.6 measured
Design Arena: agents building Godot games1180Not measuredOnly GLM 4.6 measured
τ²-Bench Telecom76.9%71.1%GLM 4.6
Vending-Bench 2Not measured-$31Only GPT-5 Mini measured
Berkeley Function Calling Leaderboard (BFCL)72.4%55.5%GLM 4.6
BrowseComp-Plus48.2%Not measuredOnly GLM 4.6 measured
Neither model has a result on the other 33 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index34
Reasoning benchmarks for GLM 4.6 and GPT-5 Mini
BenchmarkGLM 4.6GPT-5 MiniLeader
GPQA Diamond74.5%80.3%GPT-5 Mini
MMMU Pro (Vals AI)Not measured78.9%Only GPT-5 Mini measured
GPQA Diamond (Artificial Analysis run)78.0%82.8%GPT-5 Mini
Humanity's Last Exam (Artificial Analysis run)14.5%21.5%GPT-5 Mini
GPQA Diamond (Epoch AI run)Not measured75.0%Only GPT-5 Mini measured
ARC-AGINot measured54.3%Only GPT-5 Mini measured
ARC-AGI-2Not measured4.4%Only GPT-5 Mini measured
Chess puzzlesNot measured24.0%Only GPT-5 Mini measured
Mystery game puzzlesNot measured10.0%Only GPT-5 Mini measured
VPCTNot measured40.2%Only GPT-5 Mini measured
LMArena Text: hard prompts14401380GLM 4.6
LMArena Text: expert14321379GLM 4.6
LMArena Text: hard prompts in English14451383GLM 4.6
LMArena Vision: diagramsNot measured1202Only GPT-5 Mini measured
LMArena Vision: homeworkNot measured1210Only GPT-5 Mini measured
Kagi LLM Benchmark45.7%70.3%GPT-5 Mini
Neither model has a result on the other 6 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index33
Math benchmarks for GLM 4.6 and GPT-5 Mini
BenchmarkGLM 4.6GPT-5 MiniLeader
AIME92.7%91.5%GLM 4.6
MATH 500 (Vals AI)Not measured94.8%Only GPT-5 Mini measured
MGSM (Vals AI)89.8%92.6%GPT-5 Mini
AA Math Index86.090.7GPT-5 Mini
AIME 2025 (Artificial Analysis run)86.0%90.7%GPT-5 Mini
OTIS Mock AIMENot measured86.7%Only GPT-5 Mini measured
FrontierMath, tiers 1 to 3Not measured46.7%Only GPT-5 Mini measured
FrontierMath, tier 4Not measured12.2%Only GPT-5 Mini measured
ProofBenchNot measured9.0%Only GPT-5 Mini measured
MATH level 5Not measured97.8%Only GPT-5 Mini measured
LMArena Text: math14321378GLM 4.6
LMArena Text: mathematical work14471380GLM 4.6
Neither model has a result on the other 1 board here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index46
Knowledge benchmarks for GLM 4.6 and GPT-5 Mini
BenchmarkGLM 4.6GPT-5 MiniLeader
MMLU Pro82.2%82.2%GPT-5 Mini
LegalBench (Vals AI)79.6%81.8%GPT-5 Mini
CaseLaw (Vals AI)Not measured68.5%Only GPT-5 Mini measured
CorpFin (Vals AI)56.8%60.2%GPT-5 Mini
TaxEval (Vals AI)66.2%75.2%GPT-5 Mini
MortgageTax (Vals AI)Not measured66.9%Only GPT-5 Mini measured
MedQA (Vals AI)92.2%96.1%GPT-5 Mini
MedCode (Vals AI)Not measured43.0%Only GPT-5 Mini measured
MMLU Pro (Artificial Analysis run)82.9%83.7%GPT-5 Mini
SimpleQA VerifiedNot measured21.6%Only GPT-5 Mini measured
LMArena Text: science14561371GLM 4.6
LMArena Text: medicine and healthcare14551380GLM 4.6
LMArena Text: legal and government14481375GLM 4.6
LMArena Text: business and finance14161358GLM 4.6
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 index70
Web design benchmarks for GLM 4.6 and GPT-5 Mini
BenchmarkGLM 4.6GPT-5 MiniLeader
Design Arena: websites11741125GLM 4.6
Design Arena: UI components11451103GLM 4.6
Design Arena: game dev11501129GLM 4.6
Design Arena: data viz11611131GLM 4.6
Design Arena: 3D11281036GLM 4.6
Design Arena: all code categories11651114GLM 4.6
Design Arena: SVG11081091GLM 4.6
Design Arena: ASCII artNot measured1125Only GPT-5 Mini measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index172
General benchmarks for GLM 4.6 and GPT-5 Mini
BenchmarkGLM 4.6GPT-5 MiniLeader
SAGE (Vals AI)Not measured43.0%Only GPT-5 Mini measured
MedScribe (Vals AI)Not measured80.6%Only GPT-5 Mini measured
IFBench43.4%75.4%GPT-5 Mini
Long context reasoning (AA-LCR)54.0%72.3%GPT-5 Mini
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
LMArena Text14401373GLM 4.6
LMArena Text: instruction following14101357GLM 4.6
LMArena Text: creative writing14121325GLM 4.6
LMArena VisionNot measured1202Only GPT-5 Mini measured
LMArena Text: English14491379GLM 4.6
LMArena Text: non-English14261363GLM 4.6
LMArena Text: Chinese14991386GLM 4.6
LMArena Text: German14471366GLM 4.6
LMArena Text: Japanese13931341GLM 4.6
LMArena Text: Korean14001308GLM 4.6
LMArena Text: French14591386GLM 4.6
LMArena Text: Spanish14361354GLM 4.6
LMArena Text: Russian14181362GLM 4.6
LMArena Text: Polish14471378GLM 4.6
LMArena Text: multi-turn14271363GLM 4.6
LMArena Text: longer queries14221355GLM 4.6
LMArena Text: writing and language14151344GLM 4.6
LMArena Text: entertainment and media14091340GLM 4.6
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 13 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GLM 4.6 and GPT-5 Mini
BenchmarkGLM 4.6GPT-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 4.6$0.0017Fits in one request
GPT-5 Mini$0.0013Fits in one request

GPT-5 Mini costs less

Repository review

50K input + 3K output tokens

GLM 4.6$0.037Fits in one request
GPT-5 Mini$0.018Fits in one request

GPT-5 Mini costs less

Agent loop

200K input + 10K output tokens

GLM 4.6$0.142Exceeds 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 4.6 and GPT-5 Mini
SpecificationZ.ai GLM 4.6OpenAI GPT-5 Mini
MakerZ.aiOpenAI
WeightsOpen weightsNo public weights listed
ReleasedSeptember 30, 2025August 7, 2025
Context window205K400K
Input $/Mtok$0.60$0.25
Output $/Mtok$2.20$2.00
Coding index8.834.2
Independent measurements behind it22
Cost per solved taskNot computable$0.08
SourceOpenRouter listingOpenRouter listing

Questions

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

Pick GPT-5 Mini for coding: it scores 34.2 on the Vibe Coding Index against 8.8 for GLM 4.6. Pick GLM 4.6 for work measured by SWE-bench Verified or LMArena Text: coding, where it leads.

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

GLM 4.6 costs $0.60 per million input tokens and $2.20 per million output tokens; GPT-5 Mini costs $0.25 and $2.00. Cost per solved task is known for GPT-5 Mini only.

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

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

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

60 benchmarks have a result for both models as of October 22, 2026. GLM 4.6's coding index rests on 2 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-4-6-vs-gpt-5-mini" title="GLM 4.6 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-4-6-vs-gpt-5-mini">LLMBenchmark.ai, GLM 4.6 vs GPT-5 Mini</a></p>