GPT-5 vs Grok 4.20
Updated October 21, 2026. 38 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 for coding: it scores 38.8 on the Vibe Coding Index against 33.3 for Grok 4.20.
Pick Grok 4.20 when output tokens cost 4.0x less, or when the context window is larger, 2M against 400K tokens.
- Shared results
- 38
- GPT-5 only
- 71
- Grok 4.20 only
- 16
- Like-for-like categories
- 8 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, six public coding benchmarks
GPT-5
GPT-5 scores 38.8 against 33.3.
3 and 2 benchmarks behind the scores
Intelligence
AA Intelligence Index
Grok 4.20
Grok 4.20 leads, 25.7 against 23.0.
Same board, both measured
Reasoning
GPQA Diamond
Grok 4.20
Grok 4.20 leads, 88.6% against 85.6%.
Same board, both measured
Math
AIME
Grok 4.20
Grok 4.20 leads, 96.5% against 93.4%.
Same board, both measured
Knowledge
MMLU Pro
GPT-5
GPT-5 leads, 86.5% against 86.3%.
Same board, both measured
Web design
Design Arena: websites
Grok 4.20
Grok 4.20 leads, 1229 against 1185.
Same board, both measured
Long documents
Listed context window
Grok 4.20
Grok 4.20 takes 2M tokens against 400K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Grok 4.20
GPT-5 $0.0063, Grok 4.20 $0.0025 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
GPT-5
GPT-5 $0.39, Grok 4.20 $0.72.
Published attempt cost and pass rate
At a glance
- Coding index
- GPT-5 38.8 from 3 benchmarks, Grok 4.20 33.3 from 2 benchmarks.
- Widest category
- Reasoning, 16.0 points apart on average over 6 shared benchmarks.
- Widest single gap
- ARC-AGI-2: GPT-5 9.9% against Grok 4.20 65.1%, 55.3 points apart on a 0 to 100 scale.
- Output price
- GPT-5 $10.00 against Grok 4.20 $2.50 per million output tokens, 4.0x apart.
- Context window
- GPT-5 takes 400K tokens, Grok 4.20 2M.
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-5 | Bars | Grok 4.20 | Ties |
|---|---|---|---|---|
| Coding | 3 | 2 | 1 tie | |
| Intelligence | 0 | 2 | ||
| Agentic work | 0 | 1 | ||
| Reasoning | 0 | 6 | ||
| Math | 0 | 1 | ||
| Knowledge | 6 | 2 | ||
| Web design | 2 | 6 | ||
| General | 5 | 1 | ||
| All shared boards | 16 | 21 | 1 tie |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index32
| Benchmark | GPT-5 | Grok 4.20 | Leader |
|---|---|---|---|
| Aider polyglot | 88.0% | Not measured | Only GPT-5 measured |
| SWE-bench Verified | 74.4% | Not measured | Only GPT-5 measured |
| LMArena WebDev | 1418 | Not measured | Only GPT-5 measured |
| AA Coding Index | 37.8 | Not measured | Only GPT-5 measured |
| LiveCodeBench (Vals AI) | 85.9% | 84.3% | GPT-5 |
| SWE-bench Verified (Vals AI) | 69.0% | 72.2% | Grok 4.20 |
| Vibe Code Bench (Vals AI) | 20.1% | 4.1% | GPT-5 |
| Code migration (Vals AI) | Not measured | 0.3% | Only Grok 4.20 measured |
| Terminal-Bench 2.1 (Vals AI) | Not measured | 44.2% | Only Grok 4.20 measured |
| LiveCodeBench (Artificial Analysis run) | 84.6% | Not measured | Only GPT-5 measured |
| Terminal-Bench Hard (Artificial Analysis run) | 37.9% | 37.9% | Tie |
| Terminal-Bench | 49.6% | 57.3% | Grok 4.20 |
| GSO-Bench | 6.9% | Not measured | Only GPT-5 measured |
| WeirdML | 60.7% | 52.3% | GPT-5 |
| ALE-Bench | 807.6 | Not measured | Only GPT-5 measured |
| LMArena Text: coding | 1436 | Not measured | Only GPT-5 measured |
| LMArena Text: software and IT | 1420 | Not measured | Only GPT-5 measured |
| LMArena WebDev: HTML | 1427 | Not measured | Only GPT-5 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-5 | Grok 4.20 | Leader |
|---|---|---|---|
| AA Intelligence Index | 23.0 | 25.7 | Grok 4.20 |
| Epoch Capabilities Index | 150.0 | 152.1 | Grok 4.20 |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | GPT-5 | Grok 4.20 | Leader |
|---|---|---|---|
| Design Arena: agents building web apps | Not measured | 1144 | Only Grok 4.20 measured |
| Design Arena: agents building full-stack apps | Not measured | 1054 | Only Grok 4.20 measured |
| Design Arena: agents building mobile apps | Not measured | 1090 | Only Grok 4.20 measured |
| Design Arena: agents building Android apps | Not measured | 1052 | Only Grok 4.20 measured |
| Design Arena: agents building Godot games | Not measured | 1089 | Only Grok 4.20 measured |
| Design Arena: HTML slides | Not measured | 1180 | Only Grok 4.20 measured |
| Finance Agent (Vals AI) | Not measured | 28.5% | Only Grok 4.20 measured |
| Tax Agent Bench (Vals AI) | Not measured | 7.0% | Only Grok 4.20 measured |
| Legal Research Bench (Vals AI) | Not measured | 13.9% | Only Grok 4.20 measured |
| Excel Modeling Benchmark (Vals AI) | Not measured | 11.7% | Only Grok 4.20 measured |
| τ²-Bench Telecom | 86.5% | 93.0% | Grok 4.20 |
| METR time horizons | 69.6% | Not measured | Only GPT-5 measured |
| Remote Labor Index | 1.7% | Not measured | Only GPT-5 measured |
| GDPval | 34.8% | Not measured | Only GPT-5 measured |
| BALROG | 32.8% | Not measured | Only GPT-5 measured |
| DeepResearch Bench | 49.6% | Not measured | Only GPT-5 measured |
| Vending-Bench 2 | Not measured | $4,663 | Only Grok 4.20 measured |
| Neither model has a result on the other 22 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index06
| Benchmark | GPT-5 | Grok 4.20 | Leader |
|---|---|---|---|
| GPQA Diamond | 85.6% | 88.6% | Grok 4.20 |
| MMMU Pro (Vals AI) | 81.5% | 83.5% | Grok 4.20 |
| GPQA Diamond (Artificial Analysis run) | 85.4% | 91.1% | Grok 4.20 |
| Humanity's Last Exam (Artificial Analysis run) | 28.5% | 34.5% | Grok 4.20 |
| GPQA Diamond (Epoch AI run) | 86.2% | Not measured | Only GPT-5 measured |
| ARC-AGI | 65.7% | 89.5% | Grok 4.20 |
| ARC-AGI-2 | 9.9% | 65.1% | Grok 4.20 |
| SimpleBench | 56.7% | Not measured | Only GPT-5 measured |
| Chess puzzles | 36.0% | Not measured | Only GPT-5 measured |
| Mystery game puzzles | 23.0% | Not measured | Only GPT-5 measured |
| EBR-bench | 12.7% | Not measured | Only GPT-5 measured |
| VPCT | 66.0% | Not measured | Only GPT-5 measured |
| LMArena Text: hard prompts | 1415 | Not measured | Only GPT-5 measured |
| LMArena Text: expert | 1419 | Not measured | Only GPT-5 measured |
| LMArena Text: hard prompts in English | 1419 | Not measured | Only GPT-5 measured |
| LMArena Vision: diagrams | 1252 | Not measured | Only GPT-5 measured |
| LMArena Vision: homework | 1278 | Not measured | 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 index01
| Benchmark | GPT-5 | Grok 4.20 | Leader |
|---|---|---|---|
| AIME | 93.4% | 96.5% | Grok 4.20 |
| MATH 500 (Vals AI) | 96.0% | Not measured | Only GPT-5 measured |
| MGSM (Vals AI) | 92.8% | Not measured | Only GPT-5 measured |
| AA Math Index | 94.3 | Not measured | Only GPT-5 measured |
| AIME 2025 (Artificial Analysis run) | 94.3% | Not measured | Only GPT-5 measured |
| OTIS Mock AIME | 91.4% | Not measured | Only GPT-5 measured |
| FrontierMath, tiers 1 to 3 | 55.4% | Not measured | Only GPT-5 measured |
| FrontierMath, tier 4 | 22.0% | Not measured | Only GPT-5 measured |
| ProofBench | 18.0% | Not measured | Only GPT-5 measured |
| MATH level 5 | 98.1% | Not measured | Only GPT-5 measured |
| LMArena Text: math | 1407 | Not measured | Only GPT-5 measured |
| LMArena Text: mathematical work | 1405 | Not measured | Only GPT-5 measured |
| Neither model has a result on the other 1 board here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index62
| Benchmark | GPT-5 | Grok 4.20 | Leader |
|---|---|---|---|
| MMLU Pro | 86.5% | 86.3% | GPT-5 |
| LegalBench (Vals AI) | 86.0% | 77.7% | GPT-5 |
| CaseLaw (Vals AI) | 66.5% | 54.4% | GPT-5 |
| CorpFin (Vals AI) | 61.1% | 63.7% | Grok 4.20 |
| TaxEval (Vals AI) | 73.4% | 74.1% | Grok 4.20 |
| MortgageTax (Vals AI) | 65.5% | 45.4% | GPT-5 |
| MedQA (Vals AI) | 96.3% | 94.5% | GPT-5 |
| MedCode (Vals AI) | 49.6% | 32.2% | GPT-5 |
| MMLU Pro (Artificial Analysis run) | 87.1% | Not measured | Only GPT-5 measured |
| SimpleQA Verified | 50.1% | Not measured | Only GPT-5 measured |
| GeoBench | 81.0% | Not measured | Only GPT-5 measured |
| LMArena Text: science | 1416 | Not measured | Only GPT-5 measured |
| LMArena Text: medicine and healthcare | 1413 | Not measured | Only GPT-5 measured |
| LMArena Text: legal and government | 1431 | Not measured | Only GPT-5 measured |
| LMArena Text: business and finance | 1400 | Not measured | Only GPT-5 measured |
| Neither model has a result on the other 2 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index26
| Benchmark | GPT-5 | Grok 4.20 | Leader |
|---|---|---|---|
| Design Arena: websites | 1185 | 1229 | Grok 4.20 |
| Design Arena: UI components | 1180 | 1199 | Grok 4.20 |
| Design Arena: game dev | 1185 | 1192 | Grok 4.20 |
| Design Arena: data viz | 1221 | 1217 | GPT-5 |
| Design Arena: 3D | 1056 | 1193 | Grok 4.20 |
| Design Arena: all code categories | 1168 | 1221 | Grok 4.20 |
| Design Arena: SVG | 1189 | 1164 | GPT-5 |
| Design Arena: ASCII art | 1140 | 1174 | Grok 4.20 |
| Neither model has a result on the other 1 board here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index51
| Benchmark | GPT-5 | Grok 4.20 | Leader |
|---|---|---|---|
| SAGE (Vals AI) | 43.7% | 38.2% | GPT-5 |
| MedScribe (Vals AI) | 83.7% | 63.4% | GPT-5 |
| Vals Multimodal Index | Not measured | 39.1% | Only Grok 4.20 measured |
| IFBench | 73.1% | 81.2% | Grok 4.20 |
| Long context reasoning (AA-LCR) | 78.2% | 69.0% | GPT-5 |
| DTBench | 90.7% | 90.1% | GPT-5 |
| LMCA | 40.0% | 38.7% | GPT-5 |
| Fiction.LiveBench | 97.2% | Not measured | Only GPT-5 measured |
| Creative writing (Lech Mazur) | 86.0% | Not measured | Only GPT-5 measured |
| CL-bench | Not measured | 22.2% | Only Grok 4.20 measured |
| CL-bench Life | Not measured | 11.9% | Only Grok 4.20 measured |
| LMArena Text | 1406 | Not measured | Only GPT-5 measured |
| LMArena Text: instruction following | 1388 | Not measured | Only GPT-5 measured |
| LMArena Text: creative writing | 1365 | Not measured | Only GPT-5 measured |
| LMArena Vision | 1232 | Not measured | Only GPT-5 measured |
| LMArena Text: English | 1409 | Not measured | Only GPT-5 measured |
| LMArena Text: non-English | 1397 | Not measured | Only GPT-5 measured |
| LMArena Text: Chinese | 1422 | Not measured | Only GPT-5 measured |
| LMArena Text: German | 1416 | Not measured | Only GPT-5 measured |
| LMArena Text: Japanese | 1409 | Not measured | Only GPT-5 measured |
| LMArena Text: Korean | 1360 | Not measured | Only GPT-5 measured |
| LMArena Text: French | 1409 | Not measured | Only GPT-5 measured |
| LMArena Text: Spanish | 1399 | Not measured | Only GPT-5 measured |
| LMArena Text: Russian | 1407 | Not measured | Only GPT-5 measured |
| LMArena Text: Polish | 1431 | Not measured | Only GPT-5 measured |
| LMArena Text: multi-turn | 1426 | Not measured | Only GPT-5 measured |
| LMArena Text: longer queries | 1399 | Not measured | Only GPT-5 measured |
| LMArena Text: writing and language | 1384 | Not measured | Only GPT-5 measured |
| LMArena Text: entertainment and media | 1379 | Not measured | Only GPT-5 measured |
| LMArena Vision: English | 1231 | Not measured | Only GPT-5 measured |
| LMArena Vision: Chinese | 1267 | Not measured | Only GPT-5 measured |
| LMArena Vision: reading text | 1246 | Not measured | Only GPT-5 measured |
| LMArena Vision: humor | 1219 | Not measured | Only GPT-5 measured |
| LMArena Vision: captioning | 1212 | Not measured | Only GPT-5 measured |
| LMArena Vision: recognizing things | 1263 | Not measured | Only GPT-5 measured |
| LMArena Vision: creative writing | 1210 | Not measured | Only GPT-5 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-5 | Grok 4.20 | 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
Grok 4.20 costs less
Repository review
50K input + 3K output tokens
Grok 4.20 costs less
Agent loop
200K input + 10K output tokens
Grok 4.20 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-5 | SpaceXAI Grok 4.20 |
|---|---|---|
| Maker | OpenAI | xAI |
| Weights | No public weights listed | No public weights listed |
| Released | August 7, 2025 | March 31, 2026 |
| Context window | 400K | 2M |
| Input $/Mtok | $1.25 | $1.25 |
| Output $/Mtok | $10.00 | $2.50 |
| Coding index | 38.8 | 33.3 |
| Independent measurements behind it | 3 | 2 |
| Cost per solved task | $0.39 | $0.72 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GPT-5 better than Grok 4.20 for coding?
Pick GPT-5 for coding: it scores 38.8 on the Vibe Coding Index against 33.3 for Grok 4.20. Pick Grok 4.20 when output tokens cost 4.0x less, or when the context window is larger, 2M against 400K tokens.
Which is cheaper, GPT-5 or Grok 4.20?
GPT-5 costs $1.25 per million input tokens and $10.00 per million output tokens; Grok 4.20 costs $1.25 and $2.50. Per solved SWE-bench Verified task, GPT-5 costs $0.39 and Grok 4.20 $0.72.
Which has the bigger context window, GPT-5 or Grok 4.20?
Grok 4.20, with 2M tokens against 400K.
How many benchmarks is the GPT-5 vs Grok 4.20 comparison based on?
38 benchmarks have a result for both models as of October 21, 2026. GPT-5's coding index rests on 3 independent benchmarks and Grok 4.20's on 2. Where only one model has a result, the page says so instead of naming a winner.