Grok 4
Last verified July 27, 2026 · xAI pricing ↗$3.00/1M input · $15.00/1M output · 256K context · xAI
Retired
Not generally available
xAI has shut Grok 4 down. You cannot buy it at the rate below. The price is kept so past spend and old estimates still reconcile, and it is excluded from the calculator’s default model list and from every ranking.
xAI’s own page ↗mid-rangecurrent-eventssocial-mediaanalysis
When to use Grok 4
Retired. xAI shut the grok-4-0709 slug down on May 15, 2026 and now bills requests to it at grok-4.3 rates. Read this page for what it cost, then use grok-4.3 at low reasoning effort.
- Retired May 15, 2026, replaced by Grok 4.3
- Real-time web and X/Twitter data access
- Strong on current events and trends
- 256K context window
Count Tokens
—
Tokens
—
Input Cost
—
Output Cost
Estimate Monthly Cost
Monthly Cost Estimator
Quick:
<$0.0001/mo
Pick a preset above or enter custom usage
Alternatives to Grok 4
Pricing Details
xAIRetired. xAI shut down slug grok-4-0709 on May 15, 2026 at 12:00 PM PT; requests to it now redirect to grok-4.3 and bill at grok-4.3 rates ($1.25/$2.50), not the $3/$15 shown here. Replacement: grok-4.3 at low reasoning effort. Price kept for historical comparison. Estimated tokens (different tokenizer). Context corrected to 256K on 2026-08-08: xAI's model page for grok-4-0709 is gone, but the maxPromptLength in its management API reference (docs.x.ai/llms.txt) reads 256000, and the 2M figure this entry previously carried belongs to the grok-4-fast family, not to Grok 4. Above a 128K prompt it billed $6/$30 with cached input at $0.75. maxOutput is left as-is because xAI publishes no max-output figure for any Grok model; 16384 is a third-party number, not a provider one.
Input / 1M tokens
$3
Output / 1M tokens
$15
Context Window
256K
Max Output
16K
Price History
No price change recorded since 2026-07-27, when this site started tracking this model.
Frequently Asked Questions
Common questions about Grok 4 pricing and usage
Read More About Grok 4
Four companies sell Grok 4.6 and all four print $2.00 and $6.00. The whole difference between them is what happens at 200,000 tokens, and Microsoft's answer is to not sell you the 300,000 tokens after it.
August 30, 2026 · 11 min read
Bedrock sells GPT-5.6 Sol at exactly OpenAI's list price and also at 1.10x it. Which one you pay comes down to a single table row, and getting approved for OpenAI's cyber program deletes that row from your card.
August 18, 2026 · 10 min read
Terminal-Bench 3.0 publishes what every run cost, which almost no other leaderboard does. Two of its ten rows are billed at a card OpenAI retired on July 30, and repricing them makes the ninth-place model the cheapest per solved task by 3.5x.
August 17, 2026 · 11 min read