Grok Code Fast pricing
Compare Grok Code Fast API pricing across 1 listed source. The best input rate we show is $1.00 per million tokens from xAI. The best output rate is $2.00 per million tokens from xAI.
Pricing across providers
Use this table to read Grok Code Fast list prices. We show 1 source right now. Lowest input in the grid: xAI. The chart below the table helps when output prices are much higher than input prices.
| Provider | Input / 1M | Output / 1M | Cached input | Batch |
|---|---|---|---|---|
X xAInative | $1.00 | $2.00 | $0.200 | — |
Input vs output · 1M tokens
Pricing history
These entries are only for the primary native listing of Grok Code Fast, not every reseller row above. The native listing moved from $0.200 in and $1.50 out to $1.00 in and $2.00 out in the latest window.
Since Aug 12, 2026
$1.00 in · $2.00 out(current listing)
Output rate +33% vs previous period
Apr 7, 2026 → Aug 12, 2026
$0.200 in · $1.50 out
Cost calculator
Pick any provider row and type how many tokens you expect per day, week, or year. We turn that into rough dollar totals for Grok Code Fast.
0.100000¢ / req
0.100000¢ / req
Model specifications
These fields describe Grok Code Fast as we store it (source: xAI). They sit next to price so buyers can check limits and tools in one place.
- Context window
- 256,000 tokens
- Max output
- 256,000 tokens
- Vision (images)
- No
- Tool / function calling
- Yes
- Streaming
- No
- Released
- N/A
- Primary provider
- xAI
- Model family
- N/A
Compare Grok Code Fast
These links open full side by side pages for Grok Code Fast. We picked pairs that people often shop together. 6 ready to open.
Locked
Compare with
Pick a model on both sides.
Popular Grok Code Fast comparisons
- Grok Code Fast vs GPT-4o
Grok Code Fast 80% cheaper on output
- Grok Code Fast vs Claude Sonnet 4.6
Grok Code Fast 86% cheaper on output
- Grok Code Fast vs Gemini 2.0 Flash
Gemini 2.0 Flash 80% cheaper on output
- Grok Code Fast vs Llama 3.1 70B
Compare pricing side by side
- Grok Code Fast vs Mistral 7B
Mistral 7B 87% cheaper on output
- Grok Code Fast vs GLM 4.7
Grok Code Fast 9% cheaper on output
Frequently asked questions
Answers pull from the same numbers you see on this page.
Related models
Models close to Grok Code Fast by family, provider, and context window — each with live pricing in our catalog.