Grok Code Fast 1

xai

xAI's lightweight agentic coding model designed for rapid, budget-friendly reasoning with interleaved tool-calling and reasoning traces. Proficient in TypeScript, Python, Java, Rust, C++, and Go. Built for the modern development loop of planning, writing, testing, and debugging. Excels at zero-to-one projects, codebase Q&A, bug fixes, and agentic coding workflows at 4x speed and 1/10th the cost of competing models.

Try Now

Capabilities

Tool Use

Extended Thinking

Example Use Cases

Coding tasks needing fast iteration

Agentic coding workflow

Budget-friendly code generation

Technical Specifications

Context Window

256,000 tokens

Max Output

256,000 tokens

Cache Miss Cost

$0.20 per 1M tokens

Non-Reasoning Cost

$1.50 per 1M tokens

Cache Read Cost

$0.02 per 1M tokens

Web Search Cost

$15 per 1K calls

Code Execution Cost

$0.19 per 1K calls

Image Generation Cost

$20 per 1K calls