Grok 4.7 API Pricing

Grok 4.7 by xAI costs $2.00 per million input tokens and $6.00 per million output tokens.

Price verified from xAI's pricing page.

Rates and limits

Input / 1M
$2.00
Output / 1M
$6.00
Cached input / 1M
$0.50
Batch discount
None
Context window
500K tokens
Knowledge cutoff
May 2026
Released
September 2026

Pricing note: Prompts of 200K tokens or more are billed at $4 in / $1 cached / $12 out for the whole request. Batch API not supported. Priority processing is 2x; the US regional endpoint is 1.1x.

What Grok 4.7 costs per month

Token volume split 3:1 between input and output, with no prompt caching.

Tokens per monthInput / outputStandard
1M750K / 250K$3.00
10M7.5M / 2.5M$30.00
100M75M / 25M$300.00
Estimate your own workload with Grok 4.7

Where to run Grok 4.7

Prices above are xAI's direct rates. Cloud platforms can charge differently; the cloud platform view compares them.

Grok 4.7 pricing FAQ

How much does Grok 4.7 cost per million tokens?

Grok 4.7 costs $2.00 per million input tokens and $6.00 per million output tokens, as listed on xAI's pricing page on September 30, 2026.

How much does Grok 4.7 cost for 10 million tokens a month?

About $30.00 a month, assuming 7.5 million input and 2.5 million output tokens with no prompt caching.

What is the context window of Grok 4.7?

Grok 4.7 accepts up to 500,000 tokens of context.

Does Grok 4.7 support prompt caching?

Yes. Cached input tokens cost $0.50 per million, 75% less than the standard input rate.

Is there a batch discount for Grok 4.7?

No batch API price is listed for Grok 4.7.

Where can I use the Grok 4.7 API?

Grok 4.7 is available through xAI API and OpenRouter.

Prices shown as input / output per million tokens. All model prices · Side-by-side comparison