← Back to API models

Grok 4.20

by xAI · flagship · released 2026

xAI's 2026 flagship. Frontier-competitive reasoning with real-time X data, at aggressive pricing.

Input $2 / 1M
Output $6 / 1M
Context 256K tokens
Released 2026
xAI Platform ↗ Updated June 10, 2026
§ API pricing

Per-token rates.

Input
$2/1M tokens
Prompt tokens
  • A third of Grok 4's old rate
  • Matches Gemini 3.1 Pro on input
  • Cheapest flagship tier on our ledger
Output
$6/1M tokens
Completion tokens
  • 2.5× cheaper than Grok 4 output
  • Half of Gemini 3.1 Pro's $12
  • A fraction of Claude/GPT flagship rates
Context
256Ktokens
Window
  • Bigger than Claude's 200K standard
  • Grok 4.1 Fast stretches to 2M
  • ~190K words of practical input
Subscription
$30/mo
SuperGrok
  • Flagship access via SuperGrok
  • X Premium+ bundles Grok at $40
  • Heavy tier $300/mo for max usage

Why Grok 4.20 exists

Grok 4.20 is xAI's 2026 flagship and its bid to compete on price as well as personality. Where the legacy Grok 4 launched at $3/$15 — premium-tier pricing, and it remains available at that rate — 4.20 lands at $2 input and $6 output per 1M tokens, undercutting every other flagship on our API table. It's competitive with frontier models on benchmarks, and the X (Twitter) integration remains the genuinely unique feature: real-time access to the timeline that no other provider has.

The model voice is also distinct — less filtered, more conversational — which is a feature or a bug depending on your product. For consumer apps that want personality, it's a draw; for enterprise document work, the Claude and GPT families remain the safer defaults.

The cheap variants: 4.1 Fast and Code Fast

Two budget siblings share the family. Grok 4.1 Fast ($0.20/$0.50 per 1M) is the speed play with a standout spec: a 2M token context window, the longest on our entire table — twice GPT-5.5's and Fable 5's 1M. If your problem is "read something enormous, cheaply", nothing else comes close on price. Grok Code Fast 1 ($0.20/$1.50) targets code tasks at the same input rate. Both trade reasoning depth for throughput — use 4.20 when the answer needs to be smart, the Fast models when it needs to be fast and cheap.

Typical use cases

  • Real-time and social-aware products: trend analysis, X timeline synthesis
  • Cost-sensitive flagship workloads — strongest model per dollar at $2/$6
  • Conversational products that want a distinct, less formal voice
  • Massive-document reading via Grok 4.1 Fast's 2M window
  • High-volume code assistance via Grok Code Fast 1

Sibling and rival comparison

ModelInput / 1MOutput / 1MContext
Grok 4.20$2$6256K
Grok 4 (legacy)$3$15256K
Grok 4.1 Fast$0.20$0.502M
Grok Code Fast 1$0.20$1.50256K
Gemini 3.1 Pro$2$121M
Claude Sonnet 4.6$3$15200K (1M β)

At $2/$6, Grok 4.20 matches Gemini 3.1 Pro on input and halves it on output, while Sonnet 4.6 costs 2.5× as much for output. The honest trade: those rivals have stronger track records on careful long-form work and bigger ecosystems. Grok wins on price, real-time data, and voice; it has the most to prove on reliability-critical workloads.

← See all xAI / Grok plans