Enter opens the highlighted result. Esc closes.

GLM 4.6 vs GPT-4.1

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

GLM 4.6Z.ai
Coding
8.8
Overall
33.4
Output $/M
$2.20
53
GPT-4.1OpenAI
Coding
No data
Overall
36.5
Output $/M
$8.00
6
vs boards won of 59 shared

GLM 4.6 or GPT-4.1: which to pick

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

Pick GPT-4.1 for a larger context window (1.05M against 205K tokens) and work measured by ALE-Bench or Kagi LLM Benchmark, where it leads.

Shared results
59
GLM 4.6 only
10
GPT-4.1 only
33
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 not benchmarked.
Widest category
Math, 30.5 points apart on average over 6 shared benchmarks.
Widest single gap
AIME: GLM 4.6 92.7% against GPT-4.1 39.6%, 53.1 points apart on a 0 to 100 scale.
Output price
GLM 4.6 $2.20 against GPT-4.1 $8.00 per million output tokens, 3.6x apart.
Context window
GLM 4.6 takes 205K tokens, GPT-4.1 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.1Ties
Coding61
Intelligence10
Agentic work30
Reasoning61
Math60
Knowledge73
Web design60
General181
All shared boards536
CodingLike-for-likeSix of these boards feed the Vibe Coding Index61
Coding benchmarks for GLM 4.6 and GPT-4.1
BenchmarkGLM 4.6GPT-4.1Leader
Aider polyglotNot measured52.4%Only GPT-4.1 measured
SWE-bench Verified68.2%39.6%GLM 4.6
SWE-bench MultimodalNot measured31.1%Only GPT-4.1 measured
LMArena WebDev1341Not measuredOnly GLM 4.6 measured
AA Coding Index45.8Not measuredOnly GLM 4.6 measured
LiveCodeBench (Vals AI)81.0%54.7%GLM 4.6
Vibe Code Bench (Vals AI)3.1%Not measuredOnly GLM 4.6 measured
LiveCodeBench (Artificial Analysis run)69.5%45.7%GLM 4.6
Terminal-Bench Hard (Artificial Analysis run)28.8%13.6%GLM 4.6
Terminal-Bench24.5%Not measuredOnly GLM 4.6 measured
WeirdMLNot measured39.0%Only GPT-4.1 measured
ALE-Bench340.8558.1GPT-4.1
LMArena Text: coding14491390GLM 4.6
LMArena Text: software and IT14551391GLM 4.6
LMArena WebDev: HTML1350Not measuredOnly GLM 4.6 measured
SciCodeNot measured4.6%Only GPT-4.1 measured
Neither model has a result on the other 23 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index10
Intelligence benchmarks for GLM 4.6 and GPT-4.1
BenchmarkGLM 4.6GPT-4.1Leader
AA Intelligence Index18.512.7GLM 4.6
Epoch Capabilities IndexNot measured136.7Only GPT-4.1 measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index30
Agentic work benchmarks for GLM 4.6 and GPT-4.1
BenchmarkGLM 4.6GPT-4.1Leader
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%47.1%GLM 4.6
Berkeley Function Calling Leaderboard (BFCL)72.4%54.0%GLM 4.6
BrowseComp-Plus48.2%36.4%GLM 4.6
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
BenchmarkGLM 4.6GPT-4.1Leader
GPQA Diamond74.5%65.4%GLM 4.6
MMMU Pro (Vals AI)Not measured72.4%Only GPT-4.1 measured
GPQA Diamond (Artificial Analysis run)78.0%66.6%GLM 4.6
Humanity's Last Exam (Artificial Analysis run)14.5%4.2%GLM 4.6
GPQA Diamond (Epoch AI run)Not measured66.9%Only GPT-4.1 measured
ARC-AGINot measured5.5%Only GPT-4.1 measured
ARC-AGI-2Not measured0.4%Only GPT-4.1 measured
SimpleBenchNot measured27.0%Only GPT-4.1 measured
Chess puzzlesNot measured3.0%Only GPT-4.1 measured
LMArena Text: hard prompts14401384GLM 4.6
LMArena Text: expert14321364GLM 4.6
LMArena Text: hard prompts in English14451393GLM 4.6
LMArena Vision: diagramsNot measured1215Only GPT-4.1 measured
LMArena Vision: homeworkNot measured1248Only GPT-4.1 measured
Kagi LLM Benchmark45.7%52.3%GPT-4.1
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
BenchmarkGLM 4.6GPT-4.1Leader
AIME92.7%39.6%GLM 4.6
MATH 500 (Vals AI)Not measured87.2%Only GPT-4.1 measured
MGSM (Vals AI)89.8%87.7%GLM 4.6
AA Math Index86.034.7GLM 4.6
AIME 2025 (Artificial Analysis run)86.0%34.7%GLM 4.6
OTIS Mock AIMENot measured38.3%Only GPT-4.1 measured
FrontierMath, tiers 1 to 3Not measured6.0%Only GPT-4.1 measured
MATH level 5Not measured83.0%Only GPT-4.1 measured
LMArena Text: math14321369GLM 4.6
LMArena Text: mathematical work14471360GLM 4.6
Neither model has a result on the other 3 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index73
Knowledge benchmarks for GLM 4.6 and GPT-4.1
BenchmarkGLM 4.6GPT-4.1Leader
MMLU Pro82.2%80.5%GLM 4.6
LegalBench (Vals AI)79.6%83.1%GPT-4.1
CaseLaw (Vals AI)Not measured69.9%Only GPT-4.1 measured
CorpFin (Vals AI)56.8%63.0%GPT-4.1
TaxEval (Vals AI)66.2%75.1%GPT-4.1
MortgageTax (Vals AI)Not measured65.9%Only GPT-4.1 measured
MedQA (Vals AI)92.2%91.2%GLM 4.6
MMLU Pro (Artificial Analysis run)82.9%80.6%GLM 4.6
SimpleQA VerifiedNot measured31.1%Only GPT-4.1 measured
GeoBenchNot measured72.0%Only GPT-4.1 measured
LMArena Text: science14561382GLM 4.6
LMArena Text: medicine and healthcare14551379GLM 4.6
LMArena Text: legal and government14481399GLM 4.6
LMArena Text: business and finance14161369GLM 4.6
FACTS Benchmark SuiteNot measured45.8%Only GPT-4.1 measured
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.6 and GPT-4.1
BenchmarkGLM 4.6GPT-4.1Leader
Design Arena: websites11741038GLM 4.6
Design Arena: UI components1145997GLM 4.6
Design Arena: game dev11501079GLM 4.6
Design Arena: data viz11611104GLM 4.6
Design Arena: 3D1128849GLM 4.6
Design Arena: all code categories11651025GLM 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 index181
General benchmarks for GLM 4.6 and GPT-4.1
BenchmarkGLM 4.6GPT-4.1Leader
IFBench43.4%43.0%GLM 4.6
Long context reasoning (AA-LCR)54.0%68.3%GPT-4.1
DTBenchNot measured68.3%Only GPT-4.1 measured
LMCANot measured25.6%Only GPT-4.1 measured
Fiction.LiveBenchNot measured63.9%Only GPT-4.1 measured
LMArena Text14401383GLM 4.6
LMArena Text: instruction following14101367GLM 4.6
LMArena Text: creative writing14121363GLM 4.6
LMArena VisionNot measured1210Only GPT-4.1 measured
LMArena Text: English14491392GLM 4.6
LMArena Text: non-English14261370GLM 4.6
LMArena Text: Chinese14991382GLM 4.6
LMArena Text: German14471381GLM 4.6
LMArena Text: Japanese13931319GLM 4.6
LMArena Text: Korean14001338GLM 4.6
LMArena Text: French14591382GLM 4.6
LMArena Text: Spanish14361376GLM 4.6
LMArena Text: Russian14181377GLM 4.6
LMArena Text: Polish14471389GLM 4.6
LMArena Text: multi-turn14271397GLM 4.6
LMArena Text: longer queries14221385GLM 4.6
LMArena Text: writing and language14151371GLM 4.6
LMArena Text: entertainment and media14091365GLM 4.6
LMArena Vision: EnglishNot measured1209Only GPT-4.1 measured
LMArena Vision: ChineseNot measured1226Only GPT-4.1 measured
LMArena Vision: reading textNot measured1218Only GPT-4.1 measured
LMArena Vision: humorNot measured1196Only GPT-4.1 measured
LMArena Vision: captioningNot measured1207Only GPT-4.1 measured
LMArena Vision: recognizing thingsNot measured1208Only GPT-4.1 measured
LMArena Vision: creative writingNot measured1210Only GPT-4.1 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
BenchmarkGLM 4.6GPT-4.1Leader
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$0.0060Fits in one request

GLM 4.6 costs less

Repository review

50K input + 3K output tokens

GLM 4.6$0.037Fits in one request
GPT-4.1$0.124Fits in one request

GLM 4.6 costs less

Agent loop

200K input + 10K output tokens

GLM 4.6$0.142Exceeds the context window
GPT-4.1$0.480Fits in one request

GLM 4.6 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
SpecificationZ.ai GLM 4.6OpenAI GPT-4.1
MakerZ.aiOpenAI
WeightsOpen weightsNo public weights listed
ReleasedSeptember 30, 2025April 14, 2025
Context window205K1.05M
Input $/Mtok$0.60$2.00
Output $/Mtok$2.20$8.00
Coding index8.8Not benchmarked
Independent measurements behind it20
Cost per solved taskNot computable$0.37
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 4.6 better than GPT-4.1 for coding?

Only GLM 4.6 has a coding score, 8.8 on the Vibe Coding Index; GPT-4.1 has none, so the two cannot be ranked on coding. Pick GPT-4.1 for a larger context window (1.05M against 205K tokens) and work measured by ALE-Bench or Kagi LLM Benchmark, where it leads.

Which is cheaper, GLM 4.6 or GPT-4.1?

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

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

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

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

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

Compare next