SpaceXAI · September 21, 2026 · model id grok-4.7

Grok 4.7

The published specification for SpaceXAI's coding and knowledge work model. Text and image in. Text out. A 500,000-token context window.

The announcement calls it their most capable model for coding and knowledge work, and prints the headline twice as fast, at half the price of comparable models. The same post says the standard model is served at the same price and speed as Grok 4.6.

500kContext tokens
$2Input / 1M under 200k
$6Output / 1M under 200k
May 2026Knowledge cutoff
0 200,000 billing step 500,000

01 · Architecture

The published stack.

SpaceXAI has not printed a parameter count, a layer count, or an expert layout for grok-4.7. What follows is the structure the September 21 announcement and the model docs do describe: a new base, a longer reinforcement-learning run, a native harness, a new safeguard stack, and a fixed reasoning path into text.

01Intake
02Larger base
03Longer RL
04Reasoning on
05Text out
01

Intake

Text and image. jpg, jpeg, or png, 20 MiB per image, no limit on how many images. Text and image can arrive in either order.

02

Base

A new, larger base model than Grok 4.6. The scale of that base is unpublished.

03

Training

A longer reinforcement-learning run on a harder mix of tasks, weighted toward problems that take many hours to finish.

04

Self-check

The announcement says the model is better at verifying its own work and at managing longer context.

05

Harness

Trained to natively understand the Grok Bot harness, for conversation and general knowledge work.

06

Safeguards

An entirely new safeguard stack. The post calls this the strongest model they have tested on refusals and jailbreak resistance.

07

Reasoning

Always on. Settings are low, medium, high, and xhigh. If you leave the setting unset, the default is high. It cannot be turned off.

08

Output

Text. The Responses API also returns encrypted reasoning on every call. Image generation, video, and voice are other models.

Weight map, as published

FieldOfficial record
Parameter countNot published
Layer countNot published
Expert layoutNot published
Base relative to Grok 4.6New, larger
Training emphasisLonger RL, multi-hour tasks, self-check, longer context, Grok Bot harness
ModalitiesText and image in, text out
Context500,000 tokens
Knowledge cutoffMay 2026
Current eventsTraining data only, unless Web Search or X Search is on
Regions on the model pageus-east-1, us-west-2, us-central-1

02 · Reasoning

Four depths. One default.

reasoning_effort controls how much the model thinks before it answers. presencePenalty, frequencyPenalty, and stop return an error on reasoning models. Reasoning tokens are billed with the rest of the tokens.

Default

High

More reasoning tokens, for deeper thinking. The docs point this setting at hard problems, complex math, multi-step logic, and competition-level tasks.

Responses APIencrypted reasoning, always
curl https://api.x.ai/v1/responses \
  -H "Authorization: Bearer $XAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "grok-4.7",
    "reasoning": {"effort": "high"},
    "input": "Your task"
  }'

On the Responses API, grok-4.7 returns reasoning.encrypted_content on every response, even when include does not list it. Chat Completions has no field for that ciphertext. The docs also expose a summary of the internal reasoning. logprobs and top_logprobs are ignored on grok-4.20 and newer.

03 · Published scores

The September 21 table.

Columns are Grok 4.7 xHigh, Grok 4.6 High, GPT-5.6 Sol Max, and Fable 5.1 Max. Token prices in that table are $2 and $6, $2 and $6, $4 and $20, $10 and $50. The asterisk on DeepSWE marks a high-effort score.

CursorBench 4.0

Grok 4.7 xHigh46.3%
Grok 4.6 High40.4%
GPT-5.6 Sol Max41.7%
Fable 5.1 Max51.8%

The announcement says Grok 4.7 is at the frontier in price-performance on CursorBench 4.0, which stresses longer-running coding tasks.

DeepSWE v1.1

Grok 4.7 xHigh71.0%*
Grok 4.6 High65.2%
GPT-5.6 Sol Max72.7%
Fable 5.1 Max70.0%

EEBench

Grok 4.7 xHigh64.0%
Grok 4.6 High53.0%
GPT-5.6 Sol Max39.4%
Fable 5.1 Max56.4%

Terminal-Bench 4.0

Grok 4.7 xHigh38.0%
Grok 4.6 High20.3%
GPT-5.6 Sol Max37.3%
Fable 5.1 Max57.9%

Harvey Legal Agent Benchmark

Grok 4.7 xHigh19.6%
Grok 4.6 High15.8%
GPT-5.6 Sol Max2.5%
Fable 5.1 Max6.7%

HealthBench Professional

Grok 4.7 xHigh56.7%
Grok 4.6 High48.5%
GPT-5.6 Sol Max60.5%
Fable 5.1 Max62.1%
AA Briefcase v1.1 is a point score, not a percent. GDPval on the same post uses a different comparison set.
Benchmark Grok 4.7 xHigh Grok 4.6 High GPT-5.6 Sol Max Fable 5.1 Max
AA Briefcase v1.11,6571,5461,4871,678

GDPval Elo

Fable 5.1 max1735
Grok 4.7 xhigh1695
Grok 4.6 high1605
GPT-6 Astra max1542

Bar length is the score divided by 1,800, so the gaps stay visible. The announcement says Grok 4.7 improves on Grok 4.6 in GDPval and AA Briefcase, and that it is better at creating documents and presentations.

04 · Price

Same rate as 4.6, until the prompt crosses 200,000.

Once the prompt reaches 200,000 tokens, every token in that request bills at the long-context rate. Cached input is a quarter of the input rate at both tiers.

grok-4.7, global API

$2 / $6

Input and output per 1M tokens, prompt under 200,000. Cached input is $0.50.

PromptInputCachedOutput
Under 200k$2.00$0.50$6.00
Reaches 200k$4.00$1.00$12.00
US endpoint, under 200k$2.20$0.55$6.60
US endpoint, above 200k$4.40$1.10$13.20

Other rates

The US endpoint is https://us.api.x.ai/v1. Token use there bills at 1.1 times the global rate. The docs say that endpoint currently serves grok-4.7 and grok-4.6 only.

Priority processing is twice the standard rates, and only when the response confirms service_tier priority. It covers Chat Completions and Responses. It does not cover image generation, video generation, or Batch API requests.

Batch API is not supported for grok-4.7.

Published rate limits on the model page: 150 requests per second, 50,000,000 tokens per minute.

Grok 4.7 Fast

The same model, on faster infrastructure, at twice the standard token rates. The pricing page limits it to Cursor and Grok Build. The public xAI API does not serve it. Grok Build's free tier does not include it. The announcement says this variant has twice the output speed at twice the price. Cursor bills its own fast variant through the Cursor plan.

PromptInputCachedOutput
Below 200k$4.00$1.00$12.00
Above 200k$6.00$1.50$18.00

05 · Safety

A new safeguard stack.

62.4%LatchBio biosafety
3.3%HackerBench v0.3 risky prompts allowed
NewSafeguard stack
InviteRed-team access for select partners

The announcement says Grok 4.7 is the strongest model they have tested on refusals and jailbreak resistance. It leads their comparison on LatchBio's biosafety benchmark at 62.4%. On HackerBench v0.3, their benchmark for risky and malicious cyber tasks, 3.3% of risky dual-use prompts were allowed through. Select cybersecurity partners have invite-only access to the red-team capabilities for defense research.

06 · Access

Where grok-4.7 runs.

API

Grok API

Base URL https://api.x.ai/v1. Model id grok-4.7. The API page shows the xAI SDK, the OpenAI SDK, TypeScript, and curl against that id.

BUILD

Grok Build

Available today, with a free start at x.ai/build. Install line from the announcement: curl -fsSL https://x.ai/cli/install.sh | bash

CURSOR

Cursor

Available today. Fast, if you want it, is billed through the Cursor plan.

ELSE

Other surfaces

The announcement also lists third-party coding harnesses, model routers, and cloud platforms. Function calling and structured outputs are supported on the model.

The models page sends code, chat, and general work to Grok 4.7. Images go to Grok Imagine Image 2.0. Video goes to Grok Imagine Video 1.5. Voice goes to the Grok Voice API.

07 · Sources

Official pages only.

Every figure on this page comes from these SpaceXAI pages, read September 21, 2026. Third-party parameter counts are left off because they are not on these pages.

  1. https://x.ai/news/grok-4-7
  2. https://docs.x.ai/developers/models/grok-4.7
  3. https://docs.x.ai/developers/models
  4. https://docs.x.ai/developers/model-capabilities/text/reasoning
  5. https://docs.x.ai/developers/pricing
  6. https://x.ai/api