LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

GLM 4.6 vs GPT-4.1

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

GLM 4.6Z.ai
Coding
52.2
Overall
18.5
Output $/M
$2.20
51
GPT-4.1OpenAI
Coding
46.5
Overall
12.7
Output $/M
$8.00
5
vs boards won of 56 shared

Decision reading

Pick GLM 4.6 for coding: it scores 52.2 on the Vibe Coding Index against 46.5 for GPT-4.1.

Pick GPT-4.1 when the context window is larger, 1.05M against 205K tokens, or when what matters is ALE-Bench or LegalBench (Vals AI), where it leads.

Shared results
56
GLM 4.6 only
10
GPT-4.1 only
31
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.6 52.2 from 2 benchmarks, GPT-4.1 46.5 from 2 benchmarks.
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 work10
Reasoning60
Math60
Knowledge73
Web design60
General181
All shared boards515
CodingLike-for-likeFour 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
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 index10
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 apps1090Not measuredOnly GLM 4.6 measured
Design Arena: agents building Godot games1180Not measuredOnly GLM 4.6 measured
τ²-Bench Telecom76.9%47.1%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 index60
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
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
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: websites11741039GLM 4.6
Design Arena: UI components11471000GLM 4.6
Design Arena: game dev11511080GLM 4.6
Design Arena: data viz11611104GLM 4.6
Design Arena: 3D1129850GLM 4.6
Design Arena: all code categories11661026GLM 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.0016Fits 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.034Fits 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.132Exceeds 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.55$2.00
Output $/Mtok$2.20$8.00
Coding index52.246.5
Independent measurements behind it22
Cost per solved taskNot computable$0.37
SourceOpenRouter listingOpenRouter listing

Questions

Is GLM 4.6 better than GPT-4.1 for coding?

Pick GLM 4.6 for coding: it scores 52.2 on the Vibe Coding Index against 46.5 for GPT-4.1. Pick GPT-4.1 when the context window is larger, 1.05M against 205K tokens, or when what matters is ALE-Bench or LegalBench (Vals AI), where it leads.

Which is cheaper, GLM 4.6 or GPT-4.1?

GLM 4.6 costs $0.55 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?

56 benchmarks have a result for both models as of October 21, 2026. GLM 4.6's coding index rests on 2 independent benchmarks and GPT-4.1'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-4-6-vs-gpt-4-1" title="GLM 4.6 vs GPT-4.1, 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-4-6-vs-gpt-4-1">LLMBenchmark.ai, GLM 4.6 vs GPT-4.1</a></p>