TokenRate
xAI

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
Official pricing page ↗

Your budget

$100Budget

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.

#ProviderInputOutputCacheUptimeLatencyScoreTokens for budgetSave
—
Official price
$3.00$15.00$0.750———11.1M0%
1
SwiftRoutedemooperational
Minimum top-up: $5· Nov 07, 2026
$0.269$1.34$0.074100.0%616 ms96124M−91%
2
APIBridgedemooperational
Minimum top-up: ¥20· Nov 06, 2026
$0.945$4.73$0.249100.0%900 ms9335.3M−68%
3
FluxAPIdemooperational
Minimum top-up: $10· Nov 06, 2026
$1.63$8.17$0.430100.0%391 ms9920.4M−46%
4
ByteGatedemooperational
Minimum top-up: $25· Nov 10, 2026
$2.20$10.98$0.51798.7%656 ms9515.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.