xAI › Grok 4 › Pricing

Grok 4 pricing

Cheapest host: Azure AI Foundry · checked Oct 23, 2026
Benchmarks and alternatives →
$3 / $15per 1M tokens in / out

Price sheetper 1M tokens

Input$3Azure AI Foundry
Output$15
Context256Ktokens
eastus / rate-card only; deployment availability not asserted

Where to buy1 provider · per 1M tokens

ProviderInputOutputContext
Azure AI Foundry$3$15—

In xAI's line-upper 1M in / out

Grok 4.20 Multi-Agent$1.25 / $2.50−74%
Grok 4.20 Non-Reasoning$1.25 / $2.50−74%
Grok 4.20 Reasoning$1.25 / $2.50−74%
Grok 4.20 0309 Non Reasoning$1.25 / $2.50−74%
Grok 4.20 0309 Reasoning$1.25 / $2.50−74%
Grok 4.20 Multi Agent 0309$1.25 / $2.50−74%
Grok 4.7$2 / $6−50%
<

Cheaper for the same workvs Grok 4

Claude Sonnet 5.5 max-33%score ×2.5$5.46
Gemini 4 Argon high-33%score ×2.3$1.99
GPT-6.1 Sol max-33%score ×2.3$0.72
Muse Spark 1.3 max-67%score ×2.1$1.60
GPT-6 Sol max-33%score ×2.1$1.04

Pricing questions

How much does Grok 4 cost?›

$3 per 1M input tokens and $15 per 1M output tokens.

Is Grok 4 free to use?›

There is no free API tier.

What is a cheaper alternative to Grok 4?›

Claude Sonnet 5.5 at max effort costs -33% per task with a score ×2.5 on .