Grok 4.7
Pricing & Specs
xAI · $2 input / $6 output per 1M tokens · 500K context window
The per-token price never tells the full story. A typical task (1K input + 500 output tokens) on Grok 4.7 costs about $0.0050, roughly $5.00 per 1,000 runs. But if it needs 3x the tokens of a cheaper model to match quality on YOUR task, the economics flip. The only way to know is to benchmark it on your actual workload.
Grok 4.7 API Pricing
| Tokens | Price |
|---|---|
| Input | $2 / 1M tokens |
| Output | $6 / 1M tokens |
| Cached input | $0.5 / 1M tokens |
Prompts reaching 200k tokens billed at higher rate for all tokens. No batch discount. Priority processing at 2x. US regional endpoint at 1.1x.
What that means in practice
Grok 4.7 Specs
| Spec | Value |
|---|---|
| Context window | 500K tokens |
| Input modalities | text, image |
| Output modalities | text |
| Knowledge cutoff | May 2026 |
| Reasoning model | Yes |
| Tool / function calling | Yes |
| JSON mode | Yes |
| Streaming | Yes |
| Prompt caching | Yes |
| Batch API | No |
Notes
Frontier model for coding, agentic tasks, and knowledge work. Reasoning effort: low, medium, high (default), xhigh. No text output limit. Encrypted reasoning always returned on Responses API. Set prompt_cache_key for reliable cache hits.
FAQ
How much does Grok 4.7 cost?
Grok 4.7 costs $2 per 1M input tokens and $6 per 1M output tokens ($0.5 per 1M cached input tokens).
What is Grok 4.7's context window?
Grok 4.7 has a 500K-token context window.
Can I test Grok 4.7 on my own task?
Yes. OpenMark lets you benchmark Grok 4.7 against 100+ models on your own task with real API calls, with no API keys needed, free tier available.
Is Grok 4.7 the right model for YOUR task?
Pricing tables can't answer that. Benchmark it against 100+ models
on your actual workload: real API calls, real costs. Free tier available.