Grok 4.20
ActiveGrok 4.20 is xAI's newest flagship model with industry-leading speed and agentic tool calling capabilities. It combines the lowest hallucination rate on the market with strict prompt adherance, delivering consistently...
Overview
Grok 4.20 is xAI's newest flagship model with industry-leading speed and agentic tool calling capabilities. It combines the lowest hallucination rate on the market with strict prompt adherance, delivering consistently...
History
Grok 4.20 became available via the xAI API on 2026-03-31.
Training & availability
Training data has a knowledge cutoff of 2025-09-01 — information about events after that date is unlikely to appear in the model's responses. xAI has not released the underlying model weights — access is via their hosted API only.
Capabilities
-
Context window: 2.0M tokens.
-
Input modalities: text, image, file.
Recommended for: vision, long-context.
Pricing
- Input: $2.0000 per 1M tokens
- Output: $6.0000 per 1M tokens
Use the cost calculator above to estimate monthly spend for your workload.
Quick start
Minimal example using the OpenRouter API. Copy, paste, replace the key.
from openai import OpenAI
client = OpenAI(
base_url="https://openrouter.ai/api/v1",
api_key="sk-or-...",
)
resp = client.chat.completions.create(
model="xai/grok-4-20",
messages=[{"role": "user", "content": "Explain quantum computing in one sentence."}],
)
print(resp.choices[0].message.content)Cost calculator
Estimate your monthly bill. Presets are typical workload sizes.
Benchmarks
Integrations & tooling support
- Tool calling
- Not supported
- Structured outputs
- Not supported
Price vs quality
Mid-tier performance and pricing — standard choice.
- Quality percentile
- 42.5%
- Effective price
- $5/1M
- Pricing breakdown
- $2/1M in
$6/1M out
Community ratings
Rate Grok 4.20
Sign in to rate and review.
Comments
Sign in to leave a comment.