xAI: Grok Code Fast 1 (free)

by xAI

A reasoning model that is blazing fast and excels at agentic coding, accessible for free in Kilo Code for a limited time. (Note: prompts and completions are logged by xAI and used to improve the model.)

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

233.6 tokens/sec

Median output tokens per second

Time to First Token

6.3s

Median responsiveness

Performance metrics from Artificial Analysis

Real-World Usage

Real-world usage statistics from the Kilo Code community

Loading chart...
Loading rankings...

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
Blended (3:1 ratio)
$0.53
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
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
Cache Write Price
$0.00 per 1M tokens
Content Moderation
Disabled

Ready to try xAI: Grok Code Fast 1 (free)?

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