Xai Grok 4 pricing
If you are budgeting for Xai Grok 4, start with the numbers below. We index 1 provider price. Cheapest input is $3.00 per million tokens. Cheapest output is $15.00 per million tokens. The model lists a 128K context window in our data.
Pricing across providers
All figures are list prices per million tokens unless a column says otherwise. 1 offer is listed for Xai Grok 4. Best input in this view: Oci.
| Provider | Input / 1M | Output / 1M | Cached input | Batch |
|---|---|---|---|---|
O Oci | $3.00 | $15.00 | — | — |
Input vs output · 1M tokens
Cost calculator
The calculator uses the same dollars per million tokens as the table. Adjust sliders to see how Xai Grok 4 cost scales with traffic.
0.300000¢ / req
0.750000¢ / req
Model specifications
These fields describe Xai Grok 4 as we store it (source: Xai). They sit next to price so buyers can check limits and tools in one place.
- Context window
- 128,000 tokens
- Max output
- 128,000 tokens
- Vision (images)
- No
- Tool / function calling
- Yes
- Streaming
- No
- Released
- N/A
- Primary provider
- Xai
- Model family
- N/A
Compare Xai Grok 4
Jump into a comparison when you want one table for two models instead of two tabs. 6 curated matches for Xai Grok 4.
Locked
Compare with
Pick a model on both sides.
Popular Xai Grok 4 comparisons
- Xai Grok 4 vs GPT-4o
Compare pricing side by side
- Xai Grok 4 vs GPT-4o mini
Compare pricing side by side
- Xai Grok 4 vs Claude Sonnet 4.6
Compare pricing side by side
- Xai Grok 4 vs Gemini 2.0 Flash
Compare pricing side by side
- Xai Grok 4 vs o3
Compare pricing side by side
- Xai Grok 4 vs Llama 3.1 70B
Compare pricing side by side
Frequently asked questions
Read these after the table if you want plain language around Xai Grok 4 rates.
Also from Xai
Other models by Xai with live pricing in our catalog.