Grok Code 1 Fast is
xAI's language model with a 256K context window and up to 10K output tokens, available from 5 providers, starting at $0.200 / 1M input and $1.50 / 1M output. A fast, economical reasoning model from xAI specialized for agentic coding tasks, with visible reasoning traces for developer steering.
28.7#68 |
23.7#79 |
43.3#90 |
0.8#76 |
0.7#89 |
0.1#101 |
0.7#51 |
0.4#117 |
3.56s#306 |
0.4#83 |
0.4#90 |
0.5#65 |
0.2#76 |
0.8#51 |
147.4#48 |
Capabilities
Input1/5
✓
·
·
·
·
Output1/5
✓
·
·
·
·
Capabilities5/13
✓
·
✓
·
✓
·
✓
·
·
·
·
✓
·
Pricing by Provider
| Provider | Standard | Batch | ||||
|---|---|---|---|---|---|---|
| Input $ / 1M | Output $ / 1M | Cache Read $ / 1M | Input $ / 1M | Output $ / 1M | Cache Read $ / 1M | |
Azure AI Foundry | $0.200 | $1.50 | N/A | — | — | — |
OpenRouter | $0.200 | $1.50 | $0.020 | — | — | — |
Vercel AI Gateway | $0.200 | $1.50 | $0.020 | — | — | — |
xAI | $0.200 | $1.50 | $0.020 | $0.100 | $0.750 | $0.010 |
Oracle Cloud (OCI) | $5.00 | $25.00 | N/A | — | — | — |
Regional pricing
Provider-specific pricing that varies by region.
Azure AI Foundry
20 regions
| Region | Standard | |
|---|---|---|
| Input $ / 1M | Output $ / 1M | |
| Global | ||
| Global | $0.200 | $1.50 |
| Europe | ||
| France Central (Paris)/ francecentral | $0.220 | $1.65 |
| Germany North (Berlin)/ germanynorth | $0.220 | $1.65 |
| Germany West Central (Frankfurt)/ germanywestcentral | $0.220 | $1.65 |
| Italy North (Milan)/ italynorth | $0.220 | $1.65 |
| North Europe (Ireland)/ northeurope | $0.220 | $1.65 |
| Norway East (Norway)/ norwayeast | $0.220 | $1.65 |
| Poland Central (Warsaw)/ polandcentral | $0.320 | $2.20 |
| Spain Central (Madrid)/ spaincentral | $0.220 | $1.65 |
| Sweden Central (Gävle)/ swedencentral | $0.220 | $1.65 |
| West Europe (Netherlands)/ westeurope | $0.220 | $1.65 |
| US | ||
| Central US (Iowa)/ centralus | $0.220 | $1.65 |
| East US (Virginia)/ eastus | $0.220 | $1.65 |
| East US 2 (Virginia)/ eastus2 | $0.220 | $1.65 |
| North Central US (Illinois)/ northcentralus | $0.220 | $1.65 |
| South Central US (Texas)/ southcentralus | $0.220 | $1.65 |
| West Central US (Wyoming)/ westcentralus | $0.220 | $1.65 |
| West US (California)/ westus | $0.220 | $1.65 |
| West US 2 (Washington)/ westus2 | $0.220 | $1.65 |
| West US 3 (Phoenix)/ westus3 | $0.220 | $1.65 |
Cost Calculator
Preset:
Compares every provider & tier in USD
Versions
| Version | Released | Context | Input / 1M | Output / 1M | Status |
|---|---|---|---|---|---|
| Grok 4.20 Multi-Agent | 2.0M | $2.00 | $6.00 | Available | |
| Grok 4.20 Multi Agent Beta | 2.0M | $2.00 | $6.00 | Available | |
| Grok 4 20 Non-Reasoning | 2.0M | — | — | Available | |
| Grok 4 20 Reasoning | 2.0M | — | — | Available | |
| Grok 4 20 | — | 131K | $3.00 | $15.00 | Available |
| Grok 4.1 Fast | 2.0M | $0.200 | $0.500 | Available | |
| Grok 4.1 Fast Non-Reasoning | 2.0M | $0.200 | $0.500 | Available | |
| Grok 4.1 Fast Reasoning | 2.0M | $0.200 | $0.500 | Available | |
| Grok 4 Non-Reasoning | 2.0M | $2.00 | $6.00 | Available | |
| Grok 4 Reasoning | 2.0M | $2.00 | $6.00 | Available | |
| Grok Code 1 Fast | 256K | $0.200 | $1.50 | Current |