Grok API pricing

Every Grok model from xAI we track, with input, cached input and output cost in USD per 1M tokens. xAI publishes a machine-readable model catalogue, including context window and a long-context tier that applies above 128K tokens.

6 models · updated 2026-08-11 · prices in USD per 1,000,000 tokens

6
Models tracked
$1.00
Cheapest input — grok-build-0.1
$2.00
Priciest input — grok-4.5
1M
Largest context — grok-4.20-0309-non-reasoning

Listed in the order xAI publishes them.

Grok models with input, cached input and output pricing per million tokens
grok-4.20-0309-non-reasoning$1.25$0.200$2.501M
grok-4.20-0309-reasoning$1.25$0.200$2.501M
grok-4.3$1.25$0.200$2.501M
grok-build-0.1$1.00$0.200$2.00256K
grok-4.5$2.00$0.300$6.00500K
grok-4.20-multi-agent-0309$1.25$0.200$2.501M

Grok pricing questions

How much does the Grok API cost?
Grok pricing runs from $1.00 to $2.00 per 1M input tokens depending on the model. grok-4.5 costs $2.00 per 1M input and $6.00 per 1M output tokens.
What is the cheapest Grok model?
grok-build-0.1 is the cheapest Grok model we track, at $1.00 per 1M input tokens and $2.00 per 1M output tokens.
Does Grok charge less for cached tokens?
Yes. Cached input is billed at a lower rate than fresh input — for grok-4.20-0309-non-reasoning it is $0.200 per 1M versus $1.25, about 84% cheaper. Caching applies to repeated prompt prefixes.
How often is this Grok pricing updated?
Every day. Prices are read directly from the published pricing page, normalized to USD per 1,000,000 tokens, and only recorded when a number actually changes — so the history shows real price movements rather than daily noise.

Compare with other providers