Enter opens the highlighted result. Esc closes.

GLM 5 vs GPT-5 Mini

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

GLM 5Z.ai
Coding
41.7
Overall
54.3
Output $/M
$3.20
56
GPT-5 MiniOpenAI
Coding
34.2
Overall
43.7
Output $/M
$2.00
9
vs boards won of 65 shared

GLM 5 or GPT-5 Mini: which to pick

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

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

Shared results
65
GLM 5 only
11
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 41.7 from 3 benchmarks, GPT-5 Mini 34.2 from 2 benchmarks.
Widest category
Agentic work, 27.4 points apart on average over 2 shared benchmarks.
Widest single gap
SWE-bench Multilingual: GLM 5 69.7% against GPT-5 Mini 39.7%, 30.0 points apart on a 0 to 100 scale.
Output price
GLM 5 $3.20 against GPT-5 Mini $2.00 per million output tokens, 1.6x apart.
Context window
GLM 5 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 5BarsGPT-5 MiniTies
Coding82
Intelligence20
Agentic work20
Reasoning82
Math31
Knowledge73
Web design80
General181
All shared boards569
CodingLike-for-likeSix of these boards feed the Vibe Coding Index82
Coding benchmarks for GLM 5 and GPT-5 Mini
BenchmarkGLM 5GPT-5 MiniLeader
SWE-bench Verified72.8%59.8%GLM 5
SWE-bench Multilingual69.7%39.7%GLM 5
LMArena WebDev1435Not measuredOnly GLM 5 measured
LiveCodeBench (Vals AI)81.9%86.6%GPT-5 Mini
SWE-bench Verified (Vals AI)71.4%60.8%GLM 5
Vibe Code Bench (Vals AI)23.4%14.2%GLM 5
LiveCodeBench (Artificial Analysis run)Not measured83.8%Only GPT-5 Mini measured
SciCodeNot measured39.0%Only GPT-5 Mini measured
Terminal-Bench Hard (Artificial Analysis run)43.2%33.3%GLM 5
Terminal-Bench52.4%34.8%GLM 5
WeirdML48.2%52.7%GPT-5 Mini
ALE-Bench765.6Not measuredOnly GLM 5 measured
LMArena Text: coding14611406GLM 5
LMArena Text: software and IT14601394GLM 5
LMArena WebDev: React1424Not measuredOnly GLM 5 measured
LMArena WebDev: HTML1450Not measuredOnly GLM 5 measured
Neither model has a result on the other 23 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index20
Intelligence benchmarks for GLM 5 and GPT-5 Mini
BenchmarkGLM 5GPT-5 MiniLeader
AA Intelligence Index27.920.6GLM 5
Epoch Capabilities Index145.8145.3GLM 5
Agentic workLike-for-likePublic boards, shown as published, kept out of the index20
Agentic work benchmarks for GLM 5 and GPT-5 Mini
BenchmarkGLM 5GPT-5 MiniLeader
Design Arena: agents building full-stack apps1123Not measuredOnly GLM 5 measured
Design Arena: agents building mobile apps1136Not measuredOnly GLM 5 measured
Design Arena: agents building Android apps1147Not measuredOnly GLM 5 measured
Design Arena: agents building Godot games1144Not measuredOnly GLM 5 measured
Design Arena: HTML slides1098Not measuredOnly GLM 5 measured
τ²-Bench Telecom98.2%71.1%GLM 5
Vending-Bench 2$4,432-$31GLM 5
Berkeley Function Calling Leaderboard (BFCL)Not measured55.5%Only GPT-5 Mini measured
Neither model has a result on the other 33 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index82
Reasoning benchmarks for GLM 5 and GPT-5 Mini
BenchmarkGLM 5GPT-5 MiniLeader
GPQA Diamond83.3%80.3%GLM 5
MMMU Pro (Vals AI)Not measured78.9%Only GPT-5 Mini measured
GPQA Diamond (Artificial Analysis run)82.0%82.8%GPT-5 Mini
Humanity's Last Exam (Artificial Analysis run)29.3%21.5%GLM 5
GPQA Diamond (Epoch AI run)87.8%75.0%GLM 5
ARC-AGI44.7%54.3%GPT-5 Mini
ARC-AGI-24.9%4.4%GLM 5
SimpleBench53.2%Not measuredOnly GLM 5 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 prompts14521380GLM 5
LMArena Text: expert14541379GLM 5
LMArena Text: hard prompts in English14601383GLM 5
LMArena Vision: diagramsNot measured1202Only GPT-5 Mini measured
LMArena Vision: homeworkNot measured1210Only GPT-5 Mini measured
Kagi LLM Benchmark75.0%70.3%GLM 5
Neither model has a result on the other 5 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index31
Math benchmarks for GLM 5 and GPT-5 Mini
BenchmarkGLM 5GPT-5 MiniLeader
AIME91.7%91.5%GLM 5
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 AIME80.0%86.7%GPT-5 Mini
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: math14401378GLM 5
LMArena Text: mathematical work14511380GLM 5
Neither model has a result on the other 1 board here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index73
Knowledge benchmarks for GLM 5 and GPT-5 Mini
BenchmarkGLM 5GPT-5 MiniLeader
MMLU Pro86.0%82.2%GLM 5
LegalBench (Vals AI)84.1%81.8%GLM 5
CaseLaw (Vals AI)52.5%68.5%GPT-5 Mini
CorpFin (Vals AI)62.9%60.2%GLM 5
TaxEval (Vals AI)70.0%75.2%GPT-5 Mini
MortgageTax (Vals AI)Not measured66.9%Only GPT-5 Mini measured
MedQA (Vals AI)94.3%96.1%GPT-5 Mini
MedCode (Vals AI)Not measured43.0%Only GPT-5 Mini measured
MMLU Pro (Artificial Analysis run)Not measured83.7%Only GPT-5 Mini measured
SimpleQA VerifiedNot measured21.6%Only GPT-5 Mini measured
LMArena Text: science14601371GLM 5
LMArena Text: medicine and healthcare14551380GLM 5
LMArena Text: legal and government14531375GLM 5
LMArena Text: business and finance14301358GLM 5
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 and GPT-5 Mini
BenchmarkGLM 5GPT-5 MiniLeader
Design Arena: websites12471125GLM 5
Design Arena: UI components12271103GLM 5
Design Arena: game dev12341129GLM 5
Design Arena: data viz12281131GLM 5
Design Arena: 3D12281036GLM 5
Design Arena: all code categories12461114GLM 5
Design Arena: SVG11681091GLM 5
Design Arena: ASCII art11471125GLM 5
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index181
General benchmarks for GLM 5 and GPT-5 Mini
BenchmarkGLM 5GPT-5 MiniLeader
SAGE (Vals AI)Not measured43.0%Only GPT-5 Mini measured
MedScribe (Vals AI)Not measured80.6%Only GPT-5 Mini measured
IFBench72.3%75.4%GPT-5 Mini
Long context reasoning (AA-LCR)75.7%72.3%GLM 5
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
CL-bench18.7%Not measuredOnly GLM 5 measured
LMArena Text14461373GLM 5
LMArena Text: instruction following14281357GLM 5
LMArena Text: creative writing14381325GLM 5
LMArena VisionNot measured1202Only GPT-5 Mini measured
LMArena Text: English14581379GLM 5
LMArena Text: non-English14301363GLM 5
LMArena Text: Chinese15111386GLM 5
LMArena Text: German14471366GLM 5
LMArena Text: Japanese14161341GLM 5
LMArena Text: Korean14231308GLM 5
LMArena Text: French14561386GLM 5
LMArena Text: Spanish14541354GLM 5
LMArena Text: Russian14361362GLM 5
LMArena Text: Polish14341378GLM 5
LMArena Text: multi-turn14561363GLM 5
LMArena Text: longer queries14461355GLM 5
LMArena Text: writing and language14371344GLM 5
LMArena Text: entertainment and media14261340GLM 5
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 12 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GLM 5 and GPT-5 Mini
BenchmarkGLM 5GPT-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$0.0026Fits 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$0.060Fits 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$0.232Exceeds 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 and GPT-5 Mini
SpecificationZ.ai GLM 5OpenAI GPT-5 Mini
MakerZ.aiOpenAI
WeightsOpen weightsNo public weights listed
ReleasedFebruary 11, 2026August 7, 2025
Context window205K400K
Input $/Mtok$1.00$0.25
Output $/Mtok$3.20$2.00
Coding index41.734.2
Independent measurements behind it32
Cost per solved task$0.63$0.08
SourceOpenRouter listingOpenRouter listing

Questions

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

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

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

GLM 5 costs $1.00 per million input tokens and $3.20 per million output tokens; GPT-5 Mini costs $0.25 and $2.00. Per solved SWE-bench Verified task, GLM 5 costs $0.63 and GPT-5 Mini $0.08.

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

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

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

65 benchmarks have a result for both models as of October 22, 2026. GLM 5'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-vs-gpt-5-mini" title="GLM 5 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-vs-gpt-5-mini">LLMBenchmark.ai, GLM 5 vs GPT-5 Mini</a></p>