xAI API pricing
xAI’s Grok models compete on output price and large context windows. Grok 4.6 (launched August 12, 2026) is the current flagship, matching Grok 4.5’s $2/$6 base rates; all Grok models use long-context tier pricing (rates double above 200K tokens), and Grok 4.3 keeps a 1M-token window at mid-tier rates.
3 models below, cheapest on a blended average is Grok 4.3 at $1.88 /1M. Official pricing: https://docs.x.ai/developers/pricing.
| Model | Tier | Status | Context | Input /1M | Output /1M | Cached /1M |
|---|---|---|---|---|---|---|
| Grok 4.5 | Flagship | Legacy | 500K | $2.00 | $6.00 | $0.30 |
| Grok 4.6 | Flagship | GA | 500K | $2.00 | $6.00 | $0.50 |
| Grok 4.3 | Mid-range | GA | 1M | $1.25 | $2.50 | $0.20 |
List prices, USD, directional. Rates are provider list prices per 1M tokens and are meant for comparison, not billing. Batch rates shown as 50% off are derived where a provider offers batch but does not publish a separate figure. Preview, promo, intro, peak/off-peak, long-context, and third-party-host prices are labeled where they apply. Token counts vary by tokenizer, so per-token price is not always a like-for-like cost. Always confirm with the provider before relying on a number. Prices as of 2026-08-13.
Source: https://docs.x.ai/developers/pricing
Other providers
AnthropicOpenAIGoogleDeepSeekMistralMeta (Llama)Alibaba (Qwen)