LLM API Prices

Home / xAI

Grok Build Latest API price

xAI · 500K token context · 1 seller, checked 19 Oct, 00:17 UTC

Input, per 1M tokens
$2.00
Output, per 1M tokens
$6.00

Sold by LiteLLM index.

Cost calculator: where to buy, and what it costs you

Pick a use case, a volume and a provider. Monthly figures assume 30 days.

1,500 input and 400 output tokens per request, 30% of input cached.

Provider, with its monthly cost for this workload

Not in the calculator: > 200k tokens ctx $4.00 / $12.00 (LiteLLM index)

Context window
500K500,000 tokens
Cached input
from $0.30per 1M tokens
Last checked
19 Oct, 00:17 UTC

Price history

Cheapest standard price per 1M tokens, recorded every 6 hours since 16 Oct 2026.

$0.00$3.36$6.7216 Oct19 Oct
OutputInput

No price change has held for 12 hours since 16 Oct 2026.

Every price change this month →

More from xAI: Grok 4.7 $1.30 · Grok 4.3 $0.81 · Grok 4.20 $1.25