xAI · synced 2026-08-11

grok-4

Input / 1M
$3.00
Output / 1M
$15.00
Cached input
Context
256K

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

Pinned versions at the same rate: grok-4-0709

Priced closest to this

Model Provider Input Output
claude-3-7-sonnet-20250219 Anthropic $3.00 $15.00
claude-4-sonnet-20250514 Anthropic $3.00 $15.00
claude-sonnet-4-20250514 Anthropic $3.00 $15.00
claude-sonnet-4-5 Anthropic $3.00 $15.00
claude-sonnet-4-6 Anthropic $3.00 $15.00
gpt-3.5-turbo-16k OpenAI $3.00 $4.00