Enter opens the highlighted result. Esc closes.

GPT-4.1 vs Grok 4.20

Grok 4.20 leads GPT-4.1 on the Artificial Analysis Intelligence Index, 25.7 to 12.7, and Grok 4.20 costs 3.2x less per output token ($2.50 vs $8.00 per million). Updated October 22, 2026; 31 benchmarks have a result for both.

GPT-4.1OpenAI
Coding
No data
Overall
36.5
Output $/M
$8.00
4
Grok 4.20xAI
Coding
33.3
Overall
41.0
Output $/M
$2.50
27
vs boards won of 31 shared

GPT-4.1 or Grok 4.20: which to pick

Only Grok 4.20 has a coding score, 33.3 on the Vibe Coding Index; GPT-4.1 has none, so the two cannot be ranked on coding.

Pick GPT-4.1 for a lower cost per solved task ($0.37 against $0.72) and work measured by LegalBench (Vals AI) or CaseLaw (Vals AI), where it leads.

Shared results
31
GPT-4.1 only
61
Grok 4.20 only
24
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-4.1 not benchmarked, Grok 4.20 33.3 from 2 benchmarks.
Widest category
Math, 56.9 points apart on average over 1 shared benchmark.
Widest single gap
ARC-AGI: GPT-4.1 5.5% against Grok 4.20 89.5%, 84.0 points apart on a 0 to 100 scale.
Output price
GPT-4.1 $8.00 against Grok 4.20 $2.50 per million output tokens, 3.2x apart.
Context window
GPT-4.1 takes 1.05M tokens, Grok 4.20 2M.

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.20Ties
Coding03
Intelligence02
Agentic work01
Reasoning07
Math01
Knowledge43
Web design06
General04
All shared boards427
CodingLike-for-likeSix of these boards feed the Vibe Coding Index03
Coding benchmarks for GPT-4.1 and Grok 4.20
BenchmarkGPT-4.1Grok 4.20Leader
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
LiveCodeBench (Vals AI)54.7%84.3%Grok 4.20
SWE-bench Verified (Vals AI)Not measured72.2%Only Grok 4.20 measured
Vibe Code Bench (Vals AI)Not measured4.1%Only Grok 4.20 measured
Code migration (Vals AI)Not measured0.3%Only Grok 4.20 measured
Terminal-Bench 2.1 (Vals AI)Not measured44.2%Only Grok 4.20 measured
LiveCodeBench (Artificial Analysis run)45.7%Not measuredOnly GPT-4.1 measured
Terminal-Bench Hard (Artificial Analysis run)13.6%37.9%Grok 4.20
Terminal-BenchNot measured57.3%Only Grok 4.20 measured
WeirdML39.0%52.3%Grok 4.20
ALE-Bench558.1Not measuredOnly GPT-4.1 measured
LMArena Text: coding1390Not measuredOnly GPT-4.1 measured
LMArena Text: software and IT1391Not measuredOnly GPT-4.1 measured
SciCode4.6%Not measuredOnly GPT-4.1 measured
Neither model has a result on the other 23 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for GPT-4.1 and Grok 4.20
BenchmarkGPT-4.1Grok 4.20Leader
AA Intelligence Index12.725.7Grok 4.20
Epoch Capabilities Index136.7152.1Grok 4.20
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for GPT-4.1 and Grok 4.20
BenchmarkGPT-4.1Grok 4.20Leader
Design Arena: agents building web appsNot measured1144Only Grok 4.20 measured
Design Arena: agents building full-stack appsNot measured1054Only Grok 4.20 measured
Design Arena: agents building mobile appsNot measured1090Only Grok 4.20 measured
Design Arena: agents building Android appsNot measured1045Only Grok 4.20 measured
Design Arena: agents building Godot gamesNot measured1089Only Grok 4.20 measured
Design Arena: HTML slidesNot measured1180Only Grok 4.20 measured
Finance Agent (Vals AI)Not measured28.5%Only Grok 4.20 measured
Tax Agent Bench (Vals AI)Not measured7.0%Only Grok 4.20 measured
Legal Research Bench (Vals AI)Not measured13.9%Only Grok 4.20 measured
Excel Modeling Benchmark (Vals AI)Not measured11.7%Only Grok 4.20 measured
τ²-Bench Telecom47.1%93.0%Grok 4.20
Vending-Bench 2Not measured$4,663Only Grok 4.20 measured
Berkeley Function Calling Leaderboard (BFCL)54.0%Not measuredOnly GPT-4.1 measured
BrowseComp-Plus36.4%Not measuredOnly GPT-4.1 measured
Neither model has a result on the other 27 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index07
Reasoning benchmarks for GPT-4.1 and Grok 4.20
BenchmarkGPT-4.1Grok 4.20Leader
GPQA Diamond65.4%88.6%Grok 4.20
MMMU Pro (Vals AI)72.4%83.5%Grok 4.20
GPQA Diamond (Artificial Analysis run)66.6%91.1%Grok 4.20
Humanity's Last Exam (Artificial Analysis run)4.2%34.5%Grok 4.20
GPQA Diamond (Epoch AI run)66.9%Not measuredOnly GPT-4.1 measured
ARC-AGI5.5%89.5%Grok 4.20
ARC-AGI-20.4%65.1%Grok 4.20
SimpleBench27.0%Not measuredOnly GPT-4.1 measured
Chess puzzles3.0%Not measuredOnly GPT-4.1 measured
LMArena Text: hard prompts1384Not measuredOnly GPT-4.1 measured
LMArena Text: expert1364Not measuredOnly GPT-4.1 measured
LMArena Text: hard prompts in English1393Not measuredOnly GPT-4.1 measured
LMArena Vision: diagrams1215Not measuredOnly GPT-4.1 measured
LMArena Vision: homework1248Not measuredOnly GPT-4.1 measured
Kagi LLM Benchmark52.3%75.0%Grok 4.20
Neither model has a result on the other 7 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index01
Math benchmarks for GPT-4.1 and Grok 4.20
BenchmarkGPT-4.1Grok 4.20Leader
AIME39.6%96.5%Grok 4.20
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%Not measuredOnly GPT-4.1 measured
FrontierMath, tiers 1 to 36.0%Not measuredOnly GPT-4.1 measured
MATH level 583.0%Not measuredOnly GPT-4.1 measured
LMArena Text: math1369Not measuredOnly GPT-4.1 measured
LMArena Text: mathematical work1360Not measuredOnly GPT-4.1 measured
Neither model has a result on the other 3 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index43
Knowledge benchmarks for GPT-4.1 and Grok 4.20
BenchmarkGPT-4.1Grok 4.20Leader
MMLU Pro80.5%86.3%Grok 4.20
LegalBench (Vals AI)83.1%77.7%GPT-4.1
CaseLaw (Vals AI)69.9%54.4%GPT-4.1
CorpFin (Vals AI)63.0%63.7%Grok 4.20
TaxEval (Vals AI)75.1%74.1%GPT-4.1
MortgageTax (Vals AI)65.9%45.4%GPT-4.1
MedQA (Vals AI)91.2%94.5%Grok 4.20
MedCode (Vals AI)Not measured32.2%Only Grok 4.20 measured
MMLU Pro (Artificial Analysis run)80.6%Not measuredOnly GPT-4.1 measured
SimpleQA Verified31.1%Not measuredOnly GPT-4.1 measured
GeoBench72.0%Not measuredOnly GPT-4.1 measured
LMArena Text: science1382Not measuredOnly GPT-4.1 measured
LMArena Text: medicine and healthcare1379Not measuredOnly GPT-4.1 measured
LMArena Text: legal and government1399Not measuredOnly GPT-4.1 measured
LMArena Text: business and finance1369Not measuredOnly GPT-4.1 measured
FACTS Benchmark Suite45.8%Not measuredOnly GPT-4.1 measured
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.20
BenchmarkGPT-4.1Grok 4.20Leader
Design Arena: websites10381229Grok 4.20
Design Arena: UI components9971200Grok 4.20
Design Arena: game dev10791193Grok 4.20
Design Arena: data viz11041217Grok 4.20
Design Arena: 3D8491193Grok 4.20
Design Arena: all code categories10251221Grok 4.20
Design Arena: SVGNot measured1165Only Grok 4.20 measured
Design Arena: ASCII artNot measured1175Only Grok 4.20 measured
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index04
General benchmarks for GPT-4.1 and Grok 4.20
BenchmarkGPT-4.1Grok 4.20Leader
SAGE (Vals AI)Not measured38.2%Only Grok 4.20 measured
MedScribe (Vals AI)Not measured63.4%Only Grok 4.20 measured
Vals Multimodal IndexNot measured39.1%Only Grok 4.20 measured
IFBench43.0%81.2%Grok 4.20
Long context reasoning (AA-LCR)68.3%69.0%Grok 4.20
DTBench68.3%90.1%Grok 4.20
LMCA25.6%38.7%Grok 4.20
Fiction.LiveBench63.9%Not measuredOnly GPT-4.1 measured
CL-benchNot measured22.2%Only Grok 4.20 measured
CL-bench LifeNot measured11.9%Only Grok 4.20 measured
LMArena Text1383Not measuredOnly GPT-4.1 measured
LMArena Text: instruction following1367Not measuredOnly GPT-4.1 measured
LMArena Text: creative writing1363Not measuredOnly GPT-4.1 measured
LMArena Vision1210Not measuredOnly GPT-4.1 measured
LMArena Text: English1392Not measuredOnly GPT-4.1 measured
LMArena Text: non-English1370Not measuredOnly GPT-4.1 measured
LMArena Text: Chinese1382Not measuredOnly GPT-4.1 measured
LMArena Text: German1381Not measuredOnly GPT-4.1 measured
LMArena Text: Japanese1319Not measuredOnly GPT-4.1 measured
LMArena Text: Korean1338Not measuredOnly GPT-4.1 measured
LMArena Text: French1382Not measuredOnly GPT-4.1 measured
LMArena Text: Spanish1376Not measuredOnly GPT-4.1 measured
LMArena Text: Russian1377Not measuredOnly GPT-4.1 measured
LMArena Text: Polish1389Not measuredOnly GPT-4.1 measured
LMArena Text: multi-turn1397Not measuredOnly GPT-4.1 measured
LMArena Text: longer queries1385Not measuredOnly GPT-4.1 measured
LMArena Text: writing and language1371Not measuredOnly GPT-4.1 measured
LMArena Text: entertainment and media1365Not measuredOnly GPT-4.1 measured
LMArena Vision: English1209Not measuredOnly GPT-4.1 measured
LMArena Vision: Chinese1226Not measuredOnly GPT-4.1 measured
LMArena Vision: reading text1218Not measuredOnly GPT-4.1 measured
LMArena Vision: humor1196Not measuredOnly GPT-4.1 measured
LMArena Vision: captioning1207Not measuredOnly GPT-4.1 measured
LMArena Vision: recognizing things1208Not measuredOnly GPT-4.1 measured
LMArena Vision: creative writing1210Not measuredOnly GPT-4.1 measured
Neither model has a result on the other 11 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.20
BenchmarkGPT-4.1Grok 4.20Leader
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.20$0.0025Fits in one request

Grok 4.20 costs less

Repository review

50K input + 3K output tokens

GPT-4.1$0.124Fits in one request
Grok 4.20$0.070Fits in one request

Grok 4.20 costs less

Agent loop

200K input + 10K output tokens

GPT-4.1$0.480Fits in one request
Grok 4.20$0.275Fits in one request

Grok 4.20 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.20
SpecificationOpenAI GPT-4.1SpaceXAI Grok 4.20
MakerOpenAIxAI
WeightsNo public weights listedNo public weights listed
ReleasedApril 14, 2025March 31, 2026
Context window1.05M2M
Input $/Mtok$2.00$1.25
Output $/Mtok$8.00$2.50
Coding indexNot benchmarked33.3
Independent measurements behind it02
Cost per solved task$0.37$0.72
SourceOpenRouter listingOpenRouter listing

Questions

Is GPT-4.1 better than Grok 4.20 for coding?

Only Grok 4.20 has a coding score, 33.3 on the Vibe Coding Index; GPT-4.1 has none, so the two cannot be ranked on coding. Pick GPT-4.1 for a lower cost per solved task ($0.37 against $0.72) and work measured by LegalBench (Vals AI) or CaseLaw (Vals AI), where it leads.

Which is cheaper, GPT-4.1 or Grok 4.20?

GPT-4.1 costs $2.00 per million input tokens and $8.00 per million output tokens; Grok 4.20 costs $1.25 and $2.50. Per solved SWE-bench Verified task, GPT-4.1 costs $0.37 and Grok 4.20 $0.72.

Which has the bigger context window, GPT-4.1 or Grok 4.20?

Grok 4.20, with 2M tokens against 1.05M.

How many benchmarks is the GPT-4.1 vs Grok 4.20 comparison based on?

31 benchmarks have a result for both models as of October 22, 2026. GPT-4.1's coding index rests on 0 independent benchmarks and Grok 4.20's on 2. Where only one model has a result, the page says so instead of naming a winner.

Compare next