Grok 4 API Pricing 2026
Compare pricing, benchmarks, and providers for Grok 4. Find the best value for your use case.

Best LLMs for OpenClaw— Vote for which model works best with OpenClaw
112 out of our 301 tracked models have had a price change in February.
Get our weekly newsletter on pricing changes, new releases, and tools.
Overview
Grok 4 was released on July 9, 2025. Pricing starts at $3.00 per million input tokens and $15.00 per million output tokens. The model supports a context window of up to 256K tokens. API access is available through Xai.
Pricing Comparison
Compare Grok 4 with 10 similar models by price.
Current Pricing (per 1M tokens)
11 models
Provider | Model | Input $/M | Output $/M | Coding | MMLU | GPQA | Context | Actions |
|---|---|---|---|---|---|---|---|---|
X | $3.000 | $15.000 | 81.9 | 86.6 | 87.7 | 256,000 | ||
CO | $2.500 | $10.000 | 28.7 | 71.2 | 52.7 | 256,000 | ||
$2.500 | $10.000 | — | — | — | 128,000 | |||
$2.500 | $10.000 | — | — | — | 8,000 | |||
$2.500 | $10.000 | — | — | — | 8,000 | |||
AM | $2.500 | $12.500 | 31.7 | 73.3 | 56.9 | 1,000,000 | ||
$2.500 | $10.000 | 31.7 | — | 52.1 | 128,000 | |||
X | $3.000 | $15.000 | — | — | — | 131,072 | ||
$3.000 | $15.000 | — | — | — | 200,000 | |||
$3.000 | $4.000 | — | — | — | 16,385 | |||
$3.000 | $15.000 | 59.0 | 86.0 | 72.7 | 1,000,000 |
* Some models use tiered pricing based on prompt length. Displayed prices are for prompts ≤ 200k tokens.
Compare Providers
Grok 4 is available from multiple providers with different pricing and availability.
Provider Pricing
2 models
Provider | Input $/M | Output $/M | Uptime |
|---|---|---|---|
V Vercel Best Price | $3.000 | $15.000 | - |
xAI Best Price | $3.000 | $15.000 | 100.0% |
Community Rankings
How does Grok 4 perform? Vote based on your experience.
Cost vs. Quality
Compare Grok 4's benchmark performance against all models.
Detailed Benchmark Scores
Try Grok 4
Use our Calculator
Estimate your costs based on expected token usage.
Open Cost CalculatorTry in Playground
Test Grok 4 directly in your browser.
Open PlaygroundCompare Grok 4
Similar Price Range
Same Provider
Popular Competitors
Frequently Asked Questions
All Xai Models
See pricing for all Xai models.
View all Xai models →