← All providers
xAI pricing
verified 2026-09-02Maker of Grok. Fast-shipping frontier lab with real-time X data integration and competitive flagship pricing.
data residency & retention
from xAI's own policies · verified 2026-09-02 · some facts not publishedHeadquarters
🇺🇸 United States (US)
Where inference runs
Not disclosed
xAI's API security FAQ and enterprise docs do not disclose the datacenter regions where Grok API inference runs.
Region pinning
Not disclosed
No data-residency or region-pinning controls are published for the Grok API; compliance questions are routed to xAI's NDA-gated Trust Center.
Prompt retention
Retained · 30 days
By default API requests and responses are stored encrypted at rest for 30 days for abuse auditing, then automatically deleted.
Trains on API data
No
xAI states it never trains on API inputs or outputs without explicit permission.
Zero data retention
Available
ZDR can be enabled at team level via the xAI Console so prompts are never persisted to disk, but it disables stateful features (Stateful Responses, Files, Collections, Batch APIs).
current models · $ per 1M tokens
| Model | Input /1M | Cached in | Output /1M | Context |
|---|---|---|---|---|
Grok 4.6 Grok 4.6 | $2 | $0.50 | $6 | 500K |
Grok 4.5 Grok 4.5 | $2 | $0.30 | $6 | 500K |
Grok 4.3 Grok 4.3 | $1.25 | $0.20 | $2.50 | 1M |
Grok 4.20 Reasoning (0309) Grok 4.20 | $1.25 | $0.20 | $2.50 | 1M |
Grok 4.20 Non-Reasoning (0309) Grok 4.20 | $1.25 | $0.20 | $2.50 | 1M |
Grok 4.20 Multi-Agent (0309) Grok 4.20 | $1.25 | $0.20 | $2.50 | 1M |
Grok Build 0.1 Grok Build | $1 | $0.20 | $2 | 256K |
xAI totals · 1M in + 1M out
Grok Build 0.1
$3.00
Grok 4.3
$3.75
Grok 4.20 Reasoning (0309)
$3.75
Grok 4.20 Non-Reasoning (0309)
$3.75
Grok 4.20 Multi-Agent (0309)
$3.75
Grok 4.6
$8.00
Grok 4.5
$8.00
Cost of 1M input + 1M output tokens. Bar length is square-root scaled so cheap models stay visible next to premium ones.