Grok 4.20 is xAI's language model with a 2.0M context window and up to 1.8M output tokens, available from 4 providers, starting at $1.25 / 1M input and $2.50 / 1M output. xAI's flagship LLM combining industry-leading speed, agentic tool calling, and low hallucination rates for enterprise and research applications.
Specifications
Canonical IDxai-grok-4-20
TypeLanguage
StatusActive
CreatorxAIxAI
Providers
Context Window2.0M tokens
Max Output1.8M tokens
Input ModalitiesImagePDFText
Output ModalitiesText
Reasoning Effortsdefault
Release Date · 7 months ago
Knowledge Cutoff · 1 year ago
Benchmarks
Intelligence Index
#116
GPQA
#34
HLE
#72
IFBench
#2
Time to First Token
#334
SciCode
#95
LCR
#159
TerminalBench Hard
#43
TAU2
#15
Output TPS
#133

Capabilities

Input3/5
Text✓
Image✓
Audio·
Video·
PDF✓
Output1/5
Text✓
Image·
Audio·
Video·
Embedding·
Capabilities6/13
Reasoning✓
Adaptive Reasoning·
Function Calling✓
Parallel Function Calling·
Structured Outputs✓
Native JSON Schema✓
Web Search✓
URL Context·
Computer Use·
Code Execution·
File Search·
Prompt Caching✓
Assistant Prefill·

Pricing by Provider

US Dollar ($)
Per 1M tokens
ProviderStandardLong contextBatch
Input
$ / 1M
Output
$ / 1M
Cache Read
$ / 1M
Web Search
$ / request
Input
$ / 1M
Output
$ / 1M
Input
$ / 1M
Output
$ / 1M
Cache Read
$ / 1M
OpenRouter logo
OpenRouter
x-ai/grok-4.20
$1.25$2.50$0.2$0.0050—————
Oracle Cloud (OCI) logo
Oracle Cloud (OCI)
oci/xai.grok-4.20
$3.00$15.00N/AN/A—————
Snowflake logo
Snowflake
grok-4.20
$1.50$3.00N/AN/A$3.00$6.00$0.75$1.50N/A
xAI logo
xAI
grok-4.20
$1.25$2.50$0.2N/A——$0.625$1.25$0.1

Cost Calculator

US Dollar ($)
Preset:

Versions

VersionReleasedContextInput / 1MOutput / 1MStatus
Grok 4.7524K$2.00$6.00Available
Grok 4.6524K$2.00$6.00Available
Grok 4.5500K$2.00$6.00Available
Grok 4.31.0M$1.25$2.50Available
Grok 4.3 Batch1.0M$1.00$2.00Available
Grok 4.202.0M$1.25$2.50Current
Grok 4.20 Multi-Agent2.0M$1.25$2.50Available
Grok 4.20 Multi-Agent Beta2.0M$1.25$2.50Available
Grok 4.20 Non-Reasoning2.0M$1.25$2.50Deprecating
Grok 4.20 Multi-Agent2.0M$1.00$2.00Available
Grok 4.20 Non-Reasoning2.0M$1.00$2.00Available

Model IDs

grok-4-20
grok-4-20-0309
oci/xai.grok-4.20
openrouter/x-ai/grok-4.20
x-ai/grok-4.20
xai-grok-4-20
xai/grok-4.20
xai/grok-4.20-0309