Grok 4.7
Long-context pricing tiers
| Tier | Input | Cached input | Output |
|---|---|---|---|
| Long context | $4.00 | $1.00 | $12.00 |
| Short context | $2.00 | $0.50 | $6.00 |
Official pricing notes: Available on the public xAI API since 2026-09-21. Up to and including 200K total prompt tokens uses $2 input, $0.50 cached input, and $6 output; above 200K the whole request uses $4, $1, and $12. Cached prompt tokens count toward the threshold. Grok 4.7 Fast is limited to Cursor and Grok Build, Batch is unsupported, and the US regional endpoint adds 10%.