LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

GPT-4 vs GPT-4o (2024-08-06)

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

GPT-4OpenAI
Coding
22.4
Overall
6.7
Output $/M
$60.00
2
GPT-4o (2024-08-06)OpenAI
Coding
23.1
Overall
7.7
Output $/M
$10.00
30
vs boards won of 32 shared

Decision reading

GPT-4 and GPT-4o (2024-08-06) are level for coding, 22.4 against 23.1 on the Vibe Coding Index, so price and context decide.

Pick GPT-4 when what matters is SWE-bench Lite or MMLU, where it leads. Pick GPT-4o (2024-08-06) when output tokens cost 6.0x less, or when the context window is larger, 128K against 8K tokens.

Shared results
32
GPT-4 only
13
GPT-4o (2024-08-06) only
26
Like-for-like categories
6 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 22.4 from 1 benchmark, GPT-4o (2024-08-06) 23.1 from 1 benchmark.
Widest category
Coding, 14.8 points apart on average over 3 shared benchmarks.
Widest single gap
LMArena Text: Korean: GPT-4 1087 against GPT-4o (2024-08-06) 1218, 21.9 points apart on a 0 to 100 scale.
Output price
GPT-4 $60.00 against GPT-4o (2024-08-06) $10.00 per million output tokens, 6.0x apart.
Context window
GPT-4 takes 8K tokens, GPT-4o (2024-08-06) 128K.

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-4o (2024-08-06)Ties
Coding12
Intelligence01
Reasoning04
Math02
Knowledge14
General017
All shared boards230
CodingLike-for-likeFour of these boards feed the Vibe Coding Index12
Coding benchmarks for GPT-4 and GPT-4o (2024-08-06)
BenchmarkGPT-4GPT-4o (2024-08-06)Leader
Aider polyglotNot measured23.1%Only GPT-4o (2024-08-06) measured
SWE-bench Verified22.4%Not measuredOnly GPT-4 measured
SWE-bench Lite39.7%21.7%GPT-4
SWE-bench (full test set)12.5%Not measuredOnly GPT-4 measured
AA Coding Index13.1Not measuredOnly GPT-4 measured
LiveCodeBench (Artificial Analysis run)Not measured31.7%Only GPT-4o (2024-08-06) measured
Terminal-Bench Hard (Artificial Analysis run)Not measured8.3%Only GPT-4o (2024-08-06) measured
LMArena Text: coding12091283GPT-4o (2024-08-06)
LMArena Text: software and IT11951278GPT-4o (2024-08-06)
Neither model has a result on the other 29 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for GPT-4 and GPT-4o (2024-08-06)
BenchmarkGPT-4GPT-4o (2024-08-06)Leader
AA Intelligence Index6.77.7GPT-4o (2024-08-06)
Epoch Capabilities Index125.7Not measuredOnly GPT-4 measured
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index1 board, none shared
Agentic work benchmarks for GPT-4 and GPT-4o (2024-08-06)
BenchmarkGPT-4GPT-4o (2024-08-06)Leader
τ²-Bench TelecomNot measured28.9%Only GPT-4o (2024-08-06) measured
Neither model has a result on the other 38 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index04
Reasoning benchmarks for GPT-4 and GPT-4o (2024-08-06)
BenchmarkGPT-4GPT-4o (2024-08-06)Leader
MMMU Pro (Vals AI)Not measured64.0%Only GPT-4o (2024-08-06) measured
GPQA Diamond (Artificial Analysis run)34.9%52.1%GPT-4o (2024-08-06)
Humanity's Last Exam (Artificial Analysis run)Not measured2.3%Only GPT-4o (2024-08-06) measured
GPQA Diamond (Epoch AI run)Not measured49.2%Only GPT-4o (2024-08-06) measured
SimpleBenchNot measured17.8%Only GPT-4o (2024-08-06) measured
Chess puzzlesNot measured6.0%Only GPT-4o (2024-08-06) measured
BIG-Bench Hard75.1%Not measuredOnly GPT-4 measured
LMArena Text: hard prompts12001264GPT-4o (2024-08-06)
LMArena Text: expert11491241GPT-4o (2024-08-06)
LMArena Text: hard prompts in English12091277GPT-4o (2024-08-06)
Neither model has a result on the other 11 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index02
Math benchmarks for GPT-4 and GPT-4o (2024-08-06)
BenchmarkGPT-4GPT-4o (2024-08-06)Leader
AIMENot measured14.0%Only GPT-4o (2024-08-06) measured
MATH 500 (Vals AI)Not measured75.2%Only GPT-4o (2024-08-06) measured
MGSM (Vals AI)Not measured90.7%Only GPT-4o (2024-08-06) measured
OTIS Mock AIMENot measured6.4%Only GPT-4o (2024-08-06) measured
FrontierMath, tiers 1 to 3Not measured0.4%Only GPT-4o (2024-08-06) measured
MATH level 5Not measured53.3%Only GPT-4o (2024-08-06) measured
GSM8K92.0%Not measuredOnly GPT-4 measured
LMArena Text: math12301285GPT-4o (2024-08-06)
LMArena Text: mathematical work12281283GPT-4o (2024-08-06)
Neither model has a result on the other 4 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index14
Knowledge benchmarks for GPT-4 and GPT-4o (2024-08-06)
BenchmarkGPT-4GPT-4o (2024-08-06)Leader
MMLU ProNot measured74.1%Only GPT-4o (2024-08-06) measured
LegalBench (Vals AI)Not measured80.1%Only GPT-4o (2024-08-06) measured
CorpFin (Vals AI)Not measured39.4%Only GPT-4o (2024-08-06) measured
TaxEval (Vals AI)Not measured71.1%Only GPT-4o (2024-08-06) measured
MortgageTax (Vals AI)Not measured61.0%Only GPT-4o (2024-08-06) measured
MedQA (Vals AI)Not measured88.2%Only GPT-4o (2024-08-06) measured
MMLU Pro (Artificial Analysis run)56.2%Not measuredOnly GPT-4 measured
SimpleQA VerifiedNot measured26.0%Only GPT-4o (2024-08-06) measured
MMLU86.4%84.3%GPT-4
AI2 Reasoning Challenge96.3%Not measuredOnly GPT-4 measured
LMArena Text: science11771274GPT-4o (2024-08-06)
LMArena Text: medicine and healthcare11451252GPT-4o (2024-08-06)
LMArena Text: legal and government11911275GPT-4o (2024-08-06)
LMArena Text: business and finance11451232GPT-4o (2024-08-06)
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-4o (2024-08-06)
BenchmarkGPT-4GPT-4o (2024-08-06)Leader
Neither model has a result on 9 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index017
General benchmarks for GPT-4 and GPT-4o (2024-08-06)
BenchmarkGPT-4GPT-4o (2024-08-06)Leader
IFBench33.2%36.0%GPT-4o (2024-08-06)
Long context reasoning (AA-LCR)Not measured41.0%Only GPT-4o (2024-08-06) measured
DTBench62.7%Not measuredOnly GPT-4 measured
LMCA17.1%Not measuredOnly GPT-4 measured
HellaSwag95.3%Not measuredOnly GPT-4 measured
WinoGrande87.5%Not measuredOnly GPT-4 measured
LMArena Text12061283GPT-4o (2024-08-06)
LMArena Text: instruction following12011267GPT-4o (2024-08-06)
LMArena Text: creative writing11911274GPT-4o (2024-08-06)
LMArena VisionNot measured1065Only GPT-4o (2024-08-06) measured
LMArena Text: English12201297GPT-4o (2024-08-06)
LMArena Text: non-English11941262GPT-4o (2024-08-06)
LMArena Text: Chinese11841254GPT-4o (2024-08-06)
LMArena Text: German11981257GPT-4o (2024-08-06)
LMArena Text: Japanese11371234GPT-4o (2024-08-06)
LMArena Text: Korean10871218GPT-4o (2024-08-06)
LMArena Text: French12201263GPT-4o (2024-08-06)
LMArena Text: Spanish11971269GPT-4o (2024-08-06)
LMArena Text: Russian11951272GPT-4o (2024-08-06)
LMArena Text: Polish1265Not measuredOnly GPT-4 measured
LMArena Text: multi-turn12061279GPT-4o (2024-08-06)
LMArena Text: longer queries11901283GPT-4o (2024-08-06)
LMArena Text: writing and language12191290GPT-4o (2024-08-06)
LMArena Text: entertainment and media11841267GPT-4o (2024-08-06)
LMArena Vision: EnglishNot measured1072Only GPT-4o (2024-08-06) measured
LMArena Vision: ChineseNot measured1009Only GPT-4o (2024-08-06) measured
Neither model has a result on the other 20 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-4o (2024-08-06)
BenchmarkGPT-4GPT-4o (2024-08-06)Leader
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-4o (2024-08-06)$0.0075Fits in one request

GPT-4o (2024-08-06) costs less

Repository review

50K input + 3K output tokens

GPT-4$1.68Exceeds the context window
GPT-4o (2024-08-06)$0.155Fits in one request

GPT-4o (2024-08-06) costs less

Agent loop

200K input + 10K output tokens

GPT-4$6.60Exceeds the context window
GPT-4o (2024-08-06)$0.600Exceeds the context window

GPT-4o (2024-08-06) 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-4o (2024-08-06)
SpecificationOpenAI GPT-4OpenAI GPT-4o (2024-08-06)
MakerOpenAIOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedMay 28, 2023August 6, 2024
Context window8K128K
Input $/Mtok$30.00$2.50
Output $/Mtok$60.00$10.00
Coding index22.423.1
Independent measurements behind it11
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is GPT-4 better than GPT-4o (2024-08-06) for coding?

GPT-4 and GPT-4o (2024-08-06) are level for coding, 22.4 against 23.1 on the Vibe Coding Index, so price and context decide. Pick GPT-4 when what matters is SWE-bench Lite or MMLU, where it leads. Pick GPT-4o (2024-08-06) when output tokens cost 6.0x less, or when the context window is larger, 128K against 8K tokens.

Which is cheaper, GPT-4 or GPT-4o (2024-08-06)?

GPT-4 costs $30.00 per million input tokens and $60.00 per million output tokens; GPT-4o (2024-08-06) costs $2.50 and $10.00. Cost per solved task is known for neither of them.

Which has the bigger context window, GPT-4 or GPT-4o (2024-08-06)?

GPT-4o (2024-08-06), with 128K tokens against 8K.

How many benchmarks is the GPT-4 vs GPT-4o (2024-08-06) comparison based on?

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

Compare next