LLM prices per 1M tokens

264 models · 161 price changes

Grok 4.7

xAI · Reasoning · 500K context · released Sep 21, 2026 · checked 12h ago

Grok 4.7 is SpaceXAI's flagship model for coding, agentic tasks, and knowledge work, succeeding Grok 4.6.

Ways to buy 6

Way to buyIn / out per 1M
xAI API
The lab's own API · cached $0.5
$2 / $6List price
AWS Bedrock
global · cached $0.5
$2 / $6Same as list
xAI
zdr · cached $0.5
$2 / $6Same as list
xAI
zdr-us · cached $0.55
$2.2 / $6.6+10% vs list
xAI
priority · cached $1
$4 / $12+100% vs list
xAI
zdr-priority · cached $1
$4 / $12+100% vs list

USD per 1M tokens; batch $1.6 in, $4.8 out on the lab's API. Regions are separate routes.

Through a gateway

Your own numbers

100M input and 20M output tokens a month: $320.00 direct.

A dash: not on that gateway's own model list. No published token fee: Martian Gateway, Portkey, TrueFoundry AI Gateway.

Related models

In / out per 1M
Grok 4.6
xAI · 500K
$2 / $6Grok 4.6 is a model from SpaceXAI with frontier performance on coding, knowledge work, and STEM.
Grok 4.5
xAI · 500K
$2 / $6Grok 4.5 is a model from SpaceXAI with frontier performance on coding, knowledge work, and STEM.
Grok Build 0.1
xAI · 256K
$1 / $2Grok Build 0.1 is SpaceXAI’s fast coding model trained specifically for agentic software engineering workflows.
Grok 4.3
xAI · 1M
$1.25 / $2.5Grok 4.3 is a reasoning model from SpaceXAI.
GPT-6.1 Sol
OpenAI · 1.05MCheapest: $2 on OpenAI (flex)
$2 / $10GPT-6.1 Sol is an upgrade to GPT-6 Sol from OpenAI, positioned below the flagship GPT-6 Astra in the GPT-6 series.
Gemini 4 Argon
Google · 1MCheapest: $2 on Google Gemini API (flex)
$2 / $10Gemini 4 Argon is Google's flagship reasoning model, built for complex software engineering, deep mathematical and scientific problem solving, and autonomous multi-step agents.
Claude Sonnet 5.5
Anthropic · 1M
$2 / $10Claude Sonnet 5.5 is Anthropic's Sonnet-class model for well-scoped everyday work, succeeding Claude Sonnet 5 as a direct upgrade.
GPT-6.1 Terra
OpenAI · 1.05MCheapest: $1 on OpenAI (flex)
$1 / $5GPT-6.1 Terra is the mid-tier model in OpenAI's GPT-6.1 series, priced below GPT-6.1 Sol.

About Grok 4.7

Takes text, image, files in and returns text. First listed Sep 21, 2026. Up to 450K output tokens. Blended price $3 per 1M tokens at 3 input to 1 output. Model id grok-4-7.

Price history

$3Sep 21, 2026Output $6Input $2

List price since Sep 21, 2026, from Internet Archive snapshots of the OpenRouter catalog, then daily reads.

  • Price riseOct 2, 20265 weeks ago+25%
    Grok 4.7

    xAI (priority) raised its price: input $3.2 to $4 and output $9.6 to $12 per 1M tokens.

  • Price riseOct 2, 20265 weeks ago+25%
    Grok 4.7

    xAI (zdr-priority) raised its price: input $3.2 to $4 and output $9.6 to $12 per 1M tokens.

  • Price riseOct 2, 20265 weeks ago+25%
    Grok 4.7

    xAI raised its API price: input $1.6 to $2 and output $4.8 to $6 per 1M tokens.

  • Price riseOct 2, 20265 weeks ago+25%
    Grok 4.7

    xAI (zdr) raised its price: input $1.6 to $2 and output $4.8 to $6 per 1M tokens.

Questions

How much does Grok 4.7 cost?

$2 per million input tokens and $6 per million output tokens, with cached input at $0.5, or $1.6 and $4.8 through the Batch API.

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 6 routes tracked, AWS Bedrock is cheapest at $2 input and $6 output per million tokens.

Has Grok 4.7's price changed?

Yes. The output price went from $9.6 to $12, first seen Oct 2, 2026.