Skip to content

Prices · Grok

Grok API pricing

xAI's Grok API costs $2.00 per million input tokens and $6.00 per million output tokens for Grok 4.7, as of October 2026 (xAI API pricing). Here's every Grok model's price, what that means for a typical message, and what the same models cost per message in llmwise.

Grok API prices

Grok API prices
ModelInput / output per 1M tokensTypical messageContext windowIn llmwise
Grok 4.7xAI$2.00 / $6.00$0.0122500K tokens250/mo on Pro
Per-token prices in our model catalog as of October 2026 (xAI: xAI's price, served through OpenRouter). A typical message is 4,000 tokens in and 700 out. Grok 4.7: xAI charges more for very long prompts. Providers change prices; check theirs before you build on them.

xAI's latest news: Grok 4.7 is out: what changed, and what a Grok message costs you ().

What a typical message costs

A chat message is rarely just your question: the model also reads the conversation so far, so 4,000 tokens in and 700 out is a fair middle. At these prices that's $0.0122 on Grok 4.7, the least expensive Grok model. A long document or a long chat can multiply the input; reasoning and long answers add output.

Grok in llmwise

In llmwise you don't pay per token: you see how many messages you have left on each model before you send.

  • Grok 4.7: 250 messages a month on Pro, and in Free's one-time trial of 5 messages.

llmwise plans
PlanPriceEveryday modelsA month on the other models
Free$0A one-time trial of 5 messagesThe same 5, also on Claude Sonnet 5.5, Claude Sonnet 5, Claude Haiku 4.5, GPT-6.1 Sol, GPT-6 Sol, Gemini 3.1 Pro (preview), Gemini 3.8 Flash, DeepSeek V4 Pro, Grok 4.7, Kimi K3, GLM 5.3, and Mistral Large 4; one of them can be on Claude Opus 5.5
Pro$20 a month + applicable tax, shown before you pay60 a day31 messages on Claude Fable 5.1 or GPT-6 Astra; 62 on Claude Opus 5.5; 125 on Claude Sonnet 5.5-class models; or 250 on Claude Haiku 4.5-class models
Max$50 a month + applicable tax, shown before you pay120 a day100 messages on Claude Fable 5.1 or GPT-6 Astra; 200 on Claude Opus 5.5; 400 on Claude Sonnet 5.5-class models; or 800 on Claude Haiku 4.5-class models
Ultra$100 a month + applicable tax, shown before you pay200 a day225 messages on Claude Fable 5.1 or GPT-6 Astra; 450 on Claude Opus 5.5; 900 on Claude Sonnet 5.5-class models; or 1,800 on Claude Haiku 4.5-class models
Studio$200 a month + applicable tax, shown before you pay200 a day500 messages on Claude Fable 5.1 or GPT-6 Astra; 1,000 on Claude Opus 5.5; 2,000 on Claude Sonnet 5.5-class models; or 4,000 on Claude Haiku 4.5-class models

Every limit is published. Paid plans also have a monthly fair-use limit on AI cost: Pro $7.50, Max $20, Ultra $42, Studio $85. Using every message on your plan at typical sizes stays under it; very large messages and heavy research use it faster. Every limit, explained.

API or chat?

  • Building an app, a script or a pipeline that calls a model? You need an API: the provider's own, or a router in front of several. llmwise isn't one.

  • Want to ask questions, write, analyse files or code with a model yourself? A chat is simpler: no keys, no token maths, and in llmwise a fixed price per message you see before you send.

All prices side by side: LLM cost calculator.

Questions

How much does the Grok API cost?

As of October 2026 (xAI's price, served through OpenRouter), per million tokens in and out: Grok 4.7 $2.00 / $6.00.

What does Grok cost in llmwise?

Per message, not per token: Grok 4.7, 250 messages a month on Pro. You see how many are left before you send, however long the reply.

Can I use Grok for free?

In llmwise, to try: Grok 4.7 is on the Free plan, a one-time trial of 5 messages.

Claude, GPT, Gemini, DeepSeek, Grok, Kimi, GLM, and Mistral, in one chat.

See what a message costs before you send it. Free is 5 messages to try; sign in with an email link, no password or card.