Enter opens the highlighted result. Esc closes.

Grok 4.7 API pricing

As of October 22, 2026, SpaceXAI Grok 4.7 costs $2.00 per million input tokens and $6.00 per million output tokens on xAI's own API, with cached input at $0.50 per million.

Grok 4.7 benchmarks and specs · Every xAI model's price

  • Input, per million tokens$2.00
  • Output, per million tokens$6.00
  • Cached input, per million$0.50
  • Context window500K tokens
  • Max output450K tokens
  • Output speed86 tok/s

What a request costs

Three fixed token mixes at the list price, without cache or batch discounts. For a whole month, use the calculator.

Cost of three workloads on Grok 4.7
WorkloadTokensOne request1,000 requestsFits the context window
Chat turn 1K input + 500 output tokens $0.0050 $5.00 Yes
Repository review 50K input + 3K output tokens $0.118 $118.00 Yes
Agent loop 200K input + 10K output tokens $0.460 $460.00 Yes
Solved coding task One SWE-bench Verified attempt, divided by the share that succeed Not computable Not computable

Price history

We have read xAI's own price every day since October 21, 2026. It has not changed yet; any change will be listed here with its date.

  1. October 21, 2026 First recorded: $2.00 input, $6.00 output

Cheaper models as good as Grok 4.7

Models within two points of Grok 4.7 or above it on the LLMBenchmark Index, with a lower output price. Cheapest first.

Grok 4.7 pricing questions

How much does Grok 4.7 cost per million tokens?
$2.00 per million input tokens and $6.00 per million output tokens, as listed on OpenRouter on October 22, 2026.
Does Grok 4.7 support prompt caching?
Yes. OpenRouter lists cached input at $0.50 per million tokens, against $2.00 for uncached input.
Is there a cheaper model as good as Grok 4.7?
Claude Haiku 5.5 scores 67.6 on the LLMBenchmark Index, within two points of Grok 4.7 or above it, and costs $0.50 per million output tokens.
Has the price of Grok 4.7 changed?
Not since we started recording it daily on October 21, 2026.