xAI Pricing Calculator
Updated July 2026Estimate costs for Grok 4.5, Grok 4.3, Grok 4.20 Beta, Grok 4, Grok 4.1 Fast, Grok 3 Mini, and other xAI models based on your token usage.
xAI pricing: xAI Grok API pricing 2026: grok-4.5 flagship $2 in / $6 out per 1M tokens, grok-4.3 $1.25/$2.50, agentic web + X search $5 per 1k calls, SuperGrok $30/mo. Use the free calculator below to enter your usage and get an instant all-in monthly estimate — including overages — and see which plan is cheapest for your needs.
How xAI prices: Public per-million-token Grok API (grok-4.5 flagship $2 in / $6 out, grok-4.3 $1.25 / $2.50, cached from $0.20) plus per-1k-call agentic tools; consumer SuperGrok subscriptions sit alongside.
Best fit at your usage: Grok 4 Fast
$1.35/mo— saves $13.65/mo vs your selection
Token Usage
Average number of tokens you send per API call
Average number of tokens the model generates per call
Request Volume
How many API calls do you make daily?
Compare Plans at Your Usage
Monthly Estimate
Grok 4.5
$15.00
per month
Cost Breakdown
Daily
$0.50
Annual
$180.00
Why Grok 4 Fast — $1.35/mo
- Grok 4 Fast at $1.35/mo.
- Output tokens is 56% of your bill — the lever that matters most.
Budget range
Plan for usage swings, not just today's estimate.
Conservative
$12.00
500 tokens/mo
Expected
$15.00
1K tokens/mo
Aggressive
$21.00
2K tokens/mo
Need a calculator like this on your pricing page?
Embed interactive pricing calculators on your website to help customers understand costs and boost conversions.
Get StartedAbout this xAI calculator
This calculator estimates your xAI cost from publicly available pricing. Actual costs may vary with your specific agreement, volume discounts, and usage patterns — always verify on the provider's official pricing page for the most current rates.
xAI pricing — frequently asked questions
What is xAI's pricing model? ▼
xAI bills the Grok developer API per million tokens across a good-better-best model ladder — the grok-4.5 flagship at $2 input / $6 output and the still-live grok-4.3 at $1.25 / $2.50 (cached $0.20) — with agentic tools (web search, X search, code execution) metered separately at $5 per 1,000 calls. A separate consumer Grok app is freemium ($0 Free, $30/mo SuperGrok on Grok 4.5).
How much does the Grok API cost per million tokens? ▼
Short-context rates: grok-4.5 (500k context) is $2.00 per 1M input and $6.00 per 1M output, cached input $0.30; grok-4.3 (1M context) is $1.25 / $2.50 (cached $0.20); grok-build-0.1 is $1.00 in / $2.00 out. Once a request's prompt reaches 200k tokens the whole request bills at the long-context column — $4.00 / $12.00 for grok-4.5 and $2.50 / $5.00 for grok-4.3. Media and voice are priced separately (e.g. images from $0.02, TTS $15.00 per 1M characters).
Does xAI offer a free tier? ▼
Yes, on two surfaces. The consumer Grok app has a Free plan at $0/month with real-time web and X search, voice mode, and connectors. On the API side, xAI ran $25/month in free credits during the 2024 public beta and continues to offer promotional credits.
How does Grok API pricing compare to OpenAI and Anthropic? ▼
At $1.25 in / $2.50 out, grok-4.3 undercuts most frontier flagships on output tokens, while the July 2026 grok-4.5 flagship ($2 / $6) adds a premium intelligence rung above it. Grok 4 launched in July 2025 at $3 / $15 per 1M tokens; xAI then cut per-token rates dramatically before grok-4.5 became its first flagship priced above its predecessor — positioning Grok as price-aggressive at the value rung and competitive at the frontier.
Is this xAI pricing calculator free and accurate? ▼
Yes — it's completely free with no signup. It uses the latest publicly available xAI pricing (verified July 2026). Actual costs may vary with volume discounts or enterprise terms — always confirm on xAI's official pricing page.