Grok 4.7

by xAI

Released 40 days after Grok 4.6 · All xAI releases

Grok 4.7 is xAI's flagship model for coding and knowledge work, released on September 21, 2026. It uses a new, larger base model than Grok 4.6 and a longer reinforcement learning run on a harder task mix weighted toward problems that take many hours to complete. xAI says the result works longer on difficult tasks, checks its own work more carefully, and manages long context better. The model takes text and image input, returns text, and has a 500K-token context window with no separate text output limit. Reasoning effort can be set to low, medium, high (default), or xhigh. On xAI's numbers it scores 46.3% on CursorBench 4.0 (GPT-5.6 Sol: 41.7%), 71.0% on DeepSWE v1.1 (Fable 5.1: 70.0%), 64.0% on the electrical-engineering benchmark EEBench, and 19.6% on Harvey's legal agent benchmark, while trailing GPT-6 Astra on HealthBench Professional (56.7% vs 62.1%). It fits long-horizon coding agents, engineering and legal analysis, and other professional tasks where the model needs to plan, verify, and keep working across a large context.

Call Grok 4.7 on Opper with the OpenAI SDK. Sign up without a credit card. Get started

Key info

Input
Output
Features
Context window
500K
Max output
—
Input price
$2.00 /1M$0.50 cache read
Output price
$6.00 /1M
Released
  • US residency available
  • Zero data retention on pay-as-you-go
  • No training by default
  • GDPR DPA available

Available routes

Grok 4.7 runs on 3 different routes through the Opper gateway. Compare residency, zero data retention and training posture at a glance, with full data-handling detail per route below. Some routes also sell priority processing: the same model at another price, picked per request with service_tier. How service tiers work.

ProviderRegionZero data retentionTrainingInputOutputCache read
MultiNo$2.00$6.00$0.50Not offered on this route
USNo$2.00$6.00$0.50
USNo$2.00$6.00$0.50

Live routes and prices as JSON: api.opper.ai/v3/models?q=xai%2Fgrok-4.7

Uptime and availability

Grok 4.7 runs on 2 independently monitored routes through the Opper gateway. A direct integration leaves you on one of them, the gateway serves whichever is healthy.

100%effective uptime, last 30 days
Averaged across these routes on their own, a single provider reached 99.20% over the same window.
Daily status through the gateway, which serves each request from whichever route is healthy.
2 monitored providers serve Grok 4.7.

Measured over the last 30 days from each provider's official status feed via StatusGator. Refreshed hourly. See uptime for every provider Opper monitors.

Data handling per route

Each route hosting Grok 4.7 has its own privacy posture, residency, and GDPR terms. Postures are maintained by Opper with a last-verification timestamp.

AWS Bedrock — Multi-region

Zero data retention: nothing is logged, held for abuse monitoring or used for training. No training on customer data. GLOBAL; SCCs; DPA available.

Zero data retention
Yes. Nothing is logged, held for abuse monitoring or used for training.
Training
No training on customer data.
Logging
None
Abuse monitoring
Always on, keeps nothing
Caching
Content cached for replay
GDPR DPA
DPA available
Transfer mechanism
SCCs

xAI — United States🇺🇸

Zero data retention: nothing is logged, held for abuse monitoring or used for training. No training on customer data. US; SCCs; DPA available.

Zero data retention
Yes. Nothing is logged, held for abuse monitoring or used for training.
Training
No training on customer data.
Logging
None
Abuse monitoring
On by default, keeps nothing
Caching
Content cached for replay
GDPR DPA
DPA available
Transfer mechanism
SCCs

xAI — United States🇺🇸

Zero data retention with abuse monitoring: prompts and outputs are kept for up to 30 days for abuse monitoring only, and are not used for training. No training on customer data. US; SCCs; DPA available.

Zero data retention
With abuse monitoring, 30-day window.
Training
No training on customer data.
Logging
Abuse monitoring (30-day retention)
Abuse monitoring
On by default, keeps nothing
Caching
Content cached for replay
GDPR DPA
DPA available
Transfer mechanism
SCCs

Benchmarks

Independent benchmark scores — composite indices for reasoning, coding, and math, plus individual eval scores where available.

Global rank#29 of 687 LLMs
TierStrong
Output speed72 tok/s
First token11.75s
Intelligence Index46.4
Reasoning & knowledge
Humanity's Last Exam
43%
Long-context reasoning
77%
Coding
SciCode
57%

Get started

Call Grok 4.7 through the Opper gateway with one API key. Opper is drop-in compatible with the OpenAI, Anthropic and Google AI SDKs.

Grok 4.7 is a premium model on Opper. Sign up needs no credit card: you get an API key straight away and the free models work in the playground and the API. Add a card to use premium models, pay-as-you-go with no minimum.

Set it up with your agent

Copy this and paste it into a coding agent like Claude Code, Cursor or Codex and it'll wire up Opper for you.

Or call it directly

import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.OPPER_API_KEY,
baseURL: "https://api.opper.ai/v3/compat",
});
const completion = await client.chat.completions.create({
model: "xai/grok-4.7",
messages: [{ role: "user", content: "Hello" }],
});
console.log(completion.choices[0].message.content);

Use Grok 4.7 in your apps

Pick your tool to see how to run it on Grok 4.7 through Opper.

Compare Grok 4.7 with…

Side-by-side on privacy, EU hosting, pricing, and benchmarks.

Other models from xAI

Start building with 700+ models

One API key for every major provider, up and running in minutes.

Get startedView Documentation