Grok API Pricing: Every xAI Model, Compared
Grok API Pricing Table
Prices are in USD per million text tokens. Input means uncached input. Add any tool charges and applicable taxes. A dash marks a rate or limit without a separate published figure.
| Model | Input | Output | Cache read | Context (tokens) |
|---|---|---|---|---|
| Grok 4.20 0309 Non-Reasoning | $1.25 | $2.50 | $0.20 | 1,000,000 |
| Grok 4.20 0309 Reasoning | $1.25 | $2.50 | $0.20 | 1,000,000 |
| Grok 4.20 Multi-Agent 0309 | $1.25 | $2.50 | $0.20 | 1,000,000 |
| Grok 4.3 | $1.25 | $2.50 | $0.20 | 1,000,000 |
| Grok 4.5 | $2.00 | $6.00 | $0.30 | 500,000 |
| Grok 4.6 | $2.00 | $6.00 | $0.50 | 500,000 |
| Grok 4.7 | $2.00 | $6.00 | $0.50 | 500,000 |
Rate records verified 2026-11-14 – 2026-11-25. Official pricing · docs.x.ai
Billing conditions and long-context rates
- Grok 4.5, Grok 4.6, Grok 4.7 — Standard global endpoint rates. US regional endpoints cost 10% more. The official table applies long-context rates to the entire request at 200K input tokens or above.
| Model | Input threshold per request | Input | Output | Cache read |
|---|---|---|---|---|
| Grok 4.20 0309 Non-Reasoning | ≥ 200,000 | $2.50 | $5.00 | $0.40 |
| Grok 4.20 0309 Reasoning | ≥ 200,000 | $2.50 | $5.00 | $0.40 |
| Grok 4.20 Multi-Agent 0309 | ≥ 200,000 | $2.50 | $5.00 | $0.40 |
| Grok 4.3 | ≥ 200,000 | $2.50 | $5.00 | $0.40 |
| Grok 4.5 | ≥ 200,000 | $4.00 | $12.00 | $0.60 |
| Grok 4.6 | ≥ 200,000 | $4.00 | $12.00 | $1.00 |
| Grok 4.7 | ≥ 200,000 | $4.00 | $12.00 | $1.00 |
Cheapest Grok Model per Million Tokens
Each column shows the cost in USD for 1M tokens at short-context rates. High cache reuse assumes an existing cache, with 800K cached input, 100K fresh input and 100K output. Bold prices are the lowest in each column, including ties.
| Model | |||
|---|---|---|---|
| Grok 4.20 0309 Non-Reasoning | $1.25 (lowest) | $1.875 (lowest) | $0.535 (lowest) |
| Grok 4.20 0309 Reasoning | $1.25 (lowest) | $1.875 (lowest) | $0.535 (lowest) |
| Grok 4.20 Multi-Agent 0309 | $1.25 (lowest) | $1.875 (lowest) | $0.535 (lowest) |
| Grok 4.3 | $1.25 (lowest) | $1.875 (lowest) | $0.535 (lowest) |
| Grok 4.5 | $2.00 | $4.00 | $1.04 |
| Grok 4.6 | $2.00 | $4.00 | $1.20 |
| Grok 4.7 | $2.00 | $4.00 | $1.20 |
A short classification request can use the lower-priced Grok 4.20 Non-Reasoning. The Reasoning and Multi-Agent variants have the same token rates. Grok 4.3 and all three 4.20 variants have a 1M-token window and switch tiers at 200K input tokens.
Grok Subscription vs API: Which Costs Less
These estimates add up short requests with equal numbers of fresh input and output tokens. Each request stays below its model’s long-context threshold. The subscription example uses an individual Premium seat on The X Subscription. The final charge depends on weekly included usage and top-ups. xAI publishes no fixed token allowance for the seat.
| Monthly tokens | Grok 4.3 API | Premium monthly bill |
|---|---|---|
| 10M | $18.75 | $30 + any extra usage |
| 50M | $93.75 | $30 + any extra usage |
| 200M | $375.00 | $30 + any extra usage |
Other monthly individual plans include Plus ($8), Super ($100) and Ultra ($200). Free includes limited in-app usage. Applications that call the API with a key are billed to their API team. Subscription prices · Weekly usage rules
Grok vs GPT vs Gemini vs Claude
These flagship text models were offered in the same period. Rates are USD per million tokens for short Standard requests, with peak pricing for DeepSeek and promotional rates marked below.
| Model | Input | Output | Cache read |
|---|---|---|---|
| Grok 4.7 | $2.00 | $6.00 | $0.50 |
| Claude Opus 5.5 | $4.00 | $20.00 | $0.20 |
| GPT 6.2 Astra | $8.00 | $40.00 | $0.40 |
| Gemini 4 Carbon · Promotional | $2.00 | $10.00 | $0.10 |
When Grok Is the Right Choice
For document analysis, check both window size and billing tier. Grok 4.7 has a 500K-token window. At 200K input tokens the input, cache-hit and output rates double for the whole request. For current events, enable Web Search or X Search and add the applicable tool charges to token costs. Models and real-time data · Tool pricing
Frequently asked questions
Does the Grok API have a free allowance?
Standard billing draws on a team’s prepaid credits or monthly invoice. xAI lists no universal free API token allocation. Check your team’s Console balance for any available credits. Official documentation
How does xAI bill API usage?
xAI meters fresh input, cached input and output for each request. US regional inference carries a 10% uplift on global token rates. Search and other tools have separate charges. Official documentation
How much does cached input cost?
For Grok 4.3, short requests cost $0.20 per million cached input tokens and $1.25 per million fresh input tokens. At 200K input tokens the rates rise to $0.40 and $2.50. Official documentation
Does a Grok subscription cover API requests?
The X Subscription shares a weekly allowance across eligible first-party Grok and Cursor surfaces. Requests sent with an API key are metered to the corresponding API team. Official documentation