Grok model for agentic tool use, reasoning, coding, and live assistance
Specification
xai listing
Context
1M
Max output
1M
Released
2026-03-09
Knowledge cutoff
2025-09
Retires
2027-04-06
Open weights
no
Input
text, image, pdf
Output
text
Price
US dollars per million tokens · xai list price
Input
$1.25
Output
$2.50
Cache read
$0.20
Batch and priority prices
US dollars per million tokens · per listing
| Price | Listing | $/M |
|---|---|---|
| Batch input | xai | $1.00 |
| Batch output | xai | $2.00 |
Batch input is 20% below the interactive input price at the same listing.
Long-context price tiers
the rate above each context threshold
| Above | Price | $/M |
|---|---|---|
| 200K | Cache read | $0.40 |
| 200K | Input | $2.50 |
| 200K | Output | $5.00 |
Available from 13 hosts
| Host | In $/M | Out $/M | Cache rd | Cache wr | Context | Output | Retires |
|---|---|---|---|---|---|---|---|
| xaivendor | $1.25 | $2.50 | $0.20 | — | 1M | 1M | — |
| azure_ai | $1.25 | $2.50 | $1.25 | — | 262K | 8K | 2027-04-06 |
| google-vertex | $1.25 | $2.50 | $0.20 | — | 2M | 30K | — |
| llmgateway | $1.25 | $2.50 | $0.20 | — | 2M | 30K | — |
| llmgateway-providers · vertex-openai | $1.25 | $2.50 | $0.20 | — | 2M | 30K | — |
| oci | $1.25 | $2.50 | $0.20 | — | 1M | 30K | — |
| oci · oci | $1.25 | $2.50 | $0.20 | — | 1M | 1M | — |
| perplexity | $1.25 | $2.50 | $0.20 | — | — | — | — |
| vercel · spacexai | $1.25 | $2.50 | $0.40 $0.20 | — | 2M | 2M | — |
| vertex_ai | $1.25 | $2.50 | $0.20 | — | 2M | 2M | — |
| aihubmix · aihubmix | $2.00 | $6.00 | $0.20 | — | 1M | — | — |
| azure | $2.00 | $6.00 | — | — | 262K | 8K | — |
| azure-cognitive-services | $2.00 | $6.00 | — | — | 262K | 8K | — |
Price history
append-only observations · a listing writes a row only when its price moves
| Date | Host | Field | $/M |
|---|---|---|---|
| 2026-09-02 | vercel · spacexai | Cache read | $0.40 |
| 2026-09-04 | vercel · spacexai | Cache read | $0.20 |
| 2026-10-21 | vercel · spacexai | Cache read | $0.40 |
| 2026-10-22 | vercel · spacexai | Cache read | $0.20 |
| 2026-10-24 | vercel · spacexai | Cache read | $0.40 |
| 2026-10-25 | vercel · spacexai | Cache read | $0.20 |
| 2026-10-26 | vercel · spacexai | Cache read | $0.40 |
| 2026-10-27 | vercel · spacexai | Cache read | $0.20 |
| 2026-11-01 | vercel · spacexai | Cache read | $0.40 |
| 2026-09-02 | vertex_ai | Input | $2.00 |
| 2026-09-11 | vertex_ai | Input | $1.25 |
| 2026-09-02 | vertex_ai | Output | $6.00 |
| 2026-09-11 | vertex_ai | Output | $2.50 |
Other listings of this model
same model, different key
More from xAI
most-hosted first