xAI API pricing and rate limits
Models and cost at your volume
grok-4.7: $3.20 / mo base $0 + Input tokens overage $2 + Output tokens overage $1.20
Uses the shared Overage cost function. Example volumes you can edit, not vendor data. Cached, batch and cache-write prices are listed below but not added to this total.
| grok-4.7 | 500K | $2$2.00 / 1M tokenssource | $6$6.00 / 1M tokenssource | unlisted | unlisted | unlisted | unlisted | $3.20 |
USD per 1M tokens. "+" marks a model whose price changes with volume; the standard band is shown. Context in tokens (1 models).
Prices in USD, per the vendor's billing period. Hover or focus a number for the line it came from, with a link to the stored snapshot. "unlisted" means the vendor does not publish it; we never fill the gap.
Rate limits
No rate limits recorded for this service: unlisted.
Change timeline
No changes recorded.
Tracking began 2026-10-24; no change has been detected since.
Sources
| URL | Kind | Last captured | Snapshot |
|---|---|---|---|
| docs.x.ai/docs/models | pricing | 2026-10-24 | snap_xai-pricing-0_20261023T174027Z |
Report a correction
Spotted a wrong or missing number on xAI API? Send the field, the value you see and a source link. Reports with a source are reviewed first.