All prices › xAI › Grok 4.5

Grok 4.5 API pricing

As of October 16, 2026, Grok 4.5 costs $2.00 per million input tokens and $6.00 per million output tokens on the xAI API. Cached input is $0.30 per million.

It is the 5th cheapest of 7 Grok models tracked here, by blended price. The closest Standard-tier model from another provider is Mistral Medium 3 (Mistral) at $1.50 / $7.50, the same blended price. Same list price as Grok 4.6, Grok 4.7. First listed in the LiteLLM price data on July 8, 2026. Prompts longer than 200K tokens are billed at $4.00 input / $12.00 output.

Input / 1M tokens$2.00
Output / 1M tokens$6.00
Context window500K
Max output500K

Every published rate

RatePer 1M tokens
Input (standard)$2.00
Output (standard)$6.00
Cached input (read)$0.30
Input, prompts over 200K tokens$4.00
Output, prompts over 200K tokens$12.00

What it costs in practice

TaskTokensPer requestPer 1,000 requests
Chatbot reply1,000 in / 500 out$0.005$5.00
Summarize a long document20,000 in / 1,000 out$0.05$46.00
Coding agent step50,000 in / 2,000 out$0.11$112

Standard rates, no caching or batch discount; prompts over 200K tokens are billed at the higher long-prompt rate. Compare your own numbers across all models →

Price history

DateModelChange
2026-07-08Grok 4.5New model listed: $2 in / $6 out source

Dates are when each change first appeared in the LiteLLM price data, usually within days of the provider's announcement.

Details

ProviderxAI
Price tierStandard
FeaturesVision, Reasoning, Prompt caching, Tool use, Web search
API model namesgrok-4.5, grok-4.5-latest
Official pricingapi.x.ai

Models at a similar price

ModelInput / 1MOutput / 1M
Mistral Medium 3$1.50$7.50
Mistral Medium 3.5$1.50$7.50
Grok 4.6$2.00$6.00
Grok 4.7$2.00$6.00
GPT-3.5 Turbo 16K$3.00$4.00
Gemini 3.5 Flash$1.50$9.00

Other xAI models

ModelInput / 1MOutput / 1M
Grok 4.6$2.00$6.00
Grok 4.7$2.00$6.00
Grok 4.20$1.25$2.50
Grok 4.3$1.25$2.50
Grok Build 0.1$1.00$2.00
Grok Code Fast 1$1.00$2.00