Skip to model information

Grok 4.7

Available

xAI's flagship model for coding, agentic tasks, and knowledge work, built on a larger base model than Grok 4.6.

Access details: xAI API

The model ID to use in API requests.

grok-4.7
Updated Sep 23, 2026

Capabilities & limits

Context window
500K
Maximum output
500K
Image input
Supported
Tool calling
Supported
Structured output
Supported

Pricing

USD / 1M tokens
Input
$2.00
Output
$6.00

Standard rates per million tokens. Discounts and long-context rates, where offered, are on xAI's pricing page.

Full rate card 6 rates

All prices in USD.

Short-context input

$2.00 USD per 1M tokens
  • prompt below 200k tokens

Short-context cache read

$0.50 USD per 1M tokens
  • prompt below 200k tokens
  • cache hit

Short-context output

$6.00 USD per 1M tokens
  • prompt below 200k tokens

Long-context input

$4.00 USD per 1M tokens
  • prompt at or above 200k tokens
  • rate applies to all tokens in request

Long-context cache read

$1.00 USD per 1M tokens
  • prompt at or above 200k tokens
  • cache hit
  • rate applies to all tokens in request

Long-context output

$12.00 USD per 1M tokens
  • prompt at or above 200k tokens
  • rate applies to all tokens in request

Standard global Text API rates; regional availability and team limits may vary. Batch API is not supported for Grok 4.7.

Price history
Sep 23, 2026

Input $2.00 per million tokens

Sep 23, 2026

Output $6.00 per million tokens

Technical details

Parameters
Not published
Active parameters
Not published
Architecture
Not published
Training / knowledge cutoff
May 2026
Input modalities
Text, image
Output modalities
Text

How they describe it

SpaceXAI's frontier model for coding, agentic tasks, and knowledge work.

What they say is new

Grok 4.7 uses a new, larger base model compared to Grok 4.6

Release & lifecycle

First available
Sep 21, 2026
available
As of Sep 23, 2026

Considering a switch?

Specs only go so far. Try both on your own tasks and compare quality, speed and cost.

Compare with GPT-6 Sol →

Prices and availability as of October 20, 2026. xAI's own pages have the latest.