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 October 12, 2026.
Input / 1M$2.00
Cached input / 1M$0.50
Output / 1M$6.00
Context window500K
Higher rate for prompts of 200K+.
What Grok 4.7 costs for common workloads
| Workload | Monthly cost | Rank of 20 |
|---|---|---|
| Support chatbot | $288 | #13 |
| Document summaries | $288 | #13 |
| Coding assistant | $384 | #13 |
| RAG search | $650 | #13 |
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.
Mistral Large
MistralCheapest
$72.00 /mo
DeepSeek V4 Pro
DeepSeek
$95.04 /mo
Grok 4.7
xAI
$288 /mo
Gemini 3.1 Pro
Google
$396 /mo
Claude Opus 5.5
Anthropic
$720 /mo
Claude Fable 5.1
Anthropic
$1,800 /mo
GPT-6 Astra
OpenAI
$1,800 /mo