xAI models
Grok API pricing
xAI's official prices (opens in a new tab) per 1M input / output tokens are $2.00 / $6.00 for Grok 4.7.
xAI's Grok models work here through the OpenAI Chat Completions API, with the same key as every other model.
Prices as of Nov 25, 11:26 PM UTC
Grok prices per 1M tokens
Our price is the cheapest channel that can serve each model now, beside xAI's official price.
- Grok 4.7PreviewUnavailable nowgrok-4.7
- Our price, in / out
- —
- Official price, in / out
- Official price, in / out: $2.00 / $6.00
- Cache read
- —
- Cache write
- —
- Context
- 500K
- Max output
- 128K
| Model | Context | Max output | Official price, in / out | Our price, in / out | Cache read | Cache write | Discount |
|---|---|---|---|---|---|---|---|
| Grok 4.7PreviewUnavailable nowgrok-4.7 | 500K | 128K | Official price, in / out: $2.00 / $6.00 | — | — | — | — |
Good to know
- Grok 4.7 is a preview here: one channel serves it, so at busy times it can be slow or briefly unavailable.
- max_tokens limits only the visible answer: reasoning tokens come on top of it.
- xAI sets no output cap of its own; requests here default to 128,000 output tokens.
Other model families
One key for every model here.
Top up from $10, change one URL, and pay only for the tokens you use.