Grok 2 pricing
Compare Grok 2 API pricing across 2 listed sources. The best input rate we show is $2.00 per million tokens from Vercel Ai Gateway. The best output rate is $10.00 per million tokens from Vercel Ai Gateway.
Pricing across providers
Every row is a seller of Grok 2 with token pricing we track. The cheapest input in this snapshot is from Vercel Ai Gateway. The bar chart shows the same input and output dollars per million for a quick scan.
| Provider | Input / 1M | Output / 1M | Cached input | Batch |
|---|---|---|---|---|
VA Vercel Ai Gateway | $2.00 | $10.00 | — | — |
X xAInative | $2.00 | $10.00 | — | — |
Input vs output · per provider
Cost calculator
Use this block to stress test Grok 2 cost without a spreadsheet. All estimates come from public list rates in this page.
Provider
0.200000¢ / req
0.500000¢ / req
Model specifications
These fields describe Grok 2 as we store it (source: xAI). They sit next to price so buyers can check limits and tools in one place.
- Context window
- 131,072 tokens
- Max output
- 4,000 tokens
- Vision (images)
- No
- Tool / function calling
- Yes
- Streaming
- No
- Released
- N/A
- Primary provider
- xAI
- Model family
- N/A
Compare Grok 2
Jump into a comparison when you want one table for two models instead of two tabs. 6 curated matches for Grok 2.
Locked
Compare with
Pick a model on both sides.
Popular Grok 2 comparisons
- Grok 2 vs GPT-4o
Same output pricing
- Grok 2 vs Claude Sonnet 4.6
Grok 2 33% cheaper on output
- Grok 2 vs Gemini 2.0 Flash
Gemini 2.0 Flash 96% cheaper on output
- Grok 2 vs Llama 3.1 70B
Compare pricing side by side
- Grok 2 vs Mistral 7B
Mistral 7B 97% cheaper on output
- Grok 2 vs GLM 4.7
GLM 4.7 78% cheaper on output
Frequently asked questions
Answers pull from the same numbers you see on this page.
Related models
Models close to Grok 2 by family, provider, and context window — each with live pricing in our catalog.