Grok 4 Token Counter & Pricing
$3/1M input · $15/1M output · 2.0M context · xAI
Count Tokens
—
Tokens
—
Input Cost
—
Output Cost
Pricing Details
xAIEstimated tokens (different tokenizer)
Input / 1M tokens
$3
Output / 1M tokens
$15
Context Window
2.0M
Max Output
16K
Compare Grok 4 with Similar Models
| Model | Input / 1M | Output / 1M | Context | Max Output |
|---|---|---|---|---|
| Grok 4 | $3 | $15 | 2.0M | 16K |
| Grok 4-20 | $2 | $6 | 131K | 16K |
| Claude Sonnet 4.6 Adaptive | $3 | $15 | 200K | 64K |
| Sonar Pro | $3 | $15 | 128K | 4K |
Frequently Asked Questions
Common questions about Grok 4 pricing and usage