Grok 4.7 API pricing (xAI)
$2.0 input / $6.0 output per 1M tokens. Context 500,000; our tier 3; verified; last checked 2026-10-13.
| Input $/1M | Output $/1M | Context | Tier | Verified | Checked |
|---|---|---|---|---|---|
| $2.0 | $6.0 | 500,000 | 3 | verified | 2026-10-13 |
Official source: https://docs.x.ai/docs/models. Provider page: xAI API pricing.
Note: <200K prompt; ≥200K $4/$12
Example monthly bills by job
| Job | Example volume | This model |
|---|---|---|
| Simple Q&A / chat | 10M in / 2M out | $32.00 |
| Coding | 20M in / 5M out | $70.00 |
| Long documents | 100M in / 2M out | $212.00 |
| Hard reasoning | 10M in / 10M out | $80.00 |
Cost only, not quality. “Tier” is our rough capability judgment (1 = light, 4 = frontier), not a benchmark. Standard pay-as-you-go text prices only.
Related head-to-head comparisons
See every model on the full price table, all models, or see what you'd save switching from Grok 4.7 in the savings calculator.