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.

Key info

Input
Output
Features
Context window
2M
Max output
30K
Input price
$2.00 /1M
Output price
$6.00 /1M
  • EU residency available
  • US residency available
  • No training by default
  • GDPR DPA available

Available routes

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

ProviderRegionZero data retentionTrainingInputOutput
MultiNot by defaultNo$2.00$6.00
USNot by defaultNo$2.00$6.00
EUNot by defaultNo$2.00$6.00

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 98.76% 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 is not on by default — abuse monitoring. No training on customer data. GLOBAL; SCCs; DPA available.

Zero data retention
Not by default — abuse monitoring. Derived from the logging and moderation facts.
Training
No training on customer data.
Logging
Abuse monitoring
Moderation
Not established
Caching
Not established
Subprocessor access
Not established
GDPR DPA
DPA available
Transfer mechanism
SCCs

xAI United States🇺🇸

Zero data retention is not on by default — abuse monitoring, 30-day retention. No training on customer data. US; SCCs; DPA available.

Zero data retention
Not by default — abuse monitoring, 30-day retention. Derived from the logging and moderation facts.
Training
No training on customer data.
Logging
Abuse monitoring (30-day retention)
Moderation
Not established
Caching
Not established
Subprocessor access
Not established
GDPR DPA
DPA available
Transfer mechanism
SCCs

xAI Ireland🇮🇪

Zero data retention is not on by default — abuse monitoring, 30-day retention. No training on customer data. EU; DPA available.

Zero data retention
Not by default — abuse monitoring, 30-day retention. Derived from the logging and moderation facts.
Training
No training on customer data.
Logging
Abuse monitoring (30-day retention)
Moderation
Not established
Caching
Not established
Subprocessor access
Not established
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. Let your coding agent set it up, or call it directly — Opper is drop-in compatible with the OpenAI, Anthropic, and Google AI SDKs.

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: "xai/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