Overview
Grok Code Fast 1 is X.AI's specialized code generation model, purpose-built for coding tasks with reasoning capabilities. It features cache-optimized inference for fast, cost-effective code generation in agentic workflows.
Key Features
- Code-specialized — Purpose-built for code generation, analysis, and debugging
- Reasoning capabilities — Chain-of-thought reasoning optimized for coding tasks
- Cache-optimized — Extremely low cached input cost ($0.02 per 1M tokens) for agentic workflows
- Fast inference — Optimized for rapid code generation
- OpenAI-compatible API — Drop-in replacement using chat completions format
- Best for — Code generation, code review, debugging, and agentic coding workflows
Pricing
Input: $0.20 / 1M tokens
Output: $1.50 / 1M tokens
Cached Input: $0.02 / 1M tokens
Parameters
No input schema available.