Grok 4.7
Grok 4.7 is a xAI model with a 500K-token context window and a 450K-token output limit. It costs $2 per 1M input tokens and $6 per 1M output tokens, and accepts text + image + file input. xAI's flagship for coding, agentic tasks and knowledge work, with self-verification behaviour. Prices and limits were checked on 2026-12-02 against the source linked on this page.
Input / 1M tokens
$2
Output / 1M tokens
$6
Context window
500K
Value Score
7/100
Context per input dollar, not quality
Cost examples
Arithmetic from this record's unit prices. Treat the results as estimates, not quotes.
| Workload | Assumption | Cost |
|---|---|---|
| 1M input tokens | One million tokens sent to the model | $2 |
| 1M output tokens | One million tokens generated by the model | $6 |
| Summarise a 100K-token document | 100K input + 2K output tokens per document | $0.212 |
| 1,000 short support replies | 2K input + 500 output tokens per reply | $7 |
Where it fits
- Long-running software engineering
- 500K context and 450K maximum output
- Text, image and file input
When to avoid it
- $2 input / $6 output per 1M tokens
- Context is half of the 1M-token class
Alternatives at a similar input price
Closest input price first, spread across vendors. Check context and modalities before switching.
| Model | Input / 1M | Context | Input |
|---|---|---|---|
| GPT-6.2 Sol | $2 | 1.05M | file + image + text |
| Claude Sonnet 5.5 | $2 | 1M | text + image + file |
| Gemini 4 Hydrogen | $1.5 | 1.05M | audio + file + image + text + video |
| Mistral Medium 3.5 | $1.5 | 262K | text + image + file |
Questions about Grok 4.7
+How much does Grok 4.7 cost per 1M tokens?
$2 for input and $6 for output. Cached input is $0.5 per 1M tokens. Prices were verified on 2026-12-02 and can change without notice.
+How large is the Grok 4.7 context window?
500,000 tokens, or roughly 769 pages at an estimated 650 tokens per page. The page count is an estimate, not a guarantee: PDFs, tables and code tokenise differently.
+Does Grok 4.7 accept images or PDFs?
Yes. It accepts text + image + file input. Scanned pages still need OCR before the model can read their text unless the provider processes the file itself.
+What is the maximum output for Grok 4.7?
450,000 tokens per request. Longer reports need to be split into several requests, which also multiplies the output cost.
+When should I avoid Grok 4.7?
$2 input / $6 output per 1M tokens Context is half of the 1M-token class If those limits match your workload, choose a model with a different price or context profile instead.
+What is a cheaper alternative to Grok 4.7?
Gemini 4 Hydrogen from Google costs $1.5 per 1M input tokens, compared with $2 here. Check its context limit and modalities before switching.