xAI

Grok 4.6 API pricing

Made by xAI

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

Input from
$2.00
Output from
$6.00
Context up to
524K tokens
Batch rates
1 route

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.50—$1.60 / $4.80500K$1,470.00
AzureLiteLLM$2.00$6.00$0.50——200K$1,470.00
Google Vertex AILiteLLM$2.00$6.00$0.50——524K$1,470.00
Amazon Bedrockglobal · LiteLLM$2.00$6.00$0.50——500K$1,470.00
PerplexityLiteLLM$2.00$6.00$0.50———$1,470.00
AihubmixLiteLLM$2.00$6.00$0.50——500K$1,470.00
Perplexity OrchestratorLiteLLM$2.00$6.00$0.50——500K$1,470.00
Amazon Bedrockus · LiteLLM$2.20$6.60$0.55——500K$1,617.00
DatabricksLiteLLM$2.50$7.50$0.625$2.50—500K$1,837.50
Amazon BedrockLiteLLM$2.64$7.92$0.66——500K$1,940.40
KymaLiteLLM$2.76$8.27———500K$2,647.68
xAIOpenRouter$4.00$12.00$1.00——500K$2,940.00

Other Grok models