xAI · Model guide
Grok 4.7
xAI's flagship model for coding and knowledge work, succeeding Grok 4.6 on a new, larger base model trained with a longer reinforcement-learning run on multi-hour tasks. It works longer on hard problems, checks its own work more carefully and handles long context better, with a 500K context window and four reasoning efforts up to xhigh.
What this model is good at
What the vendor positions it for, and which of our models to reach for instead.
VendorSpaceXAI's most capable model for coding and knowledge work.source
Long-running coding agents · Launch results centre on long-running software engineering — CursorBench 4.0, DeepSWE v1.1 and Terminal-Bench 4.0, all up on Grok 4.6.source
Professional knowledge work · Official results span multi-hour office work (AA Briefcase v1.1), legal (Harvey), clinical (HealthBench Professional) and electrical-engineering tasks, each ahead of Grok 4.6.source
Long-context tasks · xAI says the model is better at managing longer context than Grok 4.6.(vendor claim)source
- x-ai/grok-4.6predecessor —Use Grok 4.6 to stay on the previous generation of the same family.
- x-ai/grok-4.3longer context —Use Grok 4.3 for a 1M-token context window and an optional non-reasoning mode.
- x-ai/grok-build-0.1sibling —Use Grok Build 0.1 for fast, coding-specialized agent loops.
Pricing and billing
Tiered pricing: the rate changes once the input passes the threshold.
| Price / 1M tokens by input size | Input < 200.0K | Input ≥ 200.0K |
|---|---|---|
| Input | $ 2.00 | $ 4.00 |
| Output | $ 6.00 | $ 12.00 |
| Cache read | $ 0.50 | $ 1.00 |
| Cache write | $ 2.00 | $ 4.00 |
At this input size you are on the Input < 200.0K tier.
+ 2.0K × $ 6.00
Capabilities and limits
What CrossModel guarantees across every route this model can take right now.
- Context window
- 500.0K tokens
- Max output
- 500.0K tokens
- Input / output modalities
- Text + Image → Text
- Streaming
- Supported
- Tool calling
- Supported
- Structured output (JSON)
- Supported
- Image input
- Supported
- Thinking mode
- Supported· always on
- Reasoning effort
- low · medium · high · xhigh
- Available endpoints
- /v1/chat/completions · /v1/responses · /v1/messages
Published benchmarks
Scores the vendor reported, with the evaluation setup each one came from.
- AA-Briefcase v1.1score·SpaceXAI · 2026-09-21effort xhighsetup not fully disclosed
Artificial Analysis 的多小时办公任务评分,不是百分比。同表 Grok 4.6 为 1546,与 4.6 发布页未标版本的 AA-Briefcase 1577 不同,故按 v1.1 单独建身份。
1657 - 64%
- Harvey LAB (Vals)score·SpaceXAI · 2026-09-21effort xhighsetup not fully disclosed
发布页称 Harvey Legal Agent Benchmark;同表 Grok 4.6 为 15.8%,与已入库的 Harvey LAB 结果一致,故视为同一评测。绝对分整体偏低,仅在同表模型间比较有意义。
19.6% - 56.7%
Vendor-reported numbers, not CrossModel measurements. Scores are only comparable when the benchmark version, metric and evaluation setup match, so nothing here is averaged or ranked.
Use it in your tools
Point the base URL at CrossModel and paste this model ID — every tool below has a setup guide.
Frequently asked questions
What is Grok 4.7?
How much does Grok 4.7 cost?
Does Grok 4.7 support tool calling and structured output?
Which endpoint do I call?
Can I try it without writing code?
Chat first, integrate later
Chat first, then wire it in once you like the answers.