xAI’s Grok models have become one of the most compelling options for developers in 2026. With 2 million token context windows, aggressive pricing, and generous free credits, Grok deserves serious consideration for your next AI project.
💰 API Pricing (Per 1 Million Tokens)
🧠 Grok 4.20 — The Flagship
| Cost Type | Price per 1M Tokens |
|---|---|
| Input | $2.00 |
| Output | $6.00 |
| Cached Input | ~$0.20 |
Context window: 2,000,000 tokens — the largest in the industry. Process entire codebases, books, or months of conversation in a single request.
⚡ Grok 4.3 — The Sweet Spot
| Cost Type | Price per 1M Tokens |
|---|---|
| Input | $1.25 |
| Output | $2.50 |
| Cached Input | ~$0.13 |
Context window: 1,000,000 tokens. Nearly as capable as 4.20 at roughly 60% less cost on output tokens.
🚀 Grok 4.1 Fast — The Budget Rocket
| Cost Type | Price per 1M Tokens |
|---|---|
| Input | $0.20 |
| Output | $0.50 |
| Cached Input | ~$0.02 |
Context window: 2,000,000 tokens. At $0.20/M input, this is one of the cheapest reasoning-capable models from any provider.
🔍 Search & Tools Pricing
Live Search
| Sources Used | Cost per Request |
|---|---|
| 1 source (Web only) | $0.025 |
| 4 sources (Web + X + News + RSS) | $0.10 |
Billing: $25.00 per 1,000 sources requested.
Documents Search & Image Generation
| Feature | Cost |
|---|---|
| Document Search | $2.50 / 1K requests |
| File & Collection Storage | Free |
| Image Generation | $0.07 per image |
| Video Generation | $4.20 per minute |
🎁 Free API Credits
xAI offers up to $175/month in free promotional credits through data-sharing programs — perfect for startups testing the platform.
📊 Real-World Cost Example
Scenario: 10,000 chatbot conversations/day (500 tokens in, 200 tokens out):
| Model | Daily Cost | Monthly Cost |
|---|---|---|
| Grok 4.20 | $22.00 | $660 |
| Grok 4.3 | $11.25 | $338 |
| Grok 4.1 Fast | $2.00 | $60 |
✅ Key Takeaways
- Grok 4.1 Fast at $0.20/M input is among the cheapest reasoning models available
- 2M token context windows are the largest in the industry
- Grok 4.3 offers the best price-to-performance for production apps
- Free credits ($175/mo) make Grok exceptionally startup-friendly
- Live Search integration makes Grok ideal for real-time information tasks
Prices current as of May 2026. Check xAI documentation for the latest rates.