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

RunAPI

−96%

providers

1

max −96%

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%

No provider matches these filters.

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.01

per month

$67.58

Official · +0% · 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.135 in / $0.675 out (96% 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 RunAPI as the cheapest: 96% below the official price. Quotes from 1 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.