LLM ReferenceLLM Reference
xAI Console

Grok Code Fast 1 on xAI Console

Grok 4 · xAI

Serverless

Last refreshed 2026-05-16. Next refresh: weekly.

Why use Grok Code Fast 1 on xAI Console?

xAI Console offers Grok Code Fast 1 with pay-as-you-go pricing at $1.25/1M input tokens. xAI, founded by Elon Musk in March 2023, focuses on advancing scientific discovery and understanding the universe through AI.

Compare Grok Code Fast 1 across 3 providers to find the best fit for your use case
Input / 1M
$1.25
Output / 1M
$2.50
Cache
read $0.20
Batch
Not sourced

Setup recipe

Docs fallback
Install
Use the provider REST API or SDK
Auth
Create a provider API key
Call
model: grok-code-fast-1
Model ID
grok-code-fast-1

Request example

Curated snippets for this provider are not sourced yet. Use xAI Console documentation with model ID grok-code-fast-1.

Gotchas

No curated gotchas have been sourced for this exact provider/model route yet.

Compare Grok Code Fast 1 Across Providers

ProviderInput (per 1M)Output (per 1M)
OpenRouter$0.20$1.50
Microsoft Foundry
xAI Console$1.25$2.50

Pricing

TypePrice (per 1M)
Input tokens$1.25
Output tokens$2.50

Capabilities

Function CallingTool 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. Trained on programming data, pull requests, and code repositories, optimized for agentic coding tasks including tool calls, shell commands, and file editing. Supports Python, TypeScript, Rust, and other languages. Features high throughput (~92-129 tokens/sec). Proprietary, available via xAI API and select partners.

FAQ

What does Grok Code Fast 1 cost on xAI Console?

On xAI Console, Grok Code Fast 1 costs $1.25 per 1M input tokens and $2.50 per 1M output tokens.

What is the context window for Grok Code Fast 1 on xAI Console?

Grok Code Fast 1 supports a 262,144 token context window on xAI Console.

How does xAI Console compare to other Grok Code Fast 1 providers?

Grok Code Fast 1 is available from 3 providers. The cheapest input pricing is $0.2/1M tokens from OpenRouter.

What API model ID do I use for Grok Code Fast 1 on xAI Console?

Use the model ID grok-code-fast-1 when calling xAI Console's API.

Who created Grok Code Fast 1?

Grok Code Fast 1 was created by xAI as part of the Grok 4 model family.

Is Grok Code Fast 1 open source?

Grok Code Fast 1 is not open source; the seed data lists it as proprietary.

Get Started

Model Specs

Released2025-08-27
Parameters314B
Context262K
ArchitectureMixture of Experts