StackPricing
All AI models

xAI · AI model API pricing

How much does Grok 4.5 cost?

xAI's flagship — by far the cheapest output tokens of any frontier-class model ($6 vs $25–50 elsewhere).

Rate card

Input tokens$2 / 1M
Cached input$0.50 / 1M
Output tokens$6 / 1M
Context window500K

What that means per month

WorkloadTokens / monthCost / month
Prototype 1M in · 0.3M out $3.80/mo
Small app 10M in · 3M out $38/mo
Production app 50M in · 15M out $190/mo
High volume 200M in · 60M out $760/mo
Heavy platform 1B in · 300M out $3,800/mo
Price it at your exact usage Official pricing page

Standard on-demand rates from xAI's official model docs, last checked 2026-07-16. Rates shown are for prompts under 200k tokens; above that, prices double. xAI offers up to $175/month in free credits via its data-sharing program. Monthly figures exclude caching and batch discounts. Confirm live pricing before committing.

Cheaper alternatives

At a reference workload of 10M input / 3M output tokens a month, these cost less than Grok 4.5 ($38/mo):

Grok 4.5 head-to-head