xAI

Grok 4.20 API Pricing

Grok 4.20 costs $2.00 per 1M input tokens and $6.00 per 1M output tokens on xAI's API. Cached input is billed at $0.2 per 1M tokens. Prices are provider list prices in USD, refreshed as sources update; see the Grok 4.20 model profile for capability scores.

Input / 1M
$2.00
Output / 1M
$6.00
Effective / 1M I/O
$4.69
Cost Rank
#63

Price List

RatePrice (USD)Notes
Input$2.00per 1M tokens
Output$6.00per 1M tokens
Cached input (read)$0.2per 1M tokens
Blended input + output$8.001M in + 1M out at list price

What a Workload Costs

Computed straight from the list prices above — token counts are illustrative workload sizes, not measurements of Grok 4.20.

WorkloadCostTokens
Short chat turn$0.005001K in / 500 out
Summarize a long document$0.212100K in / 2K out
Agentic coding session$1.60500K in / 100K out
1M input + 1M output tokens$8.001M in / 1M out

Effective Cost

In AI IQ's scoring, Grok 4.20's list price is adjusted by a token-usage multiplier of 0.587 (measured from real benchmark runs), giving an effective cost of $4.69 per 1M input + output tokens. That places it #63 of 117 models on the effective-cost ranking (lower is cheaper). Some models spend far more tokens than others on the same task, so effective cost compares what a unit of work really costs. Method details are on the methodology page; see all models on the cost charts and the falling cost of intelligence over time.

Cheaper Alternatives at Similar Capability

Models with a lower effective cost that score within a few IQ points of Grok 4.20 (IQ 116), or better.

ModelProviderIQEffective Cost / 1M
Muse Spark 1.2Meta122$4.19
muse-spark-1.1Meta119$4.19
kimi-k2.6Kimi119$4.50
kimi-k2.7-codeKimi118$3.73
mimo-v2.5-proXiaomi116$1.80
gemini-3-flashGoogle116$2.74

Compare