xAI Grok API Pricing
Elon Musk's AI lab offering Grok models with real-time knowledge and deep X/Twitter integration
| Model | Input (per 1M tokens) | Output (per 1M tokens) | Context Window | Tier |
|---|---|---|---|---|
| Grok 3 | $30.00 | $150.00 | 128K | Premium |
| Grok 3 Mini | $3.00 | $5.00 | 128K | Mid |
Why xAI Grok?
Grok models bring unique capabilities with real-time world knowledge and native X/Twitter integration.
Real-Time Knowledge
Grok models have access to real-time information, making them ideal for tasks that require up-to-date knowledge about current events, trends, and breaking news.
X/Twitter Integration
Native integration with the X platform gives Grok unique access to social media data, conversations, and trending topics โ useful for sentiment analysis and social listening.
Competitive Pricing
Grok 3 Mini at $3.00/$5.00 per 1M tokens offers strong reasoning at a mid-tier price point. Grok 3 at $30.00/$150.00 is a premium model positioned alongside Claude 4 Opus and GPT-5.
Which Grok Model Should You Use?
Two models for different performance and cost requirements.
Grok 3
- 128K context window
- Strong reasoning and analysis
- Real-time world knowledge
- Complex multi-step tasks
- Competitive with GPT-4o and Claude Sonnet
Grok 3 Mini
- 128K context window
- Ultra-fast response times
- Classification and extraction
- High-volume workloads
- Budget-friendly pricing
xAI Grok Cost Calculator
Estimate your monthly spend on xAI Grok models.
Monthly Cost Estimate
Based on published API pricing. Actual costs may vary.
Need the full calculator with all providers? Compare xAI against OpenAI, Anthropic, Google, and more.
Try the Full APIpulse CalculatorxAI Grok vs Competitors
How xAI Grok pricing stacks up against other major LLM providers.
| Provider | Model | Input (per 1M tokens) | Output (per 1M tokens) | Context Window |
|---|---|---|---|---|
| xAI | Grok 3 | $3.00 | $15.00 | 128K |
| OpenAI | GPT-4o | $2.50 | $10.00 | 128K |
| Anthropic | Claude Sonnet 4 | $3.00 | $15.00 | 200K |
| DeepSeek | V4 Pro | $2.18 | $8.72 | 128K |
| xAI | Grok 3 Mini | $0.30 | $0.50 | 128K |
| OpenAI | GPT-4o mini | $0.15 | $0.60 | 128K |
| Gemini 2.0 Flash | $0.10 | $0.40 | 1M | |
| DeepSeek | V4 Flash | $0.14 | $0.28 | 128K |
See how xAI Grok models stack up against OpenAI, Anthropic, and more
Related Reading
Deep dives into AI pricing, provider comparisons, and cost optimization.
DeepSeek V4 Pricing Breakdown: The Cheapest Frontier Model?
A detailed look at DeepSeek V4 Pro and V4 Flash pricing, and how they compare to GPT-4o and Claude Sonnet.
Read the full breakdown →Best LLM APIs for Startups in 2026
Which AI API providers offer the best value for early-stage startups? We rank every major option by price, quality, and developer experience.
Read the full ranking →How to Switch LLM Providers Without Breaking Your App
A practical guide to migrating between AI API providers while minimizing downtime and code changes.
Read the full guide →Calculate Your xAI Grok Costs
See exactly what xAI Grok will cost for your specific workload. Compare against other providers in seconds.
Go to Calculator →Get notified when xAI prices change
No spam. Only pricing updates and new features. Unsubscribe anytime.