Grok/Flagship

Grok 4.7

Grok 4.7 is Grok's most capable model, priced at $2.00/MTok input and $6.00/MTok output with a 500K context window. Backfilled on 2026-09-23. Prices confirmed by the provider pricing page and the LiteLLM cross-check. Release date not published in a machine-readable source. Benchmarked from the LiveBench 2026-06-25 release (2026-W26) in the first rankings sync.

Input $/MTok

$2.00

Output $/MTok

$6.00

Context window

500K

Cache read discount

75% off

Grok 4.7 pricing breakdown

RateInput $/MTokOutput $/MTok
Standard$2.00$6.00
Cached read (75% off input)$0.50-
Cached write (no surcharge)$2.00-
Batch (50% off)$1.00$3.00
Long context (≥200K tokens)$4.00$12.00

All rates in USD per million tokens. Prices verified against provider documentation.

Grok 4.7 task benchmarks

Confidence scores (0-100) and cross-provider rank for each task type. Rank 1 is best across all 88 models.

TaskConfidenceRank
Code Generation63/100#13
Code Review--
Summarization75/100#7
Q&A--
Extraction72/100#21
Reasoning83/100#23
Classification--
Creative Writing75/100#10

Grok 4.7 cost by use case

Estimated cost per API call using default token counts for each workload.

Use caseInput tokensOutput tokensCost / call
Code Generation2,0004,000$0.0280
Unit Test Generation3,0005,000$0.0360
SQL Generation1,5001,000$0.009000
API Generation3,0006,000$0.0420
Code Refactoring4,0004,000$0.0320
Code Review5,0002,000$0.0220
PR Review8,0003,000$0.0340
Security Review6,0002,500$0.0270
Bug Detection5,0002,000$0.0220
Document Summarization10,0001,000$0.0260
PDF Summarization15,0001,500$0.0390
Meeting Notes8,0002,000$0.0280

Monthly cost projections

Projected monthly spend at different call volumes, using code generation as a representative workload (2,000 input / 4,000 output tokens per call).

Calls / monthWithout cachingWith caching (75% read discount)
1K$28$25.9
10K$280$259
100K$2,800$2,590
500K$14,000$12,950
1M$28,000$25,900

Caching estimate assumes 70% of input tokens are cache reads. Your actual cache hit rate will depend on prompt structure and reuse.

Flagship alternatives to Grok 4.7

Same-tier models from other providers, sorted by input price.

ModelProviderInput $/MTokOutput $/MTokInput savings
MiniMax M3MiniMax$0.30$1.2085% cheaper
DeepSeek V4 ProDeepSeek$0.66$1.9867% cheaper
GPT 6 SolGPT$2.00$10.00Same price
GPT 6.1 SolGPT$2.00$10.00Same price
Qwen 3.8 MaxAlibaba (Qwen)$2.00$6.00Same price
Kimi K3Moonshot (Kimi)$3.00$15.0050% more
Claude Opus 5.5Claude$4.00$20.00100% more
GPT 5.6 SolGPT$4.00$20.00100% more
Claude Opus 4.8Claude$5.00$25.00150% more
Claude Opus 5Claude$5.00$25.00150% more
Claude Opus 4.7Claude$5.00$25.00150% more
Claude Opus 4.6Claude$5.00$25.00150% more
Claude Opus 4.5Claude$5.00$25.00150% more
GPT 5.5GPT$5.00$30.00150% more
GPT 4o (2024-05-13)GPT$5.00$15.00150% more
Claude Fable 5.1Claude$10.00$50.00400% more
Claude Fable 5Claude$10.00$50.00400% more
Claude Mythos 5.1Claude$10.00$50.00400% more
Claude Mythos 5Claude$10.00$50.00400% more
GPT 4 Turbo (2024-04-09)GPT$10.00$30.00400% more
GPT 4 TurboGPT$10.00$30.00400% more
GPT 6 AstraGPT$10.00$50.00400% more
GPT 5 ProGPT$15.00$120.00650% more
o1GPT$15.00$60.00650% more
o3 ProGPT$20.00$80.00900% more
GPT 5.2 ProGPT$21.00$168.00950% more
GPT 4 (0613)GPT$30.00$60.001400% more
GPT 4GPT$30.00$60.001400% more
GPT 5.4 ProGPT$30.00$180.001400% more
GPT 5.5 ProGPT$30.00$180.001400% more
o1 ProGPT$150.00$600.007400% more

Track your Grok 4.7 spend

See exactly how much you spend on Grok 4.7 and where you can save. Two-line wrapper install, no API keys shared.