Grok 4.7
grok-4.7Test in playground →Grok 4.7 (grok-4.7) costs $1.00 / $3.00 per 1M tokens · input / output on rawroute (50% below official list price) with a 0% top-up fee and automatic failover across 3 independent verified providers.
$1.00 / $3.00
per 1M tokens · input / output
- Cached input $0.25
- Prompts over 200,000 tokens $2.00 / $6.00
- Official
$2.00 / $6.00- OpenRouter +5.5%
- $2.11 / $6.33
| Specification | Value |
|---|---|
| Model ID | grok-4.7 |
| Vendor | xAI |
| rawroute price | $1.00 / $3.00 (per 1M tokens · input / output) |
| Official list price | |
| OpenRouter +5.5% | $2.11 / $6.33 |
| Savings vs official | 50.0% |
| Failover providers | 3 |
| Last verified | 28.11.2026 |
Playground
~0 tokens·$1.00 / $3.00 / 1M
Call it with the SDK you already use.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.rawroute.dev/v1", # the only line you change
api_key=os.environ["RAWROUTE_API_KEY"],
)
reply = client.chat.completions.create(
model="grok-4.7",
messages=[{"role": "user", "content": "Summarise this contract."}],
)
print(reply.choices[0].message.content)import OpenAI from "openai"
const client = new OpenAI({
baseURL: "https://api.rawroute.dev/v1", // the only line you change
apiKey: process.env.RAWROUTE_API_KEY,
})
const reply = await client.chat.completions.create({
model: "grok-4.7",
messages: [{ role: "user", content: "Summarise this contract." }],
stream: true,
})
for await (const chunk of reply) process.stdout.write(chunk.choices[0]?.delta?.content ?? "")curl https://api.rawroute.dev/v1/chat/completions \
-H "Authorization: Bearer $RAWROUTE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-4.7",
"messages": [{"role": "user", "content": "Hello"}]
}'- /v1/chat/completions
Head-to-head comparisons
Questions & specs
What is the exact API model ID for Grok 4.7?
Pass "grok-4.7" in the model field. Native paths supported: /v1/chat/completions.
How many failover providers back Grok 4.7?
Grok 4.7 routes across 3 independent verified providers. Failed requests return real HTTP status codes and are never billed.