Checked Oct 17, 2026
xAI
Grok 4.7
Best for: Coding and knowledge work, including agent tasks that run for hours.
- LMArena text #89 of 416
- Reasoning
- Reads text, images
- Input
- $2
- per 1M tokens
- Output
- $6
- per 1M tokens
- Cached input
- $0.50
- per 1M tokens
- Context window
- 500K
- tokens in one request
- Released
- Sep 21, 2026
- Knowledge cutoff
- May 2026
- Weights
- Closed
- API and apps only
xAI flagship. Price shown is for prompts under 200K tokens; at 200K or more the whole request is billed at $4 input / $1 cached / $12 output per 1M. US regional endpoint costs 1.1x.
What would Grok 4.7 cost you?
Change the numbers; the chart compares all 10 featured models at the same usage.
What it's good at
From xAI's own announcements and docs, linked.
- xAI calls it its most capable model for coding and knowledge work, built on a new, larger base model and trained on tasks that take many hours. source
- xAI reports 71.0% on DeepSWE v1.1 (at high effort) and 46.3% on CursorBench 4.0. source
- A 500K-token context, image input, reasoning effort from low to xhigh, function calling and structured outputs. source
Watch out for
Limits and costs worth knowing before you build on it.
- Prompts of 200K tokens or more are billed at double the rate ($4 / $12) on the whole request.
- No Batch API, and logprobs are silently ignored.
- It needs the Web Search or X Search tool switched on for current information.
- The faster Grok 4.7 Fast isn't on the public API, and xAI doesn't publish a maximum reply length.
Scores
Benchmark numbers are as published by xAI; we haven't rerun them. Makers use different setups, so don't compare one maker's numbers with another's. The leaderboard rank comes from public blind votes.
| Measure | Result | Source |
|---|---|---|
| LMArena text rank | #89 (1444) | Oct 15, 2026 |
| DeepSWE v1.1 (software engineering, high effort) | 71.0% | xAI |
| CursorBench 4.0 (agentic coding, xhigh effort) | 46.3% | xAI |
| Terminal-Bench 4.0 (agentic coding) | 37.6% | xAI |
How to start
Get an API key
Sign up on xAI's developer platform and add billing; you pay per token as shown above. Read the docs.
Call the model
Use this model ID in your xAI API requests:
grok-4.7
Host the app you build with it
Grok 4.7 runs on xAI's servers, but your bot, agent or n8n workflow needs a home. A small VPS is usually enough, since the heavy work happens at xAI.
| Provider | From | Starting plan | Free tier | Our rating | Link |
|---|---|---|---|---|---|
| HostingerChecked | $2.99/mo | Premium (web hosting)20 GB SSD | No (30-day money-back guarantee) | Not rated | VisitOfficial site |
| DigitalOceanChecked | $4/mo | Basic Droplet 512 MiB1 vCPU · 0.5 GB RAM · 10 GiB SSD | Occasional promo credit for new users | Not rated | VisitOfficial site |
| VultrChecked | $2.50/mo | Cloud Compute Regular Performance, IPv6-only 0.5 GB1 vCPU · 0.5 GB RAM · 10 GB SSD | No free tier | Not rated | VisitOfficial site |
| Hetzner CloudChecked | $6.49/mo | CX23 (Cost-Optimized, Intel/AMD)2 vCPU · 4 GB RAM · 40 GB NVMe | No | Not rated | VisitOfficial site |
Compare with the other 9
| Model | Input / 1M | Output / 1M | Context | Arena |
|---|---|---|---|---|
| gpt-oss-120bOpenAI | $0.15 | $0.60 | 128K | #215 |
| Gemini 3.8 FlashGoogle | $0.75 | $3.75 | 1M | #9 |
| DeepSeek V4 ProDeepSeek | $1.32 | $3.96 | 1M | #56 |
| Grok 4.7xAI | $2 | $6 | 500K | #89 |
| Gemini 4 ArgonGoogle | $2 | $10 | 1M | #1 |
| GPT-6.1 SolOpenAI | $2 | $10 | 1.05M | #22 |
| Claude Sonnet 5.5Anthropic | $2 | $10 | 1M | #36 |
| Claude Opus 5.5Anthropic | $4 | $20 | 1M | #3 |
| Claude Fable 5.1Anthropic | $10 | $50 | 1M | #6 |
| GPT-6 AstraOpenAI | $10 | $50 | 1.05M | #30 |
Cheapest first, using 3 input tokens per output token.
Questions
How much does Grok 4.7 cost?
Grok 4.7 costs $2 per million input tokens and $6 per million output tokens at standard API rates, and $0.50 per million cached input tokens (US dollars, checked Oct 17, 2026). It is the 4th cheapest of the 10 models we feature.
How big is Grok 4.7's context window?
500,000 tokens for the prompt, documents and conversation in one request. How many words that holds depends on the model's tokenizer.
Is Grok 4.7 open source?
No. xAI hasn't published its weights, so you use it through the xAI API or apps rather than on your own hardware.
When was Grok 4.7 released?
xAI released it in Sep 21, 2026.
What is Grok 4.7's knowledge cutoff?
xAI gives its training-data cutoff as May 2026. For later events it needs web search or documents you provide.
Sources
- xAI pricing, checked Oct 17, 2026
- docs.x.ai/developers/models/grok-4.7
- docs.x.ai/developers/models
- docs.x.ai/developers/release-notes
- x.ai/news/grok-4-7
Facts checked Oct 17, 2026. Model names belong to their makers; AskGPU isn't affiliated with xAI. Spotted something out of date? Tell us at hello@askgpu.com.