$T TokenCostDB
Verified: 2026-11-30 Direct Official Pricing Provider: xAI

SpaceXSI: Grok 4.20 API Pricing & Monthly Cost Calculator

SpaceXSI: Grok 4.20 by xAI is priced at $1.25 per 1M input tokens and $2.50 per 1M output tokens with a 2M context window. Prompt caching reduces repeated prefix reads to $0.2/1M (84% savings). Batch API lowers rates to $1.00 in / $2.00 out.

Standard Input / 1M
$1.25
Standard Output / 1M
$2.50
Cache Read / Write
$0.2 / —
Context / Max Output
2M / 1.80M

Direct Official vs. OpenRouter Gateway

Comparing direct vendor pricing against multi-provider OpenRouter routing for x-ai/grok-4.20.

Channel Input / 1M Output / 1M Cache Read
Direct Official $1.25 $2.50 $0.2
OpenRouter Gateway $1.25 $2.50 $0.2
Gateway vs direct output spread: 0% Primary Pricing Source →

1M to 1B Token Cost Tiers

Reference monthly spend assuming a standard 75% input / 25% output workload mix.

Monthly Volume Standard 75% Cached Batch API
1M tokens $1.56 $0.97 $1.25
10M tokens $15.63 $9.72 $12.50
100M tokens $156.25 $97.19 $125.00
1B tokens $1,563 $971.88 $1,250

Interactive SpaceXSI: Grok 4.20 Bill Estimator

Adjust request volume, tokens, and prompt cache hit ratio.

Estimated Monthly Total
$286.80
Cache Hit %60%
Input: $120.00Cache Read: $28.80Output: $120.00Per 1K reqs: $4.78

Closest Price-Tier Alternatives

Model Input / 1M Output / 1M Context
SpaceXSI: Grok 4.3 $1.25 $2.50 1M
SpaceXSI: Grok 4.20 Multi-Agent $1.25 $2.50 2M
Google: Gemini 3 Flash Preview $0.5 $3.00 1.05M
Google: Gemini 3.8 Flash $0.75 $3.75 1.05M
Google: Gemini 3.7 Flash $0.75 $3.75 1.05M
Google: Gemini 3.6 Flash $0.75 $3.75 1.05M

Optimize Inference & Self-Hosting

Compare SpaceXSI: Grok 4.20 against flagship models from OpenAI, Anthropic, Google, and DeepSeek in our interactive comparison matrix, or benchmark self-hosted GPU break-even thresholds.

Model Specifications & FAQs

Grok 4.20 is a reasoning model from SpaceXSI with industry-leading speed and agentic tool calling capabilities. It combines the lowest hallucination rate on the market with strict prompt adherance, delivering...

How much does SpaceXSI: Grok 4.20 API cost per 1M tokens?

SpaceXSI: Grok 4.20 costs $1.25 per 1M input tokens and $2.50 per 1M output tokens (official direct provider rate), verified on 2026-11-30.

Does SpaceXSI: Grok 4.20 support prompt caching or batch discounts?

Yes, cached input reads cost $0.2 per 1M tokens (84% off standard input). Batch API reduces rates to $1.00 input and $2.00 output per 1M tokens.

What is the context window and max output for SpaceXSI: Grok 4.20?

SpaceXSI: Grok 4.20 supports a 2,000,000-token context window and up to 1,800,000 output tokens per completion.