Grok Codefast 1 is xAI's language model, starting at $0.200 / 1M input and $1.50 / 1M output. A fast, cost-efficient coding-focused LLM from xAI optimized for agentic coding and developer workflows.
Capabilities
Input1/5
Text✓
Image·
Audio·
Video·
PDF·
Output1/5
Text✓
Image·
Audio·
Video·
Embedding·
Capabilities0/13
Reasoning·
Adaptive Reasoning·
Function Calling·
Parallel Function Calling·
Structured Outputs·
Native JSON Schema·
Web Search·
URL Context·
Computer Use·
Code Execution·
File Search·
Prompt Caching·
Assistant Prefill·
Pricing by Provider
| Provider | Standard | |
|---|---|---|
| Input $ / 1M | Output $ / 1M | |
Azure AI Foundry | $0.200 | $1.50 |
Cost Calculator
Preset:
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 | $1.25 | $2.50 | Deprecated | |
| Grok 4 Fast | 131K | $0.200 | $0.500 | Deprecated | |
| Grok 4 Fast Non-Reasoning | 2.0M | $0.200 | $0.500 | Available | |
| Grok 4 | 256K | $1.25 | $2.50 | Deprecated | |
| Grok Codefast 1 | — | — | $0.200 | $1.50 | Current |