Grok 2 Pricing
BalancedxAI · 131K tokens context
Grok 2 from xAI costs $2.00 per 1 million input tokens and $10.00 per 1 million output tokens as of May 2026. The model supports a 131,072-token context window (approximately 98,304 words) with a 4K-token maximum output. A typical 1,000-token request costs $0.0020 in input charges; a 10,000-token request costs $0.0200.
| Input price | $2.00 / 1M tokens |
|---|---|
| Output price | $10.00 / 1M tokens |
| Output / input ratio | 5.0× |
| Context window | 131,072 tokens (~98,304 words) |
| Maximum output | 4,096 tokens |
| Cost per 1K tokens (input) | $0.0020 |
| Tier | Balanced |
| Last verified |
Grok 2 is xAI's general-purpose model with built-in real-time context from X (Twitter). Competitive on text reasoning and uniquely positioned for social/news-aware applications.
Input Price
$2.00
per 1 million tokens
Output Price
$10.00
per 1 million tokens
Context Window
131K tokens
max 4K output
Cost Examples
| Request Type | Tokens | Input Cost | Output Cost |
|---|---|---|---|
| 1,000 word article | 1,333 | $0.00267 | $0.004 |
| 10-page document (2,500 words) | 3,333 | $0.00667 | $0.01 |
| 1,000 lines of code | 5,000 | $0.01 | $0.015 |
| 100K token document | 100,000 | $0.20 | $0.30 |
Output cost estimated at 30% of input token count. Use the calculator for exact figures.
Strengths
- ✓Built-in real-time knowledge via X integration
- ✓Competitive general-purpose quality
- ✓128K context
Limitations
- –Pricing matches frontier models without the ecosystem
- –Limited multimodal
Best Use Cases
Calculate Grok 2 Costs
Use the TokenRate calculator to convert any budget, token count, or text into exact Grok 2 costs — and compare across all models.
Open Calculator →Grok 2 — FAQ
Related Models
Related Guides