# Grok 4.7 Released: Benchmarks, Pricing, and the API

> Grok 4.7 is SpaceXAI's new flagship model for coding and knowledge work, released September 21, 2026 at Grok 4.6's price of $2 and $6 per million tokens. Here is where it leads, where it trails, and what changes in the API.

*8 min read · Published 2026-09-22 · [Muhammad Idrees](https://adrees.dev/about)*

Grok 4.7 is a pricing argument before it is a capability argument. SpaceXAI's launch post leads with "twice as fast, at half the price of comparable models," and the benchmark table underneath is honest enough to show where that trade costs you. It landed on September 21, 2026, one day before Anthropic's Claude Opus 5.5, which makes this a good week to put both claims side by side.

## Key takeaways
- Grok 4.7 is SpaceXAI's flagship model for coding and knowledge work, released on September 21, 2026. It is built on a new, larger base model than Grok 4.6, trained with a longer reinforcement-learning run weighted toward tasks that take many hours.
- Grok 4.7 keeps Grok 4.6's price of $2 per million input tokens and $6 per million output tokens, with a 500,000-token context window and a May 2026 knowledge cutoff. A fast variant costs twice as much, but runs only inside Cursor and Grok Build.
- On SpaceXAI's benchmark table, Grok 4.7 improves on Grok 4.6 everywhere and leads the field on EEBench (64.0%) and the Harvey Legal Agent Benchmark (19.6%), but trails Claude Fable 5.1 on CursorBench 4.0 and Terminal-Bench 4.0.
- Against Claude Opus 5.5, released a day later, Grok 4.7 is far cheaper per token but scores lower where both vendors report the same benchmark: 46.3% on CursorBench 4.0, against 57.8% for Opus 5.5 at max effort.
- SpaceXAI says Grok 4.7 ships with an entirely new safeguard stack, letting through 3.3% of risky dual-use prompts on its own HackerBench v0.3 and topping LatchBio's biosafety benchmark at 62.4%.

## What is Grok 4.7?
Grok 4.7 is SpaceXAI's flagship large language model for coding and knowledge work, released on September 21, 2026 as the successor to Grok 4.6. SpaceXAI is the name xAI now operates under, and on its API the model is called grok-4.7. SpaceXAI calls it the most capable model it has built, and its model docs now point developers to Grok 4.7 for everything except image, video, and voice, which have dedicated models.

Under the hood, it is not a tune-up. Grok 4.7 uses a new, larger base model than Grok 4.6, trained with a longer reinforcement-learning run on a harder mix of tasks, weighted toward problems that take many hours to complete. SpaceXAI says the result verifies its own work more carefully and manages long context better. It also trained the model to natively understand the Grok Bot harness (the agent product it launched in August), which it says improves conversational tasks and general knowledge work.

## How much does Grok 4.7 cost, and where can you use it?
Grok 4.7 costs $2 per million input tokens and $6 per million output tokens on the xAI API, the same price and speed as Grok 4.6, with a 500,000-token context window. The API model name is grok-4.7, and it has a May 2026 knowledge cutoff. It takes text and image input and returns text with no text output limit, offers reasoning effort at low, medium, high (the default), or xhigh, and works on both the Responses API and Chat Completions, with function calling, web search, X search, and code execution as built-in tools.

Beyond the xAI API, it is the default model in Grok Build, SpaceXAI's coding agent, which has a free tier; it is available on every Cursor plan; and it is served through OpenRouter, Vercel, and Cloudflare. A US regional endpoint keeps inference in the United States at a 10% premium on token prices.

The fast variant needs a footnote. The launch post says SpaceXAI serves a version with twice the output speed at twice the price, but the model docs add that Grok 4.7 Fast is available only in Cursor and Grok Build, is not part of Grok Build's free tier, and is not on the public xAI API. If you are building on the API, the standard model is what you get.

## How does Grok 4.7 perform on benchmarks?
On SpaceXAI's own table, Grok 4.7 beats Grok 4.6 on every benchmark shown and leads the field on electrical engineering and legal work, but trails Claude Fable 5.1 on CursorBench, Terminal-Bench, office work, and clinical reasoning. SpaceXAI ran Grok 4.7 at xhigh reasoning, Grok 4.6 at high, and the competitors at max effort.

Its two clear wins are in structured professional work. Grok 4.7 scores 64.0% on EEBench, an electrical-engineering benchmark, against 56.4% for Claude Fable 5.1, 39.4% for GPT-5.6 Sol, and 53.0% for Grok 4.6. On the Harvey Legal Agent Benchmark it scores 19.6%, against 6.7% for Fable 5.1, 2.5% for GPT-5.6 Sol, and 15.8% for Grok 4.6. On DeepSWE v1.1 it lands in the middle: 71.0% at high effort, just above Fable 5.1's 70.0% and just below GPT-5.6 Sol's 72.7%, up from 65.2% for Grok 4.6.

It trails Fable 5.1 on the remaining four. On CursorBench 4.0, Grok 4.7 scores 46.3% to Fable 5.1's 51.8% (GPT-5.6 Sol 41.7%, Grok 4.6 40.4%); on Terminal-Bench 4.0, 37.6% to 57.9% (Sol 37.3%, Grok 4.6 20.3%); on AA Briefcase v1.1, an office-work benchmark, 1,657 to 1,678 (Sol 1,487, Grok 4.6 1,546); and on HealthBench Professional, 56.7% to 62.1% (Sol 60.5%, Grok 4.6 48.5%).

Read the Terminal-Bench result carefully. Grok 4.7 nearly doubles Grok 4.6 there, from 20.3% to 37.6%, yet multi-hour terminal work is still its weakest showing against Fable 5.1's 57.9%, and HealthBench tells a similar story for clinical reasoning. Grok 4.7's wins are concentrated in structured professional domains, and price makes the rest of the case: at $2 and $6 per million input and output tokens, against $4 and $20 for GPT-5.6 Sol and $10 and $50 for Fable 5.1, its output tokens cost roughly an eighth of Fable 5.1's.

One more caveat about vendor tables. SpaceXAI lists Claude Fable 5.1 at 57.9% on Terminal-Bench 4.0; Anthropic's own launch post a day later lists Fable 5.1 at 55.8% on the same benchmark, and puts 57.9% against GPT-6 Astra instead. Vendors run and report competitor scores under different setups, so small discrepancies like this are common, and they are a good reason to treat every cross-vendor table as approximate.

## How does Grok 4.7 compare with Claude Opus 5.5?
Grok 4.7 is the cheaper model, and Claude Opus 5.5 is the stronger one on the benchmarks both vendors report. Anthropic released Opus 5.5 on September 22, 2026, one day after Grok 4.7, and the two launch posts share enough reference points to line them up.

Grok 4.7 costs $2 and $6 per million input and output tokens, has a 500,000-token context window, and defaults to high reasoning effort; Opus 5.5 costs $4 and $20, has a 1M-token window, and defaults to medium. On CursorBench 4.0, Grok 4.7 scores 46.3% at xhigh, while Opus 5.5 scores 57.8% at max effort and 52.5% at its default medium. On Terminal-Bench 4.0, both measured at xhigh, the gap is wider: 37.6% against 66.4%.

CursorBench is the more trustworthy of the two comparisons, because both launch pages report identical scores for the shared reference models (Fable 5.1 at 51.8% and GPT-5.6 Sol at 41.7%), which suggests comparable setups. Even at its default effort, Opus 5.5 scores about six points higher than Grok 4.7 at xhigh.

What neither vendor publishes is tokens per task for the other's model, and that is the number that turns a per-token price into a real bill. At $6 per million output tokens, Grok 4.7 can still be cheaper per task even if it needs more turns; you only find out by running both on your own workload. The companion piece "Claude Opus 5.5 Released: Benchmarks, Pricing, Migration" covers its pricing and migration details.

## What do developers need to know about the Grok 4.7 API?
Switching is a one-line model change on the Responses API or Chat Completions, but three details in the docs affect cost and correctness. The request itself is ordinary: send it to the xAI Responses endpoint with your API key as a bearer token, set the model to grok-4.7, and pass your input.

First, set a prompt cache key. SpaceXAI strongly recommends prompt_cache_key on the Responses API, or the x-grok-conv-id header on Chat Completions, so a conversation's requests reach the same server; without it you often pay full input price on a cache-cold server. Second, pass reasoning back unchanged. On the Responses API, grok-4.7 always returns encrypted reasoning content, and a multi-turn conversation keeps the model's reasoning only if you send those reasoning items back in the next request. Third, choose the effort level on purpose. Reasoning runs from low to xhigh with high as the default, and SpaceXAI's headline coding scores were measured at xhigh, not at the default.

## Is Grok 4.7 safe to use for security work?
SpaceXAI says Grok 4.7 ships with an entirely new safeguard stack and is the strongest model it has tested on refusals and jailbreak resistance. On HackerBench v0.3, SpaceXAI's own benchmark of risky and malicious cyber tasks, it let through 3.3% of risky dual-use prompts, and on LatchBio's biosafety benchmark it scored 62.4%, the top result. Select cybersecurity partners also get invite-only access to its red-team capabilities for defense research.

Both numbers deserve the usual skepticism. HackerBench is SpaceXAI's own benchmark, and SpaceXAI publishes no false-positive rate behind its claim that the model rarely blocks legitimate security work. If you do security engineering, test it on your own tasks. The contrast this week is striking: Anthropic re-routes most cybersecurity tasks on Opus 5.5 to an older model, while SpaceXAI is pitching Grok 4.7's balance of cyber capability and low refusals.

## Should you use Grok 4.7?
Use it where price per token dominates and the work plays to its strengths: high-volume coding assistance inside Cursor or Grok Build, legal or engineering document work, and knowledge tasks that fit in a 500,000-token window. Be more careful with long, multi-hour terminal work, clinical reasoning, or anything where you need the strongest available coding model regardless of cost; there, SpaceXAI's own table points elsewhere.

The durable lesson from this week's two launches is that frontier pricing now spans nearly an order of magnitude, from $6 to $50 per million output tokens, for models that are often within a few benchmark points of each other. Picking a model is becoming an engineering decision rather than a loyalty choice: route by task, measure cost per completed task, and cache aggressively. That routing and measurement work is what we do, and it starts with running the candidates on your own work rather than on the vendor's table.

## FAQ
**What is Grok 4.7?**

Grok 4.7 is SpaceXAI's flagship model for coding and knowledge work, released on September 21, 2026 as the successor to Grok 4.6. It uses a new, larger base model trained with a longer reinforcement-learning run on multi-hour tasks, costs $2 and $6 per million input and output tokens, and has a 500,000-token context window.

**How much does Grok 4.7 cost?**

On the xAI API, Grok 4.7 costs $2 per million input tokens and $6 per million output tokens, the same as Grok 4.6, and the US regional endpoint adds a 10% premium. Grok 4.7 Fast costs twice the standard rates and is available only in Cursor and Grok Build, not on the public API. Grok Build also has a free tier.

**What is the Grok 4.7 context window?**

Grok 4.7 has a 500,000-token context window. The model, grok-4.7, accepts text and image input, returns text with no text output limit, and has a knowledge cutoff of May 2026. It works with the Responses API and Chat Completions, with function calling, web search, X search, and code execution as built-in tools.

**Is Grok 4.7 better than Grok 4.6?**

Yes, on every benchmark SpaceXAI published. The largest jumps are on Terminal-Bench 4.0, from 20.3% to 37.6%, and EEBench, from 53.0% to 64.0%, while CursorBench 4.0 rises from 40.4% to 46.3%. Price and speed are unchanged, so for existing Grok 4.6 users the upgrade costs nothing extra per token.

**Is Grok 4.7 better than Claude Opus 5.5?**

On the benchmarks both vendors report, no. Claude Opus 5.5 scores 57.8% on CursorBench 4.0 at max effort and 52.5% at its default, against 46.3% for Grok 4.7, and 66.4% on Terminal-Bench 4.0 against 37.6%. Grok 4.7 is much cheaper, at $2 and $6 per million tokens against $4 and $20, so cost per completed task decides.

**How do you use Grok 4.7 in the API?**

Set the model name to grok-4.7 on the xAI Responses API or Chat Completions. SpaceXAI recommends setting a prompt_cache_key for reliable cache hits, passing encrypted reasoning items back unchanged in multi-turn conversations, and choosing a reasoning effort from low to xhigh, with high as the default.

## Sources
- [SpaceXAI — Introducing Grok 4.7](https://x.ai/news/grok-4-7)
- [SpaceXAI Docs — Grok 4.7](https://docs.x.ai/developers/grok-4-7)
- [SpaceXAI Docs — Models and pricing](https://docs.x.ai/developers/models)
- [Anthropic — Introducing Claude Opus 5.5](https://www.anthropic.com/claude-opus-5-5)

---
Canonical page: https://www.sentientarc.com/blog/grok-4-7
