Grok Code Fast 1
Grok Code Fast 1 is a text model from
xAI with a context window of 256K tokens and max output of 256K tokens. Pricing starts at 0.20 per million input tokens and 1.50 per million output tokens (cheapest at Azure AI).
Capabilities
✗ Vision✓ Function Calling✓ Reasoning✗ JSON Schema✗ System Messages✗ Web Search✗ Prompt Caching✗ Audio Input✗ Audio Output
Specifications
| Model Key | xai/grok-code-fast-1 |
| Provider | |
| Provider ID | xai |
| Mode | Text |
| Canonical Name | grok-code-fast-1 |
| Context Window | 256K tokens |
| Max Output | 256K tokens |
Pricing
| Type | Per 1K Tokens | Per 1M Tokens |
|---|---|---|
| Input Tokens | 0.000200 | 0.200 |
| Output Tokens | 0.0015 | 1.50 |
| Cache Read (Input) | 0.000020 | 0.020 |
Price Comparison by Provider
Compare prices for Grok Code Fast 1 across different providers. The same model may be available through multiple providers at different price points.
Provider | Model Key | Input Price, $ | Output Price, $ |
|---|---|---|---|
| xai/grok-code-fast-1 | 0.200 | 1.50 | |
| azure_ai/grok-code-fast-1 | 0.200 | 1.50 |
All Variants
All available versions, regions, and API endpoints for Grok Code Fast 1.
Model Key | Provider | Mode | Input Price, $ | Output Price, $ | Context | Max Output | Vision | Functions |
|---|---|---|---|---|---|---|---|---|
| azure_ai/grok-code-fast-1 | Text | 0.200 | 1.50 | 131K | 131K | no | yes | |
| xai/grok-code-fast-1 | Text | 0.200 | 1.50 | 256K | 256K | no | yes |