xAI

Grok 4.5 API pricing

Made by xAI

6 provider routes, checked 27 Nov 2026. For a sample chat workload, the cheapest is xAI at $1,410.00 a month; the dearest costs $2,820.00, 2.0× as much.

Input from
$2.00
Output from
$6.00
Context up to
2M tokens
Batch rates
None listed

Every route, cheapest first

Prices per 1M tokens. Month is the sample workload: 300,000 requests, 2,000 tokens in and 400 out per request, half the input cached. Cache writes are not counted.

ProviderInputOutputCache readCache writeBatch in / outContextMonth
xAIOpenRouter$2.00$6.00$0.30——500K$1,410.00
PerplexityLiteLLM$2.00$6.00$0.30———$1,410.00
Perplexity OrchestratorLiteLLM$2.00$6.00$0.30——500K$1,410.00
GMI CloudLiteLLM$2.00$6.00$0.50——2M$1,470.00
KymaLiteLLM$2.73$8.19———500K$2,620.68
xAIOpenRouter$4.00$12.00$0.60——500K$2,820.00

Other Grok models