Grok 4 pricing
Grok 4 is xAI's latest reasoning model with a 256k context window. It supports parallel tool calling, structured outputs, and both image and text inputs. Note that reasoning is not... Live index: 5 priced offers. Best input $1.25 per million tokens from xAI. Best output $2.50 per million tokens from xAI.
Pricing across providers
Use this table to read Grok 4 list prices. We show 5 sources right now. Lowest input in the grid: xAI. The chart below the table helps when output prices are much higher than input prices.
| Provider | Input / 1M | Output / 1M | Cached input | Batch |
|---|---|---|---|---|
A Azure | $3.00 | $15.00 | — | — |
O Openrouter | $3.00 | $15.00 | — | — |
R Replicate | $7.20 | $36.00 | — | — |
VA Vercel Ai Gateway | $3.00 | $15.00 | — | — |
X xAInative | $1.25 | $2.50 | $0.200 | — |
Input vs output · per provider
Pricing history
If you only care about current multi seller rates, use the pricing section. This timeline is for the official listing history. The native listing moved from $3.00 in and $15.00 out to $1.25 in and $2.50 out in the latest window.
Since Aug 30, 2026
$1.25 in · $2.50 out(current listing)
Output rate -83% vs previous period
Apr 7, 2026 → Aug 30, 2026
$3.00 in · $15.00 out
Cost calculator
The calculator uses the same dollars per million tokens as the table. Adjust sliders to see how Grok 4 cost scales with traffic.
Provider
0.300000¢ / req
0.750000¢ / req
Model specifications
Context length, caps, and capability flags for Grok 4. Values follow the main provider (xAI) record in our index.
- Context window
- 131,072 tokens
- Max output
- 131,072 tokens
- Vision (images)
- Yes
- Tool / function calling
- Yes
- Streaming
- No
- Released
- Jul 2025
- Primary provider
- xAI
- Model family
- N/A
Compare Grok 4
These links open full side by side pages for Grok 4. We picked pairs that people often shop together. 6 ready to open.
Locked
Compare with
Pick a model on both sides.
Popular Grok 4 comparisons
- Grok 4 vs GPT-4o
Grok 4 75% cheaper on output
- Grok 4 vs Claude Sonnet 4.6
Grok 4 83% cheaper on output
- Grok 4 vs Gemini 2.0 Flash
Gemini 2.0 Flash 84% cheaper on output
- Grok 4 vs Llama 3.1 70B
Compare pricing side by side
- Grok 4 vs Mistral 7B
Mistral 7B 90% cheaper on output
- Grok 4 vs GLM 4.7
GLM 4.7 11% cheaper on output
Frequently asked questions
Read these after the table if you want plain language around Grok 4 rates. The short model note from our index: Grok 4 is xAI's latest reasoning model with a 256k context window. It supports parallel tool calling, structured outputs, and both image and text inputs. Note that reasoning is not...
Related models
Models close to Grok 4 by family, provider, and context window — each with live pricing in our catalog.