LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

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.

GPT-5.1-CodexOpenAI
Coding
50.5
Overall
23.7
Output $/M
$10.00
0
Grok 4.6xAI
Coding
76.4
Overall
44.3
Output $/M
$6.00
17
vs boards won of 17 shared

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.

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.

Boards won, where both have a result
CategoryGPT-5.1-CodexBarsGrok 4.6Ties
Coding05
Intelligence01
Agentic work03
Reasoning02
Web design05
General01
All shared boards017
CodingLike-for-likeFour of these boards feed the Vibe Coding Index05
Coding benchmarks for GPT-5.1-Codex and Grok 4.6
BenchmarkGPT-5.1-CodexGrok 4.6Leader
SWE-bench Verified66.0%Not measuredOnly GPT-5.1-Codex measured
LiveBench codingNot measured89.1%Only Grok 4.6 measured
LMArena WebDev13371617Grok 4.6
AA Coding IndexNot measured76.8Only Grok 4.6 measured
LiveCodeBench (Vals AI)85.5%88.2%Grok 4.6
SWE-bench Verified (Vals AI)Not measured95.6%Only Grok 4.6 measured
Terminal-Bench 4 (Vals AI)Not measured17.2%Only Grok 4.6 measured
Vibe Code Bench (Vals AI)13.1%76.2%Grok 4.6
Code migration (Vals AI)Not measured44.6%Only Grok 4.6 measured
ProgramBench (Vals AI)Not measured1.0%Only Grok 4.6 measured
IOI (Vals AI)Not measured47.6%Only Grok 4.6 measured
Terminal-Bench 2.1 (Vals AI)Not measured78.3%Only Grok 4.6 measured
Vibe Code Bench 1-100 (Vals AI)Not measured14.8%Only Grok 4.6 measured
SkillsBench (Vals AI)Not measured55.8%Only Grok 4.6 measured
CyberBench (Vals AI)Not measured67.7%Only Grok 4.6 measured
LiveCodeBench (Artificial Analysis run)84.9%Not measuredOnly GPT-5.1-Codex measured
SciCodeNot measured56.5%Only Grok 4.6 measured
Terminal-Bench Hard (Artificial Analysis run)34.8%Not measuredOnly GPT-5.1-Codex measured
Terminal-Bench57.8%Not measuredOnly GPT-5.1-Codex measured
FrontierCodeNot measured48.0%Only Grok 4.6 measured
FrontierSWENot measured25.3%Only Grok 4.6 measured
WeirdMLNot measured67.3%Only Grok 4.6 measured
ALE-Bench1244.91508.1Grok 4.6
LMArena Text: codingNot measured1466Only Grok 4.6 measured
LMArena Text: software and ITNot measured1457Only Grok 4.6 measured
LMArena WebDev: ReactNot measured1631Only Grok 4.6 measured
LMArena WebDev: HTML13461597Grok 4.6
LMArena WebDev: from an imageNot measured1603Only 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
Intelligence benchmarks for GPT-5.1-Codex and Grok 4.6
BenchmarkGPT-5.1-CodexGrok 4.6Leader
AA Intelligence Index23.744.3Grok 4.6
Epoch Capabilities IndexNot measured156.6Only Grok 4.6 measured
Agentic workLike-for-likePublic boards, shown as published, kept out of the index03
Agentic work benchmarks for GPT-5.1-Codex and Grok 4.6
BenchmarkGPT-5.1-CodexGrok 4.6Leader
AA Agentic IndexNot measured53.0Only Grok 4.6 measured
Design Arena: agents building web apps10181247Grok 4.6
Design Arena: agents building full-stack apps10861264Grok 4.6
Design Arena: agents building mobile apps11911234Grok 4.6
Design Arena: agents building Android appsNot measured1297Only Grok 4.6 measured
Design Arena: agents building Godot gamesNot measured1276Only Grok 4.6 measured
Design Arena: agents building gamesNot measured1208Only Grok 4.6 measured
Design Arena: HTML slidesNot measured1249Only Grok 4.6 measured
Design Arena: PowerPoint slidesNot measured1241Only Grok 4.6 measured
LiveBench researchNot measured84.5%Only Grok 4.6 measured
LiveBench browserNot measured64.0%Only Grok 4.6 measured
LiveBench long agenticNot measured40.7%Only Grok 4.6 measured
Finance Agent (Vals AI)Not measured53.7%Only Grok 4.6 measured
Tax Agent Bench (Vals AI)Not measured33.1%Only Grok 4.6 measured
Legal Research Bench (Vals AI)Not measured48.1%Only Grok 4.6 measured
Excel Modeling Benchmark (Vals AI)Not measured62.7%Only Grok 4.6 measured
BioMysteryBench (Vals AI)Not measured72.2%Only Grok 4.6 measured
Terminal-Bench-Science (Vals AI)Not measured11.4%Only Grok 4.6 measured
Vals Science IndexNot measured38.1%Only Grok 4.6 measured
Time Horizon Index (Vals AI)Not measured5.8%Only Grok 4.6 measured
τ²-Bench Telecom83.0%Not measuredOnly GPT-5.1-Codex measured
APEX-AgentsNot measured65.3%Only Grok 4.6 measured
Vending-Bench 2Not measured$9,047Only 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
Reasoning benchmarks for GPT-5.1-Codex and Grok 4.6
BenchmarkGPT-5.1-CodexGrok 4.6Leader
GPQA DiamondNot measured94.7%Only Grok 4.6 measured
LiveBench reasoningNot measured91.2%Only Grok 4.6 measured
MysteryMechanism (Vals AI)Not measured30.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 measured94.0%Only Grok 4.6 measured
ARC-AGINot measured87.5%Only Grok 4.6 measured
ARC-AGI-2Not measured67.1%Only Grok 4.6 measured
SimpleBenchNot measured75.9%Only Grok 4.6 measured
Chess puzzlesNot measured33.0%Only Grok 4.6 measured
Mystery game puzzlesNot measured34.0%Only Grok 4.6 measured
EBR-benchNot measured30.5%Only Grok 4.6 measured
LMArena Text: hard promptsNot measured1448Only Grok 4.6 measured
LMArena Text: expertNot measured1469Only Grok 4.6 measured
LMArena Text: hard prompts in EnglishNot measured1445Only Grok 4.6 measured
LMArena Vision: diagramsNot measured1285Only Grok 4.6 measured
LMArena Vision: homeworkNot measured1283Only 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
Math benchmarks for GPT-5.1-Codex and Grok 4.6
BenchmarkGPT-5.1-CodexGrok 4.6Leader
AA Math Index95.7Not measuredOnly GPT-5.1-Codex measured
AIME 2025 (Artificial Analysis run)95.7%Not measuredOnly GPT-5.1-Codex measured
OTIS Mock AIMENot measured99.2%Only Grok 4.6 measured
FrontierMath, tiers 1 to 3Not measured66.0%Only Grok 4.6 measured
FrontierMath, tier 4Not measured31.7%Only Grok 4.6 measured
ProofBenchNot measured51.0%Only Grok 4.6 measured
LMArena Text: mathNot measured1417Only Grok 4.6 measured
LMArena Text: mathematical workNot measured1464Only 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
Knowledge benchmarks for GPT-5.1-Codex and Grok 4.6
BenchmarkGPT-5.1-CodexGrok 4.6Leader
MMLU ProNot measured89.4%Only Grok 4.6 measured
LegalBench (Vals AI)Not measured86.3%Only Grok 4.6 measured
CorpFin (Vals AI)Not measured66.2%Only Grok 4.6 measured
TaxEval (Vals AI)Not measured71.1%Only Grok 4.6 measured
MortgageTax (Vals AI)Not measured64.2%Only Grok 4.6 measured
MedCode (Vals AI)Not measured44.7%Only Grok 4.6 measured
MMLU Pro (Artificial Analysis run)86.0%Not measuredOnly GPT-5.1-Codex measured
SimpleQA VerifiedNot measured49.3%Only Grok 4.6 measured
LMArena Text: scienceNot measured1437Only Grok 4.6 measured
LMArena Text: medicine and healthcareNot measured1420Only Grok 4.6 measured
LMArena Text: legal and governmentNot measured1429Only Grok 4.6 measured
LMArena Text: business and financeNot measured1416Only 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
Web design benchmarks for GPT-5.1-Codex and Grok 4.6
BenchmarkGPT-5.1-CodexGrok 4.6Leader
Design Arena: websites11621289Grok 4.6
Design Arena: UI components12371294Grok 4.6
Design Arena: game dev11381296Grok 4.6
Design Arena: data viz12131283Grok 4.6
Design Arena: 3DNot measured1277Only Grok 4.6 measured
Design Arena: all code categories11531292Grok 4.6
Design Arena: SVGNot measured1239Only Grok 4.6 measured
Design Arena: ASCII artNot measured1278Only Grok 4.6 measured
LiveBench designNot measured79.8%Only Grok 4.6 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index01
General benchmarks for GPT-5.1-Codex and Grok 4.6
BenchmarkGPT-5.1-CodexGrok 4.6Leader
LiveBench data analysisNot measured75.3%Only Grok 4.6 measured
Public Benefits Bench (Vals AI)Not measured66.8%Only Grok 4.6 measured
SAGE (Vals AI)Not measured28.9%Only Grok 4.6 measured
MedScribe (Vals AI)Not measured86.5%Only Grok 4.6 measured
IFBench70.0%Not measuredOnly GPT-5.1-Codex measured
Long context reasoning (AA-LCR)69.3%81.0%Grok 4.6
DTBenchNot measured97.3%Only Grok 4.6 measured
LMCANot measured48.5%Only Grok 4.6 measured
Furniture assemblyNot measured40.0%Only Grok 4.6 measured
LMArena TextNot measured1429Only Grok 4.6 measured
LMArena Text: instruction followingNot measured1431Only Grok 4.6 measured
LMArena Text: creative writingNot measured1426Only Grok 4.6 measured
LMArena VisionNot measured1263Only Grok 4.6 measured
LMArena Text: EnglishNot measured1433Only Grok 4.6 measured
LMArena Text: non-EnglishNot measured1420Only Grok 4.6 measured
LMArena Text: ChineseNot measured1476Only Grok 4.6 measured
LMArena Text: GermanNot measured1426Only Grok 4.6 measured
LMArena Text: JapaneseNot measured1378Only Grok 4.6 measured
LMArena Text: KoreanNot measured1391Only Grok 4.6 measured
LMArena Text: FrenchNot measured1455Only Grok 4.6 measured
LMArena Text: SpanishNot measured1414Only Grok 4.6 measured
LMArena Text: RussianNot measured1421Only Grok 4.6 measured
LMArena Text: PolishNot measured1430Only Grok 4.6 measured
LMArena Text: multi-turnNot measured1425Only Grok 4.6 measured
LMArena Text: longer queriesNot measured1456Only Grok 4.6 measured
LMArena Text: writing and languageNot measured1429Only Grok 4.6 measured
LMArena Text: entertainment and mediaNot measured1421Only Grok 4.6 measured
LMArena Vision: EnglishNot measured1270Only Grok 4.6 measured
LMArena Vision: ChineseNot measured1289Only Grok 4.6 measured
LMArena Vision: reading textNot measured1272Only Grok 4.6 measured
LMArena Vision: humorNot measured1270Only Grok 4.6 measured
LMArena Vision: creative writingNot measured1262Only Grok 4.6 measured
LMArena DocumentNot measured1452Only 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
Image generation benchmarks for GPT-5.1-Codex and Grok 4.6
BenchmarkGPT-5.1-CodexGrok 4.6Leader
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-Codex$0.0063Fits in one request
Grok 4.6$0.0050Fits in one request

Grok 4.6 costs less

Repository review

50K input + 3K output tokens

GPT-5.1-Codex$0.092Fits in one request
Grok 4.6$0.118Fits in one request

GPT-5.1-Codex costs less

Agent loop

200K input + 10K output tokens

GPT-5.1-Codex$0.350Fits in one request
Grok 4.6$0.460Fits in one request

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.

Specifications of GPT-5.1-Codex and Grok 4.6
SpecificationOpenAI GPT-5.1-CodexSpaceXAI Grok 4.6
MakerOpenAIxAI
WeightsNo public weights listedNo public weights listed
ReleasedNovember 13, 2025August 12, 2026
Context window400K500K
Input $/Mtok$1.25$2.00
Output $/Mtok$10.00$6.00
Coding index50.576.4
Independent measurements behind it22
Cost per solved task$0.892$0.82
SourceOpenRouter listingOpenRouter 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.

Compare next

Embed this comparison on your site

Free under CC BY 4.0, while the source link stays visible. Preview the frame · Terms and other embeds

<iframe src="https://llmbenchmark.ai/embed/compare/gpt-5-1-codex-vs-grok-4-6" title="GPT-5.1-Codex vs Grok 4.6, LLMBenchmark.ai" width="100%" height="360" style="border:0;max-width:100%" loading="lazy"></iframe>
<p style="font:13px/1.4 sans-serif;margin:6px 0 0">Source: <a href="https://llmbenchmark.ai/compare/gpt-5-1-codex-vs-grok-4-6">LLMBenchmark.ai, GPT-5.1-Codex vs Grok 4.6</a></p>