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
  • Zero data retention via Enterprise
  • 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
Google CloudMultiEnterpriseNo$2.00$6.00
xAIUSEnterpriseNo$2.00$6.00
xAIEUEnterpriseNo$2.00$6.00

Training posture across routes: No training on prompts by default.

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 โ€” United States๐Ÿ‡บ๐Ÿ‡ธ

Zero data retention is available via Opper Enterprise contract. No training on customer data. US; SCCs; DPA available.

Zero data retention
Available via Opper Enterprise contract.
Training
No training on customer data.
Logging
Abuse monitoring
Third-party access
None disclosed
GDPR DPA
DPA available
Transfer mechanism
SCCs

xAI โ€” United States๐Ÿ‡บ๐Ÿ‡ธ

Zero data retention is available via Opper Enterprise contract. No training on customer data. US; SCCs; DPA available.

Zero data retention
Available via Opper Enterprise contract.
Training
No training on customer data.
Logging
Abuse monitoring (30-day retention)
Third-party access
None disclosed
GDPR DPA
DPA available
Transfer mechanism
SCCs

xAI โ€” Ireland๐Ÿ‡ฎ๐Ÿ‡ช

Zero data retention is available via Opper Enterprise contract. No training on customer data. EU; DPA available.

Zero data retention
Available via Opper Enterprise contract.
Training
No training on customer data.
Logging
Abuse monitoring (30-day retention)
Third-party access
None disclosed
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 your coding agent โ€” Claude Code, Cursor, Codex, and more โ€” 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 300+ models

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

Get startedView Documentation
Grok 4.20 Reasoning by xAI โ€” pricing, benchmarks, EU/US hosting | Opper AI