Ways to buy 4
| Way to buy | Input | Output | In / out per 1M | Cached | Vs list |
|---|---|---|---|---|---|
The lab's own API · cached $0.4 | $1.6 | $4.8 | $1.6 / $4.8List price | $0.4 | List price |
zdr · cached $0.4 | $1.6 | $4.8 | $1.6 / $4.8Same as list | $0.4 | Same as list |
priority · cached $0.8 | $3.2 | $9.6 | $3.2 / $9.6+100% vs list | $0.8 | +100% vs list |
zdr-priority · cached $0.8 | $3.2 | $9.6 | $3.2 / $9.6+100% vs list | $0.8 | +100% vs list |
USD per 1M tokens. Regions are separate routes.
Through a gateway
Your own numbers100M input and 20M output tokens a month: $256.00 direct.
Helicone$256.00+0%
Kong AI Gateway$256.00+0%
LiteLLM$256.00+0%
Vercel AI Gateway$256.00+0%
Cloudflare AI Gateway$268.80+5%
Requesty$268.80+5%
Eden AI$270.08+5.5%
OpenRouter$270.08+5.5%
No published token fee: Martian Gateway, Portkey, TrueFoundry AI Gateway.
Related models
| In / out per 1M | Cheapest route | ||||||
|---|---|---|---|---|---|---|---|
xAI · 500K | $2 | $6 | $2 / $6 | $3 | 500K | Lab list price | · |
xAI · 500K | $2 | $6 | $2 / $6 | $3 | 500K | Lab list price | · |
xAI · 256K | $1 | $2 | $1 / $2 | $1.25 | 256K | Lab list price | · |
xAI · 1M | $1.25 | $2.5 | $1.25 / $2.5 | $1.56 | 1M | Lab list price | · |
OpenAI · 1.05MCheapest: $2 on OpenAI (flex) | $2 | $10 | $2 / $10 | $4 | 1.05M | $2 on OpenAI (flex) | · |
Meta · 1M | $1.25 | $4.25 | $1.25 / $4.25 | $2 | 1M | Lab list price | · |
Google · 1MCheapest: $0.75 on Google Gemini API (flex) | $0.75 | $3.75 | $0.75 / $3.75 | $1.5 | 1M | $0.75 on Google Gemini API (flex) | · |
Google · 1MCheapest: $2.25 on Google Vertex AI (global-flex) | $2 | $12 | $2 / $12 | $4.5 | 1M | $2.25 on Google Vertex AI (global-flex) | · |
About Grok 4.7
Grok 4.7 is SpaceXAI's flagship model for coding, agentic tasks, and knowledge work, succeeding Grok 4.6.
Takes text, image, files in and returns text. First listed Sep 21, 2026. Up to 450K output tokens. Blended price $2.4 per 1M tokens at 3 input to 1 output. Overall score 4 on leadersboard.fru.dev (rank 31). Model id grok-4-7.
Price history
List price since Sep 21, 2026, from Internet Archive snapshots of the OpenRouter catalog, then daily reads.
Across fru.devCompany profile2 acquisitions
Questions
How much does Grok 4.7 cost?
$1.6 per million input tokens and $4.8 per million output tokens, with cached input at $0.4.
What is the context window of Grok 4.7?
500K tokens, with up to 450K tokens of output.
Where is Grok 4.7 cheapest?
Of 4 routes tracked, xAI is cheapest at $1.6 input and $4.8 output per million tokens.
Sources: OpenRouter's public model catalog and each provider's own pricing page, read every morning at 05:00 UTC; gateway fees re-read every Monday. List prices: your contract may differ. Logos via logo.dev; trademarks belong to their owners.