Grok Code Fast 1

by xAIChat

A speedy and economical reasoning model that excels at agentic coding.

Context
256K tokens
Max output
256,000 tokens
Released
2024-08-25
Weights
Closed

xai/grok-code-fast-1 · also seen as x-ai/grok-code-fast-1

Specifications

Full facts as recorded, incl. what is unknown.

Released
2024-08-25
Weights
Closed
Input
Text
Output
Text
Context window
256,000 max across endpoints
Max output
256,000
Providers
3 + 6 gateways, not counted as providers
Epoch Capabilities Index
not evaluated
Direct price range
$0.20–$1.00 in · $1.50–$2.00 out per 1M tokens · 2 of 3 providers have a comparable price
More details
Last updated
2026-01
Knowledge cutoff
2024-08
Developer country
United States of America

Capabilities

Across all endpoints: supported if any endpoint supports it.

  • Tool calling
  • Parallel toolsunknown
  • Structured output
  • Reasoning
  • Image input
  • PDF input
  • Audio input
  • Audio outputunknown
  • Video input
  • Prompt caching
  • Web search
  • Computer useunknown
  • System messagesunknown
  • Assistant prefillunknown
  • Temperature
  • Streamingunknown
  • Attachments

Endpoints

One row per provider and variant; gateways are listed separately.

Loading endpoints…

Price history

No change since 19 Oct 2026. The cheapest direct price has been $0.20 in / $1.50 out per 1M tokens at Azure on every data refresh since then.

Tracked from 19 Oct 2026. Headline-eligible direct prices only, so a price the sanity check flags never draws a spike. Series as JSON

Cost calculator

Loading endpoints…

Similarly priced models

Blended rate per 1M tokens, each at its own cheapest provider (10M input : 2M output mix).

ModelBlended/1MIn/1MOut/1MContextvs Grok Code Fast 1
Claude Haiku 3Anthropic$0.417$0.25$1.25200K+0%
ERNIE 4.5 300B A47BBaidu$0.417$0.28$1.10123K+0%
Kimi K2.6Moonshot AI$0.413$0.275$1.10262K−1% cheaper
Kimi K2.7 Code HighSpeedMoonshot AI$0.413$0.275$1.10262K−1% cheaper
GLM-4.5VZ.ai (Zhipu AI)$0.411$0.274$1.1064K−1% cheaper
GLM-4.6Z.ai (Zhipu AI)$0.411$0.274$1.10205K−1% cheaper
GLM-4.7Z.ai (Zhipu AI)$0.411$0.274$1.10205K−1% cheaper
Qwen3.7 PlusAlibaba (Qwen)$0.423$0.282$1.131M+2%

More from xAI

Newest xAI models in the catalogue. All xAI models

ModelReleasedContextListed price
Grok Imagine Video 1.5 Lite2026-10-011Kunpriced
Grok 4.72026-09-21500Kfrom $1.60
Grok 4.62026-08-12500Kfrom $2.00
Grok Imagine Image 2.02026-08-0765.5Kunpriced
Grok Voice STT 1.02026-08-0415Kunpriced
Grok STT 1.02026-07-23—unpriced
Grok 4.52026-07-08500Kfrom $2.00
Grok Imagine Video 1.52026-05-301Kunpriced
Heads up: prices are indicative list rates scraped from provider pricing pages; verify with the provider before relying on them. Report incorrect data for this model