Grok text prices by model
Prices are in USD per million tokens. Each rate cell lists uncached input, cached input and billable output in that order.
| Model ID | Context window | Short-context rates | Long-context rates |
|---|---|---|---|
| grok-4.7 | 500k | $2 / $0.50 / $6 | $4 / $1 / $12 |
| grok-4.6 | 500k | $2 / $0.50 / $6 | $4 / $1 / $12 |
| grok-4.5 | 500k | $2 / $0.30 / $6 | $4 / $0.60 / $12 |
| grok-4.3 | 1M | $1.25 / $0.20 / $2.50 | $2.50 / $0.40 / $5 |
| grok-4.20-multi-agent-0309 | 1M | $1.25 / $0.20 / $2.50 | $2.50 / $0.40 / $5 |
| grok-4.20-0309-reasoning | 1M | $1.25 / $0.20 / $2.50 | $2.50 / $0.40 / $5 |
| grok-4.20-0309-non-reasoning | 1M | $1.25 / $0.20 / $2.50 | $2.50 / $0.40 / $5 |
What happens at the long-context threshold?
A Grok 4.7 request with 190,000 uncached input tokens and 10,000 billable output tokens costs $0.44. Increase the prompt to 200,000 tokens with the same output and it costs $0.92. The higher rates apply to the whole request. If your workload spans both tiers, estimate each group separately and add the totals.
Estimate your API cost
Enter cached tokens here and leave them out of uncached input.
Select the tier based on prompt size per request. Uses standard global text API rates. Excludes cache writes, taxes and other usage charges.
What else can add to a Grok bill?
Check the official price for server-side tools, priority processing and regional endpoints separately. Grok 4.7 Fast is available in Cursor and Grok Build with separate plan billing. It is outside the public API prices in this table.
Sources
Source figures reviewed on .