HomeGrok API pricing
Grok API pricing
The live text model in this search is Grok 4.5. Grok 4.1 Fast had no serving endpoint on 27 Sep 2026.
Updated 2026-09-27
OpenRouter listed x-ai/grok-4.5 at $2 per million input tokens and $6 per million output tokens, with a 500,000-token context. The same row includes an override: at 200,000 prompt tokens and above, input becomes $4, output $12, and cache reads $0.60 per million. Web search on that card was $0.005 per call.
The card names the maker as SpaceXAI and describes frontier coding and STEM work. A newer Grok 4.6 was $2 / $6 as well, and Grok 4.7 was $1.60 / $4.80, both with 500K context. “Grok API pricing” without a version is ambiguous. Put the slug in the invoice note.
Image and video are different products. The Grok pages around this model quote image generation from about $0.04 per image and video from about $0.05 to $0.08 per second. Those are not the text token rates.
Questions
How much is the Grok API?
Grok 4.5 was $2 per million input tokens and $6 per million output tokens on 27 Sep 2026, or $4 and $12 when the prompt crosses 200,000 tokens.
What is the model id?
x-ai/grok-4.5
Does a SuperGrok subscription pay this?
No. Consumer Grok plans and this metered API are separate. The API spends OpenRouter credits.
Related
- Grok 4.1 Fast
Grok 4.1 Fast is xAI’s tool-calling model with a 2M context on its OpenRouter card. On 27 Sep 2026 it had no live endpoint.
- AI model comparison
A price and context comparison of DeepSeek V4, Qwen3.7 Max, GLM 5.2, Claude Sonnet 5, GPT-5.1, and Grok 4.5 on OpenRouter, checked 27 Sep 2026.
- GPT-5.1 API
GPT-5.1 on OpenRouter was $1.25 input and $10 output per million tokens on 27 Sep 2026. The slug is openai/gpt-5.1, with a 400K context.
- OpenRouter pricing and credits
OpenRouter credits are a prepaid dollar balance. Buying credits costs 5.5% ($0.80 minimum). Inference uses each provider’s own token price.