xAI Grok API Pricing 2026
Complete pricing guide with plans, hidden costs, and cost analysis
xAI Grok API uses usage-based pricing from $1.25–$2.50 per million tokens and custom pricing for larger requirements.
Are you xAI Grok API? Claim this profile
Is xAI Grok API a fit?
Derived from this product's own pricing and contract record — not a review.
Best for
- Developers integrating Grok into their applications
- High-volume deployments and regulated workloads
Not a fit if
- You need month-to-month billing — the minimum commitment is one year.
- You want to try it before paying — there is no free plan and no trial.
- The sticker price is your whole budget — Tool Invocation Fees (and 1 more).
All xAI Grok API Plans & Pricing
| Plan | Monthly | Annual | Best For |
|---|---|---|---|
| Pay-as-you-go (Grok 4.3) | Usage-based | Not published | Developers integrating Grok into their applications |
| Verified pricing · last checked May 2026 · 1 source
Get this price at xAI Grok API →
| |||
| What's included at Pay-as-you-go (Grok 4.3) Best for: Developers integrating Grok into their applications
| |||
| Enterprise | Contact Sales | Contact Sales | High-volume deployments and regulated workloads |
| Verified pricing · last checked May 2026 · 1 source
Get this price at xAI Grok API →
| |||
| What's included at Enterprise Best for: High-volume deployments and regulated workloads
| |||
View all features by plan (compare side-by-side)
Pay-as-you-go (Grok 4.3)
- Grok 4.3: $1.25/1M input, $2.50/1M output
- 1 million token context window
- Strong agentic tool calling with minimal hallucinations
- Configurable reasoning, supports non-reasoning mode
- Pay-as-you-go via API key from console.x.ai
Enterprise
- Custom rate limits
- Dedicated support
- SLAs
- Volume discounts
Track xAI Grok API pricing
Get an email when xAI Grok API's pricing changes — plus the weekly SaaS Price Watch: verified price changes and deals across 3,000+ products. One-click unsubscribe.
You're on the list — first digest lands Tuesday.
xAI Grok API offers usage-based pricing from $1.25–$2.50 per million tokens as of August 2026 and custom pricing for larger requirements. Plan: Pay-as-you-go (Grok 4.3) (usage-based). Custom pricing is available on request. Usage cost depends on the selected model and generation volume.
Use the interactive pricing calculator to estimate your exact cost based on team size and requirements.
- Free tier: No free tier available
xAI Grok API offers 2 pricing tiers: Pay-as-you-go (Grok 4.3), Enterprise. Paid plans include Pay-as-you-go (Grok 4.3) (usage-based). The Enterprise plan is high-volume deployments and regulated workloads.
Compared to other llm api providers software, xAI Grok API is positioned at the budget-friendly price point.
- 4 documented hidden costs beyond list price
- Contracts auto-renew
- G2 rating: 4.3 out of 5 from 15 reviews (as of Jul 2026)
How much does xAI Grok API cost?
xAI Grok API Pricing Overview
xAI Grok API offers usage-based pricing from $1.25–$2.50 per million tokens and custom pricing for larger requirements. The Pay-as-you-go (Grok 4.3) plan is usage-based and is designed for developers integrating grok into their applications. The Enterprise plan requires contacting sales for a custom quote and is designed for high-volume deployments and regulated workloads.
xAI Grok API contracts auto-renew, with a one year minimum commitment.
There are at least 4 documented hidden costs beyond xAI Grok API's list price, including implementation, training, and add-on fees.
This pricing was last verified in May 23, 2026 from 1 independent source.
The xAI Grok API offers pay-as-you-go pricing for models including Grok 4, Grok 4 Fast, and Grok Code Fast, with no monthly commitment required. Token rates vary by model — flagship Grok 4 is priced at $3.00/1M input tokens and $15.00/1M output tokens via OpenRouter, while fast-tier models like Grok 4 Fast run $0.20/1M input and $0.50/1M output. Enterprise customers can negotiate custom pricing directly with xAI.
How xAI Grok API Pricing Compares
Compare xAI Grok API pricing against top alternatives in LLM API Providers.
Usage-Based Rates
Per-unit pricing for xAI Grok API API usage.
Pay-as-you-go (Grok 4.3)
| Model | Input | Output | Cached | Per |
|---|---|---|---|---|
| grok-4-3 1000K ctx | $1.25 | $2.50 | — | 1M tokens |
- Grok 4, Grok 4 Fast, and Grok Code Fast 1 retired May 15, 2026; replaced by Grok 4.3
- Voice API ($3/hour agent, $15/1M chars TTS, $0.10-$0.20/hour STT) and Imagine API ($0.02/image, $0.05/sec video) are priced separately under different units
Compare xAI Grok API vs Alternatives
Before committing to xAI Grok API, compare pricing with these 3 alternatives in the same category.
What Companies Actually Pay for xAI Grok API
| Model | Input /1M | Output /1M | Blended /1M |
|---|---|---|---|
| xAI: Grok 4 | $3.00 | $15.00 | $9.00 |
| xAI: Grok 3 | $3.00 | $15.00 | $9.00 |
| xAI: Grok 4.20 | $2.00 | $6.00 | $4.00 |
| xAI: Grok 4.20 Multi-Agent | $2.00 | $6.00 | $4.00 |
| xAI: Grok Code Fast 1 | $0.200 | $1.50 | $0.850 |
Score gap reflects platform demographics — G2 surveys verified business users; Trustpilot is open to all, skewing toward support complaints.
How xAI Grok API Pricing Compares
| Software | Starting Price | Top Price |
|---|---|---|
| xAI Grok API | $1.25 per million tokens | $2.5 per million tokens |
| Amazon Bedrock | $0.07 per million tokens | $75 per million tokens |
| Anyscale | Free | $4.9591 per million tokens |
| Baidu ERNIE API | $0.1 per million tokens | $10 per million tokens |
| Cerebras Inference API | $0.1 per million tokens | $6 per million tokens |
| Claude API | $0.1 per million tokens | $75 per million tokens |
Detailed pricing comparisons:
xAI Grok API Contract Terms
xAI Grok API contracts auto-renew. Changes require advance notice. These terms are sourced from verified buyer experiences.
xAI Grok API Price History
Pricing changes CostBench has tracked for xAI Grok API, verified across 2 snapshots going back to 2026Q2.
-
xAI Grok API price decrease
Highest tier decreased from $30 to $3/month
-91.67% -
xAI Grok API tier renamed
"Pay-as-you-go (Grok 4, Grok 4 fast, Grok Code Fast)" renamed to "Pay-as-you-go (Grok 4.3)"
View xAI Grok API's full price history →
xAI Grok API Pricing FAQ
01 How does xAI Grok API pricing work?
The xAI Grok API uses pay-as-you-go token-based pricing under the Pay-as-you-go (Grok 4, Grok 4 fast, Grok Code Fast) plan with no monthly commitment. Based on OpenRouter data, flagship Grok 4 is priced at $3.00/1M input tokens and $15.00/1M output tokens, while faster variants like Grok 4 Fast run $0.20/1M input and $0.50/1M output. Enterprise pricing is custom-quoted.
02 What is SuperGrok and how does it differ from the Grok API?
SuperGrok is a consumer subscription to grok.com priced at approximately $30/month or $300/year, offering enhanced chatbot access with features like DeeperSearch, Think Mode, and unlimited image generation. The Grok API is a separate developer product with pay-as-you-go token-based pricing for programmatic access and is distinct from any consumer subscription.
03 Can I access Grok through an X Premium subscription instead of the API?
Yes, Grok is available within the X platform to X Premium and Premium+ subscribers (Premium+ reported at $22/month), which unlocks higher usage quotas and advanced features. However, this is a consumer access path, not developer API access. The xAI Grok API for programmatic use is a separate product with pay-as-you-go token pricing.
Is this pricing incorrect? — we'll verify and update it.