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

Grok API pricing

Grok text models are priced per token with separate input, cached input, and output rates, and prompts of 200k tokens or more are billed at higher long-context rates.

Pricing model: Usage-basedLast verified: Nov 8, 2026Source: xAI pricing page ↗

grok-4.7

$2.00 / 1M input tokens
Short-context rate shown (prompts under 200k tokens). Prompts of 200k tokens or more bill all tokens at long-context rates. Batch API discount of 20% applies to this model.
  • Context window: 500k tokens
Usage pricing
  • Input $2.00 per 1M tokens (under 200k)
  • Cached input $0.50 per 1M tokens (under 200k)
  • Output $6.00 per 1M tokens (under 200k)
  • Long context (200k+) input $4.00, cached $1.00, output $12.00 per 1M tokens
  • US regional endpoint: 1.1x global token rates

grok-build-0.1

$1.00 / 1M input tokens
Short-context rate shown (prompts under 200k tokens). Prompts of 200k tokens or more bill all tokens at long-context rates. No batch discount listed for this model.
  • Context window: 256k tokens
Usage pricing
  • Input $1.00 per 1M tokens (under 200k)
  • Cached input $0.20 per 1M tokens (under 200k)
  • Output $2.00 per 1M tokens (under 200k)
  • Long context (200k+) input $2.00, cached $0.40, output $4.00 per 1M tokens

grok-4.6

$2.00 / 1M input tokens
Short-context rate shown (prompts under 200k tokens). Prompts of 200k tokens or more bill all tokens at long-context rates. Batch API discount of 20% applies to this model.
  • Context window: 500k tokens
Usage pricing
  • Input $2.00 per 1M tokens (under 200k)
  • Cached input $0.50 per 1M tokens (under 200k)
  • Output $6.00 per 1M tokens (under 200k)
  • Long context (200k+) input $4.00, cached $1.00, output $12.00 per 1M tokens
  • US regional endpoint: 1.1x global token rates

grok-4.5

$2.00 / 1M input tokens
Short-context rate shown (prompts under 200k tokens). Prompts of 200k tokens or more bill all tokens at long-context rates. Batch API discount of 20% applies to this model.
  • Context window: 500k tokens
Usage pricing
  • Input $2.00 per 1M tokens (under 200k)
  • Cached input $0.30 per 1M tokens (under 200k)
  • Output $6.00 per 1M tokens (under 200k)
  • Long context (200k+) input $4.00, cached $0.60, output $12.00 per 1M tokens

grok-4.3

$1.25 / 1M input tokens
Short-context rate shown (prompts under 200k tokens). Prompts of 200k tokens or more bill all tokens at long-context rates. Batch API discount of 20% applies to this model.
  • Context window: 1M tokens
Usage pricing
  • Input $1.25 per 1M tokens (under 200k)
  • Cached input $0.20 per 1M tokens (under 200k)
  • Output $2.50 per 1M tokens (under 200k)
  • Long context (200k+) input $2.50, cached $0.40, output $5.00 per 1M tokens

grok-4.20-multi-agent-0309

$1.25 / 1M input tokens
Short-context rate shown (prompts under 200k tokens). Prompts of 200k tokens or more bill all tokens at long-context rates. Batch API discount of 20% applies to this model.
  • Context window: 1M tokens
Usage pricing
  • Input $1.25 per 1M tokens (under 200k)
  • Cached input $0.20 per 1M tokens (under 200k)
  • Output $2.50 per 1M tokens (under 200k)
  • Long context (200k+) input $2.50, cached $0.40, output $5.00 per 1M tokens

grok-4.20-0309-reasoning

$1.25 / 1M input tokens
Short-context rate shown (prompts under 200k tokens). Prompts of 200k tokens or more bill all tokens at long-context rates. Batch API discount of 20% applies to this model.
  • Context window: 1M tokens
Usage pricing
  • Input $1.25 per 1M tokens (under 200k)
  • Cached input $0.20 per 1M tokens (under 200k)
  • Output $2.50 per 1M tokens (under 200k)
  • Long context (200k+) input $2.50, cached $0.40, output $5.00 per 1M tokens

grok-4.20-0309-non-reasoning

$1.25 / 1M input tokens
Short-context rate shown (prompts under 200k tokens). Prompts of 200k tokens or more bill all tokens at long-context rates. Batch API discount of 20% applies to this model.
  • Context window: 1M tokens
Usage pricing
  • Input $1.25 per 1M tokens (under 200k)
  • Cached input $0.20 per 1M tokens (under 200k)
  • Output $2.50 per 1M tokens (under 200k)
  • Long context (200k+) input $2.50, cached $0.40, output $5.00 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.5OctNov
Headline price per 1M input tokens. Hover for exact prices. The full dated list of changes is below.

Grok API pricing changes

Nov 8, 2026Usage pricinggrok-4.3: Flat token rates now apply only under 200k context; long context (200k+) added at $2.50 input, $0.40 cached, $5.00 output per 1M tokens.
Nov 8, 2026Usage pricinggrok-4.7: Flat token rates now apply only under 200k context; long context (200k+) added at $4.00 input, $1.00 cached, $12.00 output per 1M; US regional endpoint at 1.1x added.
Nov 8, 2026Usage pricinggrok-build-0.1: Flat token rates now apply only under 200k context; long context (200k+) added at $2.00 input, $0.40 cached, $4.00 output per 1M tokens.
Nov 8, 2026Usage pricinggrok-4.6: Flat token rates now apply only under 200k context; long context (200k+) added at $4.00 input, $1.00 cached, $12.00 output per 1M; US regional endpoint at 1.1x added.
Nov 8, 2026Usage pricinggrok-4.5: Flat token rates now apply only under 200k context; long context (200k+) added at $4.00 input, $0.60 cached, $12.00 output per 1M tokens.
Nov 8, 2026Usage pricinggrok-4.20-multi-agent-0309: Flat token rates now apply only under 200k context; long context (200k+) added at $2.50 input, $0.40 cached, $5.00 output per 1M tokens.
Nov 8, 2026Usage pricinggrok-4.20-0309-reasoning: Flat token rates now apply only under 200k context; long context (200k+) added at $2.50 input, $0.40 cached, $5.00 output per 1M tokens.
Nov 8, 2026Usage pricinggrok-4.20-0309-non-reasoning: Flat token rates now apply only under 200k context; long context (200k+) added at $2.50 input, $0.40 cached, $5.00 output per 1M tokens.
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-rosalind: $15.00 per 1M input tokens
Claude APIUsage-basedClaude Haiku 5.5: $0.10 / MTok for prompts up to 100,000 tokensClaude Mythos 5: $10 / 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 Nov 8, 2026.

Has Grok API pricing changed?

Yes. 19 changes recorded. The most recent, on Nov 8, 2026: grok-4.3: Flat token rates now apply only under 200k context; long context (200k+) added at $2.50 input, $0.40 cached, $5.00 output per 1M 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