xAIEstimated tokenizer

Grok 4.1 Fast

Planning rates for the xAI API. Blended price $0.275 per 1M tokens at a 3:1 input-to-output mix.

Price

$0.275

blended per 1M tokens

Input$0.2 / 1M
Output$0.5 / 1M
10k in + 2k out$0.0030
100k in + 8k out$0.0240

Context

2,000,000

token context window

Family grok. Non-GPT counts on the counter are labeled estimates.

More from xAI