Home › Providers › x-ai › SpaceXAI: Grok 4.7

SpaceXAI: Grok 4.7 API Pricing

SpaceXAI: Grok 4.7 is an API model from x-ai. It costs $2 per 1M input tokens and $6 per 1M output tokens, with cached input at $0.5. Its context window is 500,000 tokens with up to 450,000 output tokens. A workload of 10M input + 2M output tokens costs about $32 per month. The official x-ai list price is $2 input / $6 output per 1M tokens, which matches the catalog price tracked here.
Input
$2
per 1M tokens
Output
$6
per 1M tokens
Cached input
$0.5
per 1M tokens
Context window
500K
500,000 tokens
Blended (80/20)
$2.8
per 1M tokens

Grok 4.7 is SpaceXAI's flagship model for coding, agentic tasks, and knowledge work, succeeding Grok 4.6. It is particularly strong at long-running software engineering tasks, verifying its own work, and...

How much does SpaceXAI: Grok 4.7 cost for a real workload?

At 10M input + 2M output tokens per month, SpaceXAI: Grok 4.7 costs about $32 ($20 input + $12 output). Try your own volumes in the cost calculator.

What is the official SpaceXAI: Grok 4.7 price?

Official (x-ai)Catalog (OpenRouter)
Input /1M$2$2
Output /1M$6$6
Cached input /1M—$0.5

✓ Matches the official list price. Source: x-ai official pricing page, checked 2026-10-21.

What are cheaper alternatives to SpaceXAI: Grok 4.7?

Compare SpaceXAI: Grok 4.7 with other models

SpaceXAI: Grok 4.7 vs SpaceXAI: Grok Build 0.1SpaceXAI: Grok 4.7 vs SpaceXAI: Grok 4.3 (batch)SpaceXAI: Grok 4.7 vs SpaceXAI: Grok 4.3SpaceXAI: Grok 4.7 vs SpaceXAI: Grok 4.20 Multi-AgentSpaceXAI: Grok 4.7 vs SpaceXAI: Grok 4.20SpaceXAI: Grok 4.7 vs SpaceXAI: Grok 4.6

Frequently asked questions

How much does SpaceXAI: Grok 4.7 cost?

SpaceXAI: Grok 4.7 costs $2 per 1M input tokens and $6 per 1M output tokens (list price, snapshot October 21, 2026). At 10M input + 2M output tokens per month that is about $32.

What is the context window of SpaceXAI: Grok 4.7?

SpaceXAI: Grok 4.7 has a context window of 500,000 tokens and can return up to 450,000 output tokens per response.

What are cheaper alternatives to SpaceXAI: Grok 4.7?

Cheaper models include OpenAI: GPT-5.2 (batch) ($0.875 in / $7 out), Magnum v4 72B ($2.5 in / $5 out), Z.ai: GLM 5.2 ($0.0341 in / $7 out). See the full list on this page.

Is SpaceXAI: Grok 4.7 free to use?

No. SpaceXAI: Grok 4.7 is a paid model at $2 input / $6 output per 1M tokens. 20 free models are listed on the free models page.

What is the official price of SpaceXAI: Grok 4.7?

On x-ai's official pricing page (checked 2026-10-21), SpaceXAI: Grok 4.7 is listed at $2 per 1M input tokens and $6 per 1M output tokens. The catalog price tracked on this page matches it exactly.

Provider: x-ai · Model ID: x-ai/grok-4.7 · Modality: text+image+file->text · Price snapshot October 21, 2026, refreshed daily. How we collect prices