xAI · API pricing
Grok 4.7 API pricing
Grok 4.7 costs $2.00 per million input tokens and $6.00 per million output tokens on xAI's standard tier, and cached input is $0.50. Checked against the official pricing page on November 23, 2026.
Higher rate for prompts of 200K+ tokens.
Prompts of 200,000 tokens or more are billed at $4.00 input, $1.00 cached input and $12.00 output per 1M tokens. The calculator applies this automatically. How long-context pricing works
What Grok 4.7 costs for common workloads
| Workload | Monthly cost | Rank of 21 |
|---|---|---|
| Support chatbot | $288 | #13 |
| Document summaries | $288 | #13 |
| Coding assistant | $384 | #13 |
| RAG search | $650 | #13 |
Grok 4.7 price history
We check xAI's official pricing page for Grok 4.7 every week since October 12, 2026 and log every change we find. The standard price, $2.00 input and $6.00 output per 1M tokens, hasn't changed since we started tracking it.
| Date | Type | What we recorded | Source |
|---|---|---|---|
| November 3, 2026 | Recorded | long-context rate: 200K+ tokens: $4 / $1 cached / $12 (all tokens in the request) | docs.x.ai ↗ |
| November 3, 2026 | Changed | note: "Higher rate for prompts of 200K+" → "Higher rate for prompts of 200K+ tokens" | docs.x.ai ↗ |
| October 12, 2026 | Added | Added to the rate card at $2.00 input / $6.00 output per 1M tokens | docs.x.ai ↗ |
Price it for your own workload
Compared against similar models from other providers.
Start from a use case
1,000 tokens is about 750 English words. Input includes your system prompt, chat history and any retrieved documents.
Pricing news
- Gemini 4 Argon API price doubles on December 1, 2026
Google's new flagship launched at $2 / $10 per million tokens, but the price goes to $4 / $20 on December 1. Here is what that does to a monthly bill, and how it compares with Gemini 3.1 Pro, Claude and Grok.