This model was retired on 2026-05-15. The pricing below is the last-known rate, kept for migration reference.

Grok Code Fast 1Deprecated

xAIReleasedAug 25, 2024KnowledgeAug 2024
Tool useReasoningPrompt cachingStructured outputWeb search
Context
256K
Max output
256K
Serving providers
2
Cheapest input
$0.20 /1M
Prices are on-demand list rates. Enterprise commitments (committed-use discounts, provisioned throughput, negotiated rates) can be materially lower.

Benchmarks

independent evaluations · source: Artificial Analysis
Headline indices
Intelligence Index
21.6
of 100
Individual benchmarks · click a row for effort variants
BenchmarkBest scoreEffortCost / task
CritPt0%default
GPQA Diamond73%default
Humanity's Last Exam7%default
IFBench41%default
LiveCodeBench66%default
Long-Context Reasoning48%default
MMLU-Pro79%default
Omniscience-36default
SciCode36%default
TerminalBench Hard17%default
τ²-bench76%default

Pricing by serving provider

last-known · per 1M tokens · click a provider to expand
Serving providerInput /1MOutput /1MEndpoints
Azure$0.20$1.501
xAI$0.20$1.501

Price history

input + output $/1M since we started tracking
Input Output
$0.000$0.500$1.00$1.50Aug 29Oct 2Jan 14Jan 21Jun 22$1.50$0.200

Cost calculator

estimate your monthly spend on this model
$160
estimated / month

Model IDs

copy the exact identifier for your platform
azure_ai/grok-code-fast-1xai/grok-code-fast-1

Frequently asked questions

Grok Code Fast 1 pricing, context and availability

Is Grok Code Fast 1 still available?

Grok Code Fast 1 was retired on 2026-05-15. The pricing on this page is the last-known rate, kept for migration reference.

How much did Grok Code Fast 1 cost?

Grok Code Fast 1's last-known pricing, before it was retired on 2026-05-15, was $0.20 per 1M input tokens and $1.50 per 1M output tokens.

What was the context window of Grok Code Fast 1?

Grok Code Fast 1 had a 256K token context window and could return up to 256K output tokens.

What could Grok Code Fast 1 do?

Grok Code Fast 1 supported tool use, reasoning, prompt caching, structured output and web search.

Other xAI models

compare pricing across the xAI lineup
Pricing verified against LiteLLM + OpenRouter + provider pages · refreshed daily

Every weekday

AI moves fast. Here's your debrief.

News, analysis, tools, and more.

For people who build with AI