Enter opens the highlighted result. Esc closes.

GPT-4o vs GPT-5.1

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
0
GPT-5.1OpenAI
Coding
53.3
Overall
24.7
Output $/M
$10.00
21
vs boards won of 21 shared

Decision reading

Pick GPT-5.1 for coding: it scores 53.3 on the Vibe Coding Index against 38.8 for GPT-4o.

GPT-4o is neither cheaper nor larger in context, and leads no benchmark both models were measured on.

Shared results
21
GPT-4o only
5
GPT-5.1 only
79
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.1 53.3 from 2 benchmarks.
Widest category
Math, 88.0 points apart on average over 2 shared benchmarks.
Widest single gap
AA Math Index: GPT-4o 6.0 against GPT-5.1 94.0, 88.0 points apart on a 0 to 100 scale.
Output price
Both cost $10.00 per million output tokens.
Context window
GPT-4o takes 128K tokens, GPT-5.1 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.1Ties
Coding03
Agentic work01
Reasoning04
Math02
Knowledge01
Web design06
General04
All shared boards021
CodingLike-for-likeFour of these boards feed the Vibe Coding Index03
Coding benchmarks for GPT-4o and GPT-5.1
BenchmarkGPT-4oGPT-5.1Leader
SWE-bench Verified38.8%66.0%GPT-5.1
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
LMArena WebDevNot measured1396Only GPT-5.1 measured
AA Coding IndexNot measured49.4Only GPT-5.1 measured
LiveCodeBench (Vals AI)Not measured86.5%Only GPT-5.1 measured
SWE-bench Verified (Vals AI)Not measured69.8%Only GPT-5.1 measured
Vibe Code Bench (Vals AI)Not measured24.6%Only GPT-5.1 measured
LiveCodeBench (Artificial Analysis run)30.9%86.8%GPT-5.1
Terminal-Bench Hard (Artificial Analysis run)8.3%45.5%GPT-5.1
Terminal-BenchNot measured47.6%Only GPT-5.1 measured
GSO-BenchNot measured13.7%Only GPT-5.1 measured
WeirdMLNot measured60.8%Only GPT-5.1 measured
LMArena Text: codingNot measured1453Only GPT-5.1 measured
LMArena Text: software and ITNot measured1454Only GPT-5.1 measured
LMArena WebDev: ReactNot measured1307Only GPT-5.1 measured
LMArena WebDev: HTMLNot measured1405Only GPT-5.1 measured
LMArena WebDev: from an imageNot measured1421Only GPT-5.1 measured
Neither model has a result on the other 19 boards here
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index2 boards, none shared
Intelligence benchmarks for GPT-4o and GPT-5.1
BenchmarkGPT-4oGPT-5.1Leader
AA Intelligence IndexNot measured24.7Only GPT-5.1 measured
Epoch Capabilities IndexNot measured149.8Only GPT-5.1 measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for GPT-4o and GPT-5.1
BenchmarkGPT-4oGPT-5.1Leader
τ²-Bench Telecom25.1%81.9%GPT-5.1
GDPval9.9%Not measuredOnly GPT-4o measured
DeepResearch BenchNot measured42.8%Only GPT-5.1 measured
Vending-Bench 2Not measured$1,473Only GPT-5.1 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-4o and GPT-5.1
BenchmarkGPT-4oGPT-5.1Leader
GPQA DiamondNot measured86.6%Only GPT-5.1 measured
MMMU Pro (Vals AI)Not measured83.2%Only GPT-5.1 measured
GPQA Diamond (Artificial Analysis run)54.3%87.3%GPT-5.1
Humanity's Last Exam (Artificial Analysis run)2.4%28.5%GPT-5.1
GPQA Diamond (Epoch AI run)Not measured87.6%Only GPT-5.1 measured
ARC-AGI4.5%72.8%GPT-5.1
ARC-AGI-20.0%17.6%GPT-5.1
SimpleBenchNot measured53.2%Only GPT-5.1 measured
Chess puzzlesNot measured42.0%Only GPT-5.1 measured
Mystery game puzzlesNot measured19.0%Only GPT-5.1 measured
VPCTNot measured58.7%Only GPT-5.1 measured
LMArena Text: hard promptsNot measured1457Only GPT-5.1 measured
LMArena Text: expertNot measured1470Only GPT-5.1 measured
LMArena Text: hard prompts in EnglishNot measured1462Only GPT-5.1 measured
LMArena Vision: diagramsNot measured1264Only GPT-5.1 measured
LMArena Vision: homeworkNot measured1272Only GPT-5.1 measured
Neither model has a result on the other 5 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index02
Math benchmarks for GPT-4o and GPT-5.1
BenchmarkGPT-4oGPT-5.1Leader
AIMENot measured93.3%Only GPT-5.1 measured
MGSM (Vals AI)Not measured93.0%Only GPT-5.1 measured
AA Math Index6.094.0GPT-5.1
AIME 2025 (Artificial Analysis run)6.0%94.0%GPT-5.1
OTIS Mock AIMENot measured88.6%Only GPT-5.1 measured
LMArena Text: mathNot measured1446Only GPT-5.1 measured
LMArena Text: mathematical workNot measured1449Only GPT-5.1 measured
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index01
Knowledge benchmarks for GPT-4o and GPT-5.1
BenchmarkGPT-4oGPT-5.1Leader
MMLU ProNot measured86.4%Only GPT-5.1 measured
LegalBench (Vals AI)Not measured85.7%Only GPT-5.1 measured
CaseLaw (Vals AI)Not measured73.4%Only GPT-5.1 measured
CorpFin (Vals AI)Not measured63.8%Only GPT-5.1 measured
TaxEval (Vals AI)Not measured74.9%Only GPT-5.1 measured
MortgageTax (Vals AI)Not measured61.4%Only GPT-5.1 measured
MedQA (Vals AI)Not measured96.4%Only GPT-5.1 measured
MedCode (Vals AI)Not measured52.7%Only GPT-5.1 measured
MMLU Pro (Artificial Analysis run)74.8%87.0%GPT-5.1
SimpleQA VerifiedNot measured48.0%Only GPT-5.1 measured
MMLU88.1%Not measuredOnly GPT-4o measured
LMArena Text: scienceNot measured1459Only GPT-5.1 measured
LMArena Text: medicine and healthcareNot measured1456Only GPT-5.1 measured
LMArena Text: legal and governmentNot measured1459Only GPT-5.1 measured
LMArena Text: business and financeNot measured1431Only GPT-5.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-4o and GPT-5.1
BenchmarkGPT-4oGPT-5.1Leader
Design Arena: websites8311187GPT-5.1
Design Arena: UI components8851166GPT-5.1
Design Arena: game dev9061179GPT-5.1
Design Arena: data viz8581204GPT-5.1
Design Arena: 3D8691061GPT-5.1
Design Arena: all code categories8611171GPT-5.1
Design Arena: SVGNot measured1149Only GPT-5.1 measured
Design Arena: ASCII artNot measured1118Only GPT-5.1 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index04
General benchmarks for GPT-4o and GPT-5.1
BenchmarkGPT-4oGPT-5.1Leader
SAGE (Vals AI)Not measured43.2%Only GPT-5.1 measured
MedScribe (Vals AI)Not measured88.1%Only GPT-5.1 measured
IFBench34.3%72.9%GPT-5.1
Long context reasoning (AA-LCR)49.3%80.0%GPT-5.1
DTBench64.5%90.1%GPT-5.1
LMCA16.6%43.9%GPT-5.1
CL-benchNot measured23.7%Only GPT-5.1 measured
CL-bench LifeNot measured17.3%Only GPT-5.1 measured
LMArena TextNot measured1443Only GPT-5.1 measured
LMArena Text: instruction followingNot measured1443Only GPT-5.1 measured
LMArena Text: creative writingNot measured1427Only GPT-5.1 measured
LMArena VisionNot measured1250Only GPT-5.1 measured
LMArena Text: EnglishNot measured1451Only GPT-5.1 measured
LMArena Text: non-EnglishNot measured1431Only GPT-5.1 measured
LMArena Text: ChineseNot measured1495Only GPT-5.1 measured
LMArena Text: GermanNot measured1438Only GPT-5.1 measured
LMArena Text: JapaneseNot measured1453Only GPT-5.1 measured
LMArena Text: KoreanNot measured1401Only GPT-5.1 measured
LMArena Text: FrenchNot measured1450Only GPT-5.1 measured
LMArena Text: SpanishNot measured1433Only GPT-5.1 measured
LMArena Text: RussianNot measured1435Only GPT-5.1 measured
LMArena Text: PolishNot measured1440Only GPT-5.1 measured
LMArena Text: multi-turnNot measured1450Only GPT-5.1 measured
LMArena Text: longer queriesNot measured1448Only GPT-5.1 measured
LMArena Text: writing and languageNot measured1428Only GPT-5.1 measured
LMArena Text: entertainment and mediaNot measured1415Only GPT-5.1 measured
LMArena Vision: EnglishNot measured1252Only GPT-5.1 measured
LMArena Vision: ChineseNot measured1270Only GPT-5.1 measured
LMArena Vision: reading textNot measured1255Only GPT-5.1 measured
LMArena Vision: humorNot measured1263Only GPT-5.1 measured
LMArena Vision: captioningNot measured1252Only GPT-5.1 measured
LMArena Vision: recognizing thingsNot measured1232Only GPT-5.1 measured
LMArena Vision: creative writingNot measured1266Only GPT-5.1 measured
LMArena DocumentNot measured1403Only GPT-5.1 measured
Neither model has a result on the other 12 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.1
BenchmarkGPT-4oGPT-5.1Leader
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.1$0.0063Fits in one request

GPT-5.1 costs less

Repository review

50K input + 3K output tokens

GPT-4o$0.155Fits in one request
GPT-5.1$0.092Fits in one request

GPT-5.1 costs less

Agent loop

200K input + 10K output tokens

GPT-4o$0.600Exceeds the context window
GPT-5.1$0.350Fits in one request

GPT-5.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-4o and GPT-5.1
SpecificationOpenAI GPT-4oOpenAI GPT-5.1
MakerOpenAIOpenAI
WeightsNo public weights listedNo public weights listed
ReleasedMay 13, 2024November 13, 2025
Context window128K400K
Input $/Mtok$2.50$1.25
Output $/Mtok$10.00$10.00
Coding index38.853.3
Independent measurements behind it12
Cost per solved taskNot computable$1.02
SourceOpenRouter listingOpenRouter listing

Questions

Is GPT-4o better than GPT-5.1 for coding?

Pick GPT-5.1 for coding: it scores 53.3 on the Vibe Coding Index against 38.8 for GPT-4o. GPT-4o is neither cheaper nor larger in context, and leads no benchmark both models were measured on.

Which is cheaper, GPT-4o or GPT-5.1?

GPT-4o costs $2.50 per million input tokens and $10.00 per million output tokens; GPT-5.1 costs $1.25 and $10.00. Cost per solved task is known for GPT-5.1 only.

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

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

How many benchmarks is the GPT-4o vs GPT-5.1 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.1's on 2. Where only one model has a result, the page says so instead of naming a winner.

Compare next