~x-ai API Pricing
~x-ai offers 1 API models in the catalog. Combined input+output prices range from $8 (xAI: Grok Latest) to $8 (xAI: Grok Latest) per 1M tokens. Its most recent model is xAI: Grok Latest at $2 input / $6 output.
| Model | Input /1M | Output /1M | Cached in /1M | Context |
|---|---|---|---|---|
| xAI: Grok Latest | $2 | $6 | $0.5 | 500,000 |
Frequently asked questions
What is the cheapest ~x-ai model?
The cheapest ~x-ai model by combined price is xAI: Grok Latest at $2 input and $6 output per 1M tokens.
How many models does ~x-ai offer via API?
~x-ai lists 1 models in the OpenRouter catalog as of October 21, 2026.
Price snapshot October 21, 2026, refreshed daily.