Grok Code Fast pricing
Compare Grok Code Fast API pricing across 1 listed source. The best input rate we show is $0.200 per million tokens from Xai. The best output rate is $1.50 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 | $0.200 | $1.50 | $0.020 | — |
Input vs output · 1M tokens
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.020000¢ / req
0.075000¢ / 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 85% cheaper on output
- Grok Code Fast vs GPT-4o mini
GPT-4o mini 60% cheaper on output
- Grok Code Fast vs Claude Sonnet 4.6
Grok Code Fast 90% cheaper on output
- Grok Code Fast vs Gemini 2.0 Flash
Gemini 2.0 Flash 73% cheaper on output
- Grok Code Fast vs o3
Grok Code Fast 81% cheaper on output
- Grok Code Fast vs Llama 3.1 70B
Compare pricing side by side
Frequently asked questions
Answers pull from the same numbers you see on this page.
Also from Xai
Other models by Xai with live pricing in our catalog.