Requesty

grok-4.7

xAI Corp./🇺🇸 US/chat

Grok 4.7 is SpaceXAI's flagship model for coding, agentic tasks, and knowledge work, succeeding Grok 4.6. It is particularly strong at long-running software engineering tasks, verifying its own work, and managing long context, and it improves on its predecessor at professional knowledge work such as drafting documents and presentations. The model was trained with a longer reinforcement learning run weighted toward problems that take many hours to complete, and natively understands the Grok Bot harness for conversational tasks. It ships with a new safeguard stack that pairs strong jailbreak resistance with low refusal rates for legitimate cybersecurity and biology work. SpaceXAI's reported benchmark results use the xhigh reasoning effort.More
All models →

Which id to call

xai/grok-4.7

This exact deployment on xAI Corp., with no routing and no failover. Send it as the model field.

Input /1M

$2.00

$0.50 cached

Output /1M

$6.00

3.0x input

Context

500K

tokens

Added

Sep 2026

chat

Capabilities 6/8

VisionReasoningTool callingCachingWeb searchJSON schemaComputer useImage generation

Provider rates

What grok-4.7 costs

Provider prices per 1M tokens, updated September 22, 2026.more

These are the upstream provider rates. Pay as you go adds 5%, or 0% if you bring your own keys, and there is no per-request fee. Prompt caching and routing change what you pay against these rates, not the rates themselves.

Input /1M

$2.00

Output /1M

$6.00

Cache write /1M

$2.00

Cache read /1M

$0.50

What a workload costs

100K input + 10K output
$0.26
1M input + 100K output
$2.60
10M input + 1M output
$26.00

At the rates above, before caching. A cache read costs $0.50 per 1M, so repeated context lands under these figures.

OpenAI compatible

Call it in three lines

Change the base url, use your Requesty key, set the model to xai/grok-4.7. Existing OpenAI SDK code needs no other edit.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from openai import OpenAI client = OpenAI( api_key="YOUR_REQUESTY_API_KEY", base_url="https://router.requesty.ai/v1", ) response = client.chat.completions.create( model="xai/grok-4.7", messages=[ {"role": "user", "content": "Explain quantum computing in one paragraph."}, ], ) print(response.choices[0].message.content)

Reference

Specs and data terms

What the catalog reports for this deployment, and what the provider does with the traffic.

Context window500K tokens
Max output-
API typechat
AddedSep 2026
Model id
Data retentionNone
Used for trainingNo
Served from🇺🇸 US

Released 2026-09-21

Benchmark scores

Benchmarks measure the model, not this endpoint, so they are the same wherever these weights are served.

Intelligence Indexreasoning
46.4%

Artificial Analysis Intelligence Index: a composite of multiple evaluations measuring overall model capability.

Scores from official model cards, Artificial Analysis and public leaderboards. They measure specific skills and do not capture every aspect of model quality, so test on your own workload.

Same provider

More from xAI Corp.

Newest first, on the same provider and the same key.

Reference

grok-4.7 questions

How much does grok-4.7 cost?

grok-4.7 is priced at $2.00 per million input tokens and $6.00 per million output tokens when accessed via Requesty. Prompt caching is supported, which can cut effective input cost by up to 90% on repeated context. Those are the upstream provider rates: pay as you go adds 5% on top, or 0% if you bring your own provider keys.

What is the context window of grok-4.7?

grok-4.7 has a context window of 500K tokens. That's roughly 667 words of input you can fit in a single prompt.

How does grok-4.7 perform on benchmarks?

grok-4.7 scores 57.4% on SciCode, 46.4% on Intelligence Index, 43.1% on Humanity's Last Exam. See the full benchmark chart above for results across MMLU Pro, GPQA Diamond, SWE-Bench Verified, HumanEval, MATH, AIME, MMMU, and LiveBench.

What can grok-4.7 do?

grok-4.7 supports vision input, tool calling, extended reasoning, prompt caching, web search, structured outputs (JSON schema). You can call it through any OpenAI-compatible client by pointing base_url to Requesty.

How do I use grok-4.7 with the OpenAI SDK?

Install the OpenAI SDK, set base_url to "https://router.requesty.ai/v1", set your API key to your Requesty key, and set the model to "xai/grok-4.7". The Quickstart above shows Python, JavaScript and cURL snippets.

Can I run grok-4.7 through Requesty?

Yes. grok-4.7 runs through Requesty's OpenAI-compatible API, served from xAI Corp.. You do not host the model yourself: point base_url at Requesty, set the model to "xai/grok-4.7", and requests are routed to the upstream provider with automatic failover. The same key gives you 600+ other models too.

Call grok-4.7 through one endpoint

One key for this endpoint and 600+ other models. No markup on provider prices, automatic failover, caching built in.

All xAI Corp. models