xAI · grok
Grok 4.7
xAI's frontier model for long-running agents, coding, knowledge work, and visual projects
$2.00 in · $6.00 out
per 1M tokens · first-party price. Reference price from xAI, the lab's own listing.
Provider input prices run from $1.60 to $2.50 per 1M tokens. Output prices run from $4.80 to $7.50.
- Context
- 500,000
- Max output
- 500,000
- Cache read
- $0.50
- Cache write
- —
- Reasoning
- Yes
- Tool calls
- Yes
- Structured output
- Yes
- Vision
- Yes
- Open weights
- No
- License
- —
- Released
- Sep 21, 2026
- Updated in source
- Sep 21, 2026
- Knowledge
- 2026-05
- Providers
- 24
Higher rates apply above 200,000 input tokens. The calculator switches to that rate when the input is longer.
Providers
| Provider | Input | Output | Cache read | Cache write | Status |
|---|---|---|---|---|---|
| Prime Inference | $1.60 | $4.80 | — | — | — |
| 302.AI | $2.00 | $6.00 | $0.50 | $0.50 | — |
| Cloudflare AI Gateway | $2.00 | $6.00 | $0.50 | — | — |
| CrossModel | $2.00 | $6.00 | $0.50 | $2.00 | — |
| Eden AI | $2.00 | $6.00 | $0.50 | — | — |
| GitHub Copilot | $2.00 | $6.00 | $0.50 | — | — |
| Kilo Gateway | $2.00 | $6.00 | $0.50 | — | — |
| Merge Gateway | $2.00 | $6.00 | $0.50 | — | — |
| NanoGPT | $2.00 | $6.00 | $0.50 | — | — |
| NEAR AI Cloud | $2.00 | $6.00 | $0.50 | — | — |
| Ofox | $2.00 | $6.00 | $0.50 | — | — |
| OpenCode | $2.00 | $6.00 | $0.50 | — | — |
| OpenCode Go | $2.00 | $6.00 | $0.50 | — | — |
| OpenRouter | $2.00 | $6.00 | $0.50 | — | — |
| Requesty | $2.00 | $6.00 | $0.50 | $2.00 | — |
| Tempr Gateway | $2.00 | $6.00 | $0.50 | — | — |
| Vercel AI Gateway | $2.00 | $6.00 | $0.50 | — | — |
| Vertex | $2.00 | $6.00 | $0.50 | — | beta |
| xAIreference | $2.00 | $6.00 | $0.50 | — | — |
| AIHubMix | $2.20 | $6.60 | $0.55 | — | — |
| Amazon Bedrock | $2.20 | $6.60 | $0.55 | — | — |
| Venice AI | $2.27 | $6.80 | $0.57 | — | — |
| Neon | $2.50 | $7.50 | $0.50 | — | — |
| Azure | — | — | — | — | beta |
Jobs this model qualifies for
- Coding agents — clears the bar
- Long-document Q&A — clears the bar
- Cheapest summarization — clears the bar