AI & SaaS Pricing Tracker / Grok API
xAI · AI model APIs

Grok API pricing

xAI Grok API pricing is based on usage with separate rates for input tokens, cached input tokens, and output tokens per model, with different rates for short and long context usage.

Pricing model: Usage-basedLast verified: Oct 11, 2026Source: xAI pricing page ↗

grok-4.7

$2.00 / 1M input tokens
Prices shown are for long context (≥ 200k tokens) with 500k token context window; input $2.00, cached input $0.50, output $6.00 per 1M tokens. US regional endpoint charges 10% premium.
  • Context window: 500k tokens
  • Input tokens priced at $2.00 per 1M
  • Cached input tokens priced at $0.50 per 1M
  • Output tokens priced at $6.00 per 1M
Usage pricing
  • Input $2.00 per 1M tokens
  • Cached input $0.50 per 1M tokens
  • Output $6.00 per 1M tokens

grok-build-0.1

$1.00 / 1M input tokens
Prices shown are for long context (≥ 200k tokens) with 256k token context window; input $1.00, cached input $0.20, output $2.00 per 1M tokens.
  • Context window: 256k tokens
  • Input tokens priced at $1.00 per 1M
  • Cached input tokens priced at $0.20 per 1M
  • Output tokens priced at $2.00 per 1M
Usage pricing
  • Input $1.00 per 1M tokens
  • Cached input $0.20 per 1M tokens
  • Output $2.00 per 1M tokens

grok-4.6

$2.00 / 1M input tokens
Prices shown are for long context (≥ 200k tokens) with 500k token context window; input $2.00, cached input $0.50, output $6.00 per 1M tokens.
  • Context window: 500k tokens
  • Input tokens priced at $2.00 per 1M
  • Cached input tokens priced at $0.50 per 1M
  • Output tokens priced at $6.00 per 1M
Usage pricing
  • Input $2.00 per 1M tokens
  • Cached input $0.50 per 1M tokens
  • Output $6.00 per 1M tokens

grok-4.5

$2.00 / 1M input tokens
Prices shown are for long context (≥ 200k tokens) with 500k token context window; input $2.00, cached input $0.30, output $6.00 per 1M tokens.
  • Context window: 500k tokens
  • Input tokens priced at $2.00 per 1M
  • Cached input tokens priced at $0.30 per 1M
  • Output tokens priced at $6.00 per 1M
Usage pricing
  • Input $2.00 per 1M tokens
  • Cached input $0.30 per 1M tokens
  • Output $6.00 per 1M tokens

grok-4.3

$1.25 / 1M input tokens
Prices shown are for long context (≥ 200k tokens) with 1M token context window; input $1.25, cached input $0.20, output $2.50 per 1M tokens.
  • Context window: 1M tokens
  • Input tokens priced at $1.25 per 1M
  • Cached input tokens priced at $0.20 per 1M
  • Output tokens priced at $2.50 per 1M
Usage pricing
  • Input $1.25 per 1M tokens
  • Cached input $0.20 per 1M tokens
  • Output $2.50 per 1M tokens

grok-4.20-multi-agent-0309

$1.25 / 1M input tokens
Prices shown are for long context (≥ 200k tokens) with 1M token context window; input $1.25, cached input $0.20, output $2.50 per 1M tokens.
  • Context window: 1M tokens
  • Input tokens priced at $1.25 per 1M
  • Cached input tokens priced at $0.20 per 1M
  • Output tokens priced at $2.50 per 1M
Usage pricing
  • Input $1.25 per 1M tokens
  • Cached input $0.20 per 1M tokens
  • Output $2.50 per 1M tokens

grok-4.20-0309-reasoning

$1.25 / 1M input tokens
Prices shown are for long context (≥ 200k tokens) with 1M token context window; input $1.25, cached input $0.20, output $2.50 per 1M tokens.
  • Context window: 1M tokens
  • Input tokens priced at $1.25 per 1M
  • Cached input tokens priced at $0.20 per 1M
  • Output tokens priced at $2.50 per 1M
Usage pricing
  • Input $1.25 per 1M tokens
  • Cached input $0.20 per 1M tokens
  • Output $2.50 per 1M tokens

grok-4.20-0309-non-reasoning

$1.25 / 1M input tokens
Prices shown are for long context (≥ 200k tokens) with 1M token context window; input $1.25, cached input $0.20, output $2.50 per 1M tokens.
  • Context window: 1M tokens
  • Input tokens priced at $1.25 per 1M
  • Cached input tokens priced at $0.20 per 1M
  • Output tokens priced at $2.50 per 1M
Usage pricing
  • Input $1.25 per 1M tokens
  • Cached input $0.20 per 1M tokens
  • Output $2.50 per 1M tokens

Grok API price history

grok-4.7grok-build-0.1grok-4.6grok-4.5grok-4.3grok-4.20-multi-agent-0309grok-4.20-0309-reasoninggrok-4.20-0309-non-reasoning
$0$0.63$1.25$1.88$2.5Oct
Headline price per 1M input tokens. Hover for exact prices. The full dated list of changes is below.

Grok API pricing changes

Sep 26, 2026Pricing modelgrok-4.7: pricing changed from Input $2.00 / 1M tokens, Output $6.00 / 1M tokens to $2.00 / 1M input tokens.
Sep 26, 2026New planNew plan grok-build-0.1 at $1.00 / 1M input tokens.
Sep 26, 2026New planNew plan grok-4.6 at $2.00 / 1M input tokens.
Sep 26, 2026New planNew plan grok-4.5 at $2.00 / 1M input tokens.
Sep 26, 2026New planNew plan grok-4.3 at $1.25 / 1M input tokens.
Sep 26, 2026New planNew plan grok-4.20-multi-agent-0309 at $1.25 / 1M input tokens.
Sep 26, 2026New planNew plan grok-4.20-0309-reasoning at $1.25 / 1M input tokens.
Sep 26, 2026New planNew plan grok-4.20-0309-non-reasoning at $1.25 / 1M input tokens.
Sep 26, 2026Plan removedVoice API (Agent $0.08 / min, TTS $15.00 / 1M chars, STT (Batch) $0.10 / hour, STT (Streaming) $0.20 / hour) is no longer listed.
Sep 26, 2026Plan removedImagine API (Image starting at $0.02 / image, Video starting at $0.05 / sec) is no longer listed.
Sep 26, 2026Usage pricinggrok-4.7: Cached input tokens priced at $0.50 per 1M tokens were added.

Grok API vs. other AI model APIs

ProductPricing modelLowest paid planHighest listed plan
Grok APIUsage-basedgrok-build-0.1: $1.00 / 1M input tokensgrok-4.5: $2.00 / 1M input tokens
OpenAI APIUsage-basedgpt-6-luna: $0.10 per 1M input tokensgpt-6-astra: $10.00 per 1M input tokens
Claude APIUsage-basedClaude Haiku 5.5: $0.10 / MTok for prompts up to 100,000 tokensClaude Opus 4.1: $15 / MTok
Gemini APIUsage-basedgemini-2.5-flash-lite: $0.10 per 1M tokensgemini-3.1-pro-preview: $2.00 per 1M tokens

From each vendor's latest verified pricing page. Units differ between products, so compare what each plan includes, not only the number.

Grok API pricing FAQ

How much does Grok API cost?

Grok API lists 8 plans: grok-4.7 at $2.00 / 1M input tokens; grok-build-0.1 at $1.00 / 1M input tokens; grok-4.6 at $2.00 / 1M input tokens; grok-4.5 at $2.00 / 1M input tokens; grok-4.3 at $1.25 / 1M input tokens; grok-4.20-multi-agent-0309 at $1.25 / 1M input tokens; and more. Prices as published on xAI's pricing page, last verified Oct 11, 2026.

Has Grok API pricing changed?

Yes. 11 changes recorded. The most recent, on Sep 26, 2026: grok-4.7: pricing changed from Input $2.00 / 1M tokens, Output $6.00 / 1M tokens to $2.00 / 1M input tokens.

How is Grok API pricing tracked here?

RevExOS reads xAI's public pricing page every week, extracts each plan's price, unit and inclusions, and records any difference from the previous check as a dated change. Promotional and introductory prices are noted separately from the regular price.

More AI model APIs pricing

OpenAI APIClaude APIGemini API