xAI: Grok Code Fast 1

Text input Text output
Author's Description

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...

Key Specifications
Cost
$$$$$
Context
256K
Released
Aug 26, 2025
Speed
Ability
Reliability
Supported Parameters

This model supports the following parameters:

Tool Choice Include Reasoning Top Logprobs Max Tokens Seed Structured Outputs Logprobs Stop Tools Temperature Reasoning Response Format Top P
Features

This model supports the following features:

Structured Outputs Reasoning Response Format Tools
Performance Summary

xAI: Grok Code Fast 1, created on August 26, 2025, is positioned as a speedy and economical reasoning model specializing in agentic coding, featuring visible reasoning traces. The model demonstrates moderate speed performance, ranking in the 36th percentile, and offers moderate pricing, placing it in the 24th percentile across 13 benchmarks. A standout feature is its exceptional reliability, achieving a perfect 100% success rate across all benchmarks, indicating consistent and usable responses without technical failures. In terms of performance across categories, Grok Code Fast 1 excels in Classification and Ethics, achieving 100% accuracy in several instances, often noted as the most accurate model at its price point and speed. Its coding capabilities are strong, with multiple "Coding (Baseline)" benchmarks showing accuracy in the 61st to 86th percentile. The model also performs well in General Knowledge and Hallucinations, with 100% and 98% accuracy respectively. While its Mathematics performance is average (89% accuracy, 54th percentile), its Instruction Following (75% accuracy, 81st percentile) and Reasoning (82% accuracy, 64th percentile) capabilities are solid. Key strengths include its high accuracy in classification and ethical reasoning, robust coding knowledge, and unparalleled reliability. Its primary area for potential improvement lies in its moderate speed and pricing, though its accuracy often compensates for these aspects.

Model Pricing

Current Pricing

Feature Price (per 1M tokens)
Prompt $0.2
Completion $1.5
Input Cache Read $0.02
Web Search $5000

Price History

Available Endpoints
Provider Endpoint Name Context Length Pricing (Input) Pricing (Output)
xAI
xAI | x-ai/grok-code-fast-1 256K $0.2 / 1M tokens $1.5 / 1M tokens
Benchmark Results
Benchmark Category Reasoning Strategy Free Executions Accuracy Cost Duration
Other Models by x-ai