Join the beta

xAI · October 2026

Grok API pricing, every model

7 Grok models, from $1 to $2 per million input tokens. Grok models from xAI, including the fast variants.

Prices from OpenRouter’s models API, updated October 29, 2026

Cheapest

Grok Build 0.1

$1 in · $2 out

About $69.00 a month for a 1,000-chats-a-day support bot.

Newest

Grok 4.7

$2 in · $6 out

Released 2026-09-21, 500K tokens of context.

Caching

Grok 4.5

−85%

Cached input costs $0.30 instead of $2 per 1M tokens.

All Grok models and prices

ModelReleasedInput /1MOutput /1MCache read /1MBatch in / outContextChatbot, per month*
Grok 4.72026-09-21$2$6$0.50–500K$162
Grok 4.62026-08-12$2$6$0.50–500K$162
Grok 4.52026-07-08$2$6$0.30–500K$162
Grok Build 0.12026-05-20$1$2$0.20–256K$69.00
Grok 4.32026-04-30$1.25$2.50$0.20$1 / $21M$86.25
Grok 4.202026-03-31$1.25$2.50$0.20–2M$86.25
Grok 4.20 Multi-Agent2026-03-31$1.25$2.50$0.20–2M$86.25

* Support chatbot: 1,000 chats a day, 1,500 tokens in, 400 out, 30 days, no caching. Prices in US dollars per 1M tokens.

What three real workloads cost a month

ModelSupport chatbotDaily summariesCoding agent
Grok Build 0.1$69.00$1,080$307
Grok 4.3$86.25$1,350$355
Grok 4.20$86.25$1,350$355
Grok 4.20 Multi-Agent$86.25$1,350$355
Grok 4.7$162$2,340$720
Grok 4.6$162$2,340$720
Grok 4.5$162$2,340$605

Support chatbot: 1,000 chats a day, 1,500 tokens in, 400 out · Daily summaries: 10,000 a day, 3,000 tokens in, 300 out · Coding agent: 400 calls a day, 60,000 tokens in (80% cached), 2,000 out. Cached share billed at the cache-read price where the model has one.

Compare with other providers

Grok pricing questions

How much does the Grok API cost?

xAI’s models range from $1 per 1M input tokens and $2 per 1M output tokens (Grok Build 0.1) to $2 and $6 (Grok 4.5). The newest, Grok 4.7, costs $2 in and $6 out.

Which Grok model is the cheapest?

Grok Build 0.1, at $1 per 1M input tokens. A support chatbot doing 1,000 chats a day would cost about $69.00 a month on it.

Does xAI discount cached prompts?

Yes. On Grok 4.5, cached input costs $0.30 per 1M tokens instead of $2, 85% less. Long, repeated system prompts and agent loops benefit most.

Is there a batch discount?

1 Grok models have a batch price, typically half the normal rate, for jobs that can wait (up to 24 hours). See the Batch column below.

How do I track my Grok spend per product?

Route it through OpenRouter with one API key per product and connect OpenRouter to Glow: you get spend by model, API key and product every day, with cache hit rate. Track AI spend.

See your real Grok bill.

Glow shows what you actually spend by model, API key and product, every day, and which cheaper model would do the same job.

One email when your invite is ready. No spam, unsubscribe any time.

  • Read-only keys
  • Never shown again
  • 2FA + Face ID
  • 7-day trial