Models › xAI
xAI API pricing
Grok 4.7.
$2.00 in. $6.00 out.
Input / 1M$2.00
Cached input / 1M$0.50
Output / 1M$6.00
Context500K
Prompts of 200K+ tokens: $4 in / $12 out.
Source: xAI official pricing · checked Oct 20, 2026
What it costs per month.
1,000 input and 500 output tokens per request, no caching.
| Volume | Monthly cost |
|---|---|
| 1K requests | $5.00 |
| 100K requests | $500.00 |
| 1M requests | $5,000.00 |
Sponsored
Your API or dev tool here. Reach developers comparing model costs right now.