xAI's Grok models offer something no other AI API can: built-in real-time access to X/Twitter data. This guide breaks down the complete pricing for all 4 Grok models — Grok 4.5, Grok 4.3, Grok 4.20, and Grok Build 0.1 — with cost-per-request examples and head-to-head comparisons against GPT-5, Claude, and Gemini.

All xAI Grok Models: Pricing Overview

xAI currently offers 4 Grok models via API. Grok 4.5 is the recommended default; Grok 4.20 and 4.3 are mid-tier options; Grok Build 0.1 handles budget workloads.

Model Input / 1M Tokens Output / 1M Tokens Context Window Tier
Grok 4.5 Recommended $2.00 $6.00 500K Flagship
Grok 4.20 $1.25 $2.50 1M Mid
Grok 4.3 $1.25 $2.50 1M Mid
Grok Build 0.1 $1.00 $2.00 256K Budget

Which Grok Model Should You Pick?

Here's the quick decision framework:

Cost Per Request: Real Examples

Here's what you'll actually pay per request across all 4 models:

Use Case Input Tokens Output Tokens Grok 4.5 Grok 4.20 / 4.3 Build 0.1
Quick chat message 800 250 $0.0031 $0.0016 $0.0013
Social media analysis 2,000 800 $0.0088 $0.0045 $0.0036
Long-form content 1,500 2,000 $0.0150 $0.0069 $0.0055
Code generation 2,500 1,000 $0.0110 $0.0056 $0.0045

Monthly Cost Projections

At typical usage volumes, here's what you'd pay monthly:

Volume Requests/Day Grok 4.5 Grok 4.20 / 4.3 Build 0.1
Hobby / Testing 100 ~$27 ~$14 ~$11
Startup 1,000 ~$270 ~$140 ~$110
Scale-up 10,000 ~$2,700 ~$1,400 ~$1,100

Based on average chat request: 1,500 input tokens, 400 output tokens.

Grok vs Competitors: Head-to-Head

How does Grok stack up against the big three? Grok is significantly cheaper than GPT-5 and Claude flagships, with the unique advantage of real-time X/Twitter data access.

Model Input / 1M Output / 1M Real-time Data Context
Grok 4.5 $2.00 $6.00 ✅ X/Twitter 500K
Claude Sonnet 5 intro $2.00 $10.00 200K
Gemini 3.1 Pro $2.00 $12.00 1M
GPT-5 $10.00 $30.00 128K
Grok 4.20 / 4.3 $1.25 $2.50 ✅ X/Twitter 1M
Claude Haiku 4.5 $0.80 $4.00 200K
GPT-5 mini $1.50 $6.00 128K
Grok Build 0.1 $1.00 $2.00 ✅ X/Twitter 256K

Key Takeaways

When to Use Grok 4.5

Grok 4.5 is xAI's recommended default. Use it when you need:

When to Use Grok 4.20 or 4.3

At $1.25/$2.50 with 1M context, these models are the sweet spot for large-context workloads:

When to Use Grok Build 0.1

Grok Build 0.1 is the smart choice for high-volume, cost-sensitive workloads:

xAI Free Tier

New xAI accounts receive $25 in free credits. Here's how far that goes:

The free tier is generous enough for serious prototyping. On Grok Build 0.1, you can run tens of thousands of requests before spending $25.

5 Tips to Reduce Grok API Costs

Calculate your exact Grok API costs

xAI Grok Cost Calculator →

Related Resources

Want to optimize your AI API costs?

APIpulse includes free cost comparisons, exports, and recommendations that can save you up to 40%.

Free Cost Audit →
💸 Looking for Grok Alternatives?
Compare Grok 4.5 against Claude, GPT-5, and Gemini — see which wins for your use case.
Compare xAI vs OpenAI →

For a complete breakdown of Grok 4.5 features and how it compares to Claude and GPT, see the Grok 4.5 complete guide on AIMadeTools.