Enter opens the highlighted result. Esc closes.

GLM 4.6 vs GPT-4.1 Mini

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

GLM 4.6Z.ai
Coding
8.8
Overall
33.4
Output $/M
$2.20
55
GPT-4.1 MiniOpenAI
Coding
No data
Overall
31.9
Output $/M
$1.60
3
vs boards won of 58 shared

GLM 4.6 or GPT-4.1 Mini: which to pick

Only GLM 4.6 has a coding score, 8.8 on the Vibe Coding Index; GPT-4.1 Mini has none, so the two cannot be ranked on coding.

Pick GPT-4.1 Mini for output tokens 1.4x cheaper ($1.60 vs $2.20 per million) and a larger context window (1.05M against 205K tokens).

Shared results
58
GLM 4.6 only
11
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.6 8.8 from 2 benchmarks, GPT-4.1 Mini not benchmarked.
Widest category
Math, 26.0 points apart on average over 6 shared benchmarks.
Widest single gap
SWE-bench Verified: GLM 4.6 68.2% against GPT-4.1 Mini 23.9%, 44.3 points apart on a 0 to 100 scale.
Output price
GLM 4.6 $2.20 against GPT-4.1 Mini $1.60 per million output tokens, 1.4x apart.
Context window
GLM 4.6 takes 205K 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.6BarsGPT-4.1 MiniTies
Coding70
Intelligence10
Agentic work20
Reasoning61
Math60
Knowledge82
Web design60
General190
All shared boards553
CodingLike-for-likeSix of these boards feed the Vibe Coding Index70
Coding benchmarks for GLM 4.6 and GPT-4.1 Mini
BenchmarkGLM 4.6GPT-4.1 MiniLeader
Aider polyglotNot measured32.4%Only GPT-4.1 Mini measured
SWE-bench Verified68.2%23.9%GLM 4.6
LMArena WebDev1341Not measuredOnly GLM 4.6 measured
AA Coding Index45.820.2GLM 4.6
LiveCodeBench (Vals AI)81.0%58.2%GLM 4.6
Vibe Code Bench (Vals AI)3.1%Not measuredOnly GLM 4.6 measured
LiveCodeBench (Artificial Analysis run)69.5%48.3%GLM 4.6
Terminal-Bench Hard (Artificial Analysis run)28.8%7.6%GLM 4.6
Terminal-Bench24.5%Not measuredOnly GLM 4.6 measured
WeirdMLNot measured37.6%Only GPT-4.1 Mini measured
ALE-Bench340.8Not measuredOnly GLM 4.6 measured
LMArena Text: coding14491367GLM 4.6
LMArena Text: software and IT14551360GLM 4.6
LMArena WebDev: HTML1350Not measuredOnly GLM 4.6 measured
Neither model has a result on the other 25 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for GLM 4.6 and GPT-4.1 Mini
BenchmarkGLM 4.6GPT-4.1 MiniLeader
AA Intelligence Index18.510.2GLM 4.6
Epoch Capabilities IndexNot measured134.9Only GPT-4.1 Mini measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index20
Agentic work benchmarks for GLM 4.6 and GPT-4.1 Mini
BenchmarkGLM 4.6GPT-4.1 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%52.9%GLM 4.6
Berkeley Function Calling Leaderboard (BFCL)72.4%50.4%GLM 4.6
BrowseComp-Plus48.2%Not measuredOnly GLM 4.6 measured
Neither model has a result on the other 34 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index61
Reasoning benchmarks for GLM 4.6 and GPT-4.1 Mini
BenchmarkGLM 4.6GPT-4.1 MiniLeader
GPQA Diamond74.5%67.9%GLM 4.6
MMMU Pro (Vals AI)Not measured70.5%Only GPT-4.1 Mini measured
GPQA Diamond (Artificial Analysis run)78.0%66.4%GLM 4.6
Humanity's Last Exam (Artificial Analysis run)14.5%5.0%GLM 4.6
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 prompts14401349GLM 4.6
LMArena Text: expert14321338GLM 4.6
LMArena Text: hard prompts in English14451362GLM 4.6
LMArena Vision: diagramsNot measured1182Only GPT-4.1 Mini measured
LMArena Vision: homeworkNot measured1214Only GPT-4.1 Mini measured
Kagi LLM Benchmark45.7%48.6%GPT-4.1 Mini
Neither model has a result on the other 7 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index60
Math benchmarks for GLM 4.6 and GPT-4.1 Mini
BenchmarkGLM 4.6GPT-4.1 MiniLeader
AIME92.7%49.4%GLM 4.6
MATH 500 (Vals AI)Not measured88.0%Only GPT-4.1 Mini measured
MGSM (Vals AI)89.8%87.8%GLM 4.6
AA Math Index86.046.3GLM 4.6
AIME 2025 (Artificial Analysis run)86.0%46.3%GLM 4.6
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: math14321343GLM 4.6
LMArena Text: mathematical work14471347GLM 4.6
Neither model has a result on the other 3 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index82
Knowledge benchmarks for GLM 4.6 and GPT-4.1 Mini
BenchmarkGLM 4.6GPT-4.1 MiniLeader
MMLU Pro82.2%77.2%GLM 4.6
LegalBench (Vals AI)79.6%78.0%GLM 4.6
CorpFin (Vals AI)56.8%57.9%GPT-4.1 Mini
TaxEval (Vals AI)66.2%71.9%GPT-4.1 Mini
MortgageTax (Vals AI)Not measured65.5%Only GPT-4.1 Mini measured
MedQA (Vals AI)92.2%84.6%GLM 4.6
MMLU Pro (Artificial Analysis run)82.9%78.1%GLM 4.6
SimpleQA VerifiedNot measured12.7%Only GPT-4.1 Mini measured
LMArena Text: science14561328GLM 4.6
LMArena Text: medicine and healthcare14551324GLM 4.6
LMArena Text: legal and government14481343GLM 4.6
LMArena Text: business and finance14161322GLM 4.6
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.6 and GPT-4.1 Mini
BenchmarkGLM 4.6GPT-4.1 MiniLeader
Design Arena: websites1174997GLM 4.6
Design Arena: UI components1145958GLM 4.6
Design Arena: game dev11501070GLM 4.6
Design Arena: data viz11611034GLM 4.6
Design Arena: 3D1128836GLM 4.6
Design Arena: all code categories1165993GLM 4.6
Design Arena: SVG1108Not measuredOnly GLM 4.6 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.6 and GPT-4.1 Mini
BenchmarkGLM 4.6GPT-4.1 MiniLeader
IFBench43.4%38.3%GLM 4.6
Long context reasoning (AA-LCR)54.0%44.0%GLM 4.6
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
LMArena Text14401341GLM 4.6
LMArena Text: instruction following14101333GLM 4.6
LMArena Text: creative writing14121299GLM 4.6
LMArena VisionNot measured1181Only GPT-4.1 Mini measured
LMArena Text: English14491356GLM 4.6
LMArena Text: non-English14261318GLM 4.6
LMArena Text: Chinese14991329GLM 4.6
LMArena Text: German14471350GLM 4.6
LMArena Text: Japanese13931290GLM 4.6
LMArena Text: Korean14001298GLM 4.6
LMArena Text: French14591358GLM 4.6
LMArena Text: Spanish14361319GLM 4.6
LMArena Text: Russian14181324GLM 4.6
LMArena Text: Polish14471326GLM 4.6
LMArena Text: multi-turn14271354GLM 4.6
LMArena Text: longer queries14221344GLM 4.6
LMArena Text: writing and language14151319GLM 4.6
LMArena Text: entertainment and media14091300GLM 4.6
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 16 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-4.1 Mini
BenchmarkGLM 4.6GPT-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.6$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.6$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.6$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.6 and GPT-4.1 Mini
SpecificationZ.ai GLM 4.6OpenAI GPT-4.1 Mini
MakerZ.aiOpenAI
WeightsOpen weightsNo public weights listed
ReleasedSeptember 30, 2025April 14, 2025
Context window205K1.05M
Input $/Mtok$0.60$0.40
Output $/Mtok$2.20$1.60
Coding index8.8Not benchmarked
Independent measurements behind it20
Cost per solved taskNot computable$1.818
SourceOpenRouter listingOpenRouter listing

Questions

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

Only GLM 4.6 has a coding score, 8.8 on the Vibe Coding Index; GPT-4.1 Mini has none, so the two cannot be ranked on coding. Pick GPT-4.1 Mini for output tokens 1.4x cheaper ($1.60 vs $2.20 per million) and a larger context window (1.05M against 205K tokens).

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

GLM 4.6 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.6 or GPT-4.1 Mini?

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

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

58 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-4.1 Mini's on 0. Where only one model has a result, the page says so instead of naming a winner.

Compare next