Grok 4
Last verified July 27, 2026 · xAI pricing ↗$3.00/1M input · $15.00/1M output · 2.0M 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
- 2M 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).
Input / 1M tokens
$3
Output / 1M tokens
$15
Context Window
2.0M
Max Output
16K
Price History
Launched at current price. No price changes recorded.
Frequently Asked Questions
Common questions about Grok 4 pricing and usage
Read More About Grok 4
Claude Opus 4.8 just slipped off the LLM value frontier. A $3 model scores higher on the intelligence index and costs a quarter less to run, and it is not the only flagship the math has passed.
July 23, 2026 · 9 min read
American teams now route a third of their tokens to Chinese models to save money. The plot twist in July's pricing is that China's best model costs as much as the US flagships it beats.
July 18, 2026 · 8 min read
Grok 4.5 sells the cheapest token, Fable 5 sells the smartest one, and neither is the cheapest way to finish the actual job. You only see that once you stop pricing tokens and start pricing benchmark points.
July 13, 2026 · 9 min read