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-03 on docs.x.ai ↗ · USD, list prices
In short

Pay per token: $2 / $6 per million input/output tokens on Grok 4.7 and $1.25 / $2.50 on Grok 4.3.

Free plan
Yes
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.

Before you commit
  • 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.
PlanMonthly feeInput tokens per monthOutput tokens per month
Grok 4.7None$2 per million tokens$6 per million tokens
Grok 4.3None$1.25 per million tokens$2.5 per million tokens

What you'd pay

Cost as you grow

$0$200$1,000$5,0001510501005001k5k
Grok APIDeepSeekMistral AIGroqGemini APIClaudeOpenAI APIx: input tokens per month (million tokens), other usage scaled with it · cheapest usable plan at each point, list prices