Grok 4.20 Reasoning

by xAI

Grok 4.20 Reasoning is the reasoning-enabled production model of xAI's March 2026 Grok 4.20 generation, generating explicit chain-of-thought before responding to improve accuracy on complex logic, math, and multi-step problems. It spans a 2 million token context window, making it strong for long-horizon agentic workflows and research. The model integrates real-time X data when context is needed, supports native tool calling for external API invocation, and handles image input alongside text. Visible reasoning steps support transparency and debugging across multi-turn conversations. Released in March 2026, Grok 4.20 Reasoning targets accuracy-critical applications such as analysis, complex code generation, and structured reasoning where you need both explanations and the long context that extended tasks demand.

Call Grok 4.20 Reasoning on Opper with the OpenAI SDK. Sign up without a credit card. Get started

Key info

Input
Output
Features
Context window
2M
Max output
30K
Input price
$2.00 /1M$0.20 cache read
Output price
$6.00 /1M
  • EU residency available
  • US residency available
  • Zero data retention on pay-as-you-go
  • No training by default
  • GDPR DPA available

Available routes

Grok 4.20 Reasoning runs on 4 different routes through the Opper gateway. Compare residency, zero data retention and training posture at a glance, with full data-handling detail per route below.

ProviderRegionZero data retentionTrainingInputOutputCache read
MultiNo$2.00$6.00$0.20
USNo$2.00$6.00$0.20
USNo$2.00$6.00$0.20
EUNo$2.00$6.00$0.20

Uptime and availability

Grok 4.20 Reasoning runs on 2 independently monitored routes through the Opper gateway. A direct integration leaves you on one of them, the gateway serves whichever is healthy.

100%effective uptime, last 30 days
Averaged across these routes on their own, a single provider reached 99.27% over the same window.
Daily status through the gateway, which serves each request from whichever route is healthy.
2 monitored providers serve Grok 4.20 Reasoning.

Measured over the last 30 days from each provider's official status feed via StatusGator. Refreshed hourly. See uptime for every provider Opper monitors.

Data handling per route

Each route hosting Grok 4.20 Reasoning has its own privacy posture, residency, and GDPR terms. Postures are maintained by Opper with a last-verification timestamp.

Google Cloud — Multi-region

Zero data retention with abuse monitoring: prompts and outputs are kept for abuse monitoring only, for a window the provider does not state, and are not used for training. No training on customer data. GLOBAL; SCCs; DPA available.

Zero data retention
With abuse monitoring, window not stated.
Training
No training on customer data.
Logging
Abuse monitoring
Abuse monitoring
On by default, holds flagged content, 90 days, a person can view samples
GDPR DPA
DPA available
Transfer mechanism
SCCs

xAI — United States🇺🇸

Zero data retention: nothing is logged, held for abuse monitoring or used for training. No training on customer data. US; SCCs; DPA available.

Zero data retention
Yes. Nothing is logged, held for abuse monitoring or used for training.
Training
No training on customer data.
Logging
None
Abuse monitoring
On by default, keeps nothing
Caching
Content cached for replay
GDPR DPA
DPA available
Transfer mechanism
SCCs

xAI — United States🇺🇸

Zero data retention with abuse monitoring: prompts and outputs are kept for up to 30 days for abuse monitoring only, and are not used for training. No training on customer data. US; SCCs; DPA available.

Zero data retention
With abuse monitoring, 30-day window.
Training
No training on customer data.
Logging
Abuse monitoring (30-day retention)
Abuse monitoring
On by default, keeps nothing
Caching
Content cached for replay
GDPR DPA
DPA available
Transfer mechanism
SCCs

xAI — Ireland🇮🇪

Zero data retention with abuse monitoring: prompts and outputs are kept for up to 30 days for abuse monitoring only, and are not used for training. No training on customer data. EU; DPA available.

Zero data retention
With abuse monitoring, 30-day window.
Training
No training on customer data.
Logging
Abuse monitoring (30-day retention)
Abuse monitoring
On by default, keeps nothing
Caching
Content cached for replay
GDPR DPA
DPA available
Transfer mechanism
Not applicable — data stays in EU

Get started

Call Grok 4.20 Reasoning through the Opper gateway with one API key. Opper is drop-in compatible with the OpenAI, Anthropic and Google AI SDKs.

Grok 4.20 Reasoning is a premium model on Opper. Sign up needs no credit card: you get an API key straight away and the free models work in the playground and the API. Add a card to use premium models, pay-as-you-go with no minimum.

Set it up with your agent

Copy this and paste it into a coding agent like Claude Code, Cursor or Codex and it'll wire up Opper for you.

Or call it directly

import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.OPPER_API_KEY,
baseURL: "https://api.opper.ai/v3/compat",
});
const completion = await client.chat.completions.create({
model: "grok-4.20-reasoning",
messages: [{ role: "user", content: "Hello" }],
});
console.log(completion.choices[0].message.content);

Compare Grok 4.20 Reasoning with…

Side-by-side on privacy, EU hosting, pricing, and benchmarks.

Other models from xAI

Start building with 700+ models

One API key. Every major provider. Up and running in minutes.

Get startedView Documentation