
grok-4.7
xAI/Proprietary/1 provider
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.MoreLess
Which id to call
xai/grok-4.7This model has no managed policy yet, so call the provider endpoint directly. Every id in the endpoints table works the same way.
From /1M input
$2.00
xAI Corp.
Context
500K
tokens
Endpoints
1
1 region
Regions
1
chat
Capabilities 6/8
1 endpoint / 1 region
Providers serving grok-4.7
Provider prices, per 1M tokens. Pay as you go adds 5%, or 0% on your own keys.
| Rank | Privacy | ||||||
|---|---|---|---|---|---|---|---|
| 1 | xAI Corp. | Global | 500K | $2.00 | $6.00 | $0.50 | zdr |
A column is blank where no qualifying sample exists, and every row links to that provider's endpoint page.
model=
Which id to call
One base url, https://router.requesty.ai/v1, and one key for every id here.
xai/grok-4.7This model has no managed policy yet, so call the provider endpoint directly. Every id in the endpoints table works the same way.
OpenAI compatible
Call it in three lines
Change the base url, use your Requesty key, set the model to any id on the left. Existing OpenAI SDK code needs no other edit.
123456789101112131415from 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)
Artificial Analysis
Benchmark scores
Artificial Analysis Intelligence Index: a composite of multiple evaluations measuring overall model capability.
Scores from artificialanalysis.ai. They measure the model, not the provider, so they are the same on every endpoint above.
6
More from xAI
Reference
grok-4.7 questions
Which providers serve grok-4.7?
grok-4.7 is available from 1 provider through Requesty: xAI Corp.. All endpoints share one OpenAI-compatible API and one key, and Requesty fails over between them automatically.
How much does grok-4.7 cost?
Pricing starts at $2.00 per million input tokens and $6.00 per million output tokens on xAI Corp., the cheapest endpoint. Prices vary by provider and region; the table above shows every endpoint. Those are the upstream provider rates: pay as you go adds 5% on top, or 0% if you bring your own provider keys.
Is grok-4.7 open weights?
No. grok-4.7 is a proprietary model from xAI, served through xAI's own API and licensed cloud platforms.
What is the context window of grok-4.7?
grok-4.7 supports up to 500K tokens of context. Some providers expose a smaller window; check the per-endpoint context column above.
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" or any endpoint id from the table above. The quickstart section shows Python, JavaScript and cURL snippets.
Route grok-4.7 through one endpoint
One key for 1 provider on this model and 600+ others. No markup on provider prices, automatic failover, caching built in.
