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

Thinking

Tool Use

Technical Specifications

Context Window

256,000 tokens

Max Output

256,000 tokens

Pricing

Token Costs (per 1M tokens)

Cache Miss Input

$0.20

Non-Reasoning Output

$1.50

Cache Read Input

$0.02

Tool Costs (per 1K calls)

Web Search

$15

Code Execution

$0.19

Image Generation

$70