Grok optimized for code generation tasks.
LLM Gateway routes requests to the best providers that are able to handle your prompt size and parameters.
Grok optimized for code generation tasks. You can access it through LLM Gateway's OpenAI-compatible API with automatic provider routing, fallback, and cost analytics.
Pricing for Grok Code Fast 1 on LLM Gateway starts at $0.20 per million input tokens and $1.50 per million output tokens, depending on the provider. The pricing table above always reflects the current per-provider rates.
Grok Code Fast 1 supports a context window of up to 256,000 tokens on its largest provider deployment.
Grok Code Fast 1 is served by xAI through LLM Gateway. Requests are automatically routed to the best available provider, with fallback when a provider has issues.
Yes. Grok Code Fast 1 supports both tool (function) calling and structured JSON outputs through LLM Gateway.
Grok Code Fast 1 was released on August 28, 2025.
Grok STT 1.0
$0.00 in / $0.00 out per 1M
Grok 4.5
500,000 context$2.00 in / $6.00 out per 1M
Grok Imagine Video 1.5
2,000 context$0.00 in / $0.00 out per 1M
Grok Imagine Video 1.5 Preview
2,000 context$0.00 in / $0.00 out per 1M
Grok Build 0.1
256,000 context$1.00 in / $2.00 out per 1M
Grok 4.3
1,000,000 context$1.25 in / $2.50 out per 1M