Enter opens the highlighted result. Esc closes.

GPT-4.1 vs GPT-5.4

GPT-5.4 leads GPT-4.1 on the Artificial Analysis Intelligence Index, 39.0 to 12.7, and GPT-4.1 costs 1.9x less per output token ($8.00 vs $15.00 per million). Updated October 22, 2026; 74 benchmarks have a result for both.

GPT-4.1OpenAI
Coding
No data
Overall
36.5
Output $/M
$8.00
2
GPT-5.4OpenAI
Coding
64.4
Overall
69.6
Output $/M
$15.00
72
vs boards won of 74 shared

GPT-4.1 or GPT-5.4: which to pick

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

Pick GPT-4.1 for output tokens 1.9x cheaper ($8.00 vs $15.00 per million) and a lower cost per solved task ($0.37 against $1.02).

Shared results
74
GPT-4.1 only
18
GPT-5.4 only
36
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
GPT-4.1 not benchmarked, GPT-5.4 64.4 from 3 benchmarks.
Widest category
Math, 46.3 points apart on average over 5 shared benchmarks.
Widest single gap
ARC-AGI: GPT-4.1 5.5% against GPT-5.4 93.7%, 88.2 points apart on a 0 to 100 scale.
Output price
GPT-4.1 $8.00 against GPT-5.4 $15.00 per million output tokens, 1.9x apart.
Context window
GPT-4.1 takes 1.05M tokens, GPT-5.4 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
CategoryGPT-4.1BarsGPT-5.4Ties
Coding06
Intelligence02
Agentic work01
Reasoning014
Math05
Knowledge210
Web design06
General028
All shared boards272
CodingLike-for-likeSix of these boards feed the Vibe Coding Index06
Coding benchmarks for GPT-4.1 and GPT-5.4
BenchmarkGPT-4.1GPT-5.4Leader
Aider polyglot52.4%Not measuredOnly GPT-4.1 measured
SWE-bench Verified39.6%Not measuredOnly GPT-4.1 measured
SWE-bench Multimodal31.1%Not measuredOnly GPT-4.1 measured
LMArena WebDevNot measured1464Only GPT-5.4 measured
AA Coding IndexNot measured71.1Only GPT-5.4 measured
LiveCodeBench (Vals AI)54.7%84.1%GPT-5.4
SWE-bench Verified (Vals AI)Not measured78.2%Only GPT-5.4 measured
Vibe Code Bench (Vals AI)Not measured67.4%Only GPT-5.4 measured
Code migration (Vals AI)Not measured35.0%Only GPT-5.4 measured
ProgramBench (Vals AI)Not measured0.5%Only GPT-5.4 measured
SkillsBench (Vals AI)Not measured51.7%Only GPT-5.4 measured
LiveCodeBench (Artificial Analysis run)45.7%Not measuredOnly GPT-4.1 measured
Terminal-Bench Hard (Artificial Analysis run)13.6%57.6%GPT-5.4
Terminal-BenchNot measured81.8%Only GPT-5.4 measured
GSO-BenchNot measured31.4%Only GPT-5.4 measured
WeirdML39.0%77.7%GPT-5.4
MirrorCodeNot measured15.6%Only GPT-5.4 measured
ALE-Bench558.11607.0GPT-5.4
LMArena Text: coding13901496GPT-5.4
LMArena Text: software and IT13911491GPT-5.4
LMArena WebDev: ReactNot measured1454Only GPT-5.4 measured
LMArena WebDev: HTMLNot measured1478Only GPT-5.4 measured
LMArena WebDev: from an imageNot measured1436Only GPT-5.4 measured
SciCode4.6%Not measuredOnly GPT-4.1 measured
Neither model has a result on the other 15 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for GPT-4.1 and GPT-5.4
BenchmarkGPT-4.1GPT-5.4Leader
AA Intelligence Index12.739.0GPT-5.4
Epoch Capabilities Index136.7157.3GPT-5.4
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for GPT-4.1 and GPT-5.4
BenchmarkGPT-4.1GPT-5.4Leader
Design Arena: agents building web appsNot measured1059Only GPT-5.4 measured
Design Arena: agents building full-stack appsNot measured1017Only GPT-5.4 measured
Design Arena: agents building mobile appsNot measured1087Only GPT-5.4 measured
Design Arena: agents building Android appsNot measured1031Only GPT-5.4 measured
Design Arena: agents building Godot gamesNot measured1135Only GPT-5.4 measured
τ²-Bench Telecom47.1%87.1%GPT-5.4
APEX-AgentsNot measured52.4%Only GPT-5.4 measured
METR time horizonsNot measured74.3%Only GPT-5.4 measured
DeepResearch BenchNot measured35.1%Only GPT-5.4 measured
PostTrainBenchNot measured19.0%Only GPT-5.4 measured
Vending-Bench 2Not measured$6,144Only GPT-5.4 measured
Berkeley Function Calling Leaderboard (BFCL)54.0%Not measuredOnly GPT-4.1 measured
BrowseComp-Plus36.4%Not measuredOnly GPT-4.1 measured
Neither model has a result on the other 28 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index014
Reasoning benchmarks for GPT-4.1 and GPT-5.4
BenchmarkGPT-4.1GPT-5.4Leader
GPQA Diamond65.4%91.7%GPT-5.4
MMMU Pro (Vals AI)72.4%87.5%GPT-5.4
GPQA Diamond (Artificial Analysis run)66.6%92.0%GPT-5.4
Humanity's Last Exam (Artificial Analysis run)4.2%43.7%GPT-5.4
GPQA Diamond (Epoch AI run)66.9%93.3%GPT-5.4
ARC-AGI5.5%93.7%GPT-5.4
ARC-AGI-20.4%74.0%GPT-5.4
SimpleBench27.0%Not measuredOnly GPT-4.1 measured
Chess puzzles3.0%48.0%GPT-5.4
Mystery game puzzlesNot measured37.0%Only GPT-5.4 measured
EBR-benchNot measured25.4%Only GPT-5.4 measured
LMArena Text: hard prompts13841485GPT-5.4
LMArena Text: expert13641507GPT-5.4
LMArena Text: hard prompts in English13931479GPT-5.4
LMArena Vision: diagrams12151327GPT-5.4
LMArena Vision: homework12481336GPT-5.4
Kagi LLM Benchmark52.3%63.8%GPT-5.4
Neither model has a result on the other 5 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index05
Math benchmarks for GPT-4.1 and GPT-5.4
BenchmarkGPT-4.1GPT-5.4Leader
AIME39.6%96.7%GPT-5.4
MATH 500 (Vals AI)87.2%Not measuredOnly GPT-4.1 measured
MGSM (Vals AI)87.7%Not measuredOnly GPT-4.1 measured
AA Math Index34.7Not measuredOnly GPT-4.1 measured
AIME 2025 (Artificial Analysis run)34.7%Not measuredOnly GPT-4.1 measured
OTIS Mock AIME38.3%97.8%GPT-5.4
FrontierMath, tiers 1 to 36.0%78.6%GPT-5.4
FrontierMath, tier 4Not measured49.0%Only GPT-5.4 measured
ProofBenchNot measured56.0%Only GPT-5.4 measured
MATH level 583.0%Not measuredOnly GPT-4.1 measured
LMArena Text: math13691488GPT-5.4
LMArena Text: mathematical work13601497GPT-5.4
Neither model has a result on the other 1 board here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index210
Knowledge benchmarks for GPT-4.1 and GPT-5.4
BenchmarkGPT-4.1GPT-5.4Leader
MMLU Pro80.5%87.5%GPT-5.4
LegalBench (Vals AI)83.1%86.0%GPT-5.4
CaseLaw (Vals AI)69.9%63.8%GPT-4.1
CorpFin (Vals AI)63.0%65.3%GPT-5.4
TaxEval (Vals AI)75.1%74.0%GPT-4.1
MortgageTax (Vals AI)65.9%68.3%GPT-5.4
MedQA (Vals AI)91.2%96.1%GPT-5.4
MedCode (Vals AI)Not measured41.3%Only GPT-5.4 measured
MMLU Pro (Artificial Analysis run)80.6%Not measuredOnly GPT-4.1 measured
SimpleQA Verified31.1%45.1%GPT-5.4
GeoBench72.0%Not measuredOnly GPT-4.1 measured
LMArena Text: science13821479GPT-5.4
LMArena Text: medicine and healthcare13791458GPT-5.4
LMArena Text: legal and government13991486GPT-5.4
LMArena Text: business and finance13691474GPT-5.4
FACTS Benchmark Suite45.8%Not measuredOnly GPT-4.1 measured
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.4
BenchmarkGPT-4.1GPT-5.4Leader
Design Arena: websites10381198GPT-5.4
Design Arena: UI components9971212GPT-5.4
Design Arena: game dev10791194GPT-5.4
Design Arena: data viz11041196GPT-5.4
Design Arena: 3D8491065GPT-5.4
Design Arena: all code categories10251179GPT-5.4
Design Arena: SVGNot measured1141Only GPT-5.4 measured
Design Arena: ASCII artNot measured1188Only GPT-5.4 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index028
General benchmarks for GPT-4.1 and GPT-5.4
BenchmarkGPT-4.1GPT-5.4Leader
SAGE (Vals AI)Not measured43.3%Only GPT-5.4 measured
MedScribe (Vals AI)Not measured77.5%Only GPT-5.4 measured
IFBench43.0%73.9%GPT-5.4
Long context reasoning (AA-LCR)68.3%82.0%GPT-5.4
DTBench68.3%94.4%GPT-5.4
LMCA25.6%52.0%GPT-5.4
Fiction.LiveBench63.9%Not measuredOnly GPT-4.1 measured
CL-benchNot measured27.9%Only GPT-5.4 measured
Furniture assemblyNot measured37.5%Only GPT-5.4 measured
CL-bench LifeNot measured21.7%Only GPT-5.4 measured
LMArena Text13831469GPT-5.4
LMArena Text: instruction following13671469GPT-5.4
LMArena Text: creative writing13631439GPT-5.4
LMArena Vision12101303GPT-5.4
LMArena Text: English13921467GPT-5.4
LMArena Text: non-English13701465GPT-5.4
LMArena Text: Chinese13821520GPT-5.4
LMArena Text: German13811472GPT-5.4
LMArena Text: Japanese13191485GPT-5.4
LMArena Text: Korean13381449GPT-5.4
LMArena Text: French13821493GPT-5.4
LMArena Text: Spanish13761452GPT-5.4
LMArena Text: Russian13771480GPT-5.4
LMArena Text: Polish13891472GPT-5.4
LMArena Text: multi-turn13971482GPT-5.4
LMArena Text: longer queries13851473GPT-5.4
LMArena Text: writing and language13711458GPT-5.4
LMArena Text: entertainment and media13651438GPT-5.4
LMArena Vision: English12091301GPT-5.4
LMArena Vision: Chinese12261354GPT-5.4
LMArena Vision: reading text12181312GPT-5.4
LMArena Vision: humor11961284GPT-5.4
LMArena Vision: captioning1207Not measuredOnly GPT-4.1 measured
LMArena Vision: recognizing things12081251GPT-5.4
LMArena Vision: creative writing12101283GPT-5.4
LMArena DocumentNot measured1471Only GPT-5.4 measured
Neither model has a result on the other 10 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.4
BenchmarkGPT-4.1GPT-5.4Leader
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.4$0.010Fits 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.4$0.170Fits in one request

GPT-4.1 costs less

Agent loop

200K input + 10K output tokens

GPT-4.1$0.480Fits in one request
GPT-5.4$0.650Fits in one request

GPT-4.1 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.4
SpecificationOpenAI GPT-4.1OpenAI GPT-5.4
MakerOpenAIOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedApril 14, 2025March 5, 2026
Context window1.05M1.05M
Input $/Mtok$2.00$2.50
Output $/Mtok$8.00$15.00
Coding indexNot benchmarked64.4
Independent measurements behind it03
Cost per solved task$0.37$1.02
SourceOpenRouter listingOpenRouter listing

Questions

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

Only GPT-5.4 has a coding score, 64.4 on the Vibe Coding Index; GPT-4.1 has none, so the two cannot be ranked on coding. Pick GPT-4.1 for output tokens 1.9x cheaper ($8.00 vs $15.00 per million) and a lower cost per solved task ($0.37 against $1.02).

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

GPT-4.1 costs $2.00 per million input tokens and $8.00 per million output tokens; GPT-5.4 costs $2.50 and $15.00. Per solved SWE-bench Verified task, GPT-4.1 costs $0.37 and GPT-5.4 $1.02.

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

GPT-5.4, with 1.05M tokens against 1.05M.

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

74 benchmarks have a result for both models as of October 22, 2026. GPT-4.1's coding index rests on 0 independent benchmarks and GPT-5.4's on 3. Where only one model has a result, the page says so instead of naming a winner.

Compare next