Verified November 2026

Home › Providers › xAI Grok

xAI Grok API pricing

Grok 4.x models. 3 models priced per 1,000,000 tokens, verified November 2026. Cheapest: Grok 4.3 at $1.25 input. Most expensive: Grok 4.7 at $6 output.

xAI Grok price table

All xAI Grok rates in USD per 1M tokens, November 2026
ModelInputCachedCache writeOutputContextBatch
Grok 4.3$1.25$0.20—$2.501,000,000Yes
Grok 4.6$2$0.50—$6500,000Yes
Grok 4.7$2$0.50—$6500,000Yes

How xAI Grok compares with other providers

ProviderModelsCheapest inputCheapest outputFlagship output
OpenAI14$0.10$0.50$50
Anthropic9$0.10$0.50$50
Google Gemini9$0.25$1.50$10
xAI Grok3$1.25$2.50$6
DeepSeek2$0.30$1.20$3.96
Meta (Llama)3$0.18$0.59$0.85
Alibaba (Qwen)3$0.05$0.20$2
Mistral AI2$0.15$0.60$2.10

Workload cost on xAI Grok

ModelSupport chat
1K reqs · 4K/600
RAG + cache
1K reqs · 50K/1K
Nightly batch
10K reqs · 10K/2K
Grok 4.3$6.50$17.80$87.50
Grok 4.6$11.60$38.57$160
Grok 4.7$11.60$38.57$160

FAQ

What is the cheapest xAI Grok model?

Grok 4.3 at $1.25 per 1M input and $2.50 per 1M output tokens.

What is the most expensive xAI Grok model?

Grok 4.7 at $2 per 1M input and $6 per 1M output tokens.

Does xAI Grok charge for prompt caching?

Yes. Cached reads are published per model; on this provider they range from $0.20 to $0.50 per 1M tokens.

Other providers

Calculate your monthly xAI Grok bill