Enter opens the highlighted result. Esc closes.

GPT-4.1 Nano vs Grok 4.20

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

GPT-4.1 NanoOpenAI
Coding
No data
Overall
24.7
Output $/M
$0.40
1
Grok 4.20xAI
Coding
33.3
Overall
41.0
Output $/M
$2.50
29
vs boards won of 30 shared

GPT-4.1 Nano 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 Nano has none, so the two cannot be ranked on coding.

Pick GPT-4.1 Nano for output tokens 6.3x cheaper ($0.40 vs $2.50 per million) and work measured by MortgageTax (Vals AI), where it leads.

Shared results
30
GPT-4.1 Nano only
41
Grok 4.20 only
25
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 Nano not benchmarked, Grok 4.20 33.3 from 2 benchmarks.
Widest category
Agentic work, 75.7 points apart on average over 1 shared benchmark.
Widest single gap
ARC-AGI: GPT-4.1 Nano 0.0% against Grok 4.20 89.5%, 89.5 points apart on a 0 to 100 scale.
Output price
GPT-4.1 Nano $0.40 against Grok 4.20 $2.50 per million output tokens, 6.3x apart.
Context window
GPT-4.1 Nano 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.1 NanoBarsGrok 4.20Ties
Coding03
Intelligence02
Agentic work01
Reasoning07
Math01
Knowledge15
Web design06
General04
All shared boards129
CodingLike-for-likeSix of these boards feed the Vibe Coding Index03
Coding benchmarks for GPT-4.1 Nano and Grok 4.20
BenchmarkGPT-4.1 NanoGrok 4.20Leader
Aider polyglot8.9%Not measuredOnly GPT-4.1 Nano measured
AA Coding Index11.1Not measuredOnly GPT-4.1 Nano measured
LiveCodeBench (Vals AI)42.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)32.6%Not measuredOnly GPT-4.1 Nano measured
Terminal-Bench Hard (Artificial Analysis run)3.8%37.9%Grok 4.20
Terminal-BenchNot measured57.3%Only Grok 4.20 measured
WeirdML19.0%52.3%Grok 4.20
LMArena Text: coding1306Not measuredOnly GPT-4.1 Nano measured
LMArena Text: software and IT1305Not measuredOnly GPT-4.1 Nano measured
Neither model has a result on the other 26 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for GPT-4.1 Nano and Grok 4.20
BenchmarkGPT-4.1 NanoGrok 4.20Leader
AA Intelligence Index7.825.7Grok 4.20
Epoch Capabilities Index129.5152.1Grok 4.20
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for GPT-4.1 Nano and Grok 4.20
BenchmarkGPT-4.1 NanoGrok 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 Telecom17.3%93.0%Grok 4.20
Vending-Bench 2Not measured$4,663Only Grok 4.20 measured
Berkeley Function Calling Leaderboard (BFCL)33.1%Not measuredOnly GPT-4.1 Nano measured
Neither model has a result on the other 28 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index07
Reasoning benchmarks for GPT-4.1 Nano and Grok 4.20
BenchmarkGPT-4.1 NanoGrok 4.20Leader
GPQA Diamond50.8%88.6%Grok 4.20
MMMU Pro (Vals AI)55.0%83.5%Grok 4.20
GPQA Diamond (Artificial Analysis run)51.2%91.1%Grok 4.20
Humanity's Last Exam (Artificial Analysis run)3.8%34.5%Grok 4.20
GPQA Diamond (Epoch AI run)48.9%Not measuredOnly GPT-4.1 Nano measured
ARC-AGI0.0%89.5%Grok 4.20
ARC-AGI-20.0%65.1%Grok 4.20
Chess puzzles0.0%Not measuredOnly GPT-4.1 Nano measured
LMArena Text: hard prompts1286Not measuredOnly GPT-4.1 Nano measured
LMArena Text: expert1271Not measuredOnly GPT-4.1 Nano measured
LMArena Text: hard prompts in English1293Not measuredOnly GPT-4.1 Nano measured
Kagi LLM Benchmark33.3%75.0%Grok 4.20
Neither model has a result on the other 10 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index01
Math benchmarks for GPT-4.1 Nano and Grok 4.20
BenchmarkGPT-4.1 NanoGrok 4.20Leader
AIME26.5%96.5%Grok 4.20
MATH 500 (Vals AI)80.2%Not measuredOnly GPT-4.1 Nano measured
MGSM (Vals AI)69.3%Not measuredOnly GPT-4.1 Nano measured
AA Math Index24.0Not measuredOnly GPT-4.1 Nano measured
AIME 2025 (Artificial Analysis run)24.0%Not measuredOnly GPT-4.1 Nano measured
OTIS Mock AIME28.9%Not measuredOnly GPT-4.1 Nano measured
MATH level 570.0%Not measuredOnly GPT-4.1 Nano measured
LMArena Text: math1274Not measuredOnly GPT-4.1 Nano measured
LMArena Text: mathematical work1274Not measuredOnly GPT-4.1 Nano measured
Neither model has a result on the other 4 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index15
Knowledge benchmarks for GPT-4.1 Nano and Grok 4.20
BenchmarkGPT-4.1 NanoGrok 4.20Leader
MMLU Pro63.5%86.3%Grok 4.20
LegalBench (Vals AI)61.1%77.7%Grok 4.20
CaseLaw (Vals AI)Not measured54.4%Only Grok 4.20 measured
CorpFin (Vals AI)42.1%63.7%Grok 4.20
TaxEval (Vals AI)60.8%74.1%Grok 4.20
MortgageTax (Vals AI)52.8%45.4%GPT-4.1 Nano
MedQA (Vals AI)68.2%94.5%Grok 4.20
MedCode (Vals AI)Not measured32.2%Only Grok 4.20 measured
MMLU Pro (Artificial Analysis run)65.7%Not measuredOnly GPT-4.1 Nano measured
SimpleQA Verified6.0%Not measuredOnly GPT-4.1 Nano measured
LMArena Text: science1297Not measuredOnly GPT-4.1 Nano measured
LMArena Text: medicine and healthcare1276Not measuredOnly GPT-4.1 Nano measured
LMArena Text: legal and government1300Not measuredOnly GPT-4.1 Nano measured
LMArena Text: business and finance1267Not measuredOnly GPT-4.1 Nano measured
Neither model has a result on the other 4 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index06
Web design benchmarks for GPT-4.1 Nano and Grok 4.20
BenchmarkGPT-4.1 NanoGrok 4.20Leader
Design Arena: websites9721229Grok 4.20
Design Arena: UI components9131200Grok 4.20
Design Arena: game dev9701193Grok 4.20
Design Arena: data viz8911217Grok 4.20
Design Arena: 3D9241193Grok 4.20
Design Arena: all code categories9621221Grok 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 Nano and Grok 4.20
BenchmarkGPT-4.1 NanoGrok 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
IFBench32.0%81.2%Grok 4.20
Long context reasoning (AA-LCR)20.3%69.0%Grok 4.20
DTBench52.5%90.1%Grok 4.20
LMCA5.5%38.7%Grok 4.20
Fiction.LiveBench25.0%Not measuredOnly GPT-4.1 Nano measured
CL-benchNot measured22.2%Only Grok 4.20 measured
CL-bench LifeNot measured11.9%Only Grok 4.20 measured
LMArena Text1285Not measuredOnly GPT-4.1 Nano measured
LMArena Text: instruction following1266Not measuredOnly GPT-4.1 Nano measured
LMArena Text: creative writing1260Not measuredOnly GPT-4.1 Nano measured
LMArena Vision1063Not measuredOnly GPT-4.1 Nano measured
LMArena Text: English1303Not measuredOnly GPT-4.1 Nano measured
LMArena Text: non-English1260Not measuredOnly GPT-4.1 Nano measured
LMArena Text: Chinese1270Not measuredOnly GPT-4.1 Nano measured
LMArena Text: German1288Not measuredOnly GPT-4.1 Nano measured
LMArena Text: Japanese1198Not measuredOnly GPT-4.1 Nano measured
LMArena Text: Russian1261Not measuredOnly GPT-4.1 Nano measured
LMArena Text: multi-turn1277Not measuredOnly GPT-4.1 Nano measured
LMArena Text: longer queries1283Not measuredOnly GPT-4.1 Nano measured
LMArena Text: writing and language1261Not measuredOnly GPT-4.1 Nano measured
LMArena Text: entertainment and media1243Not measuredOnly GPT-4.1 Nano measured
LMArena Vision: English1101Not measuredOnly GPT-4.1 Nano measured
Neither model has a result on the other 21 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GPT-4.1 Nano and Grok 4.20
BenchmarkGPT-4.1 NanoGrok 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 Nano$0.0003Fits in one request
Grok 4.20$0.0025Fits in one request

GPT-4.1 Nano costs less

Repository review

50K input + 3K output tokens

GPT-4.1 Nano$0.0062Fits in one request
Grok 4.20$0.070Fits in one request

GPT-4.1 Nano costs less

Agent loop

200K input + 10K output tokens

GPT-4.1 Nano$0.024Fits in one request
Grok 4.20$0.275Fits in one request

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

Questions

Is GPT-4.1 Nano 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 Nano has none, so the two cannot be ranked on coding. Pick GPT-4.1 Nano for output tokens 6.3x cheaper ($0.40 vs $2.50 per million) and work measured by MortgageTax (Vals AI), where it leads.

Which is cheaper, GPT-4.1 Nano or Grok 4.20?

GPT-4.1 Nano costs $0.10 per million input tokens and $0.40 per million output tokens; Grok 4.20 costs $1.25 and $2.50. Cost per solved task is known for Grok 4.20 only.

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

Grok 4.20, with 2M tokens against 1.05M.

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

30 benchmarks have a result for both models as of October 22, 2026. GPT-4.1 Nano'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