by xAI · Grok 4 family · best for frontier-class coding and knowledge-work agents at mid-tier prices
Grok 4.7 is xAI's flagship model for coding, agentic tasks and knowledge work, announced and released to the public API on 2026-09-21 (xAI's pages now carry the SpaceXAI name). It is a reasoning-always-on model with a new, larger base model than Grok 4.6, a 500,000-token context window, text and image input, and xAI's server-side web and X search tools. xAI's own launch table puts it level with GPT-5.6 Sol on hard coding benchmarks at half Sol's input price and under a third of its output price. The sentence a buyer needs: Grok 4.7 is the most credible coding and knowledge-work model xAI has shipped, priced at $2 / $6 per 1M tokens, but on release day every performance figure is xAI's own, and it gives up Grok 4.3's 1M context and batch discount.
none effort level and default to low; Grok 4.7 defaults to high and its lowest setting is low, so migrating removes the non-reasoning option.us.api.x.ai, 10% premium) keeps request handling, inference, moderation and retained data in the United States. The regions listed for Grok 4.7 are all in the US; Grok 4.3 also lists eu-west-1.Six personas, six verdicts — the same panel that reviews every product on TopReviewed.
“Frontier-class coding claims at $2 in and $6 out make Grok 4.7 easy to pilot, but every headline number is still xAI's own for now.”
Grok 4.7 is the first xAI model since Grok 4.3 that belongs on a coding or knowledge-work shortlist on capability rather than price alone. xAI's own table has it level with GPT-5.6 Sol on DeepSWE and Terminal-Bench 4.0 at half Sol's input price and under a third of its output price. Governance is stronger than past Grok releases: SOC 2 Type 2, no training on API data without permission, team-wide zero data retention and a US-guaranteed endpoint. The risks are proof and churn: three flagships in about ten weeks, context halved to 500K, no batch API, no EU region listed, and no independent benchmark yet.
“xAI has turned Grok from a real-time chat brand into a coding contender, using Cursor distribution and price as its wedge against OpenAI.”
Grok 4.5 through 4.7 repositioned xAI around coding and knowledge work. Grok 4.5 was trained alongside Cursor, Grok 4.7 is the default in Grok Build and on every Cursor plan, and xAI now benchmarks against GPT-5.6 Sol and Claude Fable 5.1 rather than chat assistants. The distinctive wins in xAI's table are legal work (Harvey Legal Agent Benchmark 19.6% against 2.5% for Sol) and electrical engineering (EEBench 64.0%). Live X search is still a data moat no rival can copy. The weakness: its price lead is thin against Claude Sonnet 5 at $2 / $10 and open-weights DeepSeek V4 Pro, and the brand still worries conservative enterprise buyers.
“At $2 in and $6 out it costs less per task than GPT-5.6 Sol, but there is no batch discount and 200K-token prompts double the whole bill.”
At $2 / $6, Grok 4.7 costs half of GPT-5.6 Sol's promotional $4 input and 30% of its $20 output, and undercuts Claude Sonnet 5's $10 output. xAI's CursorBench chart puts its average cost per task at $6.01 at xhigh, against $8.23 for Sol at max and $11.95 for Claude Opus 5 at max. Three cost traps: prompts of 200K tokens or more bill every token at $4 / $1 / $12; cached input at $0.50 is a 75% discount where Anthropic and OpenAI give 90%; and there is no batch API, while Sol and Sonnet 5 offer 50% off. X Search moved to per-post billing on launch day. DeepSeek V4 Pro stays far cheaper for text-only work.
“Drop-in OpenAI SDK support, four effort levels and X search in one call; budget for encrypted reasoning items and for the missing batch API.”
Integration is simple: set the model to grok-4.7 in the OpenAI SDK, the Vercel AI SDK or xai_sdk, on either the Responses or Chat Completions API. Function calling, structured outputs, web search, X search and code execution are all supported, and 150 requests per second with 50M tokens per minute is generous headroom. Practical details: reasoning cannot be turned off (low to xhigh, default high), the Responses API always returns encrypted reasoning that should be passed back each turn, and reliable cache hits need prompt_cache_key. Presence penalty, frequency penalty and stop sequences return errors on this reasoning model. Context compaction and WebSocket mode help long agent loops.
prompt_cache_key“As Grok Build's default it is a strong, free-to-start coding agent, but xAI's launch post never says whether Grok app subscribers get 4.7.”
For a daily user, Grok 4.7 lives mainly in coding tools. It is the default model in Grok Build, which has a free tier, and it is on every Cursor plan, with a Fast variant at twice the output speed for those willing to pay double. xAI says it works longer on hard tasks, checks its own work, and produces better documents and presentations, with AA Briefcase and GDPval gains over Grok 4.6. Reasoning is always on, so simple questions still wait for thinking, and xhigh adds more. The launch post does not say whether the Grok consumer app or SuperGrok plans run Grok 4.7, so chat users should check before paying.
“Every Grok 4.7 number comes from xAI's launch post on release day, no independent evaluator has scored it yet, and Grok 4.6 is six weeks old.”
Treat Grok 4.7's claims as unverified. All eight capability scores on this page come from xAI's launch post, published the day the model shipped. Several use newer benchmark versions than the ones stored for older models (CursorBench 4.0, Terminal-Bench 4.0), and the safety headline rests on HackerBench, xAI's own benchmark. Even on xAI's chart it trails Claude Fable 5.1 on CursorBench, GDPval, AA Briefcase and Terminal-Bench 4.0 (57.9% against 38.0%), and trails GPT-5.6 Sol on DeepSWE and HealthBench Professional. Against Grok 4.3 there are real regressions: half the context, no batch API and higher prices.
The full research notes behind this review — verified against primary sources.
xAI discloses that Grok 4.7 uses "a new, larger base model" than Grok 4.6 and a longer reinforcement-learning run on harder, multi-hour tasks. Everything else is undisclosed: architecture type, total and active parameters, expert count, layers, attention mechanism, training tokens and compute. The field is marked unknown rather than assuming a mixture-of-experts design. For context, xAI said Grok 4.5 was trained across tens of thousands of NVIDIA GB300 GPUs in its Memphis data centers, with reinforcement learning over hundreds of thousands of tasks; it has not said how much of that carries into Grok 4.7. Documented behavior: a 500K-token input context, always-on reasoning with four effort levels, summarized reasoning output plus encrypted reasoning content on the Responses API, text and image input, and a May 2026 knowledge cutoff. Like Anthropic, OpenAI and Google, xAI keeps its frontier internals closed.
Scores below lean on xAI's own launch figures, which no independent evaluator had reproduced at verification time. They are set conservatively for that reason.
All scores in this table are vendor-reported by xAI in its 2026-09-21 launch post. Grok 4.7 figures are at xhigh effort unless noted; competitor figures are as charted by xAI.
| Benchmark | Score | vs Predecessor | vs Top Competitor | Source |
|---|---|---|---|---|
| CursorBench 4.0 (long-running coding) | 46.3% | +5.9 vs Grok 4.6 (40.4%) | GPT-5.6 Sol max 41.7%; Claude Opus 5 max 46.6%; Claude Fable 5.1 max 51.8%; Claude Sonnet 5 max 34.1% | xAI (vendor-reported) |
| DeepSWE v1.1 (high effort) | 71.0% | +5.8 vs Grok 4.6 (65.2%) | GPT-5.6 Sol 72.7%; Claude Fable 5.1 70.0% | xAI (vendor-reported) |
| Terminal-Bench 4.0 (multi-hour terminal work) | 38.0% | +17.7 vs Grok 4.6 (20.3%) | GPT-5.6 Sol 37.3%; Claude Fable 5.1 57.9% | xAI (vendor-reported) |
| EEBench (electrical engineering) | 64.0% | +11.0 vs Grok 4.6 (53.0%) | GPT-6 Astra 69.3%; Claude Fable 5.1 56.4%; GPT-5.6 Sol 39.4% | xAI (vendor-reported) |
| AA Briefcase v1.1 (multi-hour office work, Elo) | 1,657 | +111 vs Grok 4.6 (1,546) | Claude Fable 5.1 1,678; GPT-6 Astra 1,569; GPT-5.6 Sol 1,487 | xAI (vendor-reported) |
| GDPval (professional knowledge work, Elo) | 1,695 | +90 vs Grok 4.6 (1,605) | Claude Fable 5.1 1,735; GPT-6 Astra 1,542 | xAI (vendor-reported) |
| Harvey Legal Agent Benchmark | 19.6% | +3.8 vs Grok 4.6 (15.8%) | Claude Fable 5.1 6.7%; GPT-5.6 Sol 2.5% | xAI (vendor-reported) |
| HealthBench Professional | 56.7% | +8.2 vs Grok 4.6 (48.5%) | GPT-5.6 Sol 60.5%; Claude Fable 5.1 62.1% | xAI (vendor-reported) |
Grok 4.3, the previous model in this catalog, has no scores on these benchmark versions, so the predecessor column compares against Grok 4.6 from the same xAI table. None of these results fills the catalog's standard compare fields. xAI published no MMLU-Pro, GPQA Diamond, AIME, SWE-bench Verified, LiveCodeBench, MMMU, HLE or LMArena figure for Grok 4.7. Its Terminal-Bench result is on version 4.0, a harder revision than the Terminal-Bench 2.x scores stored for other models, so that compare field stays empty rather than mixing versions. The GDPval and AA Briefcase Elo values also differ from the GDPval-AA v2 and AA-Briefcase values in xAI's Grok 4.6 post, so compare them only within the same chart. No independent evaluator had published a verifiable Grok 4.7 result at verification time.
No independent throughput or time-to-first-token measurement of Grok 4.7 existed at verification time, so both fields are null. xAI says Grok 4.7 is served at the same speed as Grok 4.6, and its launch tagline claims it is "twice as fast" as comparable models. In July xAI stated Grok 4.5 ran at about 80 tokens per second. Three things shape real latency. Reasoning is always on and defaults to high, so even simple requests spend time thinking; low is the fastest setting, and xhigh adds latency for the hardest work. xAI's code samples set one-hour client timeouts for reasoning requests. Grok 4.7 Fast doubles output speed at double the price, but only inside Cursor and Grok Build. On the API, Priority Processing buys higher scheduling priority at 2x token rates. Long agent loops can use context compaction and WebSocket mode to cut time-to-first-token and round-trip overhead.
| Surface | Cost | Notes |
|---|---|---|
| API input | $2.00 / 1M tok | $4.00 once the prompt reaches 200K tokens, applied to every token in that request |
| API output | $6.00 / 1M tok | $12.00 at 200K+ prompt tokens; reasoning tokens are billed |
| Cached input | $0.50 / 1M tok | 75% off input; $1.00 at 200K+; set prompt_cache_key for reliable hits |
| Batch (in/out) | n/a | Batch API not supported |
| Image input | token-based | No per-image price |
| US regional endpoint | 1.1x | $2.20 / $0.55 / $6.60 (input / cached / output) below 200K |
| Priority Processing | 2x standard rates | Billed only when the response confirms priority tier |
| Grok 4.7 Fast | $4.00 / $1.00 / $12.00 | Input / cached / output; Cursor and Grok Build only; $6 / $1.50 / $18 above 200K |
| Server-side tools | $5 / 1K calls | Web search and code execution; X Search is $5 per 1K posts and $10 per 1K profiles fetched from 2026-09-21 12:00 PT |
| Direct UI | Grok Build; Cursor plans | Default model in Grok Build; on all Cursor plans; the launch post does not name grok.com or SuperGrok |
| Free tier | Grok Build free tier | Standard Grok 4.7 only; Fast variant excluded |
| Rate limits | 150 req/s · 50M TPM | Per xAI's model page |
Requests blocked before generation for usage-guideline violations on the Responses API carry a $0.05 fee; requests flagged after generation are billed normally.
Proprietary and API-only: no open weights, no self-hosting. The xAI API serves Grok 4.7 through the Responses and Chat Completions endpoints at api.x.ai/v1, with the native xai_sdk, the OpenAI SDK and the Vercel AI SDK all documented. The global endpoint may route between regions. The US regional endpoint (us.api.x.ai/v1, 10% premium) guarantees US handling, inference, moderation and retained data, but Files, Collections and server-side tools (web search, X search, code execution) fall outside that guarantee. xAI lists Grok 4.7's regions as us-east-1, us-west-2 and us-central-1, with no EU region. Beyond the API it runs as the default model in Grok Build (xAI's coding agent CLI), on all Cursor plans, and through the OpenRouter, Vercel and Cloudflare gateways. xAI's pages do not confirm Amazon Bedrock, Google Vertex AI or Microsoft Foundry availability for Grok 4.7.
Official SDKs cover Python (xai_sdk) and TypeScript through the Vercel AI SDK's @ai-sdk/xai provider, and the OpenAI SDK works against api.x.ai/v1 for both Responses and Chat Completions. Grok 4.7 is the default model in Grok Build, xAI's coding agent (TUI, headless CLI and Agent Client Protocol), and is available on all Cursor plans. Model gateways OpenRouter, Vercel and Cloudflare serve it. xAI trained it to understand the harness of Grok Bot, its persistent cloud agent product. Popularity is growing: Cursor distribution gives it a large developer audience, while enterprise penetration still trails OpenAI, Anthropic and Google.
$2.00 per 1M input tokens, $6.00 per 1M output tokens and $0.50 per 1M cached input tokens. Once a prompt reaches 200K tokens, every token in that request bills at $4 / $1 / $12. There is no batch discount; the US regional endpoint adds 10% and Priority Processing doubles rates.
On xAI's own figures, yes: CursorBench 4.0 46.3%, DeepSWE v1.1 71.0% and Terminal-Bench 4.0 38.0%, roughly level with GPT-5.6 Sol and below Claude Fable 5.1. These are vendor-reported launch-day numbers, so run your own repository-level evals before switching.
Move for capability: Grok 4.7 is a new, larger model built for coding and agents. Stay on Grok 4.3 if you rely on its 1M context, its 20%-off Batch API, its non-reasoning none effort level, EU processing, or its lower $1.25 / $2.50 price.
xAI states it never trains on API inputs or outputs without explicit permission. Requests are retained encrypted for 30 days for abuse auditing unless you enable team-wide Zero Data Retention, which also disables stateful Responses, Files, Collections and the Batch API.
The US regional endpoint guarantees US handling, inference, moderation and retained data for a 10% premium, excluding Files, Collections and server-side tools. xAI lists no EU region for Grok 4.7.
The same model on faster infrastructure with twice the output speed at twice the token price ($4 / $12). It is available only in Cursor and Grok Build, not on the public API or Grok Build's free tier.
DeepSeek V4 Pro costs $1.32 / $3.96 at peak and half that off-peak, with a 1M context and open weights under MIT, but it is text-only. Grok 4.7 adds image input, native X and web search, and xAI-reported coding results against GPT-5.6 Sol.
Only when you enable the X Search or Web Search tools; without them the model knows nothing after its May 2026 cutoff. From 2026-09-21 X Search bills $5 per 1K posts and $10 per 1K profiles fetched.
On xAI's own table Sol at max effort roughly ties Grok 4.7 on DeepSWE v1.1 (72.7% vs 71.0%) and Terminal-Bench 4.0 (37.3% vs 38.0%), trails on CursorBench 4.0 (41.7% vs 46.3%) and leads on HealthBench Professional (60.5% vs 56.7%). Sol wins on context (1.05M), a documented 128K max output, a 50%-off batch API, a 90% cache discount and far deeper independent evaluation. It loses on price: $4 / $20 (promotional through at least 2026-11-21) against $2 / $6.
Same $2 input price but $10 output, with a 1M context, 128K max output, 50% batch discount, 90%-off cache reads, and availability on Bedrock, Google Cloud and Microsoft Foundry. Sonnet wins on context, cloud reach and governance maturity. On xAI's CursorBench 4.0 chart Sonnet 5 at max scores 34.1% at $7.17 per task against Grok 4.7's 46.3% at $6.01, a vendor-reported coding and cost-per-task edge for Grok.
Same $2 input price, $12 output, a 1M context and native text, image, video, audio and PDF input. It wins on context, multimodal breadth and batch pricing, but is still in preview. Grok 4.7 is GA, half the output price, and has native X search. Google's GA Gemini 3.8 Flash ($0.75 / $3.75 through 2026-12-31) is the cheaper option for high-volume agent work.
Primary references used to verify this review.
Does not train on API inputs by default
Last verified 2026-09-21