Enter opens the highlighted result. Esc closes.

GPT-5 Mini vs Grok 4.20

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

GPT-5 MiniOpenAI
Coding
34.2
Overall
20.6
Output $/M
$2.00
12
Grok 4.20xAI
Coding
33.3
Overall
25.7
Output $/M
$2.50
27
vs boards won of 39 shared

GPT-5 Mini or Grok 4.20: which to pick

GPT-5 Mini and Grok 4.20 are level for coding, 34.2 against 33.3 on the Vibe Coding Index, so price and context decide.

Pick Grok 4.20 for a larger context window (2M against 400K tokens) and work measured by SWE-bench Verified (Vals AI) or Terminal-Bench Hard (Artificial Analysis run), where it leads. Pick GPT-5 Mini for output tokens 1.3x cheaper ($2.00 vs $2.50 per million) and a lower cost per solved task ($0.08 against $0.72).

Shared results
39
GPT-5 Mini only
59
Grok 4.20 only
15
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 Mini 34.2 from 2 benchmarks, Grok 4.20 33.3 from 2 benchmarks.
Widest category
Agentic work, 25.5 points apart on average over 2 shared benchmarks.
Widest single gap
ARC-AGI-2: GPT-5 Mini 4.4% against Grok 4.20 65.1%, 60.7 points apart on a 0 to 100 scale.
Output price
GPT-5 Mini $2.00 against Grok 4.20 $2.50 per million output tokens, 1.3x apart.
Context window
GPT-5 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 MiniBarsGrok 4.20Ties
Coding33
Intelligence02
Agentic work02
Reasoning06
Math01
Knowledge62
Web design08
General33
All shared boards1227
CodingLike-for-likeSix of these boards feed the Vibe Coding Index33
Coding benchmarks for GPT-5 Mini and Grok 4.20
BenchmarkGPT-5 MiniGrok 4.20Leader
SWE-bench Verified59.8%Not measuredOnly GPT-5 Mini measured
SWE-bench Multilingual39.7%Not measuredOnly GPT-5 Mini measured
LiveCodeBench (Vals AI)86.6%84.3%GPT-5 Mini
SWE-bench Verified (Vals AI)60.8%72.2%Grok 4.20
Vibe Code Bench (Vals AI)14.2%4.1%GPT-5 Mini
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)83.8%Not measuredOnly GPT-5 Mini measured
SciCode39.0%Not measuredOnly GPT-5 Mini measured
Terminal-Bench Hard (Artificial Analysis run)33.3%37.9%Grok 4.20
Terminal-Bench34.8%57.3%Grok 4.20
WeirdML52.7%52.3%GPT-5 Mini
LMArena Text: coding1406Not measuredOnly GPT-5 Mini measured
LMArena Text: software and IT1394Not measuredOnly GPT-5 Mini measured
Neither model has a result on the other 24 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for GPT-5 Mini and Grok 4.20
BenchmarkGPT-5 MiniGrok 4.20Leader
AA Intelligence Index20.625.7Grok 4.20
Epoch Capabilities Index145.3152.1Grok 4.20
Agentic workLike-for-likePublic boards, shown as published, kept out of the index02
Agentic work benchmarks for GPT-5 Mini and Grok 4.20
BenchmarkGPT-5 MiniGrok 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 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)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 Telecom71.1%93.0%Grok 4.20
Vending-Bench 2-$31$4,663Grok 4.20
Neither model has a result on the other 27 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index06
Reasoning benchmarks for GPT-5 Mini and Grok 4.20
BenchmarkGPT-5 MiniGrok 4.20Leader
GPQA Diamond80.3%88.6%Grok 4.20
MMMU Pro (Vals AI)78.9%83.5%Grok 4.20
GPQA Diamond (Artificial Analysis run)82.8%91.1%Grok 4.20
Humanity's Last Exam (Artificial Analysis run)21.5%34.5%Grok 4.20
GPQA Diamond (Epoch AI run)75.0%Not measuredOnly GPT-5 Mini measured
ARC-AGI54.3%89.5%Grok 4.20
ARC-AGI-24.4%65.1%Grok 4.20
Chess puzzles24.0%Not measuredOnly GPT-5 Mini measured
Mystery game puzzles10.0%Not measuredOnly GPT-5 Mini measured
VPCT40.2%Not measuredOnly GPT-5 Mini measured
LMArena Text: hard prompts1380Not measuredOnly GPT-5 Mini measured
LMArena Text: expert1379Not measuredOnly GPT-5 Mini measured
LMArena Text: hard prompts in English1383Not measuredOnly GPT-5 Mini measured
LMArena Vision: diagrams1202Not measuredOnly GPT-5 Mini measured
LMArena Vision: homework1210Not measuredOnly GPT-5 Mini measured
Neither model has a result on the other 6 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index01
Math benchmarks for GPT-5 Mini and Grok 4.20
BenchmarkGPT-5 MiniGrok 4.20Leader
AIME91.5%96.5%Grok 4.20
MATH 500 (Vals AI)94.8%Not measuredOnly GPT-5 Mini measured
MGSM (Vals AI)92.6%Not measuredOnly GPT-5 Mini measured
AA Math Index90.7Not measuredOnly GPT-5 Mini measured
AIME 2025 (Artificial Analysis run)90.7%Not measuredOnly GPT-5 Mini measured
OTIS Mock AIME86.7%Not measuredOnly GPT-5 Mini measured
FrontierMath, tiers 1 to 346.7%Not measuredOnly GPT-5 Mini measured
FrontierMath, tier 412.2%Not measuredOnly GPT-5 Mini measured
ProofBench9.0%Not measuredOnly GPT-5 Mini measured
MATH level 597.8%Not measuredOnly GPT-5 Mini measured
LMArena Text: math1378Not measuredOnly GPT-5 Mini measured
LMArena Text: mathematical work1380Not measuredOnly GPT-5 Mini measured
Neither model has a result on the other 1 board here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index62
Knowledge benchmarks for GPT-5 Mini and Grok 4.20
BenchmarkGPT-5 MiniGrok 4.20Leader
MMLU Pro82.2%86.3%Grok 4.20
LegalBench (Vals AI)81.8%77.7%GPT-5 Mini
CaseLaw (Vals AI)68.5%54.4%GPT-5 Mini
CorpFin (Vals AI)60.2%63.7%Grok 4.20
TaxEval (Vals AI)75.2%74.1%GPT-5 Mini
MortgageTax (Vals AI)66.9%45.4%GPT-5 Mini
MedQA (Vals AI)96.1%94.5%GPT-5 Mini
MedCode (Vals AI)43.0%32.2%GPT-5 Mini
MMLU Pro (Artificial Analysis run)83.7%Not measuredOnly GPT-5 Mini measured
SimpleQA Verified21.6%Not measuredOnly GPT-5 Mini measured
LMArena Text: science1371Not measuredOnly GPT-5 Mini measured
LMArena Text: medicine and healthcare1380Not measuredOnly GPT-5 Mini measured
LMArena Text: legal and government1375Not measuredOnly GPT-5 Mini measured
LMArena Text: business and finance1358Not measuredOnly GPT-5 Mini measured
Neither model has a result on the other 3 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index08
Web design benchmarks for GPT-5 Mini and Grok 4.20
BenchmarkGPT-5 MiniGrok 4.20Leader
Design Arena: websites11251229Grok 4.20
Design Arena: UI components11061199Grok 4.20
Design Arena: game dev11301192Grok 4.20
Design Arena: data viz11301217Grok 4.20
Design Arena: 3D10371193Grok 4.20
Design Arena: all code categories11151221Grok 4.20
Design Arena: SVG10911164Grok 4.20
Design Arena: ASCII art11251174Grok 4.20
Neither model has a result on the other 1 board here
GeneralLike-for-likePublic boards, shown as published, kept out of the index33
General benchmarks for GPT-5 Mini and Grok 4.20
BenchmarkGPT-5 MiniGrok 4.20Leader
SAGE (Vals AI)43.0%38.2%GPT-5 Mini
MedScribe (Vals AI)80.6%63.4%GPT-5 Mini
Vals Multimodal IndexNot measured39.1%Only Grok 4.20 measured
IFBench75.4%81.2%Grok 4.20
Long context reasoning (AA-LCR)72.3%69.0%GPT-5 Mini
DTBench80.5%90.1%Grok 4.20
LMCA34.2%38.7%Grok 4.20
Fiction.LiveBench69.4%Not measuredOnly GPT-5 Mini measured
Creative writing (Lech Mazur)83.1%Not measuredOnly GPT-5 Mini measured
CL-benchNot measured22.2%Only Grok 4.20 measured
CL-bench LifeNot measured11.9%Only Grok 4.20 measured
LMArena Text1373Not measuredOnly GPT-5 Mini measured
LMArena Text: instruction following1357Not measuredOnly GPT-5 Mini measured
LMArena Text: creative writing1325Not measuredOnly GPT-5 Mini measured
LMArena Vision1202Not measuredOnly GPT-5 Mini measured
LMArena Text: English1379Not measuredOnly GPT-5 Mini measured
LMArena Text: non-English1363Not measuredOnly GPT-5 Mini measured
LMArena Text: Chinese1386Not measuredOnly GPT-5 Mini measured
LMArena Text: German1366Not measuredOnly GPT-5 Mini measured
LMArena Text: Japanese1341Not measuredOnly GPT-5 Mini measured
LMArena Text: Korean1308Not measuredOnly GPT-5 Mini measured
LMArena Text: French1386Not measuredOnly GPT-5 Mini measured
LMArena Text: Spanish1354Not measuredOnly GPT-5 Mini measured
LMArena Text: Russian1362Not measuredOnly GPT-5 Mini measured
LMArena Text: Polish1378Not measuredOnly GPT-5 Mini measured
LMArena Text: multi-turn1363Not measuredOnly GPT-5 Mini measured
LMArena Text: longer queries1355Not measuredOnly GPT-5 Mini measured
LMArena Text: writing and language1344Not measuredOnly GPT-5 Mini measured
LMArena Text: entertainment and media1340Not measuredOnly GPT-5 Mini measured
LMArena Vision: English1216Not measuredOnly GPT-5 Mini measured
LMArena Vision: Chinese1214Not measuredOnly GPT-5 Mini measured
LMArena Vision: reading text1199Not measuredOnly GPT-5 Mini measured
LMArena Vision: humor1205Not measuredOnly GPT-5 Mini measured
LMArena Vision: captioning1217Not measuredOnly GPT-5 Mini measured
LMArena Vision: recognizing things1226Not measuredOnly GPT-5 Mini measured
LMArena Vision: creative writing1181Not measuredOnly GPT-5 Mini measured
Neither model has a result on the other 10 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for GPT-5 Mini and Grok 4.20
BenchmarkGPT-5 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 Mini$0.0013Fits in one request
Grok 4.20$0.0025Fits in one request

GPT-5 Mini costs less

Repository review

50K input + 3K output tokens

GPT-5 Mini$0.018Fits in one request
Grok 4.20$0.070Fits in one request

GPT-5 Mini costs less

Agent loop

200K input + 10K output tokens

GPT-5 Mini$0.070Fits in one request
Grok 4.20$0.275Fits in one request

GPT-5 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 Mini and Grok 4.20
SpecificationOpenAI GPT-5 MiniSpaceXAI Grok 4.20
MakerOpenAIxAI
WeightsNo public weights listedNo public weights listed
ReleasedAugust 7, 2025March 31, 2026
Context window400K2M
Input $/Mtok$0.25$1.25
Output $/Mtok$2.00$2.50
Coding index34.233.3
Independent measurements behind it22
Cost per solved task$0.08$0.72
SourceOpenRouter listingOpenRouter listing

Questions

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

GPT-5 Mini and Grok 4.20 are level for coding, 34.2 against 33.3 on the Vibe Coding Index, so price and context decide. Pick Grok 4.20 for a larger context window (2M against 400K tokens) and work measured by SWE-bench Verified (Vals AI) or Terminal-Bench Hard (Artificial Analysis run), where it leads. Pick GPT-5 Mini for output tokens 1.3x cheaper ($2.00 vs $2.50 per million) and a lower cost per solved task ($0.08 against $0.72).

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

GPT-5 Mini costs $0.25 per million input tokens and $2.00 per million output tokens; Grok 4.20 costs $1.25 and $2.50. Per solved SWE-bench Verified task, GPT-5 Mini costs $0.08 and Grok 4.20 $0.72.

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

Grok 4.20, with 2M tokens against 400K.

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

39 benchmarks have a result for both models as of October 21, 2026. GPT-5 Mini's coding index rests on 2 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-mini-vs-grok-4-20" title="GPT-5 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-mini-vs-grok-4-20">LLMBenchmark.ai, GPT-5 Mini vs Grok 4.20</a></p>