xAI: Grok Code Fast 1

by x-ai

Grok Code Fast 1 is a speedy and economical reasoning model that excels at agentic coding. With reasoning traces visible in the response, developers can steer Grok Code for high-quality work flows.

39.4 Coding Index*#1 Code Mode216.7 tokens/sec*$0.20/1M input tokens
Release Date
August 28, 2025
Context Window
256,000 tokens
Max Output
10,000 tokens
Input Modalities
text

Coding Performance

Coding benchmarks and performance metrics for development tasks

Coding Benchmarks

Artificial Analysis Coding Index

39.4%

Overall coding capability score

LiveCodeBench

65.7%

Real-world coding task performance

SciCode

36.2%

Scientific computing & algorithms

TerminalBench Hard

16.3%

CLI & terminal command generation

LCR (Long Context Reasoning)

48.3%

Understanding large codebases

IFBench

41.4%

Instruction following accuracy

Speed & Efficiency

Output Speed

216.7 tokens/sec

Median output tokens per second

Performance metrics from Artificial Analysis

Real-World Usage

Real-world usage statistics from the Kilo Code community

Weekly Token Usage

Mode Rankings (Last Week)

Where this model ranks for each built-in mode

Architect

Plan and design before implementation

#1

Code

Write, modify, and refactor code

#1

Ask

Get answers and explanations

#1

Debug

Diagnose and fix software issues

#1

Orchestrator

Coordinate tasks across multiple modes

#1

Real-world metrics from the Kilo Code Leaderboard

Pricing

Cost per 1 million tokens

Input Tokens
$0.20
per 1M tokens
Output Tokens
$1.50
per 1M tokens

Example Cost

Analyzing a 10,000 line codebase (≈40k input tokens, 10k output tokens) costs approximately $0.0230

Coding Capabilities

Features and parameters relevant to coding tasks

Coding Features

Function Calling
Can call external functions/APIs
Tool Choice
Control over function selection
Structured Outputs
JSON schema validation
Reasoning Tokens
Extended thinking for complex problems

Pricing details from OpenRouter

Technical Details

Architecture and implementation specifications

Model ID
x-ai/grok-code-fast-1
Artificial Analysis Slug
grok-code-fast-1
Created
August 26, 2025
Tokenizer
Grok
Input Modalities
text
Context Window
256,000 tokens
Max Completion Tokens
10,000 tokens
Input Price
$0.20 per 1M tokens
Output Price
$1.50 per 1M tokens
Cache Read Price
$0.00 per 1M tokens
Content Moderation
Disabled

Ready to try xAI: Grok Code Fast 1?

Install Kilo Code and start using xAI: Grok Code Fast 1 for your coding projects today. Choose from 400+ AI models with complete freedom.