xAI
Grok 4.7
The latest Grok from xAI for reasoning and chat.
Try this model, then connect your app
Get a key, add credits, and send your first request — one key works for every model.
Overview
- Input
- $1.76
$2.00 - per 1M tokens
- Output
- $5.28
$6.00 - per 1M tokens
- Context
- 500K
- tokens
- This week
- 17.3M
- -37% vs last week
Pricing
| Per 1M tokens | Official | RouterAI |
|---|---|---|
| Input | $1.76 | |
| Output | $5.28 |
What a request costs
- A chat reply1,000 in · 500 out
$0.005$0.004 - A long document summary30,000 in · 1,500 out
$0.069$0.061 - An agent step with context100,000 in · 4,000 out
$0.22$0.20
Paid from your credit balance; top-ups are charged in rupiah at today's rate.
Capabilities
Context window: 500K tokens.
Performance
- Tokens · 7 days
- 17.3M
- Requests · 7 days
- 784
- Avg. response
- 6.2 s
- vs last week
- -37%
From real RouterAI traffic. Status: operational.
API
OpenAI-compatible (/v1/chat/completions) and Anthropic-compatible (/v1/messages).
curl https://routerai.id/v1/chat/completions \
-H "Authorization: Bearer $ROUTERAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-4.7",
"messages": [{"role": "user", "content": "Hello! Explain RouterAI in one sentence."}]
}'FAQ
›Is this the real Grok 4.7?
Yes — RouterAI forwards your request to xAI's Grok 4.7 through its own routes and returns the answer unchanged. The model id is grok-4.7.
›How am I billed?
Per token, from your RouterAI credit: $1.76 per 1M input tokens and $5.28 per 1M output tokens. No subscription, no minimum — top up from a few dollars.
›What if the provider is down?
Requests fail over to backup routes on their own. If every route fails, the request isn't billed.
›Can I limit a key to this model?
Yes. In Dashboard → API keys, open a key and add this model under Model limits — that key can then only call the models you list, with its own spending cap.
›Which SDKs work?
Anything OpenAI-compatible (base URL …/v1) or Anthropic-compatible (base URL without /v1) — including Claude Code, Cline, Cursor and n8n.