$T TokenCostDB
Verified: 2026-11-30 Direct Official Pricing Provider: xAI

SpaceXSI: Grok 4.7 API Pricing & Monthly Cost Calculator

SpaceXSI: Grok 4.7 by xAI is priced at $2.00 per 1M input tokens and $6.00 per 1M output tokens with a 500K context window. Prompt caching reduces repeated prefix reads to $0.5/1M (75% savings). Batch API lowers rates to $1.60 in / $4.80 out.

Standard Input / 1M
$2.00
Standard Output / 1M
$6.00
Cache Read / Write
$0.5 / —
Context / Max Output
500K / 450K

Direct Official vs. OpenRouter Gateway

Comparing direct vendor pricing against multi-provider OpenRouter routing for x-ai/grok-4.7.

Channel Input / 1M Output / 1M Cache Read
Direct Official $2.00 $6.00 $0.5
OpenRouter Gateway $2.00 $6.00 $0.5
Gateway vs direct output spread: 0% Primary Pricing Source →

1M to 1B Token Cost Tiers

Reference monthly spend assuming a standard 75% input / 25% output workload mix.

Monthly Volume Standard 75% Cached Batch API
1M tokens $3.00 $2.16 $2.40
10M tokens $30.00 $21.56 $24.00
100M tokens $300.00 $215.63 $240.00
1B tokens $3,000 $2,156 $2,400

Interactive SpaceXSI: Grok 4.7 Bill Estimator

Adjust request volume, tokens, and prompt cache hit ratio.

Estimated Monthly Total
$580.80
Cache Hit %60%
Input: $192.00Cache Read: $72.00Output: $288.00Per 1K reqs: $9.68

Closest Price-Tier Alternatives

Model Input / 1M Output / 1M Context
SpaceXSI: Grok 4.6 $2.00 $6.00 500K
SpaceXSI: Grok 4.5 $2.00 $6.00 500K
Google: Gemini 4 Hydrogen $1.50 $7.50 1.05M
Mistral: Mistral Medium 3.5 $1.50 $7.50 262.1K
OpenAI: GPT-3.5 Turbo 16k $3.00 $4.00 16.4K
MoonshotAI: Kimi K3.1 Pro $0.253 $8.80 1.05M

Model Specifications & FAQs

Grok 4.7 is SpaceXSI'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 SpaceXSI: Grok 4.7 API cost per 1M tokens?

SpaceXSI: Grok 4.7 costs $2.00 per 1M input tokens and $6.00 per 1M output tokens (official direct provider rate), verified on 2026-11-30.

Does SpaceXSI: Grok 4.7 support prompt caching or batch discounts?

Yes, cached input reads cost $0.5 per 1M tokens (75% off standard input). Batch API reduces rates to $1.60 input and $4.80 output per 1M tokens.

What is the context window and max output for SpaceXSI: Grok 4.7?

SpaceXSI: Grok 4.7 supports a 500,000-token context window and up to 450,000 output tokens per completion.