xAI API pricing
Grok models powering the X platform, available via API with competitive inference pricing.
| Model | Input per 1M tokens | Output per 1M tokens |
|---|---|---|
| grok-4.20-0309-non-reasoningLong context ≥200ktokens | $2.50 | $0.4000 |
| grok-4.20-0309-reasoningLong context ≥200ktokens | $2.50 | $0.4000 |
| grok-4.20-multi-agent-0309Long context ≥200ktokens | $2.50 | $0.4000 |
| grok-4.3Long context ≥200ktokens | $2.50 | $0.4000 |
| grok-4.5Long context ≥200ktokens | $6.00 | $0.6000 |
| grok-build-0.1Long context ≥200ktokens | $2.00 | $0.4000 |
xAI API Pricing
Grok models powering the X platform, available via API with competitive inference pricing.
Prices are per 1 million tokens and updated daily from the official xAI pricing page. View full dashboard →