xAIEstimated tokenizer

Grok 4.1 Fast API price

xAI charges $0.2 per 1M input tokens and $0.5 per 1M output tokens. Context window 2,000,000 tokens. A 10k-in / 2k-out request is about $0.0030.

Input$0.2 / 1M
Output$0.5 / 1M
Blended$0.275 / 1M
Context2,000,000
10k + 2k$0.0030
100k + 8k$0.0240

Who uses Grok 4.1 Fast

Catalog prompts in the same model family, plus coding agents from this provider.

More from xAI