xAI API pricing
xAI API costs from 0.002 USD on its cheapest paid plan; 8 plans in all, as listed on x.ai — prices checked 13 Oct 2026.
xAI API pricing at a glance
xAI API plans & pricing
| Plan | Price | Key limits |
|---|---|---|
| grok-build-0.1 | $1/unit usage-based |
|
| grok-4.3 | $1.25/unit usage-based |
|
| grok-4.20 models | $1.25/unit usage-based |
|
| grok-4.5 | $2/unit usage-based |
|
| grok-4.6 | $2/unit usage-based |
|
| grok-4.7 | $2/unit usage-based |
|
| Imagine image generation | $0.002/unit usage-based |
|
| Speech-to-text REST | $0.10/unit usage-based |
|
Prices as published by the vendor on docs.x.ai, checked 13 Oct 2026; taxes and regional pricing may differ. We do not change a plan's price or its limits — this table is what the vendor's own pricing page said on that date.
What the price includes
- Built forSmall business, Mid-market, Enterprise
- Integrations9 integrations: OpenAI SDK, Anthropic SDK, Python, TypeScript, JavaScript, Swift …
- Free planNo
- Paid from$0.002/unit usage-based
- Language modelsYes
Our full xAI API verdict, fact sheet and score →
Prices checked by iTechGuides Editors · Editorial team · Updated Oct 2026
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update