LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

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.

GPT-4.1OpenAI
Coding
46.5
Overall
12.7
Output $/M
$8.00
3
Grok 4.5xAI
Coding
75.5
Overall
38.8
Output $/M
$6.00
64
vs boards won of 67 shared

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.

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.

Boards won, where both have a result
CategoryGPT-4.1BarsGrok 4.5Ties
Coding05
Intelligence02
Reasoning113
Math04
Knowledge28
Web design06
General026
All shared boards364
CodingLike-for-likeFour of these boards feed the Vibe Coding Index05
Coding benchmarks for GPT-4.1 and Grok 4.5
BenchmarkGPT-4.1Grok 4.5Leader
Aider polyglot52.4%Not measuredOnly GPT-4.1 measured
SWE-bench Verified39.6%Not measuredOnly GPT-4.1 measured
SWE-bench Multimodal31.1%Not measuredOnly GPT-4.1 measured
LiveBench codingNot measured94.3%Only Grok 4.5 measured
LMArena WebDevNot measured1553Only Grok 4.5 measured
AA Coding IndexNot measured72.4Only Grok 4.5 measured
LiveCodeBench (Vals AI)54.7%87.3%Grok 4.5
SWE-bench Verified (Vals AI)Not measured86.6%Only Grok 4.5 measured
Terminal-Bench 4 (Vals AI)Not measured8.6%Only Grok 4.5 measured
Vibe Code Bench (Vals AI)Not measured69.0%Only Grok 4.5 measured
Code migration (Vals AI)Not measured36.6%Only Grok 4.5 measured
ProgramBench (Vals AI)Not measured0.0%Only Grok 4.5 measured
IOI (Vals AI)Not measured40.6%Only Grok 4.5 measured
Terminal-Bench 2.1 (Vals AI)Not measured67.8%Only Grok 4.5 measured
SkillsBench (Vals AI)Not measured66.0%Only Grok 4.5 measured
CyberBench (Vals AI)Not measured71.0%Only Grok 4.5 measured
LiveCodeBench (Artificial Analysis run)45.7%Not measuredOnly GPT-4.1 measured
SciCodeNot measured55.0%Only Grok 4.5 measured
Terminal-Bench Hard (Artificial Analysis run)13.6%Not measuredOnly GPT-4.1 measured
FrontierCodeNot measured42.4%Only Grok 4.5 measured
WeirdML39.0%46.4%Grok 4.5
ALE-Bench558.11309.3Grok 4.5
LMArena Text: coding13901474Grok 4.5
LMArena Text: software and IT13911471Grok 4.5
LMArena WebDev: ReactNot measured1556Only Grok 4.5 measured
LMArena WebDev: HTMLNot measured1567Only Grok 4.5 measured
LMArena WebDev: from an imageNot measured1562Only 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
Intelligence benchmarks for GPT-4.1 and Grok 4.5
BenchmarkGPT-4.1Grok 4.5Leader
AA Intelligence Index12.738.8Grok 4.5
Epoch Capabilities Index136.7154.1Grok 4.5
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index23 boards, none shared
Agentic work benchmarks for GPT-4.1 and Grok 4.5
BenchmarkGPT-4.1Grok 4.5Leader
AA Agentic IndexNot measured41.2Only Grok 4.5 measured
Design Arena: agents building web appsNot measured1217Only Grok 4.5 measured
Design Arena: agents building full-stack appsNot measured1249Only Grok 4.5 measured
Design Arena: agents building mobile appsNot measured1221Only Grok 4.5 measured
Design Arena: agents building Android appsNot measured1242Only Grok 4.5 measured
Design Arena: agents building Godot gamesNot measured1229Only Grok 4.5 measured
Design Arena: agents building gamesNot measured1235Only Grok 4.5 measured
Design Arena: HTML slidesNot measured1204Only Grok 4.5 measured
Design Arena: PowerPoint slidesNot measured1232Only Grok 4.5 measured
LiveBench researchNot measured85.9%Only Grok 4.5 measured
LiveBench browserNot measured44.0%Only Grok 4.5 measured
LiveBench long agenticNot measured27.9%Only Grok 4.5 measured
SREBench (Vals AI)Not measured0.8%Only Grok 4.5 measured
Finance Agent (Vals AI)Not measured48.4%Only Grok 4.5 measured
Tax Agent Bench (Vals AI)Not measured24.9%Only Grok 4.5 measured
Legal Research Bench (Vals AI)Not measured38.0%Only Grok 4.5 measured
Excel Modeling Benchmark (Vals AI)Not measured52.9%Only Grok 4.5 measured
Time Horizon Index (Vals AI)Not measured6.3%Only Grok 4.5 measured
τ²-Bench Telecom47.1%Not measuredOnly GPT-4.1 measured
APEX-AgentsNot measured56.2%Only Grok 4.5 measured
PostTrainBenchNot measured23.4%Only Grok 4.5 measured
Vending-Bench 2Not measured$3,887Only Grok 4.5 measured
LMArena SearchNot measured1216Only 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
Reasoning benchmarks for GPT-4.1 and Grok 4.5
BenchmarkGPT-4.1Grok 4.5Leader
GPQA Diamond65.4%92.9%Grok 4.5
LiveBench reasoningNot measured87.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-AGI5.5%87.2%Grok 4.5
ARC-AGI-20.4%52.6%Grok 4.5
SimpleBench27.0%70.0%Grok 4.5
Chess puzzles3.0%35.0%Grok 4.5
LMArena Text: hard prompts13841462Grok 4.5
LMArena Text: expert13641465Grok 4.5
LMArena Text: hard prompts in English13931464Grok 4.5
LMArena Vision: diagrams12151304Grok 4.5
LMArena Vision: homework12481295Grok 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
Math benchmarks for GPT-4.1 and Grok 4.5
BenchmarkGPT-4.1Grok 4.5Leader
AIME39.6%Not measuredOnly GPT-4.1 measured
MATH 500 (Vals AI)87.2%Not measuredOnly GPT-4.1 measured
MGSM (Vals AI)87.7%Not measuredOnly GPT-4.1 measured
AA Math Index34.7Not measuredOnly GPT-4.1 measured
AIME 2025 (Artificial Analysis run)34.7%Not measuredOnly GPT-4.1 measured
OTIS Mock AIME38.3%97.8%Grok 4.5
FrontierMath, tiers 1 to 36.0%57.2%Grok 4.5
FrontierMath, tier 4Not measured24.4%Only Grok 4.5 measured
ProofBenchNot measured31.0%Only Grok 4.5 measured
MATH level 583.0%Not measuredOnly GPT-4.1 measured
LMArena Text: math13691460Grok 4.5
LMArena Text: mathematical work13601482Grok 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
Knowledge benchmarks for GPT-4.1 and Grok 4.5
BenchmarkGPT-4.1Grok 4.5Leader
MMLU Pro80.5%89.2%Grok 4.5
LegalBench (Vals AI)83.1%86.0%Grok 4.5
CaseLaw (Vals AI)69.9%Not measuredOnly 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 measuredOnly GPT-4.1 measured
MedCode (Vals AI)Not measured43.3%Only Grok 4.5 measured
MMLU Pro (Artificial Analysis run)80.6%Not measuredOnly GPT-4.1 measured
SimpleQA Verified31.1%48.3%Grok 4.5
GeoBench72.0%Not measuredOnly GPT-4.1 measured
LMArena Text: science13821464Grok 4.5
LMArena Text: medicine and healthcare13791440Grok 4.5
LMArena Text: legal and government13991463Grok 4.5
LMArena Text: business and finance13691441Grok 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
Web design benchmarks for GPT-4.1 and Grok 4.5
BenchmarkGPT-4.1Grok 4.5Leader
Design Arena: websites10391281Grok 4.5
Design Arena: UI components10001279Grok 4.5
Design Arena: game dev10801263Grok 4.5
Design Arena: data viz11041267Grok 4.5
Design Arena: 3D8501257Grok 4.5
Design Arena: all code categories10261276Grok 4.5
Design Arena: SVGNot measured1215Only Grok 4.5 measured
Design Arena: ASCII artNot measured1257Only Grok 4.5 measured
LiveBench designNot measured78.1%Only Grok 4.5 measured
GeneralLike-for-likePublic boards, shown as published, kept out of the index026
General benchmarks for GPT-4.1 and Grok 4.5
BenchmarkGPT-4.1Grok 4.5Leader
LiveBench data analysisNot measured73.0%Only Grok 4.5 measured
SAGE (Vals AI)Not measured35.0%Only Grok 4.5 measured
MedScribe (Vals AI)Not measured86.9%Only Grok 4.5 measured
Vals Multimodal IndexNot measured63.4%Only Grok 4.5 measured
IFBench43.0%Not measuredOnly GPT-4.1 measured
Long context reasoning (AA-LCR)68.3%79.3%Grok 4.5
DTBench68.3%96.5%Grok 4.5
LMCA25.6%45.2%Grok 4.5
Fiction.LiveBench63.9%Not measuredOnly GPT-4.1 measured
Surface Evolver BenchNot measured74.4%Only Grok 4.5 measured
Furniture assemblyNot measured22.5%Only Grok 4.5 measured
LMArena Text13831448Grok 4.5
LMArena Text: instruction following13671445Grok 4.5
LMArena Text: creative writing13631442Grok 4.5
LMArena Vision12101287Grok 4.5
LMArena Text: English13921453Grok 4.5
LMArena Text: non-English13701440Grok 4.5
LMArena Text: Chinese13821495Grok 4.5
LMArena Text: German13811448Grok 4.5
LMArena Text: Japanese13191430Grok 4.5
LMArena Text: Korean13381406Grok 4.5
LMArena Text: French13821457Grok 4.5
LMArena Text: Spanish13761451Grok 4.5
LMArena Text: Russian13771449Grok 4.5
LMArena Text: Polish13891432Grok 4.5
LMArena Text: multi-turn13971456Grok 4.5
LMArena Text: longer queries13851462Grok 4.5
LMArena Text: writing and language13711445Grok 4.5
LMArena Text: entertainment and media13651434Grok 4.5
LMArena Vision: English12091285Grok 4.5
LMArena Vision: Chinese12261345Grok 4.5
LMArena Vision: reading text12181293Grok 4.5
LMArena Vision: humor11961276Grok 4.5
LMArena Vision: captioning1207Not measuredOnly GPT-4.1 measured
LMArena Vision: recognizing things1208Not measuredOnly GPT-4.1 measured
LMArena Vision: creative writing12101293Grok 4.5
LMArena DocumentNot measured1452Only 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
Image generation benchmarks for GPT-4.1 and Grok 4.5
BenchmarkGPT-4.1Grok 4.5Leader
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-4.1$0.0060Fits in one request
Grok 4.5$0.0050Fits in one request

Grok 4.5 costs less

Repository review

50K input + 3K output tokens

GPT-4.1$0.124Fits in one request
Grok 4.5$0.118Fits in one request

Grok 4.5 costs less

Agent loop

200K input + 10K output tokens

GPT-4.1$0.480Fits in one request
Grok 4.5$0.460Fits in one request

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.

Specifications of GPT-4.1 and Grok 4.5
SpecificationOpenAI GPT-4.1SpaceXAI Grok 4.5
MakerOpenAIxAI
WeightsNo public weights listedNo public weights listed
ReleasedApril 14, 2025July 8, 2026
Context window1.05M500K
Input $/Mtok$2.00$2.00
Output $/Mtok$8.00$6.00
Coding index46.575.5
Independent measurements behind it22
Cost per solved task$0.37$0.62
SourceOpenRouter listingOpenRouter 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.

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-4-1-vs-grok-4-5" title="GPT-4.1 vs Grok 4.5, 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-4-1-vs-grok-4-5">LLMBenchmark.ai, GPT-4.1 vs Grok 4.5</a></p>