Grok 4.7
x-ai/grok-4.7
Grok 4.7 is SpaceXAI's flagship model for coding, agentic tasks, and knowledge work, succeeding Grok 4.6.
Key facts
- Input price
- $2.00 / 1M tokens
- Output price
- $6.00 / 1M tokens
- Context window
- 500K tokens
- Max output
- 450K tokens
- Accepts
- Text, Images, Files
- Returns
- Text
Example: 1,000 requests with 1,000 input and 500 output tokens each would cost about $5.00 (1M input tokens × $2.00 + 0.5M output tokens × $6.00). Estimate your own usage.
Prices are the provider’s own per-token rates with zero markup, from our price list as of Oct 18, 2026. If a call has extra provider charges (images, audio, web search, cached prompts), you pay the reported cost.
Call it from your code
curl https://api.tokenctr.com/v1/chat/completions \
-H "Authorization: Bearer $TOKENCENTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "x-ai/grok-4.7", "messages": [{"role": "user", "content": "Hello!"}]}'Works with any OpenAI-compatible SDK: set the base URL to https://api.tokenctr.com/v1. Quickstart
Benchmarks
Artificial Analysis
- Intelligence index
- 46.4
Design Arena
| Category | Rank | Elo | Win rate |
|---|---|---|---|
| Models: Game dev | 16 | 1312 | 51.8% |
| Models: 3D | 24 | 1273 | 48.1% |
| Models: UI components | 31 | 1269 | 48.1% |
| Models: Code | 33 | 1267 | 46.9% |
| Models: Data visualization | 40 | 1236 | 45.7% |
| Models: Websites | 43 | 1249 | 45.1% |
Source: Artificial Analysis indexes and Design Arena results as published in OpenRouter’s model data, fetched Oct 15, 2026. Higher is better. Not measured by TokenCenter. See all rankings.