Grok Code Fast 1

Grok optimized for code generation tasks.

grok-code-fast-1
STABLEModel DeactivatedGet StartedView uptime
256,000 context
Released August 28, 2025
Starting at $0.20/M input tokens
Starting at $1.50/M output tokens
Streaming
Tools
JSON Output
No ratings yetSign in to rate

Select Provider

All Providers for Grok Code Fast 1

LLM Gateway routes requests to the best providers that are able to handle your prompt size and parameters.

xAI
Context: 256k
Deactivated since May 15, 2026
Input
$0.2
/M tokens
Cache Read
$0.02
/M tokens
Output
$1.5
/M tokens
Get Started

Frequently asked questions

What is Grok Code Fast 1?

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.

How much does Grok Code Fast 1 cost?

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.

What is the context length of Grok Code Fast 1?

Grok Code Fast 1 supports a context window of up to 256,000 tokens on its largest provider deployment.

Which providers serve Grok Code Fast 1?

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.

Does Grok Code Fast 1 support tool calling and structured outputs?

Yes. Grok Code Fast 1 supports both tool (function) calling and structured JSON outputs through LLM Gateway.

When was Grok Code Fast 1 released?

Grok Code Fast 1 was released on August 28, 2025.