GPT-4 vs GPT-5.1
Updated October 21, 2026. 37 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.
Decision reading
Pick GPT-5.1 for coding: it scores 53.3 on the Vibe Coding Index against 22.4 for GPT-4.
GPT-4 is neither cheaper nor larger in context, and leads no benchmark both models were measured on.
- Shared results
- 37
- GPT-4 only
- 8
- GPT-5.1 only
- 63
- 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.
Coding
Vibe Coding Index, four public coding benchmarks
GPT-5.1
GPT-5.1 scores 53.3 against 22.4.
1 and 2 benchmarks behind the scores
Intelligence
AA Intelligence Index
GPT-5.1
GPT-5.1 leads, 24.7 against 6.7.
Same board, both measured
Reasoning
GPQA Diamond
No call
Only GPT-5.1 has a GPQA Diamond result, 86.6%.
Directional only
Math
AIME
No call
Only GPT-5.1 has a AIME result, 93.3%.
Directional only
Knowledge
MMLU Pro
No call
Only GPT-5.1 has a MMLU Pro result, 86.4%.
Directional only
Web design
Design Arena: websites
No call
Only GPT-5.1 has a Design Arena: websites result, 1187.
Directional only
Long documents
Listed context window
GPT-5.1
GPT-5.1 takes 400K tokens against 8K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
GPT-5.1
GPT-4 $0.060, GPT-5.1 $0.0063 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only GPT-5.1 has the number, $1.02.
Directional only
At a glance
- Coding index
- GPT-4 22.4 from 1 benchmark, GPT-5.1 53.3 from 2 benchmarks.
- Widest category
- Reasoning, 47.7 points apart on average over 4 shared benchmarks.
- Widest single gap
- LMArena Text: expert: GPT-4 1149 against GPT-5.1 1470, 53.5 points apart on a 0 to 100 scale.
- Output price
- GPT-4 $60.00 against GPT-5.1 $10.00 per million output tokens, 6.0x apart.
- Context window
- GPT-4 takes 8K 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.
| Category | GPT-4 | Bars | GPT-5.1 | Ties |
|---|---|---|---|---|
| Coding | 0 | 4 | ||
| Intelligence | 0 | 2 | ||
| Reasoning | 0 | 4 | ||
| Math | 0 | 2 | ||
| Knowledge | 0 | 5 | ||
| General | 0 | 20 | ||
| All shared boards | 0 | 37 |
CodingLike-for-likeFour of these boards feed the Vibe Coding Index04
| Benchmark | GPT-4 | GPT-5.1 | Leader |
|---|---|---|---|
| SWE-bench Verified | 22.4% | 66.0% | GPT-5.1 |
| SWE-bench Lite | 39.7% | Not measured | Only GPT-4 measured |
| SWE-bench (full test set) | 12.5% | Not measured | Only GPT-4 measured |
| LMArena WebDev | Not measured | 1396 | Only GPT-5.1 measured |
| AA Coding Index | 13.1 | 49.4 | GPT-5.1 |
| LiveCodeBench (Vals AI) | Not measured | 86.5% | Only GPT-5.1 measured |
| SWE-bench Verified (Vals AI) | Not measured | 69.8% | Only GPT-5.1 measured |
| Vibe Code Bench (Vals AI) | Not measured | 24.6% | Only GPT-5.1 measured |
| LiveCodeBench (Artificial Analysis run) | Not measured | 86.8% | Only GPT-5.1 measured |
| Terminal-Bench Hard (Artificial Analysis run) | Not measured | 45.5% | Only GPT-5.1 measured |
| Terminal-Bench | Not measured | 47.6% | Only GPT-5.1 measured |
| GSO-Bench | Not measured | 13.7% | Only GPT-5.1 measured |
| WeirdML | Not measured | 60.8% | Only GPT-5.1 measured |
| LMArena Text: coding | 1209 | 1453 | GPT-5.1 |
| LMArena Text: software and IT | 1195 | 1454 | GPT-5.1 |
| LMArena WebDev: React | Not measured | 1307 | Only GPT-5.1 measured |
| LMArena WebDev: HTML | Not measured | 1405 | Only GPT-5.1 measured |
| LMArena WebDev: from an image | Not measured | 1421 | Only GPT-5.1 measured |
| Neither model has a result on the other 20 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | GPT-4 | GPT-5.1 | Leader |
|---|---|---|---|
| AA Intelligence Index | 6.7 | 24.7 | GPT-5.1 |
| Epoch Capabilities Index | 125.7 | 149.8 | GPT-5.1 |
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index3 boards, none shared
| Benchmark | GPT-4 | GPT-5.1 | Leader |
|---|---|---|---|
| τ²-Bench Telecom | Not measured | 81.9% | Only GPT-5.1 measured |
| DeepResearch Bench | Not measured | 42.8% | Only GPT-5.1 measured |
| Vending-Bench 2 | Not measured | $1,473 | Only GPT-5.1 measured |
| Neither model has a result on the other 36 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index04
| Benchmark | GPT-4 | GPT-5.1 | Leader |
|---|---|---|---|
| GPQA Diamond | Not measured | 86.6% | Only GPT-5.1 measured |
| MMMU Pro (Vals AI) | Not measured | 83.2% | Only GPT-5.1 measured |
| GPQA Diamond (Artificial Analysis run) | 34.9% | 87.3% | GPT-5.1 |
| Humanity's Last Exam (Artificial Analysis run) | Not measured | 28.5% | Only GPT-5.1 measured |
| GPQA Diamond (Epoch AI run) | Not measured | 87.6% | Only GPT-5.1 measured |
| ARC-AGI | Not measured | 72.8% | Only GPT-5.1 measured |
| ARC-AGI-2 | Not measured | 17.6% | Only GPT-5.1 measured |
| SimpleBench | Not measured | 53.2% | Only GPT-5.1 measured |
| Chess puzzles | Not measured | 42.0% | Only GPT-5.1 measured |
| Mystery game puzzles | Not measured | 19.0% | Only GPT-5.1 measured |
| VPCT | Not measured | 58.7% | Only GPT-5.1 measured |
| BIG-Bench Hard | 75.1% | Not measured | Only GPT-4 measured |
| LMArena Text: hard prompts | 1200 | 1457 | GPT-5.1 |
| LMArena Text: expert | 1149 | 1470 | GPT-5.1 |
| LMArena Text: hard prompts in English | 1209 | 1462 | GPT-5.1 |
| LMArena Vision: diagrams | Not measured | 1264 | Only GPT-5.1 measured |
| LMArena Vision: homework | Not measured | 1272 | Only GPT-5.1 measured |
| Neither model has a result on the other 4 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | GPT-4 | GPT-5.1 | Leader |
|---|---|---|---|
| AIME | Not measured | 93.3% | Only GPT-5.1 measured |
| MGSM (Vals AI) | Not measured | 93.0% | Only GPT-5.1 measured |
| AA Math Index | Not measured | 94.0 | Only GPT-5.1 measured |
| AIME 2025 (Artificial Analysis run) | Not measured | 94.0% | Only GPT-5.1 measured |
| OTIS Mock AIME | Not measured | 88.6% | Only GPT-5.1 measured |
| GSM8K | 92.0% | Not measured | Only GPT-4 measured |
| LMArena Text: math | 1230 | 1446 | GPT-5.1 |
| LMArena Text: mathematical work | 1228 | 1449 | GPT-5.1 |
| Neither model has a result on the other 5 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index05
| Benchmark | GPT-4 | GPT-5.1 | Leader |
|---|---|---|---|
| MMLU Pro | Not measured | 86.4% | Only GPT-5.1 measured |
| LegalBench (Vals AI) | Not measured | 85.7% | Only GPT-5.1 measured |
| CaseLaw (Vals AI) | Not measured | 73.4% | Only GPT-5.1 measured |
| CorpFin (Vals AI) | Not measured | 63.8% | Only GPT-5.1 measured |
| TaxEval (Vals AI) | Not measured | 74.9% | Only GPT-5.1 measured |
| MortgageTax (Vals AI) | Not measured | 61.4% | Only GPT-5.1 measured |
| MedQA (Vals AI) | Not measured | 96.4% | Only GPT-5.1 measured |
| MedCode (Vals AI) | Not measured | 52.7% | Only GPT-5.1 measured |
| MMLU Pro (Artificial Analysis run) | 56.2% | 87.0% | GPT-5.1 |
| SimpleQA Verified | Not measured | 48.0% | Only GPT-5.1 measured |
| MMLU | 86.4% | Not measured | Only GPT-4 measured |
| AI2 Reasoning Challenge | 96.3% | Not measured | Only GPT-4 measured |
| LMArena Text: science | 1177 | 1459 | GPT-5.1 |
| LMArena Text: medicine and healthcare | 1145 | 1456 | GPT-5.1 |
| LMArena Text: legal and government | 1191 | 1459 | GPT-5.1 |
| LMArena Text: business and finance | 1145 | 1431 | GPT-5.1 |
| 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
| Benchmark | GPT-4 | GPT-5.1 | Leader |
|---|---|---|---|
| Design Arena: websites | Not measured | 1187 | Only GPT-5.1 measured |
| Design Arena: UI components | Not measured | 1166 | Only GPT-5.1 measured |
| Design Arena: game dev | Not measured | 1179 | Only GPT-5.1 measured |
| Design Arena: data viz | Not measured | 1204 | Only GPT-5.1 measured |
| Design Arena: 3D | Not measured | 1061 | Only GPT-5.1 measured |
| Design Arena: all code categories | Not measured | 1171 | Only GPT-5.1 measured |
| Design Arena: SVG | Not measured | 1149 | Only GPT-5.1 measured |
| Design Arena: ASCII art | Not measured | 1118 | Only 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 index020
| Benchmark | GPT-4 | GPT-5.1 | Leader |
|---|---|---|---|
| SAGE (Vals AI) | Not measured | 43.2% | Only GPT-5.1 measured |
| MedScribe (Vals AI) | Not measured | 88.1% | Only GPT-5.1 measured |
| IFBench | 33.2% | 72.9% | GPT-5.1 |
| Long context reasoning (AA-LCR) | Not measured | 80.0% | Only GPT-5.1 measured |
| DTBench | 62.7% | 90.1% | GPT-5.1 |
| LMCA | 17.1% | 43.9% | GPT-5.1 |
| CL-bench | Not measured | 23.7% | Only GPT-5.1 measured |
| HellaSwag | 95.3% | Not measured | Only GPT-4 measured |
| WinoGrande | 87.5% | Not measured | Only GPT-4 measured |
| CL-bench Life | Not measured | 17.3% | Only GPT-5.1 measured |
| LMArena Text | 1206 | 1443 | GPT-5.1 |
| LMArena Text: instruction following | 1201 | 1443 | GPT-5.1 |
| LMArena Text: creative writing | 1191 | 1427 | GPT-5.1 |
| LMArena Vision | Not measured | 1250 | Only GPT-5.1 measured |
| LMArena Text: English | 1220 | 1451 | GPT-5.1 |
| LMArena Text: non-English | 1194 | 1431 | GPT-5.1 |
| LMArena Text: Chinese | 1184 | 1495 | GPT-5.1 |
| LMArena Text: German | 1198 | 1438 | GPT-5.1 |
| LMArena Text: Japanese | 1137 | 1453 | GPT-5.1 |
| LMArena Text: Korean | 1087 | 1401 | GPT-5.1 |
| LMArena Text: French | 1220 | 1450 | GPT-5.1 |
| LMArena Text: Spanish | 1197 | 1433 | GPT-5.1 |
| LMArena Text: Russian | 1195 | 1435 | GPT-5.1 |
| LMArena Text: Polish | 1265 | 1440 | GPT-5.1 |
| LMArena Text: multi-turn | 1206 | 1450 | GPT-5.1 |
| LMArena Text: longer queries | 1190 | 1448 | GPT-5.1 |
| LMArena Text: writing and language | 1219 | 1428 | GPT-5.1 |
| LMArena Text: entertainment and media | 1184 | 1415 | GPT-5.1 |
| LMArena Vision: English | Not measured | 1252 | Only GPT-5.1 measured |
| LMArena Vision: Chinese | Not measured | 1270 | Only GPT-5.1 measured |
| LMArena Vision: reading text | Not measured | 1255 | Only GPT-5.1 measured |
| LMArena Vision: humor | Not measured | 1263 | Only GPT-5.1 measured |
| LMArena Vision: captioning | Not measured | 1252 | Only GPT-5.1 measured |
| LMArena Vision: recognizing things | Not measured | 1232 | Only GPT-5.1 measured |
| LMArena Vision: creative writing | Not measured | 1266 | Only GPT-5.1 measured |
| LMArena Document | Not measured | 1403 | Only GPT-5.1 measured |
| Neither model has a result on the other 10 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GPT-4 | GPT-5.1 | 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-5.1 costs less
Repository review
50K input + 3K output tokens
GPT-5.1 costs less
Agent loop
200K input + 10K output tokens
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.
| Specification | OpenAI GPT-4 | OpenAI GPT-5.1 |
|---|---|---|
| Maker | OpenAI | OpenAI |
| Weights | No public weights listed | No public weights listed |
| Released | May 28, 2023 | November 13, 2025 |
| Context window | 8K | 400K |
| Input $/Mtok | $30.00 | $1.25 |
| Output $/Mtok | $60.00 | $10.00 |
| Coding index | 22.4 | 53.3 |
| Independent measurements behind it | 1 | 2 |
| Cost per solved task | Not computable | $1.02 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GPT-4 better than GPT-5.1 for coding?
Pick GPT-5.1 for coding: it scores 53.3 on the Vibe Coding Index against 22.4 for GPT-4. GPT-4 is neither cheaper nor larger in context, and leads no benchmark both models were measured on.
Which is cheaper, GPT-4 or GPT-5.1?
GPT-4 costs $30.00 per million input tokens and $60.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-4 or GPT-5.1?
GPT-5.1, with 400K tokens against 8K.
How many benchmarks is the GPT-4 vs GPT-5.1 comparison based on?
37 benchmarks have a result for both models as of October 21, 2026. GPT-4'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.