Grok Code Fast 1
Grok Code Fast 1 is a legacy integration reference; evaluate Grok Build 0.1 before starting new work.
Use it for
- Teams maintaining an existing integration
- Workloads that can use a 262k context window
- Buyers comparing 2 tracked provider routes
Do not use it for
- New production launches
- Vision or document-understanding workloads
- Family
- Grok 4
- Released
- 2025-08-27
- Context
- 262k
- Parameters
- 314B
- Architecture
- Mixture of Experts
- Specialization
- code
- Openness
- Proprietary
- License
- ProprietaryCommercial use: conditional
- Weights
- Not released
- Code
- Unknown
Cheapest of 3 routes · OpenRouter
This model is deprecated. xAI recommends switching to Grok Build 0.1.
About
xAI's Grok Code Fast 1 is a code-specialized Mixture-of-Experts model released August 27, 2025. It was retired on May 15, 2026; xAI lists grok-build-0.1 as its direct replacement for current coding-agent work.
Grok Code Fast 1 is a proprietary model in the Grok 4 family. The structured metadata tracks a 262k-token context window, function calling, tool use, and structured outputs. This page tracks provider routes through OpenRouter, Microsoft Foundry, and xAI Console, with the cheapest tracked route listed at $0.2 input and $1.5 output per 1M tokens. Headline tracked benchmarks include SWE-bench Verified 70.8.
Top use-case fit: coding, agents, and build tasks
Coding
1 relevant benchmark in the decision map.
RAG
Included by capability and metadata signals in the decision map.
Agents
1 relevant benchmark in the decision map.
Provider price ladder
Compare all 3Compare API pricing across 2 providers for input and output tokens, batch, and cached reads when available.
| Provider | Input / 1M | Output / 1M | Route |
|---|---|---|---|
| OpenRouter | $0.200 | $1.50 | Serverless |
| Microsoft Foundry | - | - | ServerlessPartial |
Available via routers & gateways(6)
LiteLLM
GatewayOpen-source Python SDK and proxy server that unifies 100+ LLM APIs behind a single OpenAI-compatible interface, with load balancing, cost tracking, and configurable failover.
OpenRouter
HybridUnified hybrid gateway to 400+ models from 60+ providers via a single OpenAI-compatible API, with optional auto-routing that selects the best model per prompt.
Portkey
GatewayProduction AI gateway routing to 1,600+ LLMs with failover, load balancing, semantic caching, and guardrails; Apache 2.0 core is fully self-hostable with the complete feature set.
Azure AI Foundry Model Router
RouterMicrosoft Azure AI Foundry's native model router that uses a trained ML model to route each prompt in real time to the optimal Azure-hosted model, with Balanced/Cost/Quality mode selection and automatic failover.
Helicone
GatewayObservability-first AI gateway with routing, caching, rate limiting, and request tracing; Apache 2.0 open-source core with a managed hosted tier for logging and analytics.
Kong AI Gateway
GatewayMulti-LLM AI gateway built on Kong Gateway 3.x, adding semantic routing, load balancing, guardrails, and MCP traffic analytics as plugins over Kong's existing API management platform.
Capabilities
Benchmark peer barsfor Coding
Benchmark scores(1)
| Benchmark | Score | Version | Source |
|---|---|---|---|
| SWE-bench Verified | 70.8 | SWE-bench Verified, xAI self-reported internal harness | https://x.ai/news/grok-code-fast-1 |
Migration checks
No linked migration route is available for this model yet.
Compare Grok Code Fast 1 with other models
Comparison and alternatives
Browse all comparisons →Frequently asked questions
What is the context window of Grok Code Fast 1?
Grok Code Fast 1 has a context window of 262k tokens.
How much does Grok Code Fast 1 cost?
Grok Code Fast 1 pricing ranges from $0.2/1M to $1.25/1M input tokens depending on the provider.
When was Grok Code Fast 1 released?
Grok Code Fast 1 was released on 2025-08-27.
Which providers offer Grok Code Fast 1?
Grok Code Fast 1 is available from 3 providers: OpenRouter, Microsoft Foundry, xAI Console.
What benchmarks has Grok Code Fast 1 been tested on?
Grok Code Fast 1 has been evaluated on 1 benchmark, including SWE-bench Verified.
Cheapest of 3 routes · OpenRouter