xAIReasoning TierVerified 2026 Rate

Grok 4.7 API Pricing & Rate Card

xAI’s official flagship reasoning model featuring a 500k context window and competitive $2.00/$6.00 rate structure.

Official Provider RegistryLast verified: 23 Nov 2026
Standard Input$2.00per 1M tokens
Output Completion$6.00per 1M tokens
Cached Input$0.30085% discount
Context Window500kMax: 32.768k output

Estimated Cost by Token Volume

Model expenditures calculated across standard developer workloads (70% input, 30% output, 50% prompt caching on input).

Token VolumeStandard InputOutput TokensPrompt Cache SavingsNet Estimated Bill
100,000 tokens (100k)$0.070$0.180-$0.059$0.261
500,000 tokens (500k)$0.350$0.900-$0.298$1.30
1,000,000 tokens (1M)$0.700$1.800-$0.595$2.60
5,000,000 tokens (5M)$3.500$9.000-$2.975$13.03
10,000,000 tokens (10M)$7.000$18.000-$5.950$26.05
50,000,000 tokens (50M)$35.000$90.000-$29.750$130.25
100,000,000 tokens (100M)$70.000$180.000-$59.500$260.50

Frequently Asked Questions: Grok 4.7 Token Economics

How much does Grok 4.7 cost per 1 million tokens?

Grok 4.7 is priced at $2.00 per million input tokens and $6.00 per million output completion tokens. For workloads supporting KV prompt caching, repeated system prompts receive a steep discount down to $0.300 per million tokens.

What is the maximum context length for Grok 4.7?

Grok 4.7 supports up to 500,000 tokens in total context window, with a per-request output limit of 32,768 tokens.

What is Grok 4.7 best used for in production?

According to official provider specifications and architectural benchmarks, Grok 4.7 is recommended for: Mathematical modeling, high-precision STEM deduction, high-throughput logic extraction.

Grok 4.7 Head-to-Head Showdowns

Compare token pricing, prompt caching multipliers, and benchmarks against alternative foundation models.