AI Token Price
xAI

xAI · Grok family · released 21 Sep 2026

Grok 4.7 API pricing

xAI's models. Grok 4.7, released 21 September 2026, costs $2 / $6 per 1M tokens for prompts under 200K tokens and $4 / $12 above.

Grok 4.7 prices

Input
$2.00
per 1M tokens
Output
$6.00
per 1M tokens
Cached input
$0.50
75% off input
Batch
—
no discount offered
Context window
500K
tokens
Verified 27 Sep 2026xAI pricing Same price as Grok 4.6

What it costs in practice

Grok 4.7 at list prices, no batch discount.

What Grok 4.7 costs for three workloads
1,000 chat replies1,500 tokens in and 300 out each$4.80
Summarising 100 long reports20,000 tokens in and 800 out each$4.48
A month of a coding agent400 tasks, 85% of input cached$592

The coding-agent example assumes 85% of input is served from cache, typical for agents that resend the same context each step. Model your own workload

Details

API model IDgrok-4.7
Released21 Sep 2026
Long promptsPrompts over 200K tokens: $4 / $12
StatusCurrent
  • Prompts of 200K tokens or more cost $4 / $12 per 1M.

Checked 27 Sep 2026 against xAI pricing and xAI release notes .

Other Grok versions

Grok 3 was retired on 15 May 2026. Grok 4 and Grok 4.1 Fast are no longer listed in xAI's documentation.

Other Grok models and prices per million tokens
Model Input / 1M Output / 1M Cached input Context Released
Grok 4.6Previous
$2.00 $6.00 $0.50 500K 12 Aug 2026
Grok 4.5Previous
$2.00 $6.00 $0.30 500K 8 Jul 2026
Grok 4.3Previous
$1.25 $2.50 $0.20 1M Apr 2026

Version details

Grok 4.6

Previous

$2.00 / $6.00 per 1M tokenscached $0.50 · 500K context

Released 12 Aug 2026 · grok-4.6 · Prompts over 200K tokens: $4 / $12

Newer option: Grok 4.7 at $2.00 / $6.00. Checked 27 Sep 2026 against xAI pricing .

Grok 4.5

Previous

$2.00 / $6.00 per 1M tokenscached $0.30 · 500K context

Released 8 Jul 2026 · grok-4.5 · Prompts over 200K tokens: $4 / $12

Newer option: Grok 4.7 at $2.00 / $6.00. Checked 27 Sep 2026 against xAI pricing .

Grok 4.3

Previous

$1.25 / $2.50 per 1M tokenscached $0.20 · batch 20% off · 1M context

Released Apr 2026 · grok-4.3 · Prompts over 200K tokens: $2.50 / $5

Newer option: Grok 4.7 at $2.00 / $6.00. Checked 27 Sep 2026 against xAI pricing .

Compare Grok 4.7

Compare with any model

Price history

All changes
  • xAI
    xAI launched Grok 4.7 at $2 / $6 for prompts under 200K tokens. Source
  • xAI
    xAI launched Grok 4.6 at $2 / $6. Source
  • xAI
    xAI launched Grok 4.5 at $2 / $6. Source
  • xAI
    xAI retired Grok 3; requests now go to Grok 4.3. Source

xAI pricing rules

  • Grok 4.5 and later cost twice as much for prompts of 200K tokens or more.
  • Batch requests cost 20% less, but only on Grok 4.3 and Grok 4.20.

All xAI models

Retired Grok models

  • RetiredGrok 4.1 Fast was $0.20 / $0.50 per 1M tokens. No longer listed in xAI's documentation as of 27 September 2026. Use Grok 4.7 instead.
  • RetiredGrok 4 was $3.00 / $15.00 per 1M tokens. No longer listed in xAI's documentation as of 27 September 2026. Use Grok 4.7 instead.
  • Retired 15 May 2026Grok 3 was $3.00 / $15.00 per 1M tokens. Retired on 15 May 2026. Requests to it are redirected to Grok 4.3. Use Grok 4.3 instead.

Questions

How much does Grok 4.7 cost?

As of 27 Sep 2026, Grok 4.7 costs $2 per million input tokens and $6 per million output tokens, and $0.50 per million cached input tokens. Prices checked 27 Sep 2026.

What is the cheapest Grok model?

Grok 4.3, at $1.25 / $2.50 per million input / output tokens.

What is Grok 4.7's context window?

500K tokens.

Does Grok 4.7 support prompt caching?

Yes. Repeated input read from the cache costs $0.50 per million tokens, 75% less than normal input.