Grok Code Fast: API pricing, providers and specs
Grok Code Fast is a text model by xAI. One provider serves it: APIYI, at $1.50 /1M.
Lowest price$1.50/1Mat APIYI
Maker's price—The maker does not sell it
Providers1
Context256K
How Grok Code Fast compares
Against the 737 text models on the site priced the same way.
- Mid-priced: its lowest price is $1.50 /1M against a median of $1.10; 58% of comparable models cost less.
- Its 256K-token context window is larger than 38% of them (median 262K), about 380 pages of text.
- 1 providers serve it; 0% of comparable models have fewer.
Grok Code Fast prices by provider
Every provider's list price, read from its own price page or API. A price marked “from” changes with context length, resolution or mode.
| Provider | Input | Output | Prompt caching | Context |
|---|---|---|---|---|
APIYI | $0.20/1M | $1.50/1M | — | — |
Prices in US dollars, updated daily from each provider. Prices last checked Oct 25, 2026.
Specs
- Type
- Text
- Maker
- xAI
- Inputs
- Image, Text
- Outputs
- Text
- Context
- 256K≈ 380 pages of text
- Max output
- —
- Capabilities
- Prompt caching, JSON, Tool calling, Vision
- Released
- —
- License
- proprietary
- Open weights
- No, API only
Alternatives to Grok Code Fast
Same kind of model from other makers, at a similar price.
| Model | Lowest price | Context | Arena | Providers |
|---|---|---|---|---|
| Grok Code Fastthis model | $1.50/1M | 256K | — | 1 |
| $1.10/1M | 1.05M | 1623 | 49 | |
| $4.11/1M | 1M | — | 22 | |
| $2.40/1M | 1.05M | 1466 | 5 | |
| $2.09/1M | 1.05M | 1543 | 13 | |
| $4.25/1M | 1.05M | 1657 | 11 | |
| $0.50/1M | 262K | 1591 | 33 | |
| $1/1M | 127K | — | 9 | |
| $1.80/1M | 1M | 1604 | 44 |
More from xAI
Grok 4.7xAI$4.80/1MGrok Build 0.1xAI$1.60/1MGrok 3xAI$15/1MGrok 4.6xAI$4.80/1MGrok 4.20xAI$2.50/1MGrok-4xAI$14.25/1MGrok 4.5xAI$3.20/1MGrok Voice TTS 1.0xAI$0.015/1K chars
All 41 xAI modelsGrok Code Fast FAQ
The lowest price for Grok Code Fast is $1.50 /1M, at APIYI.
Grok Code Fast reads up to 256K tokens per request.
No. Grok Code Fast is only available through an API; xAI does not publish its weights.
1 API providers serve Grok Code Fast. Compare their prices above, or open a provider to see everything it offers.
Can't find what you're looking for? Contact us
