xAI API pricing
xAI’s Grok models compete on output price and large context windows. Grok 4.5 uses long-context tier pricing (rates double above 200K tokens); Grok 4.3 is flat across a 1M-token window.
2 models below, cheapest on a blended average is Grok 4.3 at $1.88 /1M. Official pricing: https://docs.x.ai/docs/models.
| Model | Tier | Status | Context | Input /1M | Output /1M | Cached /1M |
|---|---|---|---|---|---|---|
| Grok 4.5 | Flagship | GA | 500K | $2.00 | $6.00 | $0.30 |
| 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-03.
Source: https://docs.x.ai/docs/models
Other providers
AnthropicOpenAIGoogleDeepSeekMistralMeta (Llama)Alibaba (Qwen)