models/xai/grok-code-fast-1
X
xAI·deprecated 2026-05-15

Grok Code Fast 1

xAI's efficiency model. Context window: 256K tokens.

Overall score
3.77
/5.00 · ranked #69
Input
$0.200
per 1M tokens
Output
$1.50
per 1M tokens
Context
256K
tokens
Blended
$1.18
3:1 out:in ratio

Price drops, new benchmarks, model updates. Stay current on Grok Code Fast 1.

One email per change. Unsubscribe anytime.

modelpicker.aipowered by live benchmark data

Scores by test

Methodology →
Structured Output
4.0
Strategic Analysis
3.0
Constrained Rewriting
3.0
Creative Problem Solving
3.0
Tool Calling
4.0
Faithfulness
4.0
Classification
4.0
Long Context
4.0
Safety Calibration
2.0
Persona Consistency
4.0
Agentic Planning
5.0
Multilingual
4.0
Tabular Data
5.0

What you need to know

Grok Code Fast 1 is optimized for autonomous execution and data organization, achieving perfect internal scores in agentic planning and tabular data processing. Its strength lies in its ability to architect complex workflows and handle structured information, supported by a substantial 256K context window that maintains a high performance rating for long-context tasks.

From a cost perspective, the model is highly competitive. With a blended cost of $1.18 per million tokens, it provides high-tier agentic capabilities at a price point typical of smaller, less capable models. This makes it a cost-effective choice for developers building automated pipelines that require frequent tool calling and structured outputs without the premium pricing of top-ranked frontier models.

The model exhibits significant gaps in safety calibration and nuanced linguistic tasks. It struggles with constrained rewriting and strategic analysis, and its low safety score suggests a lack of rigorous alignment. Developers should expect less predictability in content filtering and a reduced capacity for creative or highly strategic problem solving.

Use this model if you are building autonomous agents, processing large datasets, or requiring cheap, high-volume structured outputs. Skip this model if your application requires strict safety guardrails, precise stylistic rewriting, or high-level strategic reasoning.

Strengths — Top 3

Agentic Planning5.0/5.0
Tabular Data5.0/5.0
Structured Output4.0/5.0

Relative weaknesses — Bottom 3

Safety Calibration2.0/5.0
Strategic Analysis3.0/5.0
Constrained Rewriting3.0/5.0

Similar models

OGPT-4.1 Mini$1.303.92OGPT-4o$8.133.46MMistral Large 3 2512$1.253.69MMinistral 3 14B 2512$0.2003.77