Official list prices · USD per 1M tokens · last checked
xAI · grok-4.7 · checked Nov 23, 2026

Grok 4.7 Pricing: Grok 4.7 API Cost Calculator

Grok 4.7 costs $2.00 per 1M input tokens, $0.50 per 1M cached input tokens and $6.00 per 1M output tokens for prompts under 200K tokens. Price your own workload below, next to the models people compare it with.

How much does Grok 4.7 cost? As of November 23, 2026, xAI charges $2.00 per 1M input tokens, $0.50 per 1M cached input tokens and $6.00 per 1M output tokens for prompts under 200K tokens. A 2,000-token prompt with a 500-token reply costs about $0.007.

Prices and specs: xAI pricing page and Grok 4.7 model page (checked November 23, 2026). Agent Arena Index: arena.ai, checked November 19, 2026.
per request
of those, cache hits
per request, incl. reasoning
per month
Examples
LLM API prices in USD per 1 million tokens, Agent Arena Index quality score, and estimated cost for the workload above
ContextNotes
* long-prompt rate applied (see notes)Standard tier, global endpoint. Batch = the provider's batch rate (50% off at OpenAI, Anthropic and Google; 20% off at xAI). Cache-write and storage fees not included. Quality: Agent Arena Index, median cost per real agent task in brackets.

Grok 4.7 price list

All prices are per 1 million tokens, from xAI's pricing page and the Grok 4.7 model page, checked November 23, 2026. xAI's docs now carry the SpaceXSI name; the API, model name and prices are the same.

Tier Input Cached input Output
Standard, under 200K prompt tokens $2.00 $0.50 $6.00
Standard, 200K+ prompt tokens $4.00 $1.00 $12.00
Batch API (20% off), under 200K $1.60 $0.40 $4.80
Batch API (20% off), 200K+ $3.20 $0.80 $9.60
Priority (2× Standard), under 200K $4.00 $1.00 $12.00
US regional endpoint (1.1×), under 200K $2.20 $0.55 $6.60

Priority processing doubles every token type and is only charged when the response confirms the priority tier. The US regional endpoint (us.api.x.ai) adds 10% and is available for Grok 4.7 and Grok 4.6 only.

The long-context rule matters: once a prompt reaches 200K tokens, every token in the request is billed at the higher rate. A 190,000-token document with a 4,000-token answer costs about $0.40; the same request at 210,000 prompt tokens costs about $0.89.

Tool calls are billed on top

Server-side tools add a per-call fee on top of the tokens the agent reads and writes. Web search, code execution and file attachment search are $5 per 1,000 calls; collections search is $2.50 per 1,000 calls. X search is billed per item: $5 per 1,000 posts and $10 per 1,000 profiles. Remote MCP tools cost only tokens.

What a Grok 4.7 request costs in practice

Worked examples at Standard prices (no batch, no tool calls):

Workload Input Cached Output Cost
Chatbot reply 2,000 0 500 $0.007
RAG answer 8,000 2,000 600 $0.0166
Coding agent step 60,000 50,000 2,000 $0.057
300K-token document 300,000 0 4,000 $1.25

At 10,000 chatbot replies a month that is $70, or $56 through the Batch API. In the agent example, the 50,000 cached tokens cost $0.025, more than the $0.02 for the 10,000 uncached ones: Grok's cache discount is 75%, smaller than the 95% some rivals give.

Grok 4.7 specs that affect cost

  • Context window: 500,000 tokens.
  • Modalities: text and image in, text out.
  • Reasoning: configurable effort of low, medium, high or xhigh; the default is high. Reasoning tokens are billed like other tokens of the request.
  • Knowledge cutoff: May 2026, per xAI's models page.
  • Rate limits: 150 requests per second and 50 million tokens per minute.

How Grok 4.7 compares on price

  • vs Grok 4.6: identical rates. vs Grok 4.5: same $2 / $6, but 4.5's cached input is $0.30.
  • vs GPT-6.2 Sol: same $2 input, cheaper $6 output against $10, but $0.50 cached against $0.10. See GPT-6.2 Sol pricing.
  • vs Claude Sonnet 5.5: same $2 / $10 list as Sol, so the same trade-off. vs Claude Opus 5.5: Opus lists $4 / $20, double Grok's input and over three times its output. See Claude Opus 5.5 pricing.
  • vs Gemini 4 Hydrogen: $1.50 / $7.50, cheaper input, pricier output. See Gemini 4 pricing.

Token prices do not tell you the cost per finished task: a model that needs fewer tokens or fewer retries can win at a higher rate. Compare all 15 models in the LLM pricing calculator.

Frequently asked questions

$2.00 per 1 million input tokens, $0.50 per 1 million cached input tokens and $6.00 per 1 million output tokens, for requests with fewer than 200K prompt tokens. Requests at or above 200K prompt tokens are billed at $4.00 input, $1.00 cached and $12.00 output.

The whole request moves to the long-context rate, not just the tokens past the line. xAI bills every token in that request at $4.00 input, $1.00 cached input and $12.00 output per 1M tokens.

Yes. The Batch API is 20% off every token type: $1.60 input, $0.40 cached input and $4.80 output per 1M tokens under 200K prompt tokens. Most batch requests finish within 24 hours.

Grok 4.7 Fast is the same model on faster infrastructure, available only in Cursor and Grok Build and billed through those plans, not the public xAI API. xAI lists it at $4 input, $1 cached and $12 output per 1M tokens below 200K, and $6 / $1.50 / $18 above.

No. xAI lists Grok 4.7 and Grok 4.6 at the same rates: $2 / $0.50 / $6 under 200K prompt tokens and $4 / $1 / $12 above. Grok 4.5 has the same input and output prices but a cheaper $0.30 cached rate.

On output, yes: Grok 4.7 charges $6 per 1M output tokens against $10 for both. Input is the same $2. Cached input is the exception: Grok's $0.50 is five times the $0.10 that GPT-6.2 Sol and Sonnet 5.5 charge, so cache-heavy agent workloads can cost more on Grok.

Sources

Every price on this page was copied from these official pages on November 19, 2026. If a provider changes a price, its page wins.