API Prices · xAI· API pricing reviewed 2026-10-25

Grok 4.5 API prices

Input and output list prices, with the recorded billing terms and evidence.

Compare all API models

Older version · Newer: Grok 4.7

xAI list prices

USD per million tokens · non-batch requests at the recorded base tier · reviewed · official provider pricing

Input
$2.00/ 1M tokens
Output
$6.00/ 1M tokens
Blended · 3:1 input/output
$3.00/ 1M tokens
Recorded context window
500K tokens
Maximum output per request
Not recorded

Billing terms: Below 200K prompt tokens; at/above 200K $4/$12.

One provider listing is recorded for this model. Blended = (3 × input + output) ÷ 4; price alone does not establish equivalent model quality or workload performance.

Recorded history · one dated listing

No earlier observation of this exact model and provider is recorded. No trend or daily change is inferred.

Billing terms and recorded alternatives

The long-context tier starts at 200K prompt tokens per request. The long-context rate applies to the whole request when the threshold is crossed.

Standard list

Input $/1M
$2.00
Output $/1M
$6.00

Recorded base tier; model-specific terms below apply.

Cache-hit input

Input $/1M
$0.30
Output $/1M
Not applicable

Cached input only; cache writes and storage are outside this table.

Batch

Input $/1M
$1.60
Output $/1M
$4.80

Provider batch API; availability and processing terms apply.

Batch cache-hit input

Input $/1M
$0.24
Output $/1M
Not applicable

Explicit combined batch cache-hit rate; cached input only.

Long context

Input $/1M
$4.00
Output $/1M
$12.00

The prompt threshold and billing rule are recorded below.

Long-context cache-hit input

Input $/1M
$0.60
Output $/1M
Not applicable

Cached input at the recorded long-context tier.

Long-context batch

Input $/1M
$3.20
Output $/1M
$9.60

Batch requests at the recorded long-context tier.

Long-context batch cache-hit input

Input $/1M
$0.48
Output $/1M
Not applicable

Explicit combined batch cache-hit rate at the long-context tier.

How to read this comparison

Missing cache or batch prices mean they were not recorded for this model; no discount is assumed. Context, modality, time-of-day, introductory offers, taxes and service charges can affect a bill. Check the linked provider terms before buying.

Estimate Grok 4.5 with your token mix →

Sources and citation

xAI official pricing evidence ↗ · reviewed

AI Compute Tracker (aicomputetracker.com), CC BY 4.0; third-party terms apply to data from Model API pricing pages

Copy-ready price citation

Cite as: AI Compute Tracker, “Grok 4.5 API price”: $2.00 per 1M input tokens and $6.00 per 1M output tokens (xAI list price for non-batch requests; Below 200K prompt tokens; at/above 200K $4/$12; blended 3:1 $3.00), checked 2026-10-25, https://aicomputetracker.com/ai-model-api-prices/#grok-4-5, AI Compute Tracker (aicomputetracker.com), CC BY 4.0; third-party terms apply to data from Model API pricing pages, accessed <date you visit>

All model prices · CSVJSON