Grok Code Fast
xAI256K context
Official price from xAI
Pricing pagePer million tokens
- Input
- $1.00
- Output
- $2.00
- Cached input
- $0.20
- Batch input / output
- —
- Long prompts are priced higher above a context threshold; these are the starting prices.
- Up to 256K output tokens per request.
Estimate your monthly cost
Est. per month = input tokens × input price + output tokens × output price. Prices are per million tokens, so 10M input tokens at $3.00 cost $30.
From xAI: $14.00 a month.
Where to buy it (1)
Sorted by your monthly estimate. Prices per million tokens.
xAIOfficial
- Input / output
- $1.00 / $2.00
- Context
- 256K
- Per month
- $14.00
xai/grok-code-fast
Cloud and hosted sellers may add regional pricing, minimums or platform fees. Supports: Vision, Reasoning, Tool calling.