xAI · Fast · Updated 2026-11-22

Grok 4.7 API Pricing & Cost Breakdown

Real-time research, code execution, and cost-efficient flagship output ($6/1M).

Input / 1M Tokens
$2.00
Cached Input / 1M
$0.500
Output / 1M Tokens
$6.00
Context Window
500K

Workload Cost Scenarios (30-Day Billing)

40% lower output price ($6/1M) than $10/1M tier flagships; >200K prompts incur 2x tier.

Scenario In / Out per Req Uncached Monthly 50% Cache Hit Monthly
Hobby / Prototype (100 req/day) 1500 / 400 $16.20 $12.83
Growing Startup (2,500 req/day) 2500 / 700 $690.00 $549.38
Production Scale (50,000 req/day) 3000 / 800 $16,200.00 $12,825.00

Compare Grok 4.7 Against Alternatives

Lower-Cost Alternative Models

GPT-6 Luna ($0.50/1M out) Claude Haiku 5.5 ($0.50/1M out) DeepSeek V4.1 Flash ($0.60/1M out) Llama 4 Maverick ($1.00/1M out)

Frequently Asked Questions

What is Grok 4.7 API pricing per 1M tokens?

Standard input is $2.00/1M, cached input is $0.500/1M, and output is $6.00/1M.

What is the context window of Grok 4.7?

Grok 4.7 supports a 500K token context window with up to 450,000 max output tokens.

How much does prompt caching save on Grok 4.7?

Prompt caching reduces cached input token rates by 75% compared with uncached input.

What workloads is Grok 4.7 best suited for?

Real-time research, code execution, and cost-efficient flagship output ($6/1M).