Grok Code Fast is xAI's language model with a 256K context window, available from 2 providers, starting at $0.200 / 1M input and $1.50 / 1M output. A fast, specialized coding LLM from xAI designed for agentic coding workflows and developer productivity tasks.
Capabilities
Input1/5
✓
·
·
·
·
Output1/5
✓
·
·
·
·
Capabilities3/13
✓
·
✓
·
·
·
·
·
·
·
·
✓
·
Pricing by Provider
| Provider | Standard | Batch | ||||
|---|---|---|---|---|---|---|
| Input $ / 1M | Output $ / 1M | Cache Read $ / 1M | Input $ / 1M | Output $ / 1M | Cache Read $ / 1M | |
xAI | $0.200 | $1.50 | $0.020 | $0.100 | $0.750 | $0.010 |
Oracle Cloud (OCI) | $5.00 | $25.00 | N/A | — | — | — |
Cost Calculator
Preset:
Compares every provider & tier in USD
Versions
| Version | Released | Context | Input / 1M | Output / 1M | Status |
|---|---|---|---|---|---|
| Grok 4.3 | 1.0M | $1.25 | $2.50 | Available | |
| Grok 4.20 | 2.0M | $1.25 | $2.50 | Available | |
| Grok 4.20 Multi-Agent | 2.0M | $1.25 | $2.50 | Available | |
| Grok 4.20 Multi-Agent Beta | 2.0M | $1.25 | $2.50 | Available | |
| Grok 4.20 Non-Reasoning | 2.0M | $1.25 | $2.50 | Available | |
| Grok 4.20 Reasoning | 2.0M | $1.25 | $2.50 | Available | |
| Grok 4.1 Fast | 2.0M | $0.200 | $0.500 | Deprecating | |
| Grok 4 Fast | 2.0M | $0.200 | $0.500 | Deprecating | |
| Grok 4 Fast Non-Reasoning | 2.0M | $0.200 | $0.500 | Available | |
| Grok 4 | 256K | $3.00 | $15.00 | Deprecating | |
| Grok Code Fast | — | 256K | $0.200 | $1.50 | Current |