Enter opens the highlighted result. Esc closes.

GPT-4o (2024-05-13) vs GPT-5

GPT-5 leads GPT-4o (2024-05-13) on the Artificial Analysis Intelligence Index, 23.0 to 7.3, and GPT-5 costs 1.5x less per output token ($10.00 vs $15.00 per million). Updated October 22, 2026; 43 benchmarks have a result for both.

GPT-4o (2024-05-13)OpenAI
Coding
No data
Overall
27.1
Output $/M
$15.00
0
GPT-5OpenAI
Coding
38.8
Overall
51.5
Output $/M
$10.00
43
vs boards won of 43 shared

GPT-4o (2024-05-13) or GPT-5: which to pick

Only GPT-5 has a coding score, 38.8 on the Vibe Coding Index; GPT-4o (2024-05-13) has none, so the two cannot be ranked on coding.

Compare them on price, context and the boards below.

Shared results
43
GPT-4o (2024-05-13) only
1
GPT-5 only
70
Like-for-like categories
7 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-4o (2024-05-13) not benchmarked, GPT-5 38.8 from 3 benchmarks.
Widest category
Math, 43.2 points apart on average over 4 shared benchmarks.
Widest single gap
OTIS Mock AIME: GPT-4o (2024-05-13) 6.3% against GPT-5 91.4%, 85.1 points apart on a 0 to 100 scale.
Output price
GPT-4o (2024-05-13) $15.00 against GPT-5 $10.00 per million output tokens, 1.5x apart.
Context window
GPT-4o (2024-05-13) takes 128K 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-4o (2024-05-13)BarsGPT-5Ties
Coding04
Intelligence01
Agentic work02
Reasoning07
Math04
Knowledge05
General020
All shared boards043
CodingLike-for-likeSix of these boards feed the Vibe Coding Index04
Coding benchmarks for GPT-4o (2024-05-13) and GPT-5
BenchmarkGPT-4o (2024-05-13)GPT-5Leader
Aider polyglotNot measured88.0%Only GPT-5 measured
SWE-bench VerifiedNot measured74.4%Only GPT-5 measured
LMArena WebDevNot measured1418Only GPT-5 measured
AA Coding Index24.237.8GPT-5
LiveCodeBench (Vals AI)Not measured85.9%Only GPT-5 measured
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)33.4%84.6%GPT-5
Terminal-Bench Hard (Artificial Analysis run)Not measured37.9%Only GPT-5 measured
Terminal-BenchNot measured49.6%Only GPT-5 measured
GSO-BenchNot measured6.9%Only GPT-5 measured
WeirdMLNot measured60.7%Only GPT-5 measured
ALE-BenchNot measured807.6Only GPT-5 measured
LMArena Text: coding12971436GPT-5
LMArena Text: software and IT12971420GPT-5
LMArena WebDev: HTMLNot measured1427Only GPT-5 measured
SciCodeNot measured0.0%Only GPT-5 measured
Neither model has a result on the other 22 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for GPT-4o (2024-05-13) and GPT-5
BenchmarkGPT-4o (2024-05-13)GPT-5Leader
AA Intelligence Index7.323.0GPT-5
Epoch Capabilities IndexNot measured150.0Only GPT-5 measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index02
Agentic work benchmarks for GPT-4o (2024-05-13) and GPT-5
BenchmarkGPT-4o (2024-05-13)GPT-5Leader
τ²-Bench TelecomNot measured86.5%Only GPT-5 measured
METR time horizons40.8%69.6%GPT-5
Remote Labor IndexNot measured1.7%Only GPT-5 measured
GDPvalNot measured34.8%Only GPT-5 measured
BALROG32.3%32.8%GPT-5
DeepResearch BenchNot measured49.6%Only GPT-5 measured
BrowseComp-PlusNot measured80.0%Only GPT-5 measured
Neither model has a result on the other 34 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index07
Reasoning benchmarks for GPT-4o (2024-05-13) and GPT-5
BenchmarkGPT-4o (2024-05-13)GPT-5Leader
GPQA Diamond50.2%85.6%GPT-5
MMMU Pro (Vals AI)Not measured81.5%Only GPT-5 measured
GPQA Diamond (Artificial Analysis run)52.6%85.4%GPT-5
Humanity's Last Exam (Artificial Analysis run)1.8%28.5%GPT-5
GPQA Diamond (Epoch AI run)48.9%86.2%GPT-5
ARC-AGINot measured65.7%Only GPT-5 measured
ARC-AGI-2Not measured9.9%Only GPT-5 measured
SimpleBenchNot measured56.7%Only GPT-5 measured
Chess puzzlesNot measured36.0%Only GPT-5 measured
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 prompts12811415GPT-5
LMArena Text: expert12501419GPT-5
LMArena Text: hard prompts in English12931419GPT-5
LMArena Vision: diagramsNot measured1252Only GPT-5 measured
LMArena Vision: homeworkNot measured1278Only GPT-5 measured
Kagi LLM BenchmarkNot measured72.7%Only GPT-5 measured
Neither model has a result on the other 4 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index04
Math benchmarks for GPT-4o (2024-05-13) and GPT-5
BenchmarkGPT-4o (2024-05-13)GPT-5Leader
AIMENot measured93.4%Only GPT-5 measured
MATH 500 (Vals AI)Not measured96.0%Only GPT-5 measured
MGSM (Vals AI)Not measured92.8%Only GPT-5 measured
AA Math IndexNot measured94.3Only GPT-5 measured
AIME 2025 (Artificial Analysis run)Not measured94.3%Only GPT-5 measured
OTIS Mock AIME6.3%91.4%GPT-5
FrontierMath, tiers 1 to 3Not measured55.4%Only GPT-5 measured
FrontierMath, tier 4Not measured22.0%Only GPT-5 measured
ProofBenchNot measured18.0%Only GPT-5 measured
MATH level 551.0%98.1%GPT-5
LMArena Text: math12841407GPT-5
LMArena Text: mathematical work12841405GPT-5
Neither model has a result on the other 1 board here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index05
Knowledge benchmarks for GPT-4o (2024-05-13) and GPT-5
BenchmarkGPT-4o (2024-05-13)GPT-5Leader
MMLU ProNot measured86.5%Only GPT-5 measured
LegalBench (Vals AI)Not measured86.0%Only GPT-5 measured
CaseLaw (Vals AI)Not measured66.5%Only GPT-5 measured
CorpFin (Vals AI)Not measured61.1%Only GPT-5 measured
TaxEval (Vals AI)Not measured73.4%Only GPT-5 measured
MortgageTax (Vals AI)Not measured65.5%Only GPT-5 measured
MedQA (Vals AI)Not measured96.3%Only GPT-5 measured
MedCode (Vals AI)Not measured49.6%Only GPT-5 measured
MMLU Pro (Artificial Analysis run)74.0%87.1%GPT-5
SimpleQA VerifiedNot measured50.1%Only GPT-5 measured
MMLU84.2%Not measuredOnly GPT-4o (2024-05-13) measured
GeoBenchNot measured81.0%Only GPT-5 measured
LMArena Text: science12951416GPT-5
LMArena Text: medicine and healthcare12781413GPT-5
LMArena Text: legal and government13141431GPT-5
LMArena Text: business and finance12621400GPT-5
FACTS Benchmark SuiteNot measured56.5%Only GPT-5 measured
Neither model has a result on the other 1 board here
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
Web design benchmarks for GPT-4o (2024-05-13) and GPT-5
BenchmarkGPT-4o (2024-05-13)GPT-5Leader
Design Arena: websitesNot measured1184Only GPT-5 measured
Design Arena: UI componentsNot measured1177Only GPT-5 measured
Design Arena: game devNot measured1185Only GPT-5 measured
Design Arena: data vizNot measured1222Only GPT-5 measured
Design Arena: 3DNot measured1055Only GPT-5 measured
Design Arena: all code categoriesNot measured1167Only GPT-5 measured
Design Arena: SVGNot measured1188Only GPT-5 measured
Design Arena: ASCII artNot measured1141Only 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 index020
General benchmarks for GPT-4o (2024-05-13) and GPT-5
BenchmarkGPT-4o (2024-05-13)GPT-5Leader
SAGE (Vals AI)Not measured43.7%Only GPT-5 measured
MedScribe (Vals AI)Not measured83.7%Only GPT-5 measured
IFBenchNot measured73.1%Only GPT-5 measured
Long context reasoning (AA-LCR)Not measured78.2%Only GPT-5 measured
DTBenchNot measured90.7%Only GPT-5 measured
LMCANot measured40.0%Only GPT-5 measured
Fiction.LiveBenchNot measured97.2%Only GPT-5 measured
Creative writing (Lech Mazur)Not measured86.0%Only GPT-5 measured
LMArena Text13001406GPT-5
LMArena Text: instruction following12781388GPT-5
LMArena Text: creative writing12911365GPT-5
LMArena Vision11371232GPT-5
LMArena Text: English13121409GPT-5
LMArena Text: non-English12831397GPT-5
LMArena Text: Chinese12771422GPT-5
LMArena Text: German12831416GPT-5
LMArena Text: Japanese12571409GPT-5
LMArena Text: Korean12341360GPT-5
LMArena Text: French13041409GPT-5
LMArena Text: Spanish12921399GPT-5
LMArena Text: Russian12851407GPT-5
LMArena Text: Polish13651431GPT-5
LMArena Text: multi-turn13021426GPT-5
LMArena Text: longer queries12881399GPT-5
LMArena Text: writing and language12981384GPT-5
LMArena Text: entertainment and media12891379GPT-5
LMArena Vision: English11471231GPT-5
LMArena Vision: Chinese11321267GPT-5
LMArena Vision: reading textNot measured1246Only GPT-5 measured
LMArena Vision: humorNot measured1219Only GPT-5 measured
LMArena Vision: captioningNot measured1212Only GPT-5 measured
LMArena Vision: recognizing thingsNot measured1263Only GPT-5 measured
LMArena Vision: creative writingNot measured1210Only GPT-5 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-4o (2024-05-13) and GPT-5
BenchmarkGPT-4o (2024-05-13)GPT-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-4o (2024-05-13)$0.013Fits in one request
GPT-5$0.0063Fits in one request

GPT-5 costs less

Repository review

50K input + 3K output tokens

GPT-4o (2024-05-13)$0.295Fits in one request
GPT-5$0.092Fits in one request

GPT-5 costs less

Agent loop

200K input + 10K output tokens

GPT-4o (2024-05-13)$1.15Exceeds the context window
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-4o (2024-05-13) and GPT-5
SpecificationOpenAI GPT-4o (2024-05-13)OpenAI GPT-5
MakerOpenAIOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedMay 13, 2024August 7, 2025
Context window128K400K
Input $/Mtok$5.00$1.25
Output $/Mtok$15.00$10.00
Coding indexNot benchmarked38.8
Independent measurements behind it03
Cost per solved taskNot computable$0.39
SourceOpenRouter listingOpenRouter listing

Questions

Is GPT-4o (2024-05-13) better than GPT-5 for coding?

Only GPT-5 has a coding score, 38.8 on the Vibe Coding Index; GPT-4o (2024-05-13) has none, so the two cannot be ranked on coding. Compare them on price, context and the boards below.

Which is cheaper, GPT-4o (2024-05-13) or GPT-5?

GPT-4o (2024-05-13) costs $5.00 per million input tokens and $15.00 per million output tokens; GPT-5 costs $1.25 and $10.00. Cost per solved task is known for GPT-5 only.

Which has the bigger context window, GPT-4o (2024-05-13) or GPT-5?

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

How many benchmarks is the GPT-4o (2024-05-13) vs GPT-5 comparison based on?

43 benchmarks have a result for both models as of October 22, 2026. GPT-4o (2024-05-13)'s coding index rests on 0 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