xAI Grok API Pricing Guide 2026: Grok 4.3 and Grok Build 0.1
xAI rebranded its Grok lineup in June 2026. Grok 3 is now Grok 4.3 ($1.25/$2.50) and Grok 3 Mini is now Grok Build 0.1 ($0.30/$0.50). Here's the full breakdown.
🚨 June 15 deadline: See all 39 alternatives, calculate your savings, and get migration code on our Claude 4 Deprecation Hub.
xAI Grok Model Lineup
xAI offers two API models, each targeting different use cases and budgets:
| Model | Input (per 1M tokens) | Output (per 1M tokens) | Context Window | Tier |
|---|---|---|---|---|
| Grok 4.3 (fka Grok 3) | $1.25 | $2.50 | 128K | Mid |
| Grok Build 0.1 (fka Grok 3 Mini) | $0.30 | $0.50 | 128K | Budget |
Grok 4.3: The Flagship
Grok 4.3 (formerly Grok 3) is xAI's most capable model, designed for complex reasoning, coding, and general-purpose tasks. At $1.25/$2.50 per 1M tokens, it's now priced competitively with GPT-5 ($1.25/$5) and significantly cheaper than Claude Sonnet 4.6 ($3/$15).
What Makes Grok 4.3 Different
Real-time knowledge: Grok 4.3 has access to real-time information through X (Twitter), giving it an edge for current events and trending topics.
Unfiltered responses: Grok is known for fewer content restrictions compared to competitors, making it popular for creative and open-ended tasks.
X/Twitter integration: Native understanding of social media content, threads, and trends.
Grok Build 0.1: The Budget Option
Grok Build 0.1 (formerly Grok 3 Mini) is xAI's answer to GPT-4o mini and Claude Haiku. At $0.30/$0.50 per 1M tokens, it's significantly cheaper than most competitors while maintaining solid performance for routine tasks.
| Model | Input | Output | Context | Best For |
|---|---|---|---|---|
| Grok Build 0.1 | $0.30 | $0.50 | 128K | Chatbots, classification, simple Q&A |
| GPT-4o mini | $0.15 | $0.60 | 128K | General budget tasks |
| Claude Haiku 4.5 | $0.80 | $4.00 | 200K | Fast classification, summarization |
| DeepSeek V4 Flash | $0.14 | $0.28 | 128K | Cheapest option overall |
Use Case Cost Breakdowns
1. Chatbot (10K requests/day)
Assuming 500 input tokens and 300 output tokens per request, running 30 days/month:
| Model | Monthly Input Cost | Monthly Output Cost | Total Monthly |
|---|---|---|---|
| Grok 4.3 | $1.88 | $2.25 | $4.13 |
| Grok Build 0.1 | $0.45 | $0.45 | $0.90 |
| GPT-4o | $3.75 | $9.00 | $12.75 |
| Claude Sonnet 4.6 | $4.50 | $13.50 | $18.00 |
Verdict: Grok Build 0.1 is the cheapest at $0.90/month. Grok 4.3 at $4.13 is now 68% cheaper than GPT-4o for chatbot workloads.
2. Code Generation (500 requests/day)
Assuming 2,000 input tokens and 1,500 output tokens per request:
| Model | Monthly Input Cost | Monthly Output Cost | Total Monthly |
|---|---|---|---|
| Grok 4.3 | $3.75 | $5.63 | $9.38 |
| Grok Build 0.1 | $0.90 | $1.13 | $2.03 |
| GPT-4o | $7.50 | $22.50 | $30.00 |
| DeepSeek V4 Pro | $6.54 | $19.62 | $26.16 |
Verdict: Grok 4.3 at $9.38 is now 69% cheaper than GPT-4o for code generation. Grok Build 0.1 at $2.03 is the cheapest option for simpler code tasks.
3. Document Analysis (1,000 requests/day)
Assuming 3,000 input tokens and 500 output tokens per request:
| Model | Monthly Input Cost | Monthly Output Cost | Total Monthly |
|---|---|---|---|
| Grok 4.3 | $11.25 | $7.50 | $18.75 |
| Grok Build 0.1 | $2.70 | $0.75 | $3.45 |
| GPT-4o | $22.50 | $15.00 | $37.50 |
| Gemini 2.5 Pro | $11.25 | $15.00 | $26.25 |
Verdict: Grok 4.3 at $18.75 beats GPT-4o ($37.50) for document analysis. Grok Build 0.1 at $3.45 is the cheapest option for high-volume processing.
When to Choose xAI Grok
Choose Grok 4.3 when:
- You need real-time information about current events or trends
- Your application involves X/Twitter content analysis
- You want fewer content restrictions for creative tasks
- You're already in the xAI/Elon Musk ecosystem
Choose Grok Build 0.1 when:
- You need a budget model with solid general capabilities
- Your use case involves chatbots, classification, or simple Q&A
- You want real-time knowledge at a low price point
- You're testing the xAI ecosystem before committing to Grok 4.3
Consider alternatives when:
- Price is the primary concern: DeepSeek V4 Flash ($0.14/$0.28) is cheaper
- You need the largest context window: Gemini models offer up to 1M tokens
- You need the best code generation: Claude Sonnet 4.6 or GPT-5 may be better
- You need enterprise features: OpenAI and Anthropic have more mature tooling
See exactly how much you'd save with xAI Grok. Compare pricing across all 39 models.
Try the Free Calculator →Want to see how Grok stacks up against OpenAI?
Compare xAI Grok vs OpenAI GPT →Cost Optimization Tips for Grok
- Use Grok Build 0.1 for routine tasks: It's 4x cheaper on input and 5x cheaper on output than Grok 4.3
- Implement model routing: Route simple queries to Grok Build 0.1, complex ones to Grok 4.3
- Set max_tokens limits: Grok 4.3 output is $2.50/1M tokens — cap it to avoid runaway costs
- Batch similar requests: Process multiple documents in a single prompt when possible
- Monitor usage closely: xAI's usage dashboard may lag — track costs independently
The Bottom Line
xAI Grok occupies a unique niche in the LLM API market. Grok 4.3 at $1.25/$2.50 is now priced competitively with GPT-5 and significantly cheaper than Claude Sonnet 4.6, while offering unique real-time X/Twitter data access. Grok Build 0.1 is a solid budget option, though DeepSeek V4 Flash remains the cheapest overall.
The best strategy: use Grok Build 0.1 for high-volume, low-complexity tasks and reserve Grok 4.3 for tasks where real-time knowledge or creative freedom matters. Combine with other providers for the best cost-to-quality ratio.
Share on X Share on LinkedInStay Updated on API Pricing
Get notified when xAI or other providers change their pricing.