xAI API rates
Billed per token and charged separately from any subscription. Read from the provider’s live catalogue every three hours.
Per model, cheapest first
| Model | Input / 1M | Output / 1M | Context |
|---|---|---|---|
| $1.00 | $2.00 | 256,000 | |
| $1.25 | $2.50 | 1,000,000 | |
| $1.25 | $2.50 | 2,000,000 | |
| $1.25 | $2.50 | 2,000,000 | |
| $2.00 | $6.00 | 500,000 | |
| $2.00 | $6.00 | 500,000 | |
| $2.00 | $6.00 | 500,000 | |
| $2.00 | $6.00 | 500,000 |
Questions
- How much does the xAI API cost?
- xAI models range from $1.00 per million input tokens (Grok Build 0.1) upwards. Every model's input and output rate is listed on this page, confirmed and dated.
- How often do xAI prices change?
- Catalogue prices are re-read every three hours, so a change appears the same day it is published.
Paying for xAI is one cost. Being invisible in it is another.
WriteWorks tracks whether AI answers name your brand or your competitors across 10+ AI platforms, and helps you produce the content that changes the answer.