Deprecated on May 15, 2026. 1 provider still lists it at the prices below.
Context
256K
Max output
256K
Serving providers
1
Cheapest input
$1.00 /1M
On-demand listed rates, OpenRouter routed quotes and Vercel reseller quotes. Enterprise commitments (committed-use discounts, provisioned throughput, negotiated rates) can be materially lower.
Pricing by serving provider
standard tier · per 1M tokens · click a provider to expand| Serving provider | Input /1M | Output /1M | Endpoints | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| xAICheapest | $1.00 | $2.00 | 1 | |||||||||||||
Standardxai/grok-code-fast
| ||||||||||||||||
Price history
listed seller prices, input and output per 1M tokens Input Output
Cost calculator
estimate your monthly spend on this model$360
estimated / month
Model IDs
copy the exact identifier for your platformxai/grok-code-fast
Frequently asked questions
Grok Code Fast pricing, context and availabilityIs Grok Code Fast still available?
Grok Code Fast was deprecated on 2026-05-15, but 1 serving provider still list it.
How much does Grok Code Fast cost?
Grok Code Fast costs $1.00 per 1M input tokens from xAI, and $2.00 per 1M output tokens from xAI.
What is the context window of Grok Code Fast?
Grok Code Fast accepts up to 256K tokens of context and can return up to 256K output tokens.
What can Grok Code Fast do?
Grok Code Fast supports image input (vision), tool use, reasoning, prompt caching and structured output.
Other xAI models
compare pricing across the xAI lineup Listed prices from LiteLLM, OpenRouter and Vercel · last checked Oct 14, 2026
Every weekday
AI moves fast. Here's your debrief.
News, analysis, tools, and more.
For people who build with AI