Grok Code Fast 1
by xAIChat
A speedy and economical reasoning model that excels at agentic coding.
- Context
- 256K tokens
- Max output
- 256,000 tokens
- Released
- 2024-08-25
- Weights
- Closed
xai/grok-code-fast-1 · also seen as x-ai/grok-code-fast-1
Specifications
Full facts as recorded, incl. what is unknown.
- Released
- 2024-08-25
- Weights
- Closed
- Input
- Text
- Output
- Text
- Context window
- 256,000 max across endpoints
- Max output
- 256,000
- Providers
- 3 + 6 gateways, not counted as providers
- Epoch Capabilities Index
- not evaluated
- Direct price range
- $0.20–$1.00 in · $1.50–$2.00 out per 1M tokens · 2 of 3 providers have a comparable price
More details
- Last updated
- 2026-01
- Knowledge cutoff
- 2024-08
- Developer country
- United States of America
Capabilities
Across all endpoints: supported if any endpoint supports it.
- Tool calling
- Parallel toolsunknown
- Structured output
- Reasoning
- Image input
- PDF input
- Audio input
- Audio outputunknown
- Video input
- Prompt caching
- Web search
- Computer useunknown
- System messagesunknown
- Assistant prefillunknown
- Temperature
- Streamingunknown
- Attachments
Endpoints
One row per provider and variant; gateways are listed separately.
Loading endpoints…
Price history
No change since 19 Oct 2026. The cheapest direct price has been $0.20 in / $1.50 out per 1M tokens at Azure on every data refresh since then.
Tracked from 19 Oct 2026. Headline-eligible direct prices only, so a price the sanity check flags never draws a spike. Series as JSON
Cost calculator
Loading endpoints…
Similarly priced models
Blended rate per 1M tokens, each at its own cheapest provider (10M input : 2M output mix).
| Model | Blended/1M | In/1M | Out/1M | Context | vs Grok Code Fast 1 |
|---|---|---|---|---|---|
| Claude Haiku 3Anthropic | $0.417 | $0.25 | $1.25 | 200K | +0% |
| ERNIE 4.5 300B A47BBaidu | $0.417 | $0.28 | $1.10 | 123K | +0% |
| Kimi K2.6Moonshot AI | $0.413 | $0.275 | $1.10 | 262K | −1% cheaper |
| Kimi K2.7 Code HighSpeedMoonshot AI | $0.413 | $0.275 | $1.10 | 262K | −1% cheaper |
| GLM-4.5VZ.ai (Zhipu AI) | $0.411 | $0.274 | $1.10 | 64K | −1% cheaper |
| GLM-4.6Z.ai (Zhipu AI) | $0.411 | $0.274 | $1.10 | 205K | −1% cheaper |
| GLM-4.7Z.ai (Zhipu AI) | $0.411 | $0.274 | $1.10 | 205K | −1% cheaper |
| Qwen3.7 PlusAlibaba (Qwen) | $0.423 | $0.282 | $1.13 | 1M | +2% |
More from xAI
Newest xAI models in the catalogue. All xAI models
| Model | Released | Context | Listed price |
|---|---|---|---|
| Grok Imagine Video 1.5 Lite | 2026-10-01 | 1K | unpriced |
| Grok 4.7 | 2026-09-21 | 500K | from $1.60 |
| Grok 4.6 | 2026-08-12 | 500K | from $2.00 |
| Grok Imagine Image 2.0 | 2026-08-07 | 65.5K | unpriced |
| Grok Voice STT 1.0 | 2026-08-04 | 15K | unpriced |
| Grok STT 1.0 | 2026-07-23 | — | unpriced |
| Grok 4.5 | 2026-07-08 | 500K | from $2.00 |
| Grok Imagine Video 1.5 | 2026-05-30 | 1K | unpriced |