LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

GLM 4.5 vs o4 Mini

Updated October 21, 2026. 58 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.

GLM 4.5Z.ai
Coding
64.2
Overall
12.8
Output $/M
$2.20
39
o4 MiniOpenAI
Coding
68.6
Overall
16.7
Output $/M
$4.40
19
vs boards won of 58 shared

Decision reading

Pick o4 Mini for coding: it scores 68.6 on the Vibe Coding Index against 64.2 for GLM 4.5.

Pick GLM 4.5 when output tokens cost 2.0x less, or when what matters is Terminal-Bench Hard (Artificial Analysis run) or LMArena Text: coding, where it leads.

Shared results
58
GLM 4.5 only
2
o4 Mini only
36
Like-for-like categories
8 of 9

Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.

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.5 64.2 from 1 benchmark, o4 Mini 68.6 from 2 benchmarks.
Widest category
Web design, 24.2 points apart on average over 6 shared benchmarks.
Widest single gap
Design Arena: 3D: GLM 4.5 1170 against o4 Mini 854, 39.5 points apart on a 0 to 100 scale.
Output price
GLM 4.5 $2.20 against o4 Mini $4.40 per million output tokens, 2.0x apart.
Context window
GLM 4.5 takes 131K tokens, o4 Mini 200K.

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.5Barso4 MiniTies
Coding34
Intelligence01
Agentic work01
Reasoning33
Math34
Knowledge73
Web design60
General173
All shared boards3919
CodingLike-for-likeFour of these boards feed the Vibe Coding Index34
Coding benchmarks for GLM 4.5 and o4 Mini
BenchmarkGLM 4.5o4 MiniLeader
Aider polyglotNot measured72.0%Only o4 Mini measured
SWE-bench Verified64.2%64.6%o4 Mini
SWE-bench MultimodalNot measured33.9%Only o4 Mini measured
LiveCodeBench (Vals AI)67.5%82.2%o4 Mini
LiveCodeBench (Artificial Analysis run)73.8%85.9%o4 Mini
Terminal-Bench Hard (Artificial Analysis run)22.0%15.2%GLM 4.5
GSO-BenchNot measured3.6%Only o4 Mini measured
WeirdML40.6%52.6%o4 Mini
ALE-Bench344.8Not measuredOnly GLM 4.5 measured
LMArena Text: coding14341368GLM 4.5
LMArena Text: software and IT14401367GLM 4.5
Neither model has a result on the other 27 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for GLM 4.5 and o4 Mini
BenchmarkGLM 4.5o4 MiniLeader
AA Intelligence Index12.816.7o4 Mini
Epoch Capabilities IndexNot measured145.5Only o4 Mini measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for GLM 4.5 and o4 Mini
BenchmarkGLM 4.5o4 MiniLeader
τ²-Bench Telecom43.0%55.6%o4 Mini
METR time horizonsNot measured63.9%Only o4 Mini measured
Neither model has a result on the other 37 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index33
Reasoning benchmarks for GLM 4.5 and o4 Mini
BenchmarkGLM 4.5o4 MiniLeader
GPQA Diamond72.2%74.5%o4 Mini
MMMU Pro (Vals AI)Not measured79.7%Only o4 Mini measured
GPQA Diamond (Artificial Analysis run)78.2%78.4%o4 Mini
Humanity's Last Exam (Artificial Analysis run)13.0%16.5%o4 Mini
GPQA Diamond (Epoch AI run)Not measured79.6%Only o4 Mini measured
ARC-AGINot measured58.7%Only o4 Mini measured
ARC-AGI-2Not measured6.1%Only o4 Mini measured
SimpleBenchNot measured38.7%Only o4 Mini measured
Chess puzzlesNot measured22.0%Only o4 Mini measured
Mystery game puzzlesNot measured5.0%Only o4 Mini measured
VPCTNot measured57.5%Only o4 Mini measured
LMArena Text: hard prompts14291351GLM 4.5
LMArena Text: expert14331343GLM 4.5
LMArena Text: hard prompts in English14291366GLM 4.5
LMArena Vision: diagramsNot measured1197Only o4 Mini measured
LMArena Vision: homeworkNot measured1234Only o4 Mini measured
Neither model has a result on the other 5 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index34
Math benchmarks for GLM 4.5 and o4 Mini
BenchmarkGLM 4.5o4 MiniLeader
AIME86.7%83.7%GLM 4.5
MATH 500 (Vals AI)94.0%94.2%o4 Mini
MGSM (Vals AI)90.8%93.4%o4 Mini
AA Math Index73.790.7o4 Mini
AIME 2025 (Artificial Analysis run)73.7%90.7%o4 Mini
OTIS Mock AIMENot measured81.7%Only o4 Mini measured
FrontierMath, tiers 1 to 3Not measured36.1%Only o4 Mini measured
FrontierMath, tier 4Not measured4.9%Only o4 Mini measured
MATH level 5Not measured97.8%Only o4 Mini measured
LMArena Text: math14271389GLM 4.5
LMArena Text: mathematical work14301379GLM 4.5
Neither model has a result on the other 2 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index73
Knowledge benchmarks for GLM 4.5 and o4 Mini
BenchmarkGLM 4.5o4 MiniLeader
MMLU Pro81.2%80.6%GLM 4.5
LegalBench (Vals AI)75.6%79.2%o4 Mini
CorpFin (Vals AI)61.0%59.0%GLM 4.5
TaxEval (Vals AI)72.4%74.8%o4 Mini
MortgageTax (Vals AI)Not measured64.8%Only o4 Mini measured
MedQA (Vals AI)90.0%96.0%o4 Mini
MedCode (Vals AI)Not measured33.8%Only o4 Mini measured
MMLU Pro (Artificial Analysis run)83.5%83.2%GLM 4.5
SimpleQA VerifiedNot measured19.6%Only o4 Mini measured
GeoBenchNot measured64.0%Only o4 Mini measured
LMArena Text: science14441354GLM 4.5
LMArena Text: medicine and healthcare14551361GLM 4.5
LMArena Text: legal and government14381350GLM 4.5
LMArena Text: business and finance14201325GLM 4.5
Neither model has a result on the other 3 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index60
Web design benchmarks for GLM 4.5 and o4 Mini
BenchmarkGLM 4.5o4 MiniLeader
Design Arena: websites1170985GLM 4.5
Design Arena: UI components1144983GLM 4.5
Design Arena: game dev11451004GLM 4.5
Design Arena: data viz1159990GLM 4.5
Design Arena: 3D1170854GLM 4.5
Design Arena: all code categories1165977GLM 4.5
Design Arena: SVG1096Not measuredOnly GLM 4.5 measured
Neither model has a result on the other 2 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index173
General benchmarks for GLM 4.5 and o4 Mini
BenchmarkGLM 4.5o4 MiniLeader
SAGE (Vals AI)Not measured41.1%Only o4 Mini measured
MedScribe (Vals AI)Not measured69.1%Only o4 Mini measured
IFBench44.1%68.7%o4 Mini
Long context reasoning (AA-LCR)52.7%61.0%o4 Mini
DTBenchNot measured77.6%Only o4 Mini measured
LMCANot measured26.5%Only o4 Mini measured
Fiction.LiveBenchNot measured77.8%Only o4 Mini measured
Creative writing (Lech Mazur)73.4%75.0%o4 Mini
LMArena Text14301353GLM 4.5
LMArena Text: instruction following14041320GLM 4.5
LMArena Text: creative writing13951294GLM 4.5
LMArena VisionNot measured1194Only o4 Mini measured
LMArena Text: English14371367GLM 4.5
LMArena Text: non-English14171337GLM 4.5
LMArena Text: Chinese14651354GLM 4.5
LMArena Text: German14071336GLM 4.5
LMArena Text: Japanese14151308GLM 4.5
LMArena Text: Korean13801312GLM 4.5
LMArena Text: French14181364GLM 4.5
LMArena Text: Spanish14541346GLM 4.5
LMArena Text: Russian14131334GLM 4.5
LMArena Text: Polish14221358GLM 4.5
LMArena Text: multi-turn14151350GLM 4.5
LMArena Text: longer queries14121315GLM 4.5
LMArena Text: writing and language14031316GLM 4.5
LMArena Text: entertainment and media14041308GLM 4.5
LMArena Vision: EnglishNot measured1200Only o4 Mini measured
LMArena Vision: ChineseNot measured1218Only o4 Mini measured
LMArena Vision: reading textNot measured1197Only o4 Mini measured
LMArena Vision: humorNot measured1199Only o4 Mini measured
LMArena Vision: captioningNot measured1204Only o4 Mini measured
LMArena Vision: recognizing thingsNot measured1218Only o4 Mini measured
LMArena Vision: creative writingNot measured1166Only o4 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.5 and o4 Mini
BenchmarkGLM 4.5o4 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.5$0.0017Fits in one request
o4 Mini$0.0033Fits in one request

GLM 4.5 costs less

Repository review

50K input + 3K output tokens

GLM 4.5$0.037Fits in one request
o4 Mini$0.068Fits in one request

GLM 4.5 costs less

Agent loop

200K input + 10K output tokens

GLM 4.5$0.142Exceeds the context window
o4 Mini$0.264Exceeds the context window

GLM 4.5 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.5 and o4 Mini
SpecificationZ.ai GLM 4.5OpenAI o4 Mini
MakerZ.aiOpenAI
WeightsOpen weightsNo public weights listed
ReleasedJuly 25, 2025April 16, 2025
Context window131K200K
Input $/Mtok$0.60$1.10
Output $/Mtok$2.20$4.40
Coding index64.268.6
Independent measurements behind it12
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 4.5 better than o4 Mini for coding?

Pick o4 Mini for coding: it scores 68.6 on the Vibe Coding Index against 64.2 for GLM 4.5. Pick GLM 4.5 when output tokens cost 2.0x less, or when what matters is Terminal-Bench Hard (Artificial Analysis run) or LMArena Text: coding, where it leads.

Which is cheaper, GLM 4.5 or o4 Mini?

GLM 4.5 costs $0.60 per million input tokens and $2.20 per million output tokens; o4 Mini costs $1.10 and $4.40. Cost per solved task is known for neither of them.

Which has the bigger context window, GLM 4.5 or o4 Mini?

o4 Mini, with 200K tokens against 131K.

How many benchmarks is the GLM 4.5 vs o4 Mini comparison based on?

58 benchmarks have a result for both models as of October 21, 2026. GLM 4.5's coding index rests on 1 independent benchmark and o4 Mini's on 2. Where only one model has a result, the page says so instead of naming a winner.

Compare next