LLMBenchmark.ai

Enter opens the highlighted result. Esc closes.

SpaceXAI Grok 4.20

  • xAI
  • Released March 31, 2026
  • No public weights listed
  • 2M context

As of October 21, 2026, SpaceXAI Grok 4.20 ranks #67 of 213 models overall with 25.7 on the Artificial Analysis Intelligence Index. Its strongest category is reasoning, where it ranks #52 of 203. SpaceXAI Grok 4.20 costs $1.25 per million input tokens and $2.50 per million output tokens. It was released on March 31, 2026.

Its output price ranks 209 of 349 priced models, counting from the cheapest.

  • Coding index Not benchmarked No benchmark coverage
  • Cost per solved task $0.72 One SWE-bench Verified task, solved
  • Output, per million tokens $2.50 209 of 349 from the cheapest
  • Input, per million tokens $1.25 OpenRouter list price
  • Context window 2M Tokens per request

About and specs

Grok 4.20 is a reasoning model from SpaceXAI with industry-leading speed and agentic tool calling capabilities. It combines the lowest hallucination rate on the market with strict prompt adherance, delivering...

API model id x-ai/grok-4.20
  • Tool callingListed
  • Structured outputsListed
  • JSON modeListed
  • Reasoning modeListed
  • Web searchNot listed
Takes in
Text, Images, Files
Gives back
Text
Context window
2M tokens
Max output
1.8M tokens
Knowledge cutoff
September 1, 2025
Cached input $/Mtok
$0.20
Cache write $/Mtok
No cache write price listed
Reasoning $/Mtok
Not priced apart
Web search, per request
$0.005
Tokenizer
Grok
Requests moderated
No
Withdrawn on
No date announced
Parameters
Not published
Downloads, all time
No public weights
Training compute
No estimate published
Output speed
Not measured
Time to first token
Not measured
Speed on OpenRouter
87 tokens/s via xAI, 30-minute median
First token on OpenRouter
0.7 s via xAI, 30-minute median

Benchmarks: 54 of 190 measured

The tick on a coding bar is the median of every model measured on it. Outside coding, the place is this model's rank on that board. A board that never ran the model says so.

Coding index

Not benchmarked
  • Aider polyglot Not measured
  • SWE-bench Verified Not measured
  • LiveBench coding Not measured
  • LMArena WebDev Elo, scaled from 1200 to 1900 Not measured

No coding benchmark has measured this model, so there is no index. We do not estimate one from its price, its maker or its siblings. How it is weighted

Other public boards

All rankings

Best placings

  1. IFBench#4 of 131
  2. AIME#4 of 54
  3. CL-bench3#3 of 18
  4. GPQA Diamond (Artificial Analysis run)#29 of 175

Lowest placings

  1. Code migration (Vals AI)#75 of 76
  2. MortgageTax (Vals AI)#66 of 68
  3. Excel Modeling Benchmark (Vals AI)#70 of 73

Coding8 of 34 boards

2 more coding boards

Not measured on SWE-bench Lite, SWE-bench (full test set), SWE-bench Multimodal, SWE-bench Multilingual, AA Coding Index, Terminal-Bench 4 (Vals AI), ProgramBench (Vals AI), IOI (Vals AI), SWE-bench Multimodal (Vals AI), Vibe Code Bench 1-100 (Vals AI), SkillsBench (Vals AI), CyberBench (Vals AI), LiveCodeBench (Artificial Analysis run), SciCode, DeepSWE, FrontierCode, FrontierSWE, GSO-Bench, MirrorCode, Cybench, ALE-Bench, LMArena Text: coding, LMArena Text: software and IT, LMArena WebDev: React, LMArena WebDev: HTML, LMArena WebDev: from an image

Intelligence2 of 2 boards

Agentic work12 of 39 boards

6 more agentic work boards

Not measured on AA Agentic Index, Design Arena: agents building games, Design Arena: PowerPoint slides, Design Arena: spreadsheets, LiveBench research, LiveBench browser, LiveBench long agentic, SREBench (Vals AI), Harvey's Legal Agent Benchmark (Vals AI), BioMysteryBench (Vals AI), Terminal-Bench-Science (Vals AI), Vals Science Index, Time Horizon Index (Vals AI), CUA-bench (Vals AI), Robo-bench (Vals AI), APEX-Agents, METR time horizons, Remote Labor Index, GDPval, OSWorld 2.0, BALROG, DeepResearch Bench, PostTrainBench, TheAgentCompany, OSWorld, SpireClimb, LMArena Search

Reasoning6 of 21 boards

Not measured on LiveBench reasoning, MysteryMechanism (Vals AI), GPQA Diamond (Epoch AI run), Humanity's Last Exam, SimpleBench, Chess puzzles, Mystery game puzzles, EBR-bench, VPCT, BIG-Bench Hard, LMArena Text: hard prompts, LMArena Text: expert, LMArena Text: hard prompts in English, LMArena Vision: diagrams, LMArena Vision: homework

Math1 of 13 boards

  • AIME 96.5%#4 of 54

Not measured on MATH 500 (Vals AI), MGSM (Vals AI), AA Math Index, AIME 2025 (Artificial Analysis run), OTIS Mock AIME, FrontierMath, tiers 1 to 3, FrontierMath, tier 4, ProofBench, MATH level 5, GSM8K, LMArena Text: math, LMArena Text: mathematical work

Knowledge8 of 17 boards

2 more knowledge boards

Not measured on MMLU Pro (Artificial Analysis run), SimpleQA Verified, MMLU, GeoBench, AI2 Reasoning Challenge, LMArena Text: science, LMArena Text: medicine and healthcare, LMArena Text: legal and government, LMArena Text: business and finance

Web design8 of 9 boards

2 more web design boards

Not measured on LiveBench design

General9 of 46 boards

3 more general boards

Not measured on Vals Index, LiveBench data analysis, Public Benefits Bench (Vals AI), Fiction.LiveBench, Creative writing (Lech Mazur), Surface Evolver Bench, Furniture assembly, ExploitBench, HellaSwag, WinoGrande, PIQA, LMArena Text, LMArena Text: instruction following, LMArena Text: creative writing, LMArena Vision, LMArena Text: English, LMArena Text: non-English, LMArena Text: Chinese, LMArena Text: German, LMArena Text: Japanese, LMArena Text: Korean, LMArena Text: French, LMArena Text: Spanish, LMArena Text: Russian, LMArena Text: Polish, LMArena Text: multi-turn, LMArena Text: longer queries, LMArena Text: writing and language, LMArena Text: entertainment and media, LMArena Vision: English, LMArena Vision: Chinese, LMArena Vision: reading text, LMArena Vision: humor, LMArena Vision: captioning, LMArena Vision: recognizing things, LMArena Vision: creative writing, LMArena Document

Image generation0 of 5 boards

Not measured on Design Arena: images, Design Arena: graphic design, Design Arena: logos, LMArena Text to Image, LMArena Image Edit

Public boards shown as published (Vals AI, Artificial Analysis, Design Arena) and kept out of the coding index. Each links to its source on the benchmark page.

All 190 benchmarks as a table
Benchmark results for SpaceXAI Grok 4.20
BenchmarkResultIndex weight
Aider polyglotCoding Not measured 35%
SWE-bench VerifiedCoding Not measured 30%
SWE-bench LiteCoding Not measured Not in index
SWE-bench (full test set)Coding Not measured Not in index
SWE-bench MultimodalCoding Not measured Not in index
SWE-bench MultilingualCoding Not measured Not in index
LiveBench codingCoding Not measured 20%
LMArena WebDevCoding Not measured 15%
Vals IndexGeneral Not measured Not in index
GPQA DiamondReasoning 88.6% Not in index
AIMEMath 96.5% Not in index
MMLU ProKnowledge 86.3% Not in index
AA Intelligence IndexIntelligence 25.7 Not in index
AA Coding IndexCoding Not measured Not in index
AA Agentic IndexAgentic work Not measured Not in index
Design Arena: websitesWeb design 1231 Not in index
Design Arena: UI componentsWeb design 1199 Not in index
Design Arena: game devWeb design 1192 Not in index
Design Arena: data vizWeb design 1217 Not in index
Design Arena: 3DWeb design 1194 Not in index
Design Arena: all code categoriesWeb design 1222 Not in index
Design Arena: SVGWeb design 1164 Not in index
Design Arena: ASCII artWeb design 1175 Not in index
Design Arena: agents building web appsAgentic work 1143 Not in index
Design Arena: agents building full-stack appsAgentic work 1054 Not in index
Design Arena: agents building mobile appsAgentic work 1089 Not in index
Design Arena: agents building Android appsAgentic work 1051 Not in index
Design Arena: agents building Godot gamesAgentic work 1089 Not in index
Design Arena: agents building gamesAgentic work Not measured Not in index
Design Arena: HTML slidesAgentic work 1180 Not in index
Design Arena: PowerPoint slidesAgentic work Not measured Not in index
Design Arena: spreadsheetsAgentic work Not measured Not in index
Design Arena: imagesImage generation Not measured Not in index
Design Arena: graphic designImage generation Not measured Not in index
Design Arena: logosImage generation Not measured Not in index
LiveBench reasoningReasoning Not measured Not in index
LiveBench data analysisGeneral Not measured Not in index
LiveBench researchAgentic work Not measured Not in index
LiveBench browserAgentic work Not measured Not in index
LiveBench long agenticAgentic work Not measured Not in index
LiveBench designWeb design Not measured Not in index
LiveCodeBench (Vals AI)Coding 84.3% Not in index
SWE-bench Verified (Vals AI)Coding 72.2% Not in index
Terminal-Bench 4 (Vals AI)Coding Not measured Not in index
Vibe Code Bench (Vals AI)Coding 4.1% Not in index
Code migration (Vals AI)Coding 0.3% Not in index
ProgramBench (Vals AI)Coding Not measured Not in index
SREBench (Vals AI)Agentic work Not measured Not in index
IOI (Vals AI)Coding Not measured Not in index
Terminal-Bench 2.1 (Vals AI)Coding 44.2% Not in index
SWE-bench Multimodal (Vals AI)Coding Not measured Not in index
Vibe Code Bench 1-100 (Vals AI)Coding Not measured Not in index
SkillsBench (Vals AI)Coding Not measured Not in index
CyberBench (Vals AI)Coding Not measured Not in index
Finance Agent (Vals AI)Agentic work 28.5% Not in index
Tax Agent Bench (Vals AI)Agentic work 7.0% Not in index
Legal Research Bench (Vals AI)Agentic work 13.9% Not in index
Harvey's Legal Agent Benchmark (Vals AI)Agentic work Not measured Not in index
Excel Modeling Benchmark (Vals AI)Agentic work 11.7% Not in index
BioMysteryBench (Vals AI)Agentic work Not measured Not in index
Terminal-Bench-Science (Vals AI)Agentic work Not measured Not in index
Vals Science IndexAgentic work Not measured Not in index
Time Horizon Index (Vals AI)Agentic work Not measured Not in index
CUA-bench (Vals AI)Agentic work Not measured Not in index
Robo-bench (Vals AI)Agentic work Not measured Not in index
Public Benefits Bench (Vals AI)General Not measured Not in index
MysteryMechanism (Vals AI)Reasoning Not measured Not in index
MMMU Pro (Vals AI)Reasoning 83.5% Not in index
MATH 500 (Vals AI)Math Not measured Not in index
MGSM (Vals AI)Math Not measured Not in index
SAGE (Vals AI)General 38.2% Not in index
LegalBench (Vals AI)Knowledge 77.7% Not in index
CaseLaw (Vals AI)Knowledge 54.4% Not in index
CorpFin (Vals AI)Knowledge 63.7% Not in index
TaxEval (Vals AI)Knowledge 74.1% Not in index
MortgageTax (Vals AI)Knowledge 45.4% Not in index
MedQA (Vals AI)Knowledge 94.5% Not in index
MedCode (Vals AI)Knowledge 32.2% Not in index
MedScribe (Vals AI)General 63.4% Not in index
Vals Multimodal IndexGeneral 39.1% Not in index
AA Math IndexMath Not measured Not in index
GPQA Diamond (Artificial Analysis run)Reasoning 91.1% Not in index
Humanity's Last Exam (Artificial Analysis run)Reasoning 34.5% Not in index
MMLU Pro (Artificial Analysis run)Knowledge Not measured Not in index
LiveCodeBench (Artificial Analysis run)Coding Not measured Not in index
SciCodeCoding Not measured Not in index
Terminal-Bench Hard (Artificial Analysis run)Coding 37.9% Not in index
IFBenchGeneral 81.2% Not in index
Long context reasoning (AA-LCR)General 69.0% Not in index
τ²-Bench TelecomAgentic work 93.0% Not in index
AIME 2025 (Artificial Analysis run)Math Not measured Not in index
Terminal-BenchCoding 57.3% Not in index
DeepSWECoding Not measured Not in index
FrontierCodeCoding Not measured Not in index
FrontierSWECoding Not measured Not in index
GSO-BenchCoding Not measured Not in index
WeirdMLCoding 52.3% Not in index
MirrorCodeCoding Not measured Not in index
APEX-AgentsAgentic work Not measured Not in index
METR time horizonsAgentic work Not measured Not in index
Remote Labor IndexAgentic work Not measured Not in index
GDPvalAgentic work Not measured Not in index
OSWorld 2.0Agentic work Not measured Not in index
BALROGAgentic work Not measured Not in index
DeepResearch BenchAgentic work Not measured Not in index
PostTrainBenchAgentic work Not measured Not in index
GPQA Diamond (Epoch AI run)Reasoning Not measured Not in index
ARC-AGIReasoning 89.5% Not in index
ARC-AGI-2Reasoning 65.1% Not in index
Humanity's Last ExamReasoning Not measured Not in index
SimpleBenchReasoning Not measured Not in index
Chess puzzlesReasoning Not measured Not in index
Mystery game puzzlesReasoning Not measured Not in index
EBR-benchReasoning Not measured Not in index
OTIS Mock AIMEMath Not measured Not in index
FrontierMath, tiers 1 to 3Math Not measured Not in index
FrontierMath, tier 4Math Not measured Not in index
ProofBenchMath Not measured Not in index
MATH level 5Math Not measured Not in index
GSM8KMath Not measured Not in index
SimpleQA VerifiedKnowledge Not measured Not in index
MMLUKnowledge Not measured Not in index
GeoBenchKnowledge Not measured Not in index
DTBenchGeneral 90.1% Not in index
LMCAGeneral 38.7% Not in index
Fiction.LiveBenchGeneral Not measured Not in index
Creative writing (Lech Mazur)General Not measured Not in index
CL-benchGeneral 22.2% Not in index
Surface Evolver BenchGeneral Not measured Not in index
Furniture assemblyGeneral Not measured Not in index
ExploitBenchGeneral Not measured Not in index
CybenchCoding Not measured Not in index
TheAgentCompanyAgentic work Not measured Not in index
OSWorldAgentic work Not measured Not in index
SpireClimbAgentic work Not measured Not in index
VPCTReasoning Not measured Not in index
BIG-Bench HardReasoning Not measured Not in index
AI2 Reasoning ChallengeKnowledge Not measured Not in index
HellaSwagGeneral Not measured Not in index
WinoGrandeGeneral Not measured Not in index
PIQAGeneral Not measured Not in index
CL-bench LifeGeneral 11.9% Not in index
ALE-BenchCoding Not measured Not in index
Vending-Bench 2Agentic work $4,663 Not in index
Epoch Capabilities IndexIntelligence 152.1 Not in index
LMArena TextGeneral Not measured Not in index
LMArena Text: codingCoding Not measured Not in index
LMArena Text: hard promptsReasoning Not measured Not in index
LMArena Text: mathMath Not measured Not in index
LMArena Text: instruction followingGeneral Not measured Not in index
LMArena Text: creative writingGeneral Not measured Not in index
LMArena VisionGeneral Not measured Not in index
LMArena Text: EnglishGeneral Not measured Not in index
LMArena Text: non-EnglishGeneral Not measured Not in index
LMArena Text: ChineseGeneral Not measured Not in index
LMArena Text: GermanGeneral Not measured Not in index
LMArena Text: JapaneseGeneral Not measured Not in index
LMArena Text: KoreanGeneral Not measured Not in index
LMArena Text: FrenchGeneral Not measured Not in index
LMArena Text: SpanishGeneral Not measured Not in index
LMArena Text: RussianGeneral Not measured Not in index
LMArena Text: PolishGeneral Not measured Not in index
LMArena Text: multi-turnGeneral Not measured Not in index
LMArena Text: longer queriesGeneral Not measured Not in index
LMArena Text: expertReasoning Not measured Not in index
LMArena Text: hard prompts in EnglishReasoning Not measured Not in index
LMArena Text: software and ITCoding Not measured Not in index
LMArena Text: mathematical workMath Not measured Not in index
LMArena Text: scienceKnowledge Not measured Not in index
LMArena Text: medicine and healthcareKnowledge Not measured Not in index
LMArena Text: legal and governmentKnowledge Not measured Not in index
LMArena Text: business and financeKnowledge Not measured Not in index
LMArena Text: writing and languageGeneral Not measured Not in index
LMArena Text: entertainment and mediaGeneral Not measured Not in index
LMArena WebDev: ReactCoding Not measured Not in index
LMArena WebDev: HTMLCoding Not measured Not in index
LMArena WebDev: from an imageCoding Not measured Not in index
LMArena Vision: EnglishGeneral Not measured Not in index
LMArena Vision: ChineseGeneral Not measured Not in index
LMArena Vision: reading textGeneral Not measured Not in index
LMArena Vision: diagramsReasoning Not measured Not in index
LMArena Vision: homeworkReasoning Not measured Not in index
LMArena Vision: humorGeneral Not measured Not in index
LMArena Vision: captioningGeneral Not measured Not in index
LMArena Vision: recognizing thingsGeneral Not measured Not in index
LMArena Vision: creative writingGeneral Not measured Not in index
LMArena SearchAgentic work Not measured Not in index
LMArena DocumentGeneral Not measured Not in index
LMArena Text to ImageImage generation Not measured Not in index
LMArena Image EditImage generation Not measured Not in index

What it costs

A list price says what a token costs. The cost per solved task says what a working answer costs, which is the number that decides.

Output price against the market

Grok 4.20 pricing
$0.03Dashed line: median $1.80, log scale$600.00
$2.50 per million output tokens is cheaper than 37% of the 344 paid models in the catalog.

Cost per solved task

How it is computed
$0.52one attempt, Vals AI 72.2%tasks solved $0.72per solved task

Nearly as good as Grok 4.20, for less

What the boards say about its runs

Beside a result, many boards publish what the run cost, how long it took, the tokens it spent or the votes behind a rating. Each figure as its board printed it, one board per row.

What each board publishes about the runs behind SpaceXAI: Grok 4.20's results
BoardResultWhat the run costAlso published
SWE-bench Verified (Vals AI) 72.2% $0.52 per test Duration, as printed 2m 15s
Vibe Code Bench (Vals AI) 4.1% $0.77 per test Duration, as printed 5m 02s
Code migration (Vals AI) 0.3% $0.29 per test Duration, as printed 6m 14s
Terminal-Bench 2.1 (Vals AI) 44.2% $0.41 per test Duration, as printed 5m 06s
Finance Agent (Vals AI) 28.5% $0.79 per test Duration, as printed 5m 51s
Tax Agent Bench (Vals AI) 7.0% $0.12 per test Duration, as printed 1m 29s
Legal Research Bench (Vals AI) 13.9% $0.26 per test Duration, as printed 4m 04s
Excel Modeling Benchmark (Vals AI) 11.7% $0.47 per test Duration, as printed 6m 08s
Vals Multimodal Index 39.1% $0.40 per test Duration, as printed 2m 51s
WeirdML 52.3% $0.1263 per run Median lines of code 117
ARC-AGI 89.5% $0.35 per task Nothing else
ARC-AGI-2 65.1% $0.92 per task Nothing else
14 more boards
What each board publishes about the runs behind SpaceXAI: Grok 4.20's results, continued
GPQA Diamond 88.6% Not published Latency, as printed 59 s
AIME 96.5% Not published Latency, as printed 1m 47s
MMLU Pro 86.3% Not published Latency, as printed 12 s
LiveCodeBench (Vals AI) 84.3% Not published Latency, as printed 1m 16s
MMMU Pro (Vals AI) 83.5% Not published Latency, as printed 44 s
SAGE (Vals AI) 38.2% Not published Latency, as printed 1m 06s
LegalBench (Vals AI) 77.7% Not published Latency, as printed 7.6 s
CaseLaw (Vals AI) 54.4% Not published Latency, as printed 11 s
CorpFin (Vals AI) 63.7% Not published Latency, as printed 9.7 s
TaxEval (Vals AI) 74.1% Not published Latency, as printed 13 s
MortgageTax (Vals AI) 45.4% Not published Latency, as printed 11 s
MedQA (Vals AI) 94.5% Not published Latency, as printed 12 s
MedCode (Vals AI) 32.2% Not published Latency, as printed 17 s
MedScribe (Vals AI) 63.4% Not published Latency, as printed 19 s

On these lists

No comparison page of its own yet: one needs a coding index on both sides, and Grok 4.20 has none. Compare Grok 4.20 with any model