GPT-4.1 vs Grok 4.5
Updated October 21, 2026. 67 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.
Decision reading
Pick Grok 4.5 for coding: it scores 75.5 on the Vibe Coding Index against 46.5 for GPT-4.1.
Pick GPT-4.1 when a solved task costs $0.37 against $0.62, or when the context window is larger, 1.05M against 500K tokens.
- Shared results
- 67
- GPT-4.1 only
- 20
- Grok 4.5 only
- 53
- 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.
Coding
Vibe Coding Index, four public coding benchmarks
Grok 4.5
Grok 4.5 scores 75.5 against 46.5.
2 benchmarks behind each score
Intelligence
AA Intelligence Index
Grok 4.5
Grok 4.5 leads, 38.8 against 12.7.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only Grok 4.5 has a AA Agentic Index result, 41.2.
Directional only
Reasoning
GPQA Diamond
Grok 4.5
Grok 4.5 leads, 92.9% against 65.4%.
Same board, both measured
Math
AIME
No call
Only GPT-4.1 has a AIME result, 39.6%.
Directional only
Knowledge
MMLU Pro
Grok 4.5
Grok 4.5 leads, 89.2% against 80.5%.
Same board, both measured
Web design
Design Arena: websites
Grok 4.5
Grok 4.5 leads, 1281 against 1039.
Same board, both measured
Long documents
Listed context window
GPT-4.1
GPT-4.1 takes 1.05M tokens against 500K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Grok 4.5
GPT-4.1 $0.0060, Grok 4.5 $0.0050 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
GPT-4.1
GPT-4.1 $0.37, Grok 4.5 $0.62.
Published attempt cost and pass rate
At a glance
- Coding index
- GPT-4.1 46.5 from 2 benchmarks, Grok 4.5 75.5 from 2 benchmarks.
- Widest category
- Math, 36.5 points apart on average over 4 shared benchmarks.
- Widest single gap
- ARC-AGI: GPT-4.1 5.5% against Grok 4.5 87.2%, 81.7 points apart on a 0 to 100 scale.
- Output price
- GPT-4.1 $8.00 against Grok 4.5 $6.00 per million output tokens, 1.3x apart.
- Context window
- GPT-4.1 takes 1.05M tokens, Grok 4.5 500K.
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.1 | Bars | Grok 4.5 | Ties |
|---|---|---|---|---|
| Coding | 0 | 5 | ||
| Intelligence | 0 | 2 | ||
| Reasoning | 1 | 13 | ||
| Math | 0 | 4 | ||
| Knowledge | 2 | 8 | ||
| Web design | 0 | 6 | ||
| General | 0 | 26 | ||
| All shared boards | 3 | 64 |
CodingLike-for-likeFour of these boards feed the Vibe Coding Index05
| Benchmark | GPT-4.1 | Grok 4.5 | Leader |
|---|---|---|---|
| Aider polyglot | 52.4% | Not measured | Only GPT-4.1 measured |
| SWE-bench Verified | 39.6% | Not measured | Only GPT-4.1 measured |
| SWE-bench Multimodal | 31.1% | Not measured | Only GPT-4.1 measured |
| LiveBench coding | Not measured | 94.3% | Only Grok 4.5 measured |
| LMArena WebDev | Not measured | 1553 | Only Grok 4.5 measured |
| AA Coding Index | Not measured | 72.4 | Only Grok 4.5 measured |
| LiveCodeBench (Vals AI) | 54.7% | 87.3% | Grok 4.5 |
| SWE-bench Verified (Vals AI) | Not measured | 86.6% | Only Grok 4.5 measured |
| Terminal-Bench 4 (Vals AI) | Not measured | 8.6% | Only Grok 4.5 measured |
| Vibe Code Bench (Vals AI) | Not measured | 69.0% | Only Grok 4.5 measured |
| Code migration (Vals AI) | Not measured | 36.6% | Only Grok 4.5 measured |
| ProgramBench (Vals AI) | Not measured | 0.0% | Only Grok 4.5 measured |
| IOI (Vals AI) | Not measured | 40.6% | Only Grok 4.5 measured |
| Terminal-Bench 2.1 (Vals AI) | Not measured | 67.8% | Only Grok 4.5 measured |
| SkillsBench (Vals AI) | Not measured | 66.0% | Only Grok 4.5 measured |
| CyberBench (Vals AI) | Not measured | 71.0% | Only Grok 4.5 measured |
| LiveCodeBench (Artificial Analysis run) | 45.7% | Not measured | Only GPT-4.1 measured |
| SciCode | Not measured | 55.0% | Only Grok 4.5 measured |
| Terminal-Bench Hard (Artificial Analysis run) | 13.6% | Not measured | Only GPT-4.1 measured |
| FrontierCode | Not measured | 42.4% | Only Grok 4.5 measured |
| WeirdML | 39.0% | 46.4% | Grok 4.5 |
| ALE-Bench | 558.1 | 1309.3 | Grok 4.5 |
| LMArena Text: coding | 1390 | 1474 | Grok 4.5 |
| LMArena Text: software and IT | 1391 | 1471 | Grok 4.5 |
| LMArena WebDev: React | Not measured | 1556 | Only Grok 4.5 measured |
| LMArena WebDev: HTML | Not measured | 1567 | Only Grok 4.5 measured |
| LMArena WebDev: from an image | Not measured | 1562 | Only Grok 4.5 measured |
| Neither model has a result on the other 11 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | GPT-4.1 | Grok 4.5 | Leader |
|---|---|---|---|
| AA Intelligence Index | 12.7 | 38.8 | Grok 4.5 |
| Epoch Capabilities Index | 136.7 | 154.1 | Grok 4.5 |
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index23 boards, none shared
| Benchmark | GPT-4.1 | Grok 4.5 | Leader |
|---|---|---|---|
| AA Agentic Index | Not measured | 41.2 | Only Grok 4.5 measured |
| Design Arena: agents building web apps | Not measured | 1217 | Only Grok 4.5 measured |
| Design Arena: agents building full-stack apps | Not measured | 1249 | Only Grok 4.5 measured |
| Design Arena: agents building mobile apps | Not measured | 1221 | Only Grok 4.5 measured |
| Design Arena: agents building Android apps | Not measured | 1242 | Only Grok 4.5 measured |
| Design Arena: agents building Godot games | Not measured | 1229 | Only Grok 4.5 measured |
| Design Arena: agents building games | Not measured | 1235 | Only Grok 4.5 measured |
| Design Arena: HTML slides | Not measured | 1204 | Only Grok 4.5 measured |
| Design Arena: PowerPoint slides | Not measured | 1232 | Only Grok 4.5 measured |
| LiveBench research | Not measured | 85.9% | Only Grok 4.5 measured |
| LiveBench browser | Not measured | 44.0% | Only Grok 4.5 measured |
| LiveBench long agentic | Not measured | 27.9% | Only Grok 4.5 measured |
| SREBench (Vals AI) | Not measured | 0.8% | Only Grok 4.5 measured |
| Finance Agent (Vals AI) | Not measured | 48.4% | Only Grok 4.5 measured |
| Tax Agent Bench (Vals AI) | Not measured | 24.9% | Only Grok 4.5 measured |
| Legal Research Bench (Vals AI) | Not measured | 38.0% | Only Grok 4.5 measured |
| Excel Modeling Benchmark (Vals AI) | Not measured | 52.9% | Only Grok 4.5 measured |
| Time Horizon Index (Vals AI) | Not measured | 6.3% | Only Grok 4.5 measured |
| τ²-Bench Telecom | 47.1% | Not measured | Only GPT-4.1 measured |
| APEX-Agents | Not measured | 56.2% | Only Grok 4.5 measured |
| PostTrainBench | Not measured | 23.4% | Only Grok 4.5 measured |
| Vending-Bench 2 | Not measured | $3,887 | Only Grok 4.5 measured |
| LMArena Search | Not measured | 1216 | Only Grok 4.5 measured |
| Neither model has a result on the other 16 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index113
| Benchmark | GPT-4.1 | Grok 4.5 | Leader |
|---|---|---|---|
| GPQA Diamond | 65.4% | 92.9% | Grok 4.5 |
| LiveBench reasoning | Not measured | 87.2% | Only Grok 4.5 measured |
| MMMU Pro (Vals AI) | 72.4% | 61.8% | GPT-4.1 |
| GPQA Diamond (Artificial Analysis run) | 66.6% | 93.1% | Grok 4.5 |
| Humanity's Last Exam (Artificial Analysis run) | 4.2% | 42.7% | Grok 4.5 |
| GPQA Diamond (Epoch AI run) | 66.9% | 93.4% | Grok 4.5 |
| ARC-AGI | 5.5% | 87.2% | Grok 4.5 |
| ARC-AGI-2 | 0.4% | 52.6% | Grok 4.5 |
| SimpleBench | 27.0% | 70.0% | Grok 4.5 |
| Chess puzzles | 3.0% | 35.0% | Grok 4.5 |
| LMArena Text: hard prompts | 1384 | 1462 | Grok 4.5 |
| LMArena Text: expert | 1364 | 1465 | Grok 4.5 |
| LMArena Text: hard prompts in English | 1393 | 1464 | Grok 4.5 |
| LMArena Vision: diagrams | 1215 | 1304 | Grok 4.5 |
| LMArena Vision: homework | 1248 | 1295 | Grok 4.5 |
| Neither model has a result on the other 6 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index04
| Benchmark | GPT-4.1 | Grok 4.5 | Leader |
|---|---|---|---|
| AIME | 39.6% | Not measured | Only GPT-4.1 measured |
| MATH 500 (Vals AI) | 87.2% | Not measured | Only GPT-4.1 measured |
| MGSM (Vals AI) | 87.7% | Not measured | Only GPT-4.1 measured |
| AA Math Index | 34.7 | Not measured | Only GPT-4.1 measured |
| AIME 2025 (Artificial Analysis run) | 34.7% | Not measured | Only GPT-4.1 measured |
| OTIS Mock AIME | 38.3% | 97.8% | Grok 4.5 |
| FrontierMath, tiers 1 to 3 | 6.0% | 57.2% | Grok 4.5 |
| FrontierMath, tier 4 | Not measured | 24.4% | Only Grok 4.5 measured |
| ProofBench | Not measured | 31.0% | Only Grok 4.5 measured |
| MATH level 5 | 83.0% | Not measured | Only GPT-4.1 measured |
| LMArena Text: math | 1369 | 1460 | Grok 4.5 |
| LMArena Text: mathematical work | 1360 | 1482 | Grok 4.5 |
| Neither model has a result on the other 1 board here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index28
| Benchmark | GPT-4.1 | Grok 4.5 | Leader |
|---|---|---|---|
| MMLU Pro | 80.5% | 89.2% | Grok 4.5 |
| LegalBench (Vals AI) | 83.1% | 86.0% | Grok 4.5 |
| CaseLaw (Vals AI) | 69.9% | Not measured | Only GPT-4.1 measured |
| CorpFin (Vals AI) | 63.0% | 67.4% | Grok 4.5 |
| TaxEval (Vals AI) | 75.1% | 71.7% | GPT-4.1 |
| MortgageTax (Vals AI) | 65.9% | 61.8% | GPT-4.1 |
| MedQA (Vals AI) | 91.2% | Not measured | Only GPT-4.1 measured |
| MedCode (Vals AI) | Not measured | 43.3% | Only Grok 4.5 measured |
| MMLU Pro (Artificial Analysis run) | 80.6% | Not measured | Only GPT-4.1 measured |
| SimpleQA Verified | 31.1% | 48.3% | Grok 4.5 |
| GeoBench | 72.0% | Not measured | Only GPT-4.1 measured |
| LMArena Text: science | 1382 | 1464 | Grok 4.5 |
| LMArena Text: medicine and healthcare | 1379 | 1440 | Grok 4.5 |
| LMArena Text: legal and government | 1399 | 1463 | Grok 4.5 |
| LMArena Text: business and finance | 1369 | 1441 | Grok 4.5 |
| Neither model has a result on the other 2 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index06
| Benchmark | GPT-4.1 | Grok 4.5 | Leader |
|---|---|---|---|
| Design Arena: websites | 1039 | 1281 | Grok 4.5 |
| Design Arena: UI components | 1000 | 1279 | Grok 4.5 |
| Design Arena: game dev | 1080 | 1263 | Grok 4.5 |
| Design Arena: data viz | 1104 | 1267 | Grok 4.5 |
| Design Arena: 3D | 850 | 1257 | Grok 4.5 |
| Design Arena: all code categories | 1026 | 1276 | Grok 4.5 |
| Design Arena: SVG | Not measured | 1215 | Only Grok 4.5 measured |
| Design Arena: ASCII art | Not measured | 1257 | Only Grok 4.5 measured |
| LiveBench design | Not measured | 78.1% | Only Grok 4.5 measured |
GeneralLike-for-likePublic boards, shown as published, kept out of the index026
| Benchmark | GPT-4.1 | Grok 4.5 | Leader |
|---|---|---|---|
| LiveBench data analysis | Not measured | 73.0% | Only Grok 4.5 measured |
| SAGE (Vals AI) | Not measured | 35.0% | Only Grok 4.5 measured |
| MedScribe (Vals AI) | Not measured | 86.9% | Only Grok 4.5 measured |
| Vals Multimodal Index | Not measured | 63.4% | Only Grok 4.5 measured |
| IFBench | 43.0% | Not measured | Only GPT-4.1 measured |
| Long context reasoning (AA-LCR) | 68.3% | 79.3% | Grok 4.5 |
| DTBench | 68.3% | 96.5% | Grok 4.5 |
| LMCA | 25.6% | 45.2% | Grok 4.5 |
| Fiction.LiveBench | 63.9% | Not measured | Only GPT-4.1 measured |
| Surface Evolver Bench | Not measured | 74.4% | Only Grok 4.5 measured |
| Furniture assembly | Not measured | 22.5% | Only Grok 4.5 measured |
| LMArena Text | 1383 | 1448 | Grok 4.5 |
| LMArena Text: instruction following | 1367 | 1445 | Grok 4.5 |
| LMArena Text: creative writing | 1363 | 1442 | Grok 4.5 |
| LMArena Vision | 1210 | 1287 | Grok 4.5 |
| LMArena Text: English | 1392 | 1453 | Grok 4.5 |
| LMArena Text: non-English | 1370 | 1440 | Grok 4.5 |
| LMArena Text: Chinese | 1382 | 1495 | Grok 4.5 |
| LMArena Text: German | 1381 | 1448 | Grok 4.5 |
| LMArena Text: Japanese | 1319 | 1430 | Grok 4.5 |
| LMArena Text: Korean | 1338 | 1406 | Grok 4.5 |
| LMArena Text: French | 1382 | 1457 | Grok 4.5 |
| LMArena Text: Spanish | 1376 | 1451 | Grok 4.5 |
| LMArena Text: Russian | 1377 | 1449 | Grok 4.5 |
| LMArena Text: Polish | 1389 | 1432 | Grok 4.5 |
| LMArena Text: multi-turn | 1397 | 1456 | Grok 4.5 |
| LMArena Text: longer queries | 1385 | 1462 | Grok 4.5 |
| LMArena Text: writing and language | 1371 | 1445 | Grok 4.5 |
| LMArena Text: entertainment and media | 1365 | 1434 | Grok 4.5 |
| LMArena Vision: English | 1209 | 1285 | Grok 4.5 |
| LMArena Vision: Chinese | 1226 | 1345 | Grok 4.5 |
| LMArena Vision: reading text | 1218 | 1293 | Grok 4.5 |
| LMArena Vision: humor | 1196 | 1276 | Grok 4.5 |
| LMArena Vision: captioning | 1207 | Not measured | Only GPT-4.1 measured |
| LMArena Vision: recognizing things | 1208 | Not measured | Only GPT-4.1 measured |
| LMArena Vision: creative writing | 1210 | 1293 | Grok 4.5 |
| LMArena Document | Not measured | 1452 | Only Grok 4.5 measured |
| Neither model has a result on the other 9 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GPT-4.1 | Grok 4.5 | 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.5 costs less
Repository review
50K input + 3K output tokens
Grok 4.5 costs less
Agent loop
200K input + 10K output tokens
Grok 4.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.
| Specification | OpenAI GPT-4.1 | SpaceXAI Grok 4.5 |
|---|---|---|
| Maker | OpenAI | xAI |
| Weights | No public weights listed | No public weights listed |
| Released | April 14, 2025 | July 8, 2026 |
| Context window | 1.05M | 500K |
| Input $/Mtok | $2.00 | $2.00 |
| Output $/Mtok | $8.00 | $6.00 |
| Coding index | 46.5 | 75.5 |
| Independent measurements behind it | 2 | 2 |
| Cost per solved task | $0.37 | $0.62 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GPT-4.1 better than Grok 4.5 for coding?
Pick Grok 4.5 for coding: it scores 75.5 on the Vibe Coding Index against 46.5 for GPT-4.1. Pick GPT-4.1 when a solved task costs $0.37 against $0.62, or when the context window is larger, 1.05M against 500K tokens.
Which is cheaper, GPT-4.1 or Grok 4.5?
GPT-4.1 costs $2.00 per million input tokens and $8.00 per million output tokens; Grok 4.5 costs $2.00 and $6.00. Per solved SWE-bench Verified task, GPT-4.1 costs $0.37 and Grok 4.5 $0.62.
Which has the bigger context window, GPT-4.1 or Grok 4.5?
GPT-4.1, with 1.05M tokens against 500K.
How many benchmarks is the GPT-4.1 vs Grok 4.5 comparison based on?
67 benchmarks have a result for both models as of October 21, 2026. GPT-4.1's coding index rests on 2 independent benchmarks and Grok 4.5's on 2. Where only one model has a result, the page says so instead of naming a winner.