LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

GPT-4.1 vs GPT-5

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

GPT-4.1OpenAI
Coding
46.5
Overall
12.7
Output $/M
$8.00
4
GPT-5OpenAI
Coding
72.2
Overall
23.0
Output $/M
$10.00
82
vs boards won of 86 shared

Decision reading

Pick GPT-5 for coding: it scores 72.2 on the Vibe Coding Index against 46.5 for GPT-4.1.

Pick GPT-4.1 when output tokens cost 1.3x less, or when a solved task costs $0.37 against $0.39.

Shared results
86
GPT-4.1 only
1
GPT-5 only
23
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
GPT-4.1 46.5 from 2 benchmarks, GPT-5 72.2 from 3 benchmarks.
Widest category
Agentic work, 39.5 points apart on average over 1 shared benchmark.
Widest single gap
ARC-AGI: GPT-4.1 5.5% against GPT-5 65.7%, 60.2 points apart on a 0 to 100 scale.
Output price
GPT-4.1 $8.00 against GPT-5 $10.00 per million output tokens, 1.3x apart.
Context window
GPT-4.1 takes 1.05M tokens, GPT-5 400K.

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
CategoryGPT-4.1BarsGPT-5Ties
Coding09
Intelligence02
Agentic work01
Reasoning014
Math010
Knowledge410
Web design06
General030
All shared boards482
CodingLike-for-likeFour of these boards feed the Vibe Coding Index09
Coding benchmarks for GPT-4.1 and GPT-5
BenchmarkGPT-4.1GPT-5Leader
Aider polyglot52.4%88.0%GPT-5
SWE-bench Verified39.6%74.4%GPT-5
SWE-bench Multimodal31.1%Not measuredOnly GPT-4.1 measured
LMArena WebDevNot measured1418Only GPT-5 measured
AA Coding IndexNot measured37.8Only GPT-5 measured
LiveCodeBench (Vals AI)54.7%85.9%GPT-5
SWE-bench Verified (Vals AI)Not measured69.0%Only GPT-5 measured
Vibe Code Bench (Vals AI)Not measured20.1%Only GPT-5 measured
LiveCodeBench (Artificial Analysis run)45.7%84.6%GPT-5
Terminal-Bench Hard (Artificial Analysis run)13.6%37.9%GPT-5
Terminal-BenchNot measured49.6%Only GPT-5 measured
GSO-BenchNot measured6.9%Only GPT-5 measured
WeirdML39.0%60.7%GPT-5
ALE-Bench558.1807.6GPT-5
LMArena Text: coding13901436GPT-5
LMArena Text: software and IT13911420GPT-5
LMArena WebDev: HTMLNot measured1427Only GPT-5 measured
Neither model has a result on the other 21 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for GPT-4.1 and GPT-5
BenchmarkGPT-4.1GPT-5Leader
AA Intelligence Index12.723.0GPT-5
Epoch Capabilities Index136.7150.0GPT-5
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for GPT-4.1 and GPT-5
BenchmarkGPT-4.1GPT-5Leader
τ²-Bench Telecom47.1%86.5%GPT-5
METR time horizonsNot measured69.6%Only GPT-5 measured
Remote Labor IndexNot measured1.7%Only GPT-5 measured
GDPvalNot measured34.8%Only GPT-5 measured
BALROGNot measured32.8%Only GPT-5 measured
DeepResearch BenchNot measured49.6%Only GPT-5 measured
Neither model has a result on the other 33 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index014
Reasoning benchmarks for GPT-4.1 and GPT-5
BenchmarkGPT-4.1GPT-5Leader
GPQA Diamond65.4%85.6%GPT-5
MMMU Pro (Vals AI)72.4%81.5%GPT-5
GPQA Diamond (Artificial Analysis run)66.6%85.4%GPT-5
Humanity's Last Exam (Artificial Analysis run)4.2%28.5%GPT-5
GPQA Diamond (Epoch AI run)66.9%86.2%GPT-5
ARC-AGI5.5%65.7%GPT-5
ARC-AGI-20.4%9.9%GPT-5
SimpleBench27.0%56.7%GPT-5
Chess puzzles3.0%36.0%GPT-5
Mystery game puzzlesNot measured23.0%Only GPT-5 measured
EBR-benchNot measured12.7%Only GPT-5 measured
VPCTNot measured66.0%Only GPT-5 measured
LMArena Text: hard prompts13841415GPT-5
LMArena Text: expert13641419GPT-5
LMArena Text: hard prompts in English13931419GPT-5
LMArena Vision: diagrams12151252GPT-5
LMArena Vision: homework12481278GPT-5
Neither model has a result on the other 4 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index010
Math benchmarks for GPT-4.1 and GPT-5
BenchmarkGPT-4.1GPT-5Leader
AIME39.6%93.4%GPT-5
MATH 500 (Vals AI)87.2%96.0%GPT-5
MGSM (Vals AI)87.7%92.8%GPT-5
AA Math Index34.794.3GPT-5
AIME 2025 (Artificial Analysis run)34.7%94.3%GPT-5
OTIS Mock AIME38.3%91.4%GPT-5
FrontierMath, tiers 1 to 36.0%55.4%GPT-5
FrontierMath, tier 4Not measured22.0%Only GPT-5 measured
ProofBenchNot measured18.0%Only GPT-5 measured
MATH level 583.0%98.1%GPT-5
LMArena Text: math13691407GPT-5
LMArena Text: mathematical work13601405GPT-5
Neither model has a result on the other 1 board here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index410
Knowledge benchmarks for GPT-4.1 and GPT-5
BenchmarkGPT-4.1GPT-5Leader
MMLU Pro80.5%86.5%GPT-5
LegalBench (Vals AI)83.1%86.0%GPT-5
CaseLaw (Vals AI)69.9%66.5%GPT-4.1
CorpFin (Vals AI)63.0%61.1%GPT-4.1
TaxEval (Vals AI)75.1%73.4%GPT-4.1
MortgageTax (Vals AI)65.9%65.5%GPT-4.1
MedQA (Vals AI)91.2%96.3%GPT-5
MedCode (Vals AI)Not measured49.6%Only GPT-5 measured
MMLU Pro (Artificial Analysis run)80.6%87.1%GPT-5
SimpleQA Verified31.1%50.1%GPT-5
GeoBench72.0%81.0%GPT-5
LMArena Text: science13821416GPT-5
LMArena Text: medicine and healthcare13791413GPT-5
LMArena Text: legal and government13991431GPT-5
LMArena Text: business and finance13691400GPT-5
Neither model has a result on the other 2 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index06
Web design benchmarks for GPT-4.1 and GPT-5
BenchmarkGPT-4.1GPT-5Leader
Design Arena: websites10391185GPT-5
Design Arena: UI components10001179GPT-5
Design Arena: game dev10801185GPT-5
Design Arena: data viz11041221GPT-5
Design Arena: 3D8501056GPT-5
Design Arena: all code categories10261168GPT-5
Design Arena: SVGNot measured1188Only GPT-5 measured
Design Arena: ASCII artNot measured1140Only GPT-5 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index030
General benchmarks for GPT-4.1 and GPT-5
BenchmarkGPT-4.1GPT-5Leader
SAGE (Vals AI)Not measured43.7%Only GPT-5 measured
MedScribe (Vals AI)Not measured83.7%Only GPT-5 measured
IFBench43.0%73.1%GPT-5
Long context reasoning (AA-LCR)68.3%78.2%GPT-5
DTBench68.3%90.7%GPT-5
LMCA25.6%40.0%GPT-5
Fiction.LiveBench63.9%97.2%GPT-5
Creative writing (Lech Mazur)Not measured86.0%Only GPT-5 measured
LMArena Text13831406GPT-5
LMArena Text: instruction following13671388GPT-5
LMArena Text: creative writing13631365GPT-5
LMArena Vision12101232GPT-5
LMArena Text: English13921409GPT-5
LMArena Text: non-English13701397GPT-5
LMArena Text: Chinese13821422GPT-5
LMArena Text: German13811416GPT-5
LMArena Text: Japanese13191409GPT-5
LMArena Text: Korean13381360GPT-5
LMArena Text: French13821409GPT-5
LMArena Text: Spanish13761399GPT-5
LMArena Text: Russian13771407GPT-5
LMArena Text: Polish13891431GPT-5
LMArena Text: multi-turn13971426GPT-5
LMArena Text: longer queries13851399GPT-5
LMArena Text: writing and language13711384GPT-5
LMArena Text: entertainment and media13651379GPT-5
LMArena Vision: English12091231GPT-5
LMArena Vision: Chinese12261267GPT-5
LMArena Vision: reading text12181246GPT-5
LMArena Vision: humor11961219GPT-5
LMArena Vision: captioning12071212GPT-5
LMArena Vision: recognizing things12081263GPT-5
LMArena Vision: creative writing12101210GPT-5
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 GPT-4.1 and GPT-5
BenchmarkGPT-4.1GPT-5Leader
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

GPT-4.1$0.0060Fits in one request
GPT-5$0.0063Fits in one request

GPT-4.1 costs less

Repository review

50K input + 3K output tokens

GPT-4.1$0.124Fits in one request
GPT-5$0.092Fits in one request

GPT-5 costs less

Agent loop

200K input + 10K output tokens

GPT-4.1$0.480Fits in one request
GPT-5$0.350Fits in one request

GPT-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 GPT-4.1 and GPT-5
SpecificationOpenAI GPT-4.1OpenAI GPT-5
MakerOpenAIOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedApril 14, 2025August 7, 2025
Context window1.05M400K
Input $/Mtok$2.00$1.25
Output $/Mtok$8.00$10.00
Coding index46.572.2
Independent measurements behind it23
Cost per solved task$0.37$0.39
SourceOpenRouter listingOpenRouter listing

Questions

Is GPT-4.1 better than GPT-5 for coding?

Pick GPT-5 for coding: it scores 72.2 on the Vibe Coding Index against 46.5 for GPT-4.1. Pick GPT-4.1 when output tokens cost 1.3x less, or when a solved task costs $0.37 against $0.39.

Which is cheaper, GPT-4.1 or GPT-5?

GPT-4.1 costs $2.00 per million input tokens and $8.00 per million output tokens; GPT-5 costs $1.25 and $10.00. Per solved SWE-bench Verified task, GPT-4.1 costs $0.37 and GPT-5 $0.39.

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

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

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

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