Enter opens the highlighted result. Esc closes.

GLM 4.5 vs GPT-4.1 Mini

GLM 4.5 leads GPT-4.1 Mini on the Artificial Analysis Intelligence Index, 12.8 to 10.2, and GPT-4.1 Mini costs 1.4x less per output token ($1.60 vs $2.20 per million). Updated October 21, 2026; 58 benchmarks have a result for both.

GLM 4.5Z.ai
Coding
No data
Overall
No data
Output $/M
$2.20
56
GPT-4.1 MiniOpenAI
Coding
No data
Overall
31.9
Output $/M
$1.60
2
vs boards won of 58 shared

GLM 4.5 or GPT-4.1 Mini: which to pick

Neither model has a coding score yet, so the two cannot be ranked on coding.

Pick GLM 4.5 for work measured by τ²-Bench Telecom or LegalBench (Vals AI), where it leads.

Shared results
58
GLM 4.5 only
3
GPT-4.1 Mini only
28
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.5 not benchmarked, GPT-4.1 Mini not benchmarked.
Widest category
Web design, 22.1 points apart on average over 6 shared benchmarks.
Widest single gap
Design Arena: 3D: GLM 4.5 1170 against GPT-4.1 Mini 837, 41.6 points apart on a 0 to 100 scale.
Output price
GLM 4.5 $2.20 against GPT-4.1 Mini $1.60 per million output tokens, 1.4x apart.
Context window
GLM 4.5 takes 131K tokens, GPT-4.1 Mini 1.05M.

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.5BarsGPT-4.1 MiniTies
Coding70
Intelligence10
Agentic work01
Reasoning70
Math70
Knowledge91
Web design60
General190
All shared boards562
CodingLike-for-likeSix of these boards feed the Vibe Coding Index70
Coding benchmarks for GLM 4.5 and GPT-4.1 Mini
BenchmarkGLM 4.5GPT-4.1 MiniLeader
Aider polyglotNot measured32.4%Only GPT-4.1 Mini measured
SWE-bench Verified64.2%23.9%GLM 4.5
AA Coding IndexNot measured20.2Only GPT-4.1 Mini measured
LiveCodeBench (Vals AI)67.5%58.2%GLM 4.5
LiveCodeBench (Artificial Analysis run)73.8%48.3%GLM 4.5
Terminal-Bench Hard (Artificial Analysis run)22.0%7.6%GLM 4.5
WeirdML40.6%37.6%GLM 4.5
ALE-Bench344.8Not measuredOnly GLM 4.5 measured
LMArena Text: coding14341367GLM 4.5
LMArena Text: software and IT14401360GLM 4.5
Neither model has a result on the other 29 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for GLM 4.5 and GPT-4.1 Mini
BenchmarkGLM 4.5GPT-4.1 MiniLeader
AA Intelligence Index12.810.2GLM 4.5
Epoch Capabilities IndexNot measured134.9Only GPT-4.1 Mini measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for GLM 4.5 and GPT-4.1 Mini
BenchmarkGLM 4.5GPT-4.1 MiniLeader
τ²-Bench Telecom43.0%52.9%GPT-4.1 Mini
Berkeley Function Calling Leaderboard (BFCL)Not measured50.4%Only GPT-4.1 Mini measured
Neither model has a result on the other 39 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index70
Reasoning benchmarks for GLM 4.5 and GPT-4.1 Mini
BenchmarkGLM 4.5GPT-4.1 MiniLeader
GPQA Diamond72.2%67.9%GLM 4.5
MMMU Pro (Vals AI)Not measured70.5%Only GPT-4.1 Mini measured
GPQA Diamond (Artificial Analysis run)78.2%66.4%GLM 4.5
Humanity's Last Exam (Artificial Analysis run)13.0%5.0%GLM 4.5
GPQA Diamond (Epoch AI run)Not measured65.8%Only GPT-4.1 Mini measured
ARC-AGINot measured3.5%Only GPT-4.1 Mini measured
ARC-AGI-2Not measured0.0%Only GPT-4.1 Mini measured
Chess puzzlesNot measured1.0%Only GPT-4.1 Mini measured
Mystery game puzzlesNot measured7.0%Only GPT-4.1 Mini measured
LMArena Text: hard prompts14291349GLM 4.5
LMArena Text: expert14331338GLM 4.5
LMArena Text: hard prompts in English14291362GLM 4.5
LMArena Vision: diagramsNot measured1182Only GPT-4.1 Mini measured
LMArena Vision: homeworkNot measured1214Only GPT-4.1 Mini measured
Kagi LLM Benchmark57.9%48.6%GLM 4.5
Neither model has a result on the other 7 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index70
Math benchmarks for GLM 4.5 and GPT-4.1 Mini
BenchmarkGLM 4.5GPT-4.1 MiniLeader
AIME86.7%49.4%GLM 4.5
MATH 500 (Vals AI)94.0%88.0%GLM 4.5
MGSM (Vals AI)90.8%87.8%GLM 4.5
AA Math Index73.746.3GLM 4.5
AIME 2025 (Artificial Analysis run)73.7%46.3%GLM 4.5
OTIS Mock AIMENot measured44.7%Only GPT-4.1 Mini measured
FrontierMath, tiers 1 to 3Not measured6.7%Only GPT-4.1 Mini measured
MATH level 5Not measured87.3%Only GPT-4.1 Mini measured
LMArena Text: math14271343GLM 4.5
LMArena Text: mathematical work14301347GLM 4.5
Neither model has a result on the other 3 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index91
Knowledge benchmarks for GLM 4.5 and GPT-4.1 Mini
BenchmarkGLM 4.5GPT-4.1 MiniLeader
MMLU Pro81.2%77.2%GLM 4.5
LegalBench (Vals AI)75.6%78.0%GPT-4.1 Mini
CorpFin (Vals AI)61.0%57.9%GLM 4.5
TaxEval (Vals AI)72.4%71.9%GLM 4.5
MortgageTax (Vals AI)Not measured65.5%Only GPT-4.1 Mini measured
MedQA (Vals AI)90.0%84.6%GLM 4.5
MMLU Pro (Artificial Analysis run)83.5%78.1%GLM 4.5
SimpleQA VerifiedNot measured12.7%Only GPT-4.1 Mini measured
LMArena Text: science14441328GLM 4.5
LMArena Text: medicine and healthcare14551324GLM 4.5
LMArena Text: legal and government14381343GLM 4.5
LMArena Text: business and finance14201322GLM 4.5
Neither model has a result on the other 6 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index60
Web design benchmarks for GLM 4.5 and GPT-4.1 Mini
BenchmarkGLM 4.5GPT-4.1 MiniLeader
Design Arena: websites1170997GLM 4.5
Design Arena: UI components1144961GLM 4.5
Design Arena: game dev11451071GLM 4.5
Design Arena: data viz11591034GLM 4.5
Design Arena: 3D1170837GLM 4.5
Design Arena: all code categories1165994GLM 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 index190
General benchmarks for GLM 4.5 and GPT-4.1 Mini
BenchmarkGLM 4.5GPT-4.1 MiniLeader
IFBench44.1%38.3%GLM 4.5
Long context reasoning (AA-LCR)52.7%44.0%GLM 4.5
DTBenchNot measured68.8%Only GPT-4.1 Mini measured
LMCANot measured21.1%Only GPT-4.1 Mini measured
Fiction.LiveBenchNot measured44.4%Only GPT-4.1 Mini measured
Creative writing (Lech Mazur)73.4%Not measuredOnly GLM 4.5 measured
LMArena Text14301341GLM 4.5
LMArena Text: instruction following14041333GLM 4.5
LMArena Text: creative writing13951299GLM 4.5
LMArena VisionNot measured1181Only GPT-4.1 Mini measured
LMArena Text: English14371356GLM 4.5
LMArena Text: non-English14171318GLM 4.5
LMArena Text: Chinese14651329GLM 4.5
LMArena Text: German14071350GLM 4.5
LMArena Text: Japanese14151290GLM 4.5
LMArena Text: Korean13801298GLM 4.5
LMArena Text: French14181358GLM 4.5
LMArena Text: Spanish14541319GLM 4.5
LMArena Text: Russian14131324GLM 4.5
LMArena Text: Polish14221326GLM 4.5
LMArena Text: multi-turn14151354GLM 4.5
LMArena Text: longer queries14121344GLM 4.5
LMArena Text: writing and language14031319GLM 4.5
LMArena Text: entertainment and media14041300GLM 4.5
LMArena Vision: EnglishNot measured1191Only GPT-4.1 Mini measured
LMArena Vision: ChineseNot measured1186Only GPT-4.1 Mini measured
LMArena Vision: reading textNot measured1188Only GPT-4.1 Mini measured
LMArena Vision: humorNot measured1182Only GPT-4.1 Mini measured
LMArena Vision: captioningNot measured1174Only GPT-4.1 Mini measured
LMArena Vision: recognizing thingsNot measured1187Only GPT-4.1 Mini measured
LMArena Vision: creative writingNot measured1182Only GPT-4.1 Mini 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 4.5 and GPT-4.1 Mini
BenchmarkGLM 4.5GPT-4.1 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
GPT-4.1 Mini$0.0012Fits in one request

GPT-4.1 Mini costs less

Repository review

50K input + 3K output tokens

GLM 4.5$0.037Fits in one request
GPT-4.1 Mini$0.025Fits in one request

GPT-4.1 Mini costs less

Agent loop

200K input + 10K output tokens

GLM 4.5$0.142Exceeds the context window
GPT-4.1 Mini$0.096Fits in one request

GPT-4.1 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.5 and GPT-4.1 Mini
SpecificationZ.ai GLM 4.5OpenAI GPT-4.1 Mini
MakerZ.aiOpenAI
WeightsOpen weightsNo public weights listed
ReleasedJuly 25, 2025April 14, 2025
Context window131K1.05M
Input $/Mtok$0.60$0.40
Output $/Mtok$2.20$1.60
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved taskNot computable$1.818
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 4.5 better than GPT-4.1 Mini for coding?

Neither model has a coding score yet, so the two cannot be ranked on coding. Pick GLM 4.5 for work measured by τ²-Bench Telecom or LegalBench (Vals AI), where it leads.

Which is cheaper, GLM 4.5 or GPT-4.1 Mini?

GLM 4.5 costs $0.60 per million input tokens and $2.20 per million output tokens; GPT-4.1 Mini costs $0.40 and $1.60. Cost per solved task is known for GPT-4.1 Mini only.

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

GPT-4.1 Mini, with 1.05M tokens against 131K.

How many benchmarks is the GLM 4.5 vs GPT-4.1 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 0 independent benchmarks and GPT-4.1 Mini's on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next