Grok API pricing
How Grok API charges, what to know before you commit, and what you'd pay at your usage — next to what the alternatives would cost for the same thing.
How it charges
Checked 2026-10-19 on docs.x.ai ↗ · USD, list pricesPay per token: $2 / $6 per million input/output tokens on Grok 4.7 and $1.25 / $2.50 on Grok 4.3.
- Free plan
- No, pay as you go
- Side project
- $8.75/mo Grok 4.3
- Growing
- $88/mo Grok 4.3
- Scaling
- $1,750/mo Grok 4.3
What the model leaves out
Prices for prompts under 200K tokens; at 200K and above input and output prices double. Web and X search tools are billed separately as tool calls.
- Prompts of 200K tokens or more are billed at double the input and output price.
- Grok has no knowledge of current events unless you enable the server-side Web Search or X Search tools.
| Plan | Monthly fee | Input tokens per month | Output tokens per month |
|---|---|---|---|
| Grok 4.7 | None | $2 per million tokens | $6 per million tokens |
| Grok 4.3 | None | $1.25 per million tokens | $2.5 per million tokens |
What you'd pay
Cost as you grow
All LLM API pricing, compared →Which one fits your situation →
Questions
Is Grok API free for LLM API?
No — there's no free plan, but no monthly fee either: you pay for what you use (Grok 4.7: input tokens $2 per million tokens, output tokens $6 per million tokens).
How much does Grok API cost for LLM API?
Pay per token: $2 / $6 per million input/output tokens on Grok 4.7 and $1.25 / $2.50 on Grok 4.3. At list prices: input tokens 5 million tokens, output tokens 1 million tokens: $8.75/month (Grok 4.3); input tokens 50 million tokens, output tokens 10 million tokens: $88/month (Grok 4.3); input tokens 1 billion tokens, output tokens 200 million tokens: $1,750/month (Grok 4.3).