LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

GPT-4o vs GPT-5 Nano

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

GPT-4oOpenAI
Coding
38.8
Overall
No data
Output $/M
$10.00
4
GPT-5 NanoOpenAI
Coding
34.8
Overall
13.0
Output $/M
$0.40
17
vs boards won of 21 shared

Decision reading

Pick GPT-4o for coding: it scores 38.8 on the Vibe Coding Index against 34.8 for GPT-5 Nano.

Pick GPT-5 Nano when output tokens cost 25.0x less, or when the context window is larger, 400K against 128K tokens.

Shared results
21
GPT-4o only
5
GPT-5 Nano only
64
Like-for-like categories
7 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-4o 38.8 from 1 benchmark, GPT-5 Nano 34.8 from 1 benchmark.
Widest category
Math, 77.7 points apart on average over 2 shared benchmarks.
Widest single gap
AA Math Index: GPT-4o 6.0 against GPT-5 Nano 83.7, 77.7 points apart on a 0 to 100 scale.
Output price
GPT-4o $10.00 against GPT-5 Nano $0.40 per million output tokens, 25.0x apart.
Context window
GPT-4o takes 128K tokens, GPT-5 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-4oBarsGPT-5 NanoTies
Coding12
Agentic work01
Reasoning04
Math02
Knowledge01
Web design06
General31
All shared boards417
CodingLike-for-likeFour of these boards feed the Vibe Coding Index12
Coding benchmarks for GPT-4o and GPT-5 Nano
BenchmarkGPT-4oGPT-5 NanoLeader
SWE-bench Verified38.8%34.8%GPT-4o
SWE-bench Lite38.0%Not measuredOnly GPT-4o measured
SWE-bench (full test set)18.8%Not measuredOnly GPT-4o measured
SWE-bench Multimodal30.4%Not measuredOnly GPT-4o measured
LiveCodeBench (Vals AI)Not measured70.2%Only GPT-5 Nano measured
LiveCodeBench (Artificial Analysis run)30.9%78.9%GPT-5 Nano
Terminal-Bench Hard (Artificial Analysis run)8.3%17.4%GPT-5 Nano
Terminal-BenchNot measured21.8%Only GPT-5 Nano measured
WeirdMLNot measured38.1%Only GPT-5 Nano measured
LMArena Text: codingNot measured1351Only GPT-5 Nano measured
LMArena Text: software and ITNot measured1345Only GPT-5 Nano measured
Neither model has a result on the other 27 boards here
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
Intelligence benchmarks for GPT-4o and GPT-5 Nano
BenchmarkGPT-4oGPT-5 NanoLeader
AA Intelligence IndexNot measured13.0Only GPT-5 Nano measured
Epoch Capabilities IndexNot measured139.2Only GPT-5 Nano measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for GPT-4o and GPT-5 Nano
BenchmarkGPT-4oGPT-5 NanoLeader
τ²-Bench Telecom25.1%36.5%GPT-5 Nano
GDPval9.9%Not measuredOnly GPT-4o measured
Neither model has a result on the other 37 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index04
Reasoning benchmarks for GPT-4o and GPT-5 Nano
BenchmarkGPT-4oGPT-5 NanoLeader
GPQA DiamondNot measured63.4%Only GPT-5 Nano measured
MMMU Pro (Vals AI)Not measured70.9%Only GPT-5 Nano measured
GPQA Diamond (Artificial Analysis run)54.3%67.6%GPT-5 Nano
Humanity's Last Exam (Artificial Analysis run)2.4%9.5%GPT-5 Nano
GPQA Diamond (Epoch AI run)Not measured69.4%Only GPT-5 Nano measured
ARC-AGI4.5%20.7%GPT-5 Nano
ARC-AGI-20.0%2.6%GPT-5 Nano
Chess puzzlesNot measured22.0%Only GPT-5 Nano measured
Mystery game puzzlesNot measured9.0%Only GPT-5 Nano measured
VPCTNot measured37.2%Only GPT-5 Nano measured
LMArena Text: hard promptsNot measured1328Only GPT-5 Nano measured
LMArena Text: expertNot measured1321Only GPT-5 Nano measured
LMArena Text: hard prompts in EnglishNot measured1338Only GPT-5 Nano measured
LMArena Vision: diagramsNot measured1141Only GPT-5 Nano measured
LMArena Vision: homeworkNot measured1157Only GPT-5 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-4o and GPT-5 Nano
BenchmarkGPT-4oGPT-5 NanoLeader
AIMENot measured81.2%Only GPT-5 Nano measured
MATH 500 (Vals AI)Not measured93.8%Only GPT-5 Nano measured
MGSM (Vals AI)Not measured89.3%Only GPT-5 Nano measured
AA Math Index6.083.7GPT-5 Nano
AIME 2025 (Artificial Analysis run)6.0%83.7%GPT-5 Nano
OTIS Mock AIMENot measured81.1%Only GPT-5 Nano measured
FrontierMath, tiers 1 to 3Not measured20.0%Only GPT-5 Nano measured
FrontierMath, tier 4Not measured2.4%Only GPT-5 Nano measured
ProofBenchNot measured12.0%Only GPT-5 Nano measured
MATH level 5Not measured95.2%Only GPT-5 Nano measured
LMArena Text: mathNot measured1317Only GPT-5 Nano measured
LMArena Text: mathematical workNot measured1326Only GPT-5 Nano measured
Neither model has a result on the other 1 board here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index01
Knowledge benchmarks for GPT-4o and GPT-5 Nano
BenchmarkGPT-4oGPT-5 NanoLeader
MMLU ProNot measured76.1%Only GPT-5 Nano measured
LegalBench (Vals AI)Not measured50.1%Only GPT-5 Nano measured
CaseLaw (Vals AI)Not measured52.6%Only GPT-5 Nano measured
TaxEval (Vals AI)Not measured67.4%Only GPT-5 Nano measured
MortgageTax (Vals AI)Not measured53.6%Only GPT-5 Nano measured
MedQA (Vals AI)Not measured93.3%Only GPT-5 Nano measured
MedCode (Vals AI)Not measured30.4%Only GPT-5 Nano measured
MMLU Pro (Artificial Analysis run)74.8%78.0%GPT-5 Nano
SimpleQA VerifiedNot measured11.7%Only GPT-5 Nano measured
MMLU88.1%Not measuredOnly GPT-4o measured
LMArena Text: scienceNot measured1318Only GPT-5 Nano measured
LMArena Text: medicine and healthcareNot measured1335Only GPT-5 Nano measured
LMArena Text: legal and governmentNot measured1298Only GPT-5 Nano measured
LMArena Text: business and financeNot measured1311Only GPT-5 Nano measured
Neither model has a result on the other 3 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index06
Web design benchmarks for GPT-4o and GPT-5 Nano
BenchmarkGPT-4oGPT-5 NanoLeader
Design Arena: websites8311101GPT-5 Nano
Design Arena: UI components8851066GPT-5 Nano
Design Arena: game dev9061045GPT-5 Nano
Design Arena: data viz8581056GPT-5 Nano
Design Arena: 3D869966GPT-5 Nano
Design Arena: all code categories8611084GPT-5 Nano
Neither model has a result on the other 3 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index31
General benchmarks for GPT-4o and GPT-5 Nano
BenchmarkGPT-4oGPT-5 NanoLeader
SAGE (Vals AI)Not measured30.4%Only GPT-5 Nano measured
MedScribe (Vals AI)Not measured72.9%Only GPT-5 Nano measured
IFBench34.3%67.6%GPT-5 Nano
Long context reasoning (AA-LCR)49.3%45.0%GPT-4o
DTBench64.5%62.7%GPT-4o
LMCA16.6%7.9%GPT-4o
Fiction.LiveBenchNot measured44.4%Only GPT-5 Nano measured
LMArena TextNot measured1320Only GPT-5 Nano measured
LMArena Text: instruction followingNot measured1306Only GPT-5 Nano measured
LMArena Text: creative writingNot measured1249Only GPT-5 Nano measured
LMArena VisionNot measured1159Only GPT-5 Nano measured
LMArena Text: EnglishNot measured1321Only GPT-5 Nano measured
LMArena Text: non-EnglishNot measured1313Only GPT-5 Nano measured
LMArena Text: ChineseNot measured1356Only GPT-5 Nano measured
LMArena Text: GermanNot measured1327Only GPT-5 Nano measured
LMArena Text: JapaneseNot measured1227Only GPT-5 Nano measured
LMArena Text: KoreanNot measured1269Only GPT-5 Nano measured
LMArena Text: SpanishNot measured1360Only GPT-5 Nano measured
LMArena Text: RussianNot measured1296Only GPT-5 Nano measured
LMArena Text: PolishNot measured1314Only GPT-5 Nano measured
LMArena Text: multi-turnNot measured1311Only GPT-5 Nano measured
LMArena Text: longer queriesNot measured1312Only GPT-5 Nano measured
LMArena Text: writing and languageNot measured1283Only GPT-5 Nano measured
LMArena Text: entertainment and mediaNot measured1268Only GPT-5 Nano measured
LMArena Vision: EnglishNot measured1170Only GPT-5 Nano measured
LMArena Vision: ChineseNot measured1176Only GPT-5 Nano measured
LMArena Vision: reading textNot measured1152Only GPT-5 Nano measured
LMArena Vision: humorNot measured1110Only GPT-5 Nano measured
Neither model has a result on the other 18 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GPT-4o and GPT-5 Nano
BenchmarkGPT-4oGPT-5 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-4o$0.0075Fits in one request
GPT-5 Nano$0.0003Fits in one request

GPT-5 Nano costs less

Repository review

50K input + 3K output tokens

GPT-4o$0.155Fits in one request
GPT-5 Nano$0.0037Fits in one request

GPT-5 Nano costs less

Agent loop

200K input + 10K output tokens

GPT-4o$0.600Exceeds the context window
GPT-5 Nano$0.014Fits in one request

GPT-5 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-4o and GPT-5 Nano
SpecificationOpenAI GPT-4oOpenAI GPT-5 Nano
MakerOpenAIOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedMay 13, 2024August 7, 2025
Context window128K400K
Input $/Mtok$2.50$0.05
Output $/Mtok$10.00$0.40
Coding index38.834.8
Independent measurements behind it11
Cost per solved taskNot computable$0.109
SourceOpenRouter listingOpenRouter listing

Questions

Is GPT-4o better than GPT-5 Nano for coding?

Pick GPT-4o for coding: it scores 38.8 on the Vibe Coding Index against 34.8 for GPT-5 Nano. Pick GPT-5 Nano when output tokens cost 25.0x less, or when the context window is larger, 400K against 128K tokens.

Which is cheaper, GPT-4o or GPT-5 Nano?

GPT-4o costs $2.50 per million input tokens and $10.00 per million output tokens; GPT-5 Nano costs $0.05 and $0.40. Cost per solved task is known for GPT-5 Nano only.

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

GPT-5 Nano, with 400K tokens against 128K.

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

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

Compare next