xAI · synced 2026-08-11

grok-4.5

Input / 1M
$2.00
Output / 1M
$6.00
Cached input
$0.50
Context
500K

A 1,000-token prompt costs $0.00200 to send. Token counts for xAI models are estimated — approximated, because this family has no public tokenizer.

Long-context rate

Past 200K tokens in a single request, grok-4.5 switches to $4.00 input and $12.00 output per million — 2.0× the base input rate. Most calculators quote only the base figure.

Priced closest to this

Model Provider Input Output
claude-sonnet-5 Anthropic $2.00 $10.00
gemini-3-pro-preview Google $2.00 $12.00
gemini-3.1-pro-preview Google $2.00 $12.00
gemini-3.1-pro-preview-customtools Google $2.00 $12.00
gemini-robotics-er-2-preview Google $2.00 $10.00
gpt-4.1 OpenAI $2.00 $8.00