Enter opens the highlighted result. Esc closes.

GPT-4 vs GPT-5.4 Nano

GPT-5.4 Nano leads GPT-4 on the Artificial Analysis Intelligence Index, 20.7 to 6.7, and GPT-5.4 Nano costs 48.0x less per output token ($1.25 vs $60.00 per million). Updated October 21, 2026; 35 benchmarks have a result for both.

GPT-4OpenAI
Coding
No data
Overall
No data
Output $/M
$60.00
0
GPT-5.4 NanoOpenAI
Coding
44.8
Overall
45.7
Output $/M
$1.25
35
vs boards won of 35 shared

GPT-4 or GPT-5.4 Nano: which to pick

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

Compare them on price, context and the boards below.

Shared results
35
GPT-4 only
10
GPT-5.4 Nano only
50
Like-for-like categories
6 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 not benchmarked, GPT-5.4 Nano 44.8 from 2 benchmarks.
Widest category
Reasoning, 37.0 points apart on average over 4 shared benchmarks.
Widest single gap
GPQA Diamond (Artificial Analysis run): GPT-4 34.9% against GPT-5.4 Nano 81.7%, 46.8 points apart on a 0 to 100 scale.
Output price
GPT-4 $60.00 against GPT-5.4 Nano $1.25 per million output tokens, 48.0x apart.
Context window
GPT-4 takes 8K tokens, GPT-5.4 Nano 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-4BarsGPT-5.4 NanoTies
Coding03
Intelligence02
Reasoning04
Math02
Knowledge04
General020
All shared boards035
CodingLike-for-likeSix of these boards feed the Vibe Coding Index03
Coding benchmarks for GPT-4 and GPT-5.4 Nano
BenchmarkGPT-4GPT-5.4 NanoLeader
SWE-bench Verified22.4%Not measuredOnly GPT-4 measured
SWE-bench Lite39.7%Not measuredOnly GPT-4 measured
SWE-bench (full test set)12.5%Not measuredOnly GPT-4 measured
AA Coding Index13.156.1GPT-5.4 Nano
LiveCodeBench (Vals AI)Not measured84.0%Only GPT-5.4 Nano measured
SWE-bench Verified (Vals AI)Not measured69.8%Only GPT-5.4 Nano measured
Vibe Code Bench (Vals AI)Not measured26.1%Only GPT-5.4 Nano measured
Code migration (Vals AI)Not measured14.5%Only GPT-5.4 Nano measured
Terminal-Bench 2.1 (Vals AI)Not measured41.6%Only GPT-5.4 Nano measured
SciCodeNot measured47.2%Only GPT-5.4 Nano measured
Terminal-Bench Hard (Artificial Analysis run)Not measured42.4%Only GPT-5.4 Nano measured
WeirdMLNot measured49.2%Only GPT-5.4 Nano measured
ALE-BenchNot measured1004.5Only GPT-5.4 Nano measured
LMArena Text: coding12091404GPT-5.4 Nano
LMArena Text: software and IT11951402GPT-5.4 Nano
Neither model has a result on the other 24 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for GPT-4 and GPT-5.4 Nano
BenchmarkGPT-4GPT-5.4 NanoLeader
AA Intelligence Index6.720.7GPT-5.4 Nano
Epoch Capabilities Index125.7146.0GPT-5.4 Nano
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index6 boards, none shared
Agentic work benchmarks for GPT-4 and GPT-5.4 Nano
BenchmarkGPT-4GPT-5.4 NanoLeader
AA Agentic IndexNot measured16.0Only GPT-5.4 Nano measured
Finance Agent (Vals AI)Not measured38.2%Only GPT-5.4 Nano measured
Tax Agent Bench (Vals AI)Not measured5.0%Only GPT-5.4 Nano measured
Legal Research Bench (Vals AI)Not measured6.3%Only GPT-5.4 Nano measured
Excel Modeling Benchmark (Vals AI)Not measured44.8%Only GPT-5.4 Nano measured
τ²-Bench TelecomNot measured76.0%Only GPT-5.4 Nano measured
Neither model has a result on the other 35 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index04
Reasoning benchmarks for GPT-4 and GPT-5.4 Nano
BenchmarkGPT-4GPT-5.4 NanoLeader
GPQA DiamondNot measured77.5%Only GPT-5.4 Nano measured
MMMU Pro (Vals AI)Not measured73.6%Only GPT-5.4 Nano measured
GPQA Diamond (Artificial Analysis run)34.9%81.7%GPT-5.4 Nano
Humanity's Last Exam (Artificial Analysis run)Not measured28.3%Only GPT-5.4 Nano measured
GPQA Diamond (Epoch AI run)Not measured78.5%Only GPT-5.4 Nano measured
ARC-AGINot measured51.5%Only GPT-5.4 Nano measured
ARC-AGI-2Not measured5.7%Only GPT-5.4 Nano measured
Chess puzzlesNot measured45.0%Only GPT-5.4 Nano measured
Mystery game puzzlesNot measured9.0%Only GPT-5.4 Nano measured
BIG-Bench Hard75.1%Not measuredOnly GPT-4 measured
LMArena Text: hard prompts12001381GPT-5.4 Nano
LMArena Text: expert11491396GPT-5.4 Nano
LMArena Text: hard prompts in English12091387GPT-5.4 Nano
LMArena Vision: diagramsNot measured1210Only GPT-5.4 Nano measured
LMArena Vision: homeworkNot measured1225Only GPT-5.4 Nano measured
Kagi LLM BenchmarkNot measured39.7%Only GPT-5.4 Nano measured
Neither model has a result on the other 6 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index02
Math benchmarks for GPT-4 and GPT-5.4 Nano
BenchmarkGPT-4GPT-5.4 NanoLeader
AIMENot measured88.8%Only GPT-5.4 Nano measured
OTIS Mock AIMENot measured87.8%Only GPT-5.4 Nano measured
FrontierMath, tiers 1 to 3Not measured44.9%Only GPT-5.4 Nano measured
FrontierMath, tier 4Not measured12.2%Only GPT-5.4 Nano measured
ProofBenchNot measured5.0%Only GPT-5.4 Nano measured
GSM8K92.0%Not measuredOnly GPT-4 measured
LMArena Text: math12301405GPT-5.4 Nano
LMArena Text: mathematical work12281409GPT-5.4 Nano
Neither model has a result on the other 5 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index04
Knowledge benchmarks for GPT-4 and GPT-5.4 Nano
BenchmarkGPT-4GPT-5.4 NanoLeader
MMLU ProNot measured77.2%Only GPT-5.4 Nano measured
LegalBench (Vals AI)Not measured77.9%Only GPT-5.4 Nano measured
CaseLaw (Vals AI)Not measured51.9%Only GPT-5.4 Nano measured
CorpFin (Vals AI)Not measured61.2%Only GPT-5.4 Nano measured
TaxEval (Vals AI)Not measured67.4%Only GPT-5.4 Nano measured
MortgageTax (Vals AI)Not measured59.1%Only GPT-5.4 Nano measured
MedCode (Vals AI)Not measured41.0%Only GPT-5.4 Nano measured
MMLU Pro (Artificial Analysis run)56.2%Not measuredOnly GPT-4 measured
SimpleQA VerifiedNot measured11.7%Only GPT-5.4 Nano measured
MMLU86.4%Not measuredOnly GPT-4 measured
AI2 Reasoning Challenge96.3%Not measuredOnly GPT-4 measured
LMArena Text: science11771374GPT-5.4 Nano
LMArena Text: medicine and healthcare11451369GPT-5.4 Nano
LMArena Text: legal and government11911368GPT-5.4 Nano
LMArena Text: business and finance11451366GPT-5.4 Nano
Neither model has a result on the other 3 boards here
Web designNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Web design benchmarks for GPT-4 and GPT-5.4 Nano
BenchmarkGPT-4GPT-5.4 NanoLeader
Neither model has a result on 9 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index020
General benchmarks for GPT-4 and GPT-5.4 Nano
BenchmarkGPT-4GPT-5.4 NanoLeader
SAGE (Vals AI)Not measured38.1%Only GPT-5.4 Nano measured
MedScribe (Vals AI)Not measured77.1%Only GPT-5.4 Nano measured
Vals Multimodal IndexNot measured47.6%Only GPT-5.4 Nano measured
IFBench33.2%75.9%GPT-5.4 Nano
Long context reasoning (AA-LCR)Not measured76.7%Only GPT-5.4 Nano measured
DTBench62.7%80.3%GPT-5.4 Nano
LMCA17.1%36.9%GPT-5.4 Nano
HellaSwag95.3%Not measuredOnly GPT-4 measured
WinoGrande87.5%Not measuredOnly GPT-4 measured
LMArena Text12061372GPT-5.4 Nano
LMArena Text: instruction following12011362GPT-5.4 Nano
LMArena Text: creative writing11911315GPT-5.4 Nano
LMArena VisionNot measured1196Only GPT-5.4 Nano measured
LMArena Text: English12201381GPT-5.4 Nano
LMArena Text: non-English11941359GPT-5.4 Nano
LMArena Text: Chinese11841391GPT-5.4 Nano
LMArena Text: German11981368GPT-5.4 Nano
LMArena Text: Japanese11371343GPT-5.4 Nano
LMArena Text: Korean10871321GPT-5.4 Nano
LMArena Text: French12201395GPT-5.4 Nano
LMArena Text: Spanish11971371GPT-5.4 Nano
LMArena Text: Russian11951363GPT-5.4 Nano
LMArena Text: Polish12651366GPT-5.4 Nano
LMArena Text: multi-turn12061382GPT-5.4 Nano
LMArena Text: longer queries11901365GPT-5.4 Nano
LMArena Text: writing and language12191338GPT-5.4 Nano
LMArena Text: entertainment and media11841325GPT-5.4 Nano
LMArena Vision: EnglishNot measured1202Only GPT-5.4 Nano measured
LMArena Vision: ChineseNot measured1232Only GPT-5.4 Nano measured
LMArena Vision: reading textNot measured1204Only GPT-5.4 Nano measured
LMArena Vision: humorNot measured1161Only GPT-5.4 Nano measured
LMArena Vision: recognizing thingsNot measured1141Only GPT-5.4 Nano measured
LMArena Vision: creative writingNot measured1159Only GPT-5.4 Nano measured
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 and GPT-5.4 Nano
BenchmarkGPT-4GPT-5.4 NanoLeader
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$0.060Fits in one request
GPT-5.4 Nano$0.0008Fits in one request

GPT-5.4 Nano costs less

Repository review

50K input + 3K output tokens

GPT-4$1.68Exceeds the context window
GPT-5.4 Nano$0.014Fits in one request

GPT-5.4 Nano costs less

Agent loop

200K input + 10K output tokens

GPT-4$6.60Exceeds the context window
GPT-5.4 Nano$0.052Fits in one request

GPT-5.4 Nano 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 and GPT-5.4 Nano
SpecificationOpenAI GPT-4OpenAI GPT-5.4 Nano
MakerOpenAIOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedMay 28, 2023March 17, 2026
Context window8K400K
Input $/Mtok$30.00$0.20
Output $/Mtok$60.00$1.25
Coding indexNot benchmarked44.8
Independent measurements behind it02
Cost per solved taskNot computable$0.14
SourceOpenRouter listingOpenRouter listing

Questions

Is GPT-4 better than GPT-5.4 Nano for coding?

Only GPT-5.4 Nano has a coding score, 44.8 on the Vibe Coding Index; GPT-4 has none, so the two cannot be ranked on coding. Compare them on price, context and the boards below.

Which is cheaper, GPT-4 or GPT-5.4 Nano?

GPT-4 costs $30.00 per million input tokens and $60.00 per million output tokens; GPT-5.4 Nano costs $0.20 and $1.25. Cost per solved task is known for GPT-5.4 Nano only.

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

GPT-5.4 Nano, with 400K tokens against 8K.

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

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

Compare next