All models
xAI
Grok Code Fast fast
xai/grok-code-fast
Input / 1M
$1.00
USD per million tokens
Output / 1M
$2.00
USD per million tokens
Est. cost / token
$0.00000125
$1.25 per 1M, 3:1 mix
Context window
256K
max output 256K
Major features
VisionCachingReasoningJSON schemaTools
Task suitability (heuristic 1–5, not a benchmark)
- coding4
- reasoning3
- math3
- summarization4
- extraction4
- classification4
- chat3
- creative3
- translation4
- vision3
- long context3
- agentic3
Price history
| Recorded | Input | Output | Cached | Source |
|---|---|---|---|---|
| 2026-11-05 03:20 | $1.00 | $2.00 | $0.20 | litellm |
A row is added whenever a sync detects a price change. Vendor pricing source
Pricing (USD per 1M tokens)
- Input
- $1.00
- Output
- $2.00
- Cached input
- $0.20
- Blended (3:1)
- $1.25
Details
- Company
- xAI
- Version
- —
- Family
- Grok
- Released
- —
- Parameters
- Undisclosed
- Max output
- 256K
- Open weights
- No
- Inputs
- image, text
- Last synced
- 32 min ago