xAI API pricing
Live API prices for every xAI model SF·SIX tracks: per 1M tokens at the standard tier from the cheapest provider, or per image, second or character in the provider’s own unit.
xAI has 6 models with live API prices on SF·SIX, 6 models priced per 1M tokens. The cheapest is SpaceXSI: Grok 4.20 at $1.25 per 1M input and $2.50 per 1M output tokens, via xAI.
- Models with live prices
- 6
- Cheapest language model
- SpaceXSI: Grok 4.20$1.25 / $2.50 per 1M tokens
- Newest model
- SpaceXSI: Grok 4.72026-09-21
- Providers serving these models
- 1
xAI token prices (USD per 1M tokens)
| Model | Input / 1M | Output / 1M | Blended 3:1 | Cheapest standard provider | Providers | Context (tokens) | OpenRouter tokens / day |
|---|---|---|---|---|---|---|---|
| SpaceXSI: Grok 4.7 | $2.00 | $6.00 | $3.00 | xAI | 1 | 500,000 | Not in named rows |
| SpaceXSI: Grok 4.6 | $2.00 | $6.00 | $3.00 | xAI | 1 | 500,000 | Not in named rows |
| SpaceXSI: Grok 4.5 | $2.00 | $6.00 | $3.00 | xAI | 1 | 500,000 | Not in named rows |
| SpaceXSI: Grok 4.3 | $1.25 | $2.50 | $1.56 | xAI | 1 | 1,000,000 | Not in named rows |
| SpaceXSI: Grok 4.20 Multi-Agent | $1.25 | $2.50 | $1.56 | xAI | 1 | 2,000,000 | Not in named rows |
| SpaceXSI: Grok 4.20 | $1.25 | $2.50 | $1.56 | xAI | 1 | 2,000,000 | Not in named rows |
Each model’s headline price: the cheapest qualifying provider at the standard tier in the default region. Most widely served first.
Rankings data by OpenRouter (openrouter.ai/rankings), licensed under CC BY 4.0; aggregated and derived by SF·SIX.
Method
Prices are USD per 1M tokens at the standard service tier in the default region: the cheapest qualifying provider per model, with flex, batch, priority and fast endpoints and unusually low outliers never used as the headline. “Blended” weights input and output 3:1. Missing prices are unknown, not free. OpenRouter tokens per day are the latest full UTC day of OpenRouter’s public rankings (named rows only): Rankings data by OpenRouter (openrouter.ai/rankings), licensed under CC BY 4.0; aggregated and derived by SF·SIX. Prices move: see AI API price changes for recent cuts and increases.