GPT-5.1-Codex vs Grok 4.6
Updated October 21, 2026. 17 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.6 for coding: it scores 76.4 on the Vibe Coding Index against 50.5 for GPT-5.1-Codex.
GPT-5.1-Codex is neither cheaper nor larger in context, and leads no benchmark both models were measured on.
- Shared results
- 17
- GPT-5.1-Codex only
- 9
- Grok 4.6 only
- 106
- 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
Grok 4.6
Grok 4.6 scores 76.4 against 50.5.
2 benchmarks behind each score
Intelligence
AA Intelligence Index
Grok 4.6
Grok 4.6 leads, 44.3 against 23.7.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only Grok 4.6 has a AA Agentic Index result, 53.0.
Directional only
Reasoning
GPQA Diamond
No call
Only Grok 4.6 has a GPQA Diamond result, 94.7%.
Directional only
Knowledge
MMLU Pro
No call
Only Grok 4.6 has a MMLU Pro result, 89.4%.
Directional only
Web design
Design Arena: websites
Grok 4.6
Grok 4.6 leads, 1289 against 1162.
Same board, both measured
Long documents
Listed context window
Grok 4.6
Grok 4.6 takes 500K tokens against 400K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Grok 4.6
GPT-5.1-Codex $0.0063, Grok 4.6 $0.0050 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
Grok 4.6
GPT-5.1-Codex $0.892, Grok 4.6 $0.82.
Published attempt cost and pass rate
At a glance
- Coding index
- GPT-5.1-Codex 50.5 from 2 benchmarks, Grok 4.6 76.4 from 2 benchmarks.
- Widest category
- Coding, 31.3 points apart on average over 5 shared benchmarks.
- Widest single gap
- Vibe Code Bench (Vals AI): GPT-5.1-Codex 13.1% against Grok 4.6 76.2%, 63.1 points apart on a 0 to 100 scale.
- Output price
- GPT-5.1-Codex $10.00 against Grok 4.6 $6.00 per million output tokens, 1.7x apart.
- Context window
- GPT-5.1-Codex takes 400K tokens, Grok 4.6 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-5.1-Codex | Bars | Grok 4.6 | Ties |
|---|---|---|---|---|
| Coding | 0 | 5 | ||
| Intelligence | 0 | 1 | ||
| Agentic work | 0 | 3 | ||
| Reasoning | 0 | 2 | ||
| Web design | 0 | 5 | ||
| General | 0 | 1 | ||
| All shared boards | 0 | 17 |
CodingLike-for-likeFour of these boards feed the Vibe Coding Index05
| Benchmark | GPT-5.1-Codex | Grok 4.6 | Leader |
|---|---|---|---|
| SWE-bench Verified | 66.0% | Not measured | Only GPT-5.1-Codex measured |
| LiveBench coding | Not measured | 89.1% | Only Grok 4.6 measured |
| LMArena WebDev | 1337 | 1617 | Grok 4.6 |
| AA Coding Index | Not measured | 76.8 | Only Grok 4.6 measured |
| LiveCodeBench (Vals AI) | 85.5% | 88.2% | Grok 4.6 |
| SWE-bench Verified (Vals AI) | Not measured | 95.6% | Only Grok 4.6 measured |
| Terminal-Bench 4 (Vals AI) | Not measured | 17.2% | Only Grok 4.6 measured |
| Vibe Code Bench (Vals AI) | 13.1% | 76.2% | Grok 4.6 |
| Code migration (Vals AI) | Not measured | 44.6% | Only Grok 4.6 measured |
| ProgramBench (Vals AI) | Not measured | 1.0% | Only Grok 4.6 measured |
| IOI (Vals AI) | Not measured | 47.6% | Only Grok 4.6 measured |
| Terminal-Bench 2.1 (Vals AI) | Not measured | 78.3% | Only Grok 4.6 measured |
| Vibe Code Bench 1-100 (Vals AI) | Not measured | 14.8% | Only Grok 4.6 measured |
| SkillsBench (Vals AI) | Not measured | 55.8% | Only Grok 4.6 measured |
| CyberBench (Vals AI) | Not measured | 67.7% | Only Grok 4.6 measured |
| LiveCodeBench (Artificial Analysis run) | 84.9% | Not measured | Only GPT-5.1-Codex measured |
| SciCode | Not measured | 56.5% | Only Grok 4.6 measured |
| Terminal-Bench Hard (Artificial Analysis run) | 34.8% | Not measured | Only GPT-5.1-Codex measured |
| Terminal-Bench | 57.8% | Not measured | Only GPT-5.1-Codex measured |
| FrontierCode | Not measured | 48.0% | Only Grok 4.6 measured |
| FrontierSWE | Not measured | 25.3% | Only Grok 4.6 measured |
| WeirdML | Not measured | 67.3% | Only Grok 4.6 measured |
| ALE-Bench | 1244.9 | 1508.1 | Grok 4.6 |
| LMArena Text: coding | Not measured | 1466 | Only Grok 4.6 measured |
| LMArena Text: software and IT | Not measured | 1457 | Only Grok 4.6 measured |
| LMArena WebDev: React | Not measured | 1631 | Only Grok 4.6 measured |
| LMArena WebDev: HTML | 1346 | 1597 | Grok 4.6 |
| LMArena WebDev: from an image | Not measured | 1603 | Only Grok 4.6 measured |
| Neither model has a result on the other 10 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | GPT-5.1-Codex | Grok 4.6 | Leader |
|---|---|---|---|
| AA Intelligence Index | 23.7 | 44.3 | Grok 4.6 |
| Epoch Capabilities Index | Not measured | 156.6 | Only Grok 4.6 measured |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index03
| Benchmark | GPT-5.1-Codex | Grok 4.6 | Leader |
|---|---|---|---|
| AA Agentic Index | Not measured | 53.0 | Only Grok 4.6 measured |
| Design Arena: agents building web apps | 1018 | 1247 | Grok 4.6 |
| Design Arena: agents building full-stack apps | 1086 | 1264 | Grok 4.6 |
| Design Arena: agents building mobile apps | 1191 | 1234 | Grok 4.6 |
| Design Arena: agents building Android apps | Not measured | 1297 | Only Grok 4.6 measured |
| Design Arena: agents building Godot games | Not measured | 1276 | Only Grok 4.6 measured |
| Design Arena: agents building games | Not measured | 1208 | Only Grok 4.6 measured |
| Design Arena: HTML slides | Not measured | 1249 | Only Grok 4.6 measured |
| Design Arena: PowerPoint slides | Not measured | 1241 | Only Grok 4.6 measured |
| LiveBench research | Not measured | 84.5% | Only Grok 4.6 measured |
| LiveBench browser | Not measured | 64.0% | Only Grok 4.6 measured |
| LiveBench long agentic | Not measured | 40.7% | Only Grok 4.6 measured |
| Finance Agent (Vals AI) | Not measured | 53.7% | Only Grok 4.6 measured |
| Tax Agent Bench (Vals AI) | Not measured | 33.1% | Only Grok 4.6 measured |
| Legal Research Bench (Vals AI) | Not measured | 48.1% | Only Grok 4.6 measured |
| Excel Modeling Benchmark (Vals AI) | Not measured | 62.7% | Only Grok 4.6 measured |
| BioMysteryBench (Vals AI) | Not measured | 72.2% | Only Grok 4.6 measured |
| Terminal-Bench-Science (Vals AI) | Not measured | 11.4% | Only Grok 4.6 measured |
| Vals Science Index | Not measured | 38.1% | Only Grok 4.6 measured |
| Time Horizon Index (Vals AI) | Not measured | 5.8% | Only Grok 4.6 measured |
| τ²-Bench Telecom | 83.0% | Not measured | Only GPT-5.1-Codex measured |
| APEX-Agents | Not measured | 65.3% | Only Grok 4.6 measured |
| Vending-Bench 2 | Not measured | $9,047 | Only Grok 4.6 measured |
| Neither model has a result on the other 16 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | GPT-5.1-Codex | Grok 4.6 | Leader |
|---|---|---|---|
| GPQA Diamond | Not measured | 94.7% | Only Grok 4.6 measured |
| LiveBench reasoning | Not measured | 91.2% | Only Grok 4.6 measured |
| MysteryMechanism (Vals AI) | Not measured | 30.6% | Only Grok 4.6 measured |
| GPQA Diamond (Artificial Analysis run) | 86.0% | 94.9% | Grok 4.6 |
| Humanity's Last Exam (Artificial Analysis run) | 25.7% | 44.1% | Grok 4.6 |
| GPQA Diamond (Epoch AI run) | Not measured | 94.0% | Only Grok 4.6 measured |
| ARC-AGI | Not measured | 87.5% | Only Grok 4.6 measured |
| ARC-AGI-2 | Not measured | 67.1% | Only Grok 4.6 measured |
| SimpleBench | Not measured | 75.9% | Only Grok 4.6 measured |
| Chess puzzles | Not measured | 33.0% | Only Grok 4.6 measured |
| Mystery game puzzles | Not measured | 34.0% | Only Grok 4.6 measured |
| EBR-bench | Not measured | 30.5% | Only Grok 4.6 measured |
| LMArena Text: hard prompts | Not measured | 1448 | Only Grok 4.6 measured |
| LMArena Text: expert | Not measured | 1469 | Only Grok 4.6 measured |
| LMArena Text: hard prompts in English | Not measured | 1445 | Only Grok 4.6 measured |
| LMArena Vision: diagrams | Not measured | 1285 | Only Grok 4.6 measured |
| LMArena Vision: homework | Not measured | 1283 | Only Grok 4.6 measured |
| Neither model has a result on the other 4 boards here | |||
MathDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
| Benchmark | GPT-5.1-Codex | Grok 4.6 | Leader |
|---|---|---|---|
| AA Math Index | 95.7 | Not measured | Only GPT-5.1-Codex measured |
| AIME 2025 (Artificial Analysis run) | 95.7% | Not measured | Only GPT-5.1-Codex measured |
| OTIS Mock AIME | Not measured | 99.2% | Only Grok 4.6 measured |
| FrontierMath, tiers 1 to 3 | Not measured | 66.0% | Only Grok 4.6 measured |
| FrontierMath, tier 4 | Not measured | 31.7% | Only Grok 4.6 measured |
| ProofBench | Not measured | 51.0% | Only Grok 4.6 measured |
| LMArena Text: math | Not measured | 1417 | Only Grok 4.6 measured |
| LMArena Text: mathematical work | Not measured | 1464 | Only Grok 4.6 measured |
| Neither model has a result on the other 5 boards here | |||
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index12 boards, none shared
| Benchmark | GPT-5.1-Codex | Grok 4.6 | Leader |
|---|---|---|---|
| MMLU Pro | Not measured | 89.4% | Only Grok 4.6 measured |
| LegalBench (Vals AI) | Not measured | 86.3% | Only Grok 4.6 measured |
| CorpFin (Vals AI) | Not measured | 66.2% | Only Grok 4.6 measured |
| TaxEval (Vals AI) | Not measured | 71.1% | Only Grok 4.6 measured |
| MortgageTax (Vals AI) | Not measured | 64.2% | Only Grok 4.6 measured |
| MedCode (Vals AI) | Not measured | 44.7% | Only Grok 4.6 measured |
| MMLU Pro (Artificial Analysis run) | 86.0% | Not measured | Only GPT-5.1-Codex measured |
| SimpleQA Verified | Not measured | 49.3% | Only Grok 4.6 measured |
| LMArena Text: science | Not measured | 1437 | Only Grok 4.6 measured |
| LMArena Text: medicine and healthcare | Not measured | 1420 | Only Grok 4.6 measured |
| LMArena Text: legal and government | Not measured | 1429 | Only Grok 4.6 measured |
| LMArena Text: business and finance | Not measured | 1416 | Only Grok 4.6 measured |
| Neither model has a result on the other 5 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index05
| Benchmark | GPT-5.1-Codex | Grok 4.6 | Leader |
|---|---|---|---|
| Design Arena: websites | 1162 | 1289 | Grok 4.6 |
| Design Arena: UI components | 1237 | 1294 | Grok 4.6 |
| Design Arena: game dev | 1138 | 1296 | Grok 4.6 |
| Design Arena: data viz | 1213 | 1283 | Grok 4.6 |
| Design Arena: 3D | Not measured | 1277 | Only Grok 4.6 measured |
| Design Arena: all code categories | 1153 | 1292 | Grok 4.6 |
| Design Arena: SVG | Not measured | 1239 | Only Grok 4.6 measured |
| Design Arena: ASCII art | Not measured | 1278 | Only Grok 4.6 measured |
| LiveBench design | Not measured | 79.8% | Only Grok 4.6 measured |
GeneralLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | GPT-5.1-Codex | Grok 4.6 | Leader |
|---|---|---|---|
| LiveBench data analysis | Not measured | 75.3% | Only Grok 4.6 measured |
| Public Benefits Bench (Vals AI) | Not measured | 66.8% | Only Grok 4.6 measured |
| SAGE (Vals AI) | Not measured | 28.9% | Only Grok 4.6 measured |
| MedScribe (Vals AI) | Not measured | 86.5% | Only Grok 4.6 measured |
| IFBench | 70.0% | Not measured | Only GPT-5.1-Codex measured |
| Long context reasoning (AA-LCR) | 69.3% | 81.0% | Grok 4.6 |
| DTBench | Not measured | 97.3% | Only Grok 4.6 measured |
| LMCA | Not measured | 48.5% | Only Grok 4.6 measured |
| Furniture assembly | Not measured | 40.0% | Only Grok 4.6 measured |
| LMArena Text | Not measured | 1429 | Only Grok 4.6 measured |
| LMArena Text: instruction following | Not measured | 1431 | Only Grok 4.6 measured |
| LMArena Text: creative writing | Not measured | 1426 | Only Grok 4.6 measured |
| LMArena Vision | Not measured | 1263 | Only Grok 4.6 measured |
| LMArena Text: English | Not measured | 1433 | Only Grok 4.6 measured |
| LMArena Text: non-English | Not measured | 1420 | Only Grok 4.6 measured |
| LMArena Text: Chinese | Not measured | 1476 | Only Grok 4.6 measured |
| LMArena Text: German | Not measured | 1426 | Only Grok 4.6 measured |
| LMArena Text: Japanese | Not measured | 1378 | Only Grok 4.6 measured |
| LMArena Text: Korean | Not measured | 1391 | Only Grok 4.6 measured |
| LMArena Text: French | Not measured | 1455 | Only Grok 4.6 measured |
| LMArena Text: Spanish | Not measured | 1414 | Only Grok 4.6 measured |
| LMArena Text: Russian | Not measured | 1421 | Only Grok 4.6 measured |
| LMArena Text: Polish | Not measured | 1430 | Only Grok 4.6 measured |
| LMArena Text: multi-turn | Not measured | 1425 | Only Grok 4.6 measured |
| LMArena Text: longer queries | Not measured | 1456 | Only Grok 4.6 measured |
| LMArena Text: writing and language | Not measured | 1429 | Only Grok 4.6 measured |
| LMArena Text: entertainment and media | Not measured | 1421 | Only Grok 4.6 measured |
| LMArena Vision: English | Not measured | 1270 | Only Grok 4.6 measured |
| LMArena Vision: Chinese | Not measured | 1289 | Only Grok 4.6 measured |
| LMArena Vision: reading text | Not measured | 1272 | Only Grok 4.6 measured |
| LMArena Vision: humor | Not measured | 1270 | Only Grok 4.6 measured |
| LMArena Vision: creative writing | Not measured | 1262 | Only Grok 4.6 measured |
| LMArena Document | Not measured | 1452 | Only Grok 4.6 measured |
| Neither model has a result on the other 13 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | GPT-5.1-Codex | Grok 4.6 | 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.6 costs less
Repository review
50K input + 3K output tokens
GPT-5.1-Codex costs less
Agent loop
200K input + 10K output tokens
GPT-5.1-Codex 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.1-Codex | SpaceXAI Grok 4.6 |
|---|---|---|
| Maker | OpenAI | xAI |
| Weights | No public weights listed | No public weights listed |
| Released | November 13, 2025 | August 12, 2026 |
| Context window | 400K | 500K |
| Input $/Mtok | $1.25 | $2.00 |
| Output $/Mtok | $10.00 | $6.00 |
| Coding index | 50.5 | 76.4 |
| Independent measurements behind it | 2 | 2 |
| Cost per solved task | $0.892 | $0.82 |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is GPT-5.1-Codex better than Grok 4.6 for coding?
Pick Grok 4.6 for coding: it scores 76.4 on the Vibe Coding Index against 50.5 for GPT-5.1-Codex. GPT-5.1-Codex is neither cheaper nor larger in context, and leads no benchmark both models were measured on.
Which is cheaper, GPT-5.1-Codex or Grok 4.6?
GPT-5.1-Codex costs $1.25 per million input tokens and $10.00 per million output tokens; Grok 4.6 costs $2.00 and $6.00. Per solved SWE-bench Verified task, GPT-5.1-Codex costs $0.892 and Grok 4.6 $0.82.
Which has the bigger context window, GPT-5.1-Codex or Grok 4.6?
Grok 4.6, with 500K tokens against 400K.
How many benchmarks is the GPT-5.1-Codex vs Grok 4.6 comparison based on?
17 benchmarks have a result for both models as of October 21, 2026. GPT-5.1-Codex's coding index rests on 2 independent benchmarks and Grok 4.6's on 2. Where only one model has a result, the page says so instead of naming a winner.