Grok 4.5 API pricing

Previous Grok flagship revision.

VisionTool callingReasoningPrompt cachingWeb search

Input

$2.00

per 1M tokens

Cached input

$0.30

per 1M tokens

Output

$6.00

per 1M tokens

Context window

500K

max output 500K

Prices last synced Aug 20, 2026 from the LiteLLM community price catalog — the same catalog Marginal prices real usage events against, refreshed daily. Hand-checked against the provider's official pricing page on Aug 20, 2026. Spot an error? Tell us.

Pricing notes

  • Long-context: at 200K+ prompt tokens the whole request bills $4.00 input / $12.00 output per 1M. No batch discount.

What would Grok 4.5 cost you?

Enter your workload — add other models to compare the same traffic across providers.

Your monthly workload

Cache hit rate = share of input tokens served from the provider's prompt cache, billed at the model's cached-input price. Estimates use standard per-token rates — batch discounts, service tiers, and long-context surcharges are not applied.

Grok 4.5
ModelInputCached inputOutputPer requestMonthly
Grok 4.5$1,200$120$1,500$0.00564$2,820
Rates used: Grok 4.5 $2.00 in / $6.00 out

More from xAI

Tracking Grok 4.5 in production?

Marginal prices every call your app actually makes — cached tokens, dated snapshots, model switches included — and slices spend by customer or feature. One track() call to integrate.