Grok 4
Grok 4 by xAI. Official list price: $3 per 1M input and $15 per 1M output tokens.
Official price benchmark
USD per 1M tokens
- input
- $3.00
- output
- $15.00
- cache read
- $0.750
Your budget
Input:output ratio · Similar amounts of input and output
Purchasing power ranking
$100 · Grok 4 · Balanced
Best price
SwiftRoute
−91%
providers
4
max −91%
Purchasing power ranking
The provider's published prices next to the vendor's official list.
| # | Provider | Input | Output | Cache | Uptime | Latency | Score | Tokens for budget | Save |
|---|---|---|---|---|---|---|---|---|---|
| — | Official price | $3.00 | $15.00 | $0.750 | — | — | — | 11.1M | 0% |
| 1 | Minimum top-up: $5· Nov 07, 2026 | $0.269 | $1.34 | $0.074 | 100.0% | 616 ms | 96 | 124M | −91% |
| 2 | Minimum top-up: ¥20· Nov 06, 2026 | $0.945 | $4.73 | $0.249 | 100.0% | 900 ms | 93 | 35.3M | −68% |
| 3 | Minimum top-up: $10· Nov 06, 2026 | $1.63 | $8.17 | $0.430 | 100.0% | 391 ms | 99 | 20.4M | −46% |
| 4 | Minimum top-up: $25· Nov 10, 2026 | $2.20 | $10.98 | $0.517 | 98.7% | 656 ms | 95 | 15.2M | −27% |
Some links on this site are partner links. They do not affect prices or ranking. Uptime and latency come from our own GET /models probes every 30 minutes, not a guarantee that the model is available.
Cost estimate
What one request and a month of traffic cost at the selected provider.
per request
$0
per month
$6.05
SwiftRoute · −91% · 1.20K / 500
Other models
Frequently asked questions
Answers are generated from the live quotes.
We collect Grok 4 prices two ways: the official xAI list and quotes from providers our crawler checks daily. Providers in our catalogue sell Grok 4 at $0.269 in / $1.34 out (91% below the official list). Everything is normalised to a blended cost at a chosen input:output ratio, so “Grok 4 price per 1M tokens” means the same thing on every page.
What does the Grok 4 API cost?
The official xAI list price is $3.00 per 1M input tokens and $15 per 1M output tokens. Cached input is $0.750 per 1M tokens, 4× cheaper than the regular input.
How much does 1 million tokens of Grok 4 cost?
1M input tokens cost $3.00, 1M output tokens — $15. With a 1:1 input/output load a million tokens works out to about $9.00. Chatbots with long context push the blended price down; code generation pushes it up.
Where is the Grok 4 API cheapest?
Our measurements show SwiftRoute as the cheapest: 91% below the official price (sample listing). Quotes from 4 providers refresh daily — see the table above.
What is the Grok 4 context window?
The context window is 200K tokens. Some vendors raise the price above a context threshold — check the plan notes.
How do I check that a provider key works?
The free checker sends a GET request to your endpoint's model list and reports status and latency. The key is not stored server-side.