xAI (Grok) API Pricing
Real-time API token pricing for xAI Grok models including Grok 3 and Grok 2. Compare Grok input/output costs and context windows.
4 active models ยท Data updated hourly
About xAI (Grok)
xAI is Elon Musk's AI company, best known for the Grok series of large language models. Grok models are available via the xAI API and through X (formerly Twitter) Premium subscriptions. Grok 3 is xAI's flagship reasoning model, designed to be competitive with GPT-4o and Claude 3.5 Sonnet. xAI emphasises real-time information access and integration with the X platform.
| Model | Released | Context | Input $/1M | Output $/1M | Modalities |
|---|---|---|---|---|---|
| xAI: Grok Build 0.1 | May 2026 | 256K | $1.00 | $2.00 | Vision |
| xAI: Grok 4.3 | Apr 2026 | 1M | $1.25 | $2.50 | Vision |
| xAI: Grok 4.20 Multi-Agent | Mar 2026 | 2M | $2.00 | $6.00 | Vision |
| xAI: Grok 4.20 | Mar 2026 | 2M | $1.25 | $2.50 | Vision |