Grok 4 pricing
xAI · list prices as of 2026-09-29
| Input | $3 per 1M tokens |
|---|---|
| Output | $15 per 1M tokens |
| Cached input (read) | $0.75 per 1M tokens |
| Context window | 256K tokens |
What a call costs
| Typical call | Input tokens | Output tokens | Per call | Per month at 1,000 a day |
|---|---|---|---|---|
| Chat reply | 1,000 | 300 | $0.0075 | $225.00 |
| Document summary | 6,000 | 400 | $0.0240 | $720.00 |
| Code change | 3,000 | 1,200 | $0.0270 | $810.00 |
No caching or batch discount. Your own prompt will differ: count it exactly below.
Price your own prompt on Grok 4Similarly priced models
- Claude Sonnet 4.5 (Anthropic): about the same
- Claude Sonnet 4.6 (Anthropic): about the same
- GPT-5.4 (OpenAI): 1.1× cheaper
- GPT-5.2 (OpenAI): 1.3× cheaper
- Claude Opus 5.5 (Anthropic): 1.3× more
Questions
How much does Grok 4 cost?
Grok 4 costs $3 per million input tokens and $15 per million output tokens, as of 2026-09-29.
How much is one Grok 4 call?
A call with 1,000 input tokens and a 300-token answer costs about $0.0075, or $225.00 a month at 1,000 calls a day.
How big is the Grok 4 context window?
256,000 tokens.