Blog

Grok 4.7 API: Pricing, Benchmarks, Model ID and How to Call It

Short answer

Grok 4.7 (grok-4.7) is the coding and knowledge-work model xAI released on September 21, 2026; the company now publishes under the name SpaceXSI. It costs the same as Grok 4.6: $2 per million input tokens and $6 per million output tokens ($0.50 for cached input), with a 500,000-token context window. On TeamoRouter it is available under the same model ID for $0.20 input / $0.60 output at the time of writing, about 10% of the list price, with the same key you use for Claude, GPT and Gemini.

Specs at a glance

From xAI's model page:

Grok 4.7
Model ID grok-4.7
Released September 21, 2026
Context window 500,000 tokens
Input / output Text and images in, text out
Reasoning effort low, medium, high (default), xhigh
Tool calling, structured outputs Supported

xAI says Grok 4.7 uses a new, larger base model than Grok 4.6 and a longer reinforcement-learning run weighted toward tasks that take hours, and that it is better at checking its own work and handling long context.

Benchmarks (from xAI)

Grok 4.7 Grok 4.6 GPT-5.6 Sol Fable 5.1
Price, input / output per 1M $2 / $6 $2 / $6 $4 / $20 $10 / $50
CursorBench 4.0 46.3% 40.4% 41.7% 51.8%
DeepSWE v1.1 71.0% 65.2% 72.7% 70.0%
Terminal-Bench 4.0 37.6% 20.3% 37.3% 57.9%

Scores are xAI's own (Grok 4.7 at xhigh effort, DeepSWE at high). The picture they paint: close to the top models on coding at a fraction of their price, still behind Fable 5.1 on long terminal work.

Pricing

Per 1M tokens xAI list price TeamoRouter
Input $2.00 $0.20
Cached input $0.50 $0.05
Output $6.00 $0.60

Requests over 200K tokens of context are billed at double the rate on both. TeamoRouter prices are at the time of writing and change with supply; the current numbers are on the pricing page.

Call it through TeamoRouter

Grok 4.7 works through the OpenAI-compatible endpoint:

python
from openai import OpenAI

client = OpenAI(base_url="https://api.teamorouter.com/v1", api_key="YOUR_KEY")
resp = client.chat.completions.create(
    model="grok-4.7",
    messages=[{"role": "user", "content": "Review this function for race conditions: ..."}],
)
print(resp.choices[0].message.content)

The same key works for every model on the pricing page, so you can compare Grok 4.7 against Claude or GPT on your own tasks without a second account. Full reference: API integration.

Paying for usage

No subscription: you top up a balance from $5 and pay only for the tokens you use, by card or with USDT, USDC or ETH from any exchange app (how to pay with crypto).

FAQ

Is Grok 4.7 more expensive than Grok 4.6? No. xAI kept the same price and speed as Grok 4.6.

What does xhigh effort cost? The token price is the same; higher effort uses more reasoning tokens, so a request costs more in total.

Can I send images? Yes, text and image input; output is text.

Do I need an xAI account? No. One TeamoRouter key covers Grok, Claude, GPT and Gemini.

Related

Ready to connect?Log in · top up · create an API key — three steps to start.