Enter opens the highlighted result. Esc closes.

GPT-5.4 Mini vs Grok 4.20

GPT-5.4 Mini leads Grok 4.20 on coding, 35.8 to 33.3 on the Vibe Coding Index, and Grok 4.20 costs 1.8x less per output token ($2.50 vs $4.50 per million). Updated October 21, 2026; 33 benchmarks have a result for both.

GPT-5.4 MiniOpenAI
Coding
35.8
Overall
44.0
Output $/M
$4.50
14
Grok 4.20xAI
Coding
33.3
Overall
41.0
Output $/M
$2.50
19
vs boards won of 33 shared

GPT-5.4 Mini or Grok 4.20: which to pick

Pick GPT-5.4 Mini for coding: it scores 35.8 on the Vibe Coding Index against 33.3 for Grok 4.20.

Pick Grok 4.20 for output tokens 1.8x cheaper ($2.50 vs $4.50 per million) and a larger context window (2M against 400K tokens).

Shared results
33
GPT-5.4 Mini only
56
Grok 4.20 only
22
Like-for-like categories
7 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.4 Mini 35.8 from 5 benchmarks, Grok 4.20 33.3 from 2 benchmarks.
Widest category
Reasoning, 18.4 points apart on average over 7 shared benchmarks.
Widest single gap
ARC-AGI-2: GPT-5.4 Mini 18.9% against Grok 4.20 65.1%, 46.2 points apart on a 0 to 100 scale.
Output price
GPT-5.4 Mini $4.50 against Grok 4.20 $2.50 per million output tokens, 1.8x apart.
Context window
GPT-5.4 Mini takes 400K 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-5.4 MiniBarsGrok 4.20Ties
Coding61
Intelligence02
Agentic work32
Reasoning07
Math01
Knowledge14
General42
All shared boards1419
CodingLike-for-likeSix of these boards feed the Vibe Coding Index61
Coding benchmarks for GPT-5.4 Mini and Grok 4.20
BenchmarkGPT-5.4 MiniGrok 4.20Leader
LMArena WebDev1397Not measuredOnly GPT-5.4 Mini measured
AA Coding Index56.1Not measuredOnly GPT-5.4 Mini measured
LiveCodeBench (Vals AI)81.5%84.3%Grok 4.20
SWE-bench Verified (Vals AI)73.0%72.2%GPT-5.4 Mini
Terminal-Bench 4 (Vals AI)2.5%Not measuredOnly GPT-5.4 Mini measured
Vibe Code Bench (Vals AI)48.0%4.1%GPT-5.4 Mini
Code migration (Vals AI)12.9%0.3%GPT-5.4 Mini
ProgramBench (Vals AI)0.0%Not measuredOnly GPT-5.4 Mini measured
Terminal-Bench 2.1 (Vals AI)54.7%44.2%GPT-5.4 Mini
SciCode52.1%Not measuredOnly GPT-5.4 Mini measured
Terminal-Bench Hard (Artificial Analysis run)52.3%37.9%GPT-5.4 Mini
Terminal-BenchNot measured57.3%Only Grok 4.20 measured
FrontierCode27.0%Not measuredOnly GPT-5.4 Mini measured
WeirdML60.3%52.3%GPT-5.4 Mini
ALE-Bench1188.6Not measuredOnly GPT-5.4 Mini measured
LMArena Text: coding1438Not measuredOnly GPT-5.4 Mini measured
LMArena Text: software and IT1436Not measuredOnly GPT-5.4 Mini measured
LMArena WebDev: React1386Not measuredOnly GPT-5.4 Mini measured
LMArena WebDev: HTML1419Not measuredOnly GPT-5.4 Mini measured
Neither model has a result on the other 20 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for GPT-5.4 Mini and Grok 4.20
BenchmarkGPT-5.4 MiniGrok 4.20Leader
AA Intelligence Index24.125.7Grok 4.20
Epoch Capabilities Index148.7152.1Grok 4.20
Agentic workLike-for-likePublic boards, shown as published, kept out of the index32
Agentic work benchmarks for GPT-5.4 Mini and Grok 4.20
BenchmarkGPT-5.4 MiniGrok 4.20Leader
AA Agentic Index17.9Not measuredOnly GPT-5.4 Mini measured
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 measured1052Only 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)45.4%28.5%GPT-5.4 Mini
Tax Agent Bench (Vals AI)8.8%7.0%GPT-5.4 Mini
Legal Research Bench (Vals AI)12.5%13.9%Grok 4.20
Excel Modeling Benchmark (Vals AI)45.4%11.7%GPT-5.4 Mini
τ²-Bench Telecom83.3%93.0%Grok 4.20
DeepResearch Bench36.3%Not measuredOnly GPT-5.4 Mini measured
Vending-Bench 2Not measured$4,663Only Grok 4.20 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-5.4 Mini and Grok 4.20
BenchmarkGPT-5.4 MiniGrok 4.20Leader
GPQA Diamond83.1%88.6%Grok 4.20
MMMU Pro (Vals AI)79.3%83.5%Grok 4.20
GPQA Diamond (Artificial Analysis run)87.5%91.1%Grok 4.20
Humanity's Last Exam (Artificial Analysis run)28.1%34.5%Grok 4.20
GPQA Diamond (Epoch AI run)86.9%Not measuredOnly GPT-5.4 Mini measured
ARC-AGI63.7%89.5%Grok 4.20
ARC-AGI-218.9%65.1%Grok 4.20
Chess puzzles23.0%Not measuredOnly GPT-5.4 Mini measured
Mystery game puzzles11.0%Not measuredOnly GPT-5.4 Mini measured
LMArena Text: hard prompts1424Not measuredOnly GPT-5.4 Mini measured
LMArena Text: expert1435Not measuredOnly GPT-5.4 Mini measured
LMArena Text: hard prompts in English1420Not measuredOnly GPT-5.4 Mini measured
LMArena Vision: diagrams1266Not measuredOnly GPT-5.4 Mini measured
LMArena Vision: homework1285Not measuredOnly GPT-5.4 Mini measured
Kagi LLM Benchmark37.9%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-5.4 Mini and Grok 4.20
BenchmarkGPT-5.4 MiniGrok 4.20Leader
AIME95.6%96.5%Grok 4.20
OTIS Mock AIME88.9%Not measuredOnly GPT-5.4 Mini measured
FrontierMath, tiers 1 to 351.2%Not measuredOnly GPT-5.4 Mini measured
FrontierMath, tier 49.8%Not measuredOnly GPT-5.4 Mini measured
ProofBench21.0%Not measuredOnly GPT-5.4 Mini measured
LMArena Text: math1418Not measuredOnly GPT-5.4 Mini measured
LMArena Text: mathematical work1429Not measuredOnly GPT-5.4 Mini measured
Neither model has a result on the other 6 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index14
Knowledge benchmarks for GPT-5.4 Mini and Grok 4.20
BenchmarkGPT-5.4 MiniGrok 4.20Leader
MMLU Pro84.5%86.3%Grok 4.20
LegalBench (Vals AI)Not measured77.7%Only Grok 4.20 measured
CaseLaw (Vals AI)51.7%54.4%Grok 4.20
CorpFin (Vals AI)60.9%63.7%Grok 4.20
TaxEval (Vals AI)71.2%74.1%Grok 4.20
MortgageTax (Vals AI)63.5%45.4%GPT-5.4 Mini
MedQA (Vals AI)Not measured94.5%Only Grok 4.20 measured
MedCode (Vals AI)Not measured32.2%Only Grok 4.20 measured
SimpleQA Verified29.4%Not measuredOnly GPT-5.4 Mini measured
LMArena Text: science1417Not measuredOnly GPT-5.4 Mini measured
LMArena Text: medicine and healthcare1395Not measuredOnly GPT-5.4 Mini measured
LMArena Text: legal and government1414Not measuredOnly GPT-5.4 Mini measured
LMArena Text: business and finance1418Not measuredOnly GPT-5.4 Mini measured
Neither model has a result on the other 5 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index8 boards, none shared
Web design benchmarks for GPT-5.4 Mini and Grok 4.20
BenchmarkGPT-5.4 MiniGrok 4.20Leader
Design Arena: websitesNot measured1229Only Grok 4.20 measured
Design Arena: UI componentsNot measured1199Only Grok 4.20 measured
Design Arena: game devNot measured1192Only Grok 4.20 measured
Design Arena: data vizNot measured1217Only Grok 4.20 measured
Design Arena: 3DNot measured1193Only Grok 4.20 measured
Design Arena: all code categoriesNot measured1221Only Grok 4.20 measured
Design Arena: SVGNot measured1164Only Grok 4.20 measured
Design Arena: ASCII artNot measured1174Only 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 index42
General benchmarks for GPT-5.4 Mini and Grok 4.20
BenchmarkGPT-5.4 MiniGrok 4.20Leader
SAGE (Vals AI)50.8%38.2%GPT-5.4 Mini
MedScribe (Vals AI)Not measured63.4%Only Grok 4.20 measured
Vals Multimodal Index54.2%39.1%GPT-5.4 Mini
IFBench73.3%81.2%Grok 4.20
Long context reasoning (AA-LCR)77.0%69.0%GPT-5.4 Mini
DTBench80.0%90.1%Grok 4.20
LMCA40.8%38.7%GPT-5.4 Mini
CL-benchNot measured22.2%Only Grok 4.20 measured
CL-bench LifeNot measured11.9%Only Grok 4.20 measured
LMArena Text1412Not measuredOnly GPT-5.4 Mini measured
LMArena Text: instruction following1405Not measuredOnly GPT-5.4 Mini measured
LMArena Text: creative writing1370Not measuredOnly GPT-5.4 Mini measured
LMArena Vision1245Not measuredOnly GPT-5.4 Mini measured
LMArena Text: English1412Not measuredOnly GPT-5.4 Mini measured
LMArena Text: non-English1405Not measuredOnly GPT-5.4 Mini measured
LMArena Text: Chinese1446Not measuredOnly GPT-5.4 Mini measured
LMArena Text: German1408Not measuredOnly GPT-5.4 Mini measured
LMArena Text: Japanese1375Not measuredOnly GPT-5.4 Mini measured
LMArena Text: Korean1370Not measuredOnly GPT-5.4 Mini measured
LMArena Text: French1441Not measuredOnly GPT-5.4 Mini measured
LMArena Text: Spanish1405Not measuredOnly GPT-5.4 Mini measured
LMArena Text: Russian1417Not measuredOnly GPT-5.4 Mini measured
LMArena Text: Polish1415Not measuredOnly GPT-5.4 Mini measured
LMArena Text: multi-turn1429Not measuredOnly GPT-5.4 Mini measured
LMArena Text: longer queries1408Not measuredOnly GPT-5.4 Mini measured
LMArena Text: writing and language1393Not measuredOnly GPT-5.4 Mini measured
LMArena Text: entertainment and media1373Not measuredOnly GPT-5.4 Mini measured
LMArena Vision: English1244Not measuredOnly GPT-5.4 Mini measured
LMArena Vision: Chinese1286Not measuredOnly GPT-5.4 Mini measured
LMArena Vision: reading text1253Not measuredOnly GPT-5.4 Mini measured
LMArena Vision: humor1235Not measuredOnly GPT-5.4 Mini measured
LMArena Vision: recognizing things1218Not measuredOnly GPT-5.4 Mini measured
LMArena Vision: creative writing1222Not measuredOnly GPT-5.4 Mini 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.4 Mini and Grok 4.20
BenchmarkGPT-5.4 MiniGrok 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-5.4 Mini$0.0030Fits in one request
Grok 4.20$0.0025Fits in one request

Grok 4.20 costs less

Repository review

50K input + 3K output tokens

GPT-5.4 Mini$0.051Fits in one request
Grok 4.20$0.070Fits in one request

GPT-5.4 Mini costs less

Agent loop

200K input + 10K output tokens

GPT-5.4 Mini$0.195Fits in one request
Grok 4.20$0.275Fits in one request

GPT-5.4 Mini 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.4 Mini and Grok 4.20
SpecificationOpenAI GPT-5.4 MiniSpaceXAI Grok 4.20
MakerOpenAIxAI
WeightsNo public weights listedNo public weights listed
ReleasedMarch 17, 2026March 31, 2026
Context window400K2M
Input $/Mtok$0.75$1.25
Output $/Mtok$4.50$2.50
Coding index35.833.3
Independent measurements behind it52
Cost per solved task$0.70$0.72
SourceOpenRouter listingOpenRouter listing

Questions

Is GPT-5.4 Mini better than Grok 4.20 for coding?

Pick GPT-5.4 Mini for coding: it scores 35.8 on the Vibe Coding Index against 33.3 for Grok 4.20. Pick Grok 4.20 for output tokens 1.8x cheaper ($2.50 vs $4.50 per million) and a larger context window (2M against 400K tokens).

Which is cheaper, GPT-5.4 Mini or Grok 4.20?

GPT-5.4 Mini costs $0.75 per million input tokens and $4.50 per million output tokens; Grok 4.20 costs $1.25 and $2.50. Per solved SWE-bench Verified task, GPT-5.4 Mini costs $0.70 and Grok 4.20 $0.72.

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

Grok 4.20, with 2M tokens against 400K.

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

33 benchmarks have a result for both models as of October 21, 2026. GPT-5.4 Mini's coding index rests on 5 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

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-4-mini-vs-grok-4-20" title="GPT-5.4 Mini vs Grok 4.20, 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-4-mini-vs-grok-4-20">LLMBenchmark.ai, GPT-5.4 Mini vs Grok 4.20</a></p>