Enter opens the highlighted result. Esc closes.

GPT-5.1 vs Grok 4.7

Grok 4.7 leads GPT-5.1 on coding, 60.8 to 53.2 on the Vibe Coding Index, and Grok 4.7 costs 1.7x less per output token ($6.00 vs $10.00 per million). Updated December 6, 2026; 67 benchmarks have a result for both.

GPT-5.1OpenAI
Coding
53.2
Overall
62.9
Output $/M
$10.00
40
Grok 4.7xAI
Coding
60.8
Overall
62.5
Output $/M
$6.00
27
vs boards won of 67 shared

GPT-5.1 or Grok 4.7: which to pick

Pick Grok 4.7 for coding: it scores 60.8 on the Vibe Coding Index against 53.2 for GPT-5.1.

Pick GPT-5.1 for work measured by LMArena Text: coding or LMArena Text: software and IT, where it leads.

Shared results
67
GPT-5.1 only
36
Grok 4.7 only
54
Like-for-like categories
8 of 9

Only benchmarks that tested both models count toward a pick; a result only one model has is shown but not compared.

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 53.2 from 2 benchmarks, Grok 4.7 60.8 from 5 benchmarks.
Widest category
Agentic work, 56.6 points apart on average over 1 shared benchmark.
Widest single gap
GDPval-AA: GPT-5.1 837 against Grok 4.7 1719, 73.5 points apart on a 0 to 100 scale.
Output price
GPT-5.1 $10.00 against Grok 4.7 $6.00 per million output tokens, 1.7x apart.
Context window
GPT-5.1 takes 400K tokens, Grok 4.7 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.1BarsGrok 4.7Ties
Coding24
Intelligence01
Agentic work01
Reasoning56
Math22
Knowledge81
Web design07
General235
All shared boards4027
CodingLike-for-likeSix of these boards feed the Vibe Coding Index24
Coding benchmarks for GPT-5.1 and Grok 4.7
BenchmarkGPT-5.1Grok 4.7Leader
SWE-bench Verified66.0%Not measuredOnly GPT-5.1 measured
LiveBench codingNot measured73.1%Only Grok 4.7 measured
LMArena WebDev13971641Grok 4.7
LiveCodeBench (Vals AI)86.5%Not measuredOnly GPT-5.1 measured
SWE-bench Verified (Vals AI)69.8%Not measuredOnly GPT-5.1 measured
Terminal-Bench 4 (Vals AI)Not measured28.8%Only Grok 4.7 measured
Vibe Code Bench (Vals AI)Not measured69.1%Only Grok 4.7 measured
Code migration (Vals AI)Not measured44.8%Only Grok 4.7 measured
ProgramBench (Vals AI)Not measured0.5%Only Grok 4.7 measured
IOI (Vals AI)Not measured57.7%Only Grok 4.7 measured
Terminal-Bench 2.1 (Vals AI)Not measured73.4%Only Grok 4.7 measured
SWE-bench Multimodal (Vals AI)Not measured42.9%Only Grok 4.7 measured
CyberBench (Vals AI)Not measured69.5%Only Grok 4.7 measured
LiveCodeBench (Artificial Analysis run)86.8%Not measuredOnly GPT-5.1 measured
SciCodeNot measured57.4%Only Grok 4.7 measured
Terminal-Bench Hard (Artificial Analysis run)45.5%Not measuredOnly GPT-5.1 measured
Terminal-Bench 4.0 (Artificial Analysis run)Not measured25.8%Only Grok 4.7 measured
FrontierCode 2.0Not measured28.9%Only Grok 4.7 measured
Terminal-Bench47.6%Not measuredOnly GPT-5.1 measured
FrontierCodeNot measured47.6%Only Grok 4.7 measured
FrontierSWENot measured29.5%Only Grok 4.7 measured
GSO-Bench13.7%Not measuredOnly GPT-5.1 measured
WeirdML60.8%Not measuredOnly GPT-5.1 measured
MirrorCodeNot measured54.4%Only Grok 4.7 measured
ALE-BenchNot measured1545.8Only Grok 4.7 measured
LMArena Text: coding14531424GPT-5.1
LMArena Text: software and IT14541421GPT-5.1
LMArena WebDev: React13061662Grok 4.7
LMArena WebDev: HTML14061629Grok 4.7
LMArena WebDev: from an image14191592Grok 4.7
GameBench 2Not measured72.3Only Grok 4.7 measured
Terminal-Bench 2.047.6%Not measuredOnly GPT-5.1 measured
Terminal-Bench 4.0Not measured37.6%Only Grok 4.7 measured
CursorBench 4.0Not measured48.6%Only Grok 4.7 measured
Neither model has a result on the other 18 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index01
Intelligence benchmarks for GPT-5.1 and Grok 4.7
BenchmarkGPT-5.1Grok 4.7Leader
AA Intelligence IndexNot measured35.0Only Grok 4.7 measured
Epoch Capabilities Index150.9156.2Grok 4.7
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for GPT-5.1 and Grok 4.7
BenchmarkGPT-5.1Grok 4.7Leader
Design Arena: agents building full-stack appsNot measured1324Only Grok 4.7 measured
Design Arena: agents building mobile appsNot measured1243Only Grok 4.7 measured
Design Arena: spreadsheetsNot measured1407Only Grok 4.7 measured
LiveBench researchNot measured89.5%Only Grok 4.7 measured
LiveBench browserNot measured49.3%Only Grok 4.7 measured
LiveBench long agenticNot measured45.3%Only Grok 4.7 measured
SREBench (Vals AI)Not measured3.8%Only Grok 4.7 measured
Finance Agent (Vals AI)Not measured52.3%Only Grok 4.7 measured
Tax Agent Bench (Vals AI)Not measured35.8%Only Grok 4.7 measured
Legal Research Bench (Vals AI)Not measured47.1%Only Grok 4.7 measured
Harvey's Legal Agent Benchmark (Vals AI)Not measured18.3%Only Grok 4.7 measured
Excel Modeling Benchmark (Vals AI)Not measured67.0%Only Grok 4.7 measured
BioMysteryBench (Vals AI)Not measured69.3%Only Grok 4.7 measured
Terminal-Bench-Science (Vals AI)Not measured11.4%Only Grok 4.7 measured
Vals Science IndexNot measured35.3%Only Grok 4.7 measured
Robo-bench (Vals AI)Not measured0.8%Only Grok 4.7 measured
τ²-Bench Telecom81.9%Not measuredOnly GPT-5.1 measured
APEX-AgentsNot measured70.0%Only Grok 4.7 measured
DeepResearch Bench42.8%Not measuredOnly GPT-5.1 measured
Vending-Bench 2$1,473$10,537Grok 4.7
LMArena Search1199Not measuredOnly GPT-5.1 measured
MCP Atlas50.1%Not measuredOnly GPT-5.1 measured
Neither model has a result on the other 22 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index56
Reasoning benchmarks for GPT-5.1 and Grok 4.7
BenchmarkGPT-5.1Grok 4.7Leader
GPQA Diamond86.6%Not measuredOnly GPT-5.1 measured
LiveBench reasoningNot measured82.7%Only Grok 4.7 measured
MysteryMechanism (Vals AI)Not measured25.2%Only Grok 4.7 measured
MMMU Pro (Vals AI)83.2%Not measuredOnly GPT-5.1 measured
GPQA Diamond (Artificial Analysis run)87.3%Not measuredOnly GPT-5.1 measured
Humanity's Last Exam (Artificial Analysis run)28.5%43.1%Grok 4.7
HLE-Diamond (Artificial Analysis run)Not measured23.2%Only Grok 4.7 measured
CritPt v2, hard subset (Artificial Analysis run)Not measured33.5%Only Grok 4.7 measured
GPQA Diamond (Epoch AI run)87.6%92.7%Grok 4.7
ARC-AGI72.8%90.2%Grok 4.7
ARC-AGI-217.6%61.4%Grok 4.7
SimpleBench53.2%Not measuredOnly GPT-5.1 measured
Chess puzzles42.0%41.0%GPT-5.1
Mystery game puzzles19.0%29.0%Grok 4.7
VPCT58.7%Not measuredOnly GPT-5.1 measured
LMArena Text: hard prompts14571415GPT-5.1
LMArena Text: expert14691430GPT-5.1
LMArena Text: hard prompts in English14621421GPT-5.1
LMArena Vision: diagrams12641257GPT-5.1
LMArena Vision: homework12741283Grok 4.7
Humanity's Last Exam (Scale run)Not measured21.7%Only Grok 4.7 measured
Neither model has a result on the other 5 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index22
Math benchmarks for GPT-5.1 and Grok 4.7
BenchmarkGPT-5.1Grok 4.7Leader
AIME93.3%Not measuredOnly GPT-5.1 measured
MGSM (Vals AI)93.0%Not measuredOnly GPT-5.1 measured
AIME 2025 (Artificial Analysis run)94.0%Not measuredOnly GPT-5.1 measured
OTIS Mock AIME88.6%98.1%Grok 4.7
FrontierMath, tiers 1 to 3Not measured53.0%Only Grok 4.7 measured
FrontierMath, tier 4Not measured17.1%Only Grok 4.7 measured
ProofBenchNot measured26.0%Only Grok 4.7 measured
LMArena Text: math14471412GPT-5.1
LMArena Text: mathematical work14501434GPT-5.1
MathArena16.0%34.9%Grok 4.7
Neither model has a result on the other 4 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index81
Knowledge benchmarks for GPT-5.1 and Grok 4.7
BenchmarkGPT-5.1Grok 4.7Leader
MMLU Pro86.4%Not measuredOnly GPT-5.1 measured
LegalBench (Vals AI)85.7%84.4%GPT-5.1
CaseLaw (Vals AI)73.4%Not measuredOnly GPT-5.1 measured
CorpFin (Vals AI)63.8%Not measuredOnly GPT-5.1 measured
TaxEval (Vals AI)74.9%Not measuredOnly GPT-5.1 measured
MortgageTax (Vals AI)61.4%Not measuredOnly GPT-5.1 measured
MedQA (Vals AI)96.4%Not measuredOnly GPT-5.1 measured
MedCode (Vals AI)52.7%49.5%GPT-5.1
MMLU Pro (Artificial Analysis run)87.0%Not measuredOnly GPT-5.1 measured
AA-OmniscienceNot measured31.2Only Grok 4.7 measured
SimpleQA Verified48.0%56.0%Grok 4.7
GeoBenchNot measured61.0%Only Grok 4.7 measured
LMArena Text: science14591413GPT-5.1
LMArena Text: medicine and healthcare14561397GPT-5.1
LMArena Text: legal and government14591420GPT-5.1
LMArena Text: business and finance14311392GPT-5.1
FACTS Benchmark SuiteNot measured62.3%Only Grok 4.7 measured
PRBench Finance48.0%47.2%GPT-5.1
PRBench Legal48.0%47.2%GPT-5.1
Neither model has a result on the other 2 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index07
Web design benchmarks for GPT-5.1 and Grok 4.7
BenchmarkGPT-5.1Grok 4.7Leader
Design Arena: websites12271293Grok 4.7
Design Arena: UI components11461274Grok 4.7
Design Arena: game dev11491288Grok 4.7
Design Arena: data viz11981218Grok 4.7
Design Arena: 3D9861234Grok 4.7
Design Arena: all code categories12101319Grok 4.7
Design Arena: SVG11901307Grok 4.7
Design Arena: ASCII art1096Not measuredOnly GPT-5.1 measured
LiveBench designNot measured75.0%Only Grok 4.7 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index235
General benchmarks for GPT-5.1 and Grok 4.7
BenchmarkGPT-5.1Grok 4.7Leader
Vals IndexNot measured56.5%Only Grok 4.7 measured
LiveBench data analysisNot measured76.9%Only Grok 4.7 measured
Public Benefits Bench (Vals AI)Not measured65.6%Only Grok 4.7 measured
SAGE (Vals AI)Not measured88.7%Only Grok 4.7 measured
MedScribe (Vals AI)88.1%89.4%Grok 4.7
IFBench72.9%Not measuredOnly GPT-5.1 measured
Long context reasoning (AA-LCR)80.0%76.7%GPT-5.1
GDPval-AA8371719Grok 4.7
DTBench90.1%96.0%Grok 4.7
LMCA43.9%49.4%Grok 4.7
CL-bench23.7%Not measuredOnly GPT-5.1 measured
Furniture assemblyNot measured20.8%Only Grok 4.7 measured
CL-bench Life17.3%Not measuredOnly GPT-5.1 measured
LMArena Text14421401GPT-5.1
LMArena Text: instruction following14421403GPT-5.1
LMArena Text: creative writing14271383GPT-5.1
LMArena Vision12491230GPT-5.1
LMArena Text: English14511409GPT-5.1
LMArena Text: non-English14311389GPT-5.1
LMArena Text: Chinese14951440GPT-5.1
LMArena Text: German14381380GPT-5.1
LMArena Text: Japanese14551371GPT-5.1
LMArena Text: Korean14001367GPT-5.1
LMArena Text: French14501428GPT-5.1
LMArena Text: Spanish14321398GPT-5.1
LMArena Text: Russian14351401GPT-5.1
LMArena Text: Polish14401408GPT-5.1
LMArena Text: multi-turn14501395GPT-5.1
LMArena Text: longer queries14471417GPT-5.1
LMArena Text: writing and language14281395GPT-5.1
LMArena Text: entertainment and media14141380GPT-5.1
LMArena Vision: English12511230GPT-5.1
LMArena Vision: Chinese12711279Grok 4.7
LMArena Vision: reading text12541242GPT-5.1
LMArena Vision: humor12641212GPT-5.1
LMArena Vision: captioning1252Not measuredOnly GPT-5.1 measured
LMArena Vision: recognizing things1232Not measuredOnly GPT-5.1 measured
LMArena Vision: creative writing12671203GPT-5.1
LMArena Document1403Not measuredOnly GPT-5.1 measured
MultiChallenge63.4%Not measuredOnly GPT-5.1 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
Image generation benchmarks for GPT-5.1 and Grok 4.7
BenchmarkGPT-5.1Grok 4.7Leader
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$0.0063Fits in one request
Grok 4.7$0.0050Fits in one request

Grok 4.7 costs less

Repository review

50K input + 3K output tokens

GPT-5.1$0.092Fits in one request
Grok 4.7$0.118Fits in one request

GPT-5.1 costs less

Agent loop

200K input + 10K output tokens

GPT-5.1$0.350Fits in one request
Grok 4.7$0.460Fits in one request

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.

Specifications of GPT-5.1 and Grok 4.7
SpecificationOpenAI GPT-5.1SpaceXSI Grok 4.7
MakerOpenAIxAI
WeightsNo public weights listedNo public weights listed
ReleasedNovember 13, 2025September 21, 2026
Context window400K500K
Input $/Mtok$1.25$2.00
Output $/Mtok$10.00$6.00
Coding index53.260.8
Independent measurements behind it25
Cost per solved task$1.02Not computable
SourceOpenRouter listingOpenRouter listing

Questions

Is GPT-5.1 better than Grok 4.7 for coding?

Pick Grok 4.7 for coding: it scores 60.8 on the Vibe Coding Index against 53.2 for GPT-5.1. Pick GPT-5.1 for work measured by LMArena Text: coding or LMArena Text: software and IT, where it leads.

Which is cheaper, GPT-5.1 or Grok 4.7?

GPT-5.1 costs $1.25 per million input tokens and $10.00 per million output tokens; Grok 4.7 costs $2.00 and $6.00. Cost per solved task is known for GPT-5.1 only.

Which has the bigger context window, GPT-5.1 or Grok 4.7?

Grok 4.7, with 500K tokens against 400K.

How many benchmarks is the GPT-5.1 vs Grok 4.7 comparison based on?

67 benchmarks have a result for both models as of December 6, 2026. GPT-5.1's coding index rests on 2 independent benchmarks and Grok 4.7's on 5. 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-vs-grok-4-7" title="GPT-5.1 vs Grok 4.7, 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-vs-grok-4-7">LLMBenchmark.ai, GPT-5.1 vs Grok 4.7</a></p>