Grok 4
xAI unavailableGrok 4 by xAI: $3.00/M cache-miss input, $15.00/M output tokens. 256K context, 33K max output. Vision & Function Calling. Price verified 2026-11-18.
Input Price
$3.00
cache miss / 1M tokens
Output Price
$15.00
per 1M tokens
Context Window
256K
tokens
Grok 4 price history
No price changes recorded for Grok 4 in our AI API price change log (earliest entry: 2026-05-27). Current rates last verified against the official xAI pricing page on 2026-11-18. See all AI API price changes
Specifications
| Provider | xAI |
| Model ID | grok-4-0709 |
| Input Price | $3.00 / 1M cache-miss tokens |
| Output Price | $15.00 / 1M tokens |
| Context Window | 256K tokens |
| Max Output | 33K tokens |
| Capabilities | textvisionfunction_calling |
| Release Date | 2025-07 |
| Pricing Source | Official xAI pricing |
| Price Verified | 2026-11-18 |
| Notes | Retired on 2026-05-15. Requests to this slug now route to grok-4.3 and bill at grok-4.3 rates ($1.25/$2.50 per 1M); the prices shown are the historical list rates. |
Monthly Cost Estimates
Estimated monthly costs based on different daily usage levels (assuming 50% input / 50% output split). Input estimates use cache-miss pricing, so cache-heavy workloads can be lower.
| Daily Tokens | Monthly Cost | Annual Cost |
|---|---|---|
| 10K | $2.70 | $32.40 |
| 50K | $13.50 | $162.00 |
| 100K | $27.00 | $324.00 |
| 500K | $135.00 | $1620.00 |
| 1.0M | $270.00 | $3240.00 |
How Grok 4 Pricing Compares
Standard cache-miss input / output prices per 1M tokens, compared with active, price-verified models priced in USD. Cached, batch and long-context rates are not included.
- Within xAI: 8 of 8 other active xAI models have a lower input price, and 8 have a lower output price.
- Similar context window: among the 22 active models with a 128K–512K token context window, Grok 4 ranks #22 from cheapest at a 50/50 input/output mix. Cheapest: GLM-4.7-Flash ($0.00/$0.00). It is the most expensive in this group.
- Versus the previous release: compared with Grok 3 (released 2025-02, $3.00/$15.00), input is unchanged and output is unchanged.
Use our Token Counter to estimate how many tokens your prompts use, and our Pricing Calculator to compare costs across all models.
Grok 4 Key Details
- Pricing: $3.00/M cache-miss input tokens, $15.00/M output tokens
- Context window: 256K tokens — 74 of 90 active models we track have a larger window
- Max output: 33K tokens per response
- Capabilities: text, vision, function_calling
- Highlights: Retired on 2026-05-15. Requests to this slug now route to grok-4.3 and bill at grok-4.3 rates ($1.25/$2.50 per 1M); the prices shown are the historical list rates.
- Released: 2025-07
Other xAI Models
Similar Price Range
Related Tools
FAQ
How much does Grok 4 cost?
Grok 4 costs $3.00 per million cache-miss input tokens and $15.00 per million output tokens. For a typical workload of 100K input tokens/day and 50K output tokens/day, expect approximately $31.50/month before cache-hit savings.
What is Grok 4's context window?
Grok 4 supports a context window of 256K tokens. This means your combined input prompt and output response can be up to 256K tokens. The maximum output per response is 33K tokens.
Is Grok 4 good for my use case?
Grok 4 supports text, vision, function_calling. We track pricing and limits, not output quality, so test it on your own prompts before committing. The price comparison above lists cheaper and pricier models with a similar context window, and the Pricing Calculator estimates your monthly cost across all of them.