SpaceXAI: Grok 4.7
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...
Published all-in NGN rates reflect upstream inference, multi-provider routing, and platform settlement. Accessible via /v1/chat/completions, /v1/messages, and /v1/responses.
Context window
500Ktokens
500,000 max buffer
Max output
450Ktokens
450,000 completion limit
Input rate
₦3,312.11per 1M
Standard prompt rate
Output rate
₦9,936.31per 1M
Billed in integer kobo
Providers & routing
SwitchRouter unifies multiple cloud hosts for this model. Requests route to the primary host and automatically fail over if it degrades.
ProviderRouting roleInput / 1MOutput / 1MLatency (P50)Status
OpenRouterPrimary route₦3,312.11₦9,936.312931msOperational
Cost estimatorNaira wallet
₦529.94100K in · 20K out
- Input
- ₦331.21
- Output
- ₦198.73
- Runs per ₦2,000 top-up
- 3
Quickstart
bash
curl https://api.switchrouter.dev/v1/chat/completions \
-H "Authorization: Bearer $SWITCHROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "x-ai/grok-4.7",
"messages": [{ "role": "user", "content": "Hello" }]
}'Availability & Telemetry
100.00%warming up (1 reqs · 30d)
- Measured uptime (30d)
- 100.00%
- P50 request latency
- 2931ms
- Recorded requests
- 1
- Failover strategy
- Single upstream
Capabilities
3 / 4supported
- Streaming
- Supported
- Tool calling
- Supported
- Structured output
- Supported
- Image / Vision
- Not listed
Modalities & Protocol
Text onlytext
- Accepts
- text
- Returns
- text
- Settlement
- Naira wallet (kobo)
- Protocol
- /v1/chat/completions