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