Grok Code Fast 1

xAI·Aug 2025reasoningproprietary

Grok Code Fast 1 is xAI's dedicated coding model, optimized for the rapid-fire edit-test loops of agentic IDEs rather than peak benchmark scores. Its combination of low price, high speed and solid SWE-bench performance made it a default fast-tier option in several coding assistants. For quick mechanical edits it remains one of the best cost-per-task options available.

Benchmark results

Where it shines

  • Optimized for high-frequency agentic coding loops
  • Aggressive pricing with deep cache discounts
  • Low latency for IDE responsiveness

Alternatives to Grok Code Fast 1

Frequently asked questions

How much does the Grok Code Fast 1 API cost?
Grok Code Fast 1 costs $0.2 per million input tokens and $1.5 per million output tokens, with cached input at $0.02 per million. A workload of 10M input and 1.5M output tokens per month costs about $4.25.
What is the context window of Grok Code Fast 1?
Grok Code Fast 1 supports a context window of 256,000 tokens (256K).
Is Grok Code Fast 1 open source?
No — Grok Code Fast 1 is a proprietary model available through xAI's API and partner platforms.
What are the best alternatives to Grok Code Fast 1?
The closest alternatives by overall capability are Qwen3-Max, GPT-5.5, Gemini 3 Pro, Gemini 2.5 Pro. See the comparison pages for detailed head-to-head breakdowns.