Last refreshed 2026-07-09. Next refresh: weekly.
Why use Grok Code Fast 1 on OpenRouter?
OpenRouter offers Grok Code Fast 1 with pay-as-you-go pricing at $0.20/1M input tokens. OpenRouter is a multi-provider LLM aggregator offering unified API access to 300+ models from all major labs and emerging providers, with automatic failover for reliability.
Compare Grok Code Fast 1 across 3 providers to find the best fit for your use caseInput / 1M
$0.20
Output / 1M
$1.50
Cache
Not sourced
Batch
Not sourced
Setup recipe
Docs fallbackInstall
Use the provider REST API or SDKAuth
Create a provider API keyCall
model: x-ai/grok-code-fast-1Model ID
x-ai/grok-code-fast-1Request example
Curated snippets for this provider are not sourced yet. Use OpenRouter documentation with model ID
x-ai/grok-code-fast-1.Gotchas
- Use provider model ID "x-ai/grok-code-fast-1", not the LLMReference slug "grok-code-fast-1".
Compare Grok Code Fast 1 Across Providers
| Provider | Input (per 1M) | Output (per 1M) |
|---|---|---|
| OpenRouter | $0.20 | $1.50 |
| Microsoft Foundry | — | — |
| xAI Console | $1.25 | $2.50 |
Pricing
| Type | Price (per 1M) |
|---|---|
| Input tokens | $0.20 |
| Output tokens | $1.50 |
Capabilities
JSON / Tool useStructured Outputs
About Grok Code Fast 1
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.
Get Started
Model Specs
Released2025-08-27
Parameters314B
Context262k
ArchitectureMixture of Experts