xAI: grok-code-fast-1

codeproprietary

Grok Code Fast 1 is a speedy and economical reasoning model that excels at agentic coding.

Context
256K
Max output
10K
Input price
$0.2/1M tokens
Output price
$1.5/1M tokens

Capabilities

Reasoning & Interaction
Reasoning
Tool Calling
Output Control
Structured Output
JSON Mode
Infrastructure
Streaming
Batch Processing

Details

Model IDgrok/grok-code-fast-1
Creator xAI
Familygrok-code
Licenseproprietary
Status—
Typecode
Input modalitiestext
Output modalitiestext
Open weightNo
Parameters—
Architecture—
Context window256K tokens
Max input—
Max output10K tokens
Reasoning tokens—
Knowledge cutoff—
Release date—
Sourceofficial

Pricing

Input
$0.2
Output
$1.5
Cache write
—
Cache read
—
Batch in
—
Batch out
—

Family Comparison: grok-code

ModelContextMax outPricing
Azure OpenAI: grok-code-fast-1——$0.2$1.5
xAI: grok-code-fast-1256K10K$0.2$1.5
OpenRouter: x-ai/grok-code-fast-1——$0.2$1.5

API

GET/v1/models/cloudflare-ai-gateway/grok/grok-code-fast-1

xAI: grok-code-fast-1

grok/grok-code-fast-1

Grok Code Fast 1 is a speedy and economical reasoning model that excels at agentic coding.

Changes · 3 entries
grok/grok-code-fast-1update1cd659eMar 24, 2026, 04:19 AM
modalitiesinput["text"]output["text"]
grok/grok-code-fast-1update2b100acMar 23, 2026, 05:30 AM
model_typecode
grok/grok-code-fast-1create7a4f1f6Mar 22, 2026, 05:43 AM