Building an app or budgeting an agent? Start with the model you will actually run. The May 15, 2026 migration notice says the original Grok 4 ID now resolves to Grok 4.3 with low reasoning effort. A successful call to an old ID no longer proves that the original model served it.
API usage is metered separately from Grok’s consumer subscriptions. Grok subscription and access pricing covers the chat plans; those monthly fees are not token credits for a direct xAI integration.
Want to try a prompt before wiring it into an app? Try Grok 4.6 on GlobalGPT for a chat-based workflow. Use an xAI API key for your own integration and direct xAI billing. This article is published by GlobalGPT; product links use referral tracking.
Grok 4 API pricing: current rates and the retired original
The table below uses xAI list prices checked on September 8, 2026. Each amount is USD per one million tokens. Input, cached input and output are separate billable categories, so a single blended “price per million” hides the workload’s cost.
USD per 1M tokens · standard processing
grok-4.3
Original Grok 4 redirect target
コンテキスト 1,000,000トークン
Prompt < 200K
- インプット
- $1.25
- キャッシュされた入力
- $0.20
- Output / reasoning
- $2.50
Prompt >= 200K
- インプット
- $2.50
- キャッシュされた入力
- $0.40
- Output / reasoning
- $5.00
grok-4.6
現在のフラッグシップ
コンテキスト 500,000 tokens
Prompt < 200K
- インプット
- $2.00
- キャッシュされた入力
- $0.50
- Output / reasoning
- $6.00
Prompt >= 200K
- インプット
- $4.00
- キャッシュされた入力
- $1.00
- Output / reasoning
- $12.00
grok-4.5
Earlier current-generation option
コンテキスト 500,000 tokens
Prompt < 200K
- インプット
- $2.00
- キャッシュされた入力
- $0.30
- Output / reasoning
- $6.00
Prompt >= 200K
- インプット
- $4.00
- キャッシュされた入力
- $0.60
- Output / reasoning
- $12.00
Once the prompt reaches 200K tokens, long-context rates apply to all tokens in that request, including output.
The other listed Grok 4-family IDs are grok-4.20-0309-reasoning, grok-4.20-0309-non-reasoning そして grok-4.20-multi-agent-0309. Each has a 1M-token context window and the same listed short/long token rates as Grok 4.3. The matching unit price does not imply matching total token consumption, especially for multi-agent work.
For a coding-specific alternative, grok-build-0.1 has a 256K context window and short-context input/cache/output rates of $1.00/$0.20/$2.00, rising to $2.00/$0.40/$4.00 at the 200K prompt threshold. For broader behavior and use cases, see our Grok 4.6 review.

What happened to the original $3 / $15 price?
Older references, including our Grok 4 API integration guide, quote $3 per million input tokens and $15 per million output tokens for the original Grok 4. Treat that as a historical quote, not today’s bill for a retired ID. The old official model URL now leads to the general model catalog, so this is not a newly verified archival price sheet.
について original Grok 4 announcement describes a 256,000-token context window. That historical capacity, and older Fast-model prices or thresholds, must not be copied into a budget for the replacement. The precise rule for grok-4-0709 is now Grok 4.3 with low reasoning effort, billed at Grok 4.3 rates.

Grok 4 is a model generation, while Grok is also the name of a consumer product. Our explanation of what Grok 4 is provides that product background. For new code, explicitly select a supported model instead of relying on a retirement redirect or assuming a provider’s alias stays fixed.
How input, cached input and reasoning affect the bill
One request, three token charges
キャッシュされていない入力
(I – C) × input rate
I = all prompt tokens; C = cached prompt tokens.
キャッシュされた入力
C × cache rate
Cached tokens are part of input, not extra input.
Billable output
O × output rate
O includes reasoning when the endpoint reports it inside output.
Token estimate in USD = [(I – C) × input rate + C × cached-input rate + O × output rate] / 1,000,000. Then add applicable tool, storage or other charges. Select the long-context rates using the total prompt, including cached tokens, before doing the arithmetic.
Input includes the messages, instructions and conversation history sent to the model. Caching reuses an identical starting prefix across requests; it is automatic, and xAI recommends a conversation identifier to improve reuse. A similar-looking prompt does not guarantee a cache hit. The prompt-caching documentation explains the matching behavior.
In Chat Completions, read prompt_tokens_details.cached_tokens; in Responses, read input_tokens_details.cached_tokens. . cache usage and pricing reference bills reasoning tokens at the full completion rate. If the output total already includes reasoning, adding reasoning_tokens again would double-count it.
Grok 4.6 supports low, medium, high and xhigh reasoning effort; its documented default is high, and reasoning cannot be disabled. Grok 4.3 supports none, low, medium and high. That makes Grok 4.3 with none worth evaluating for strict extraction jobs, while Grok 4.6 may spend more tokens even when its visible answer is short. See the reasoning settings and Grok 4.3’s model entry above.
Tool calls, batch work and priority requests
Per the official tool price table, Web Search, X Search and Code Execution each cost $5 per 1,000 calls, or $0.005 per call, plus token consumption. A request can invoke tools more than once. Ten search calls add $0.05 before model tokens; enabling a tool does not tell you how many times it will be used.
File-attachment search costs $10 per 1,000 calls; Collections Search costs $2.50 per 1,000. Stored files and collections also have daily storage and download charges. Images and video use their own price units, so keep those out of a text-only token estimate. Our Grok image and video workflow tutorial covers that separate generation route.
について バッチAPI offers a 20% token discount for Grok 4.3 and the three listed Grok 4.20 variants. The discount covers input, cached input, output and reasoning tokens. Grok 4.6’s model page marks Batch API as not supported. Do not apply a blanket 50% discount or assume every listed model supports batch processing.
優先処理 costs 2x standard token rates, including cached and reasoning tokens, when the returned service_tier confirms priority. A fallback to the default tier uses standard rates. Priority applies to Chat Completions and Responses, not Batch API.
Three transparent API cost examples
These are list-price estimates, not observed invoices. All requests below use standard processing, text only, no tools, no storage, no retries and no taxes. “Output” includes any billable reasoning. The first two workloads assume prompts below 200K tokens.
Cost per request and per 10,000 requests
Grok 4.3 · no cache
$0.005 / request
2,000 input × $1.25 + 1,000 output × $2.50, divided by 1M. 10,000 requests = $50.
Grok 4.6 · no cache
$0.010 / request
2,000 input × $2 + 1,000 output × $6, divided by 1M. 10,000 requests = $100.
Grok 4.6 · 90% input cached
$0.0073 / request
200 uncached × $2 + 1,800 cached × $0.50 + 1,000 output × $6, divided by 1M. 10,000 requests = $73.
A high cache-hit rate helps most when input dominates the workload. In that Grok 4.6 example, caching saves $0.0027 per call, or 27% of the total, even though 90% of input tokens are cached. The output charge stays at $0.006. Judge savings against the entire request, not only the cached portion.
The 200K prompt threshold can change the whole request
One more input token crosses the price threshold
199,999 prompt tokens
$0.459998
Grok 4.6: (199,999 × $2 + 10,000 output × $6) / 1M. No cache.
200,000 prompt tokens
$0.920000
Grok 4.6: (200,000 × $4 + 10,000 output × $12) / 1M. No cache.
The main pricing table explicitly uses “Long context >= 200k tokens” and says all tokens use the higher rate once the prompt reaches the threshold. Some model-detail text says “exceed” 200K. For budgeting at exactly 200,000, use the explicit pricing-table boundary; do not assume the cheaper rate still applies.
For a monthly forecast, estimate request volume separately for each workload, context band, cache-hit pattern and reasoning setting. Add expected retries and tool invocations. Then compare that estimate with your own returned cost data after a small pilot. A cents-per-call figure is only useful when its assumptions match production.
Context, output, rate limits and spending limits are different
Four limits to check before scaling
コンテキストウィンドウ
Per request
Grok 4.3: 1M tokens. Grok 4.6: 500K. This is not a monthly allowance.
Output budget
Per response
Set a supported output cap. Context capacity does not guarantee that much visible output.
RPS / TPM
Throughput
Requests per second and tokens per minute. Both must stay within the team tier.
Spend controls
Money
Prepaid balance, auto top-up and invoiced billing limits control separate funding behavior.
一般市民 rate-limit table lists Tier 0 at 37 requests per second and 10 million tokens per minute for Grok 4.3; Grok 4.6 is listed at 150 requests per second and 50 million tokens per minute. These are dated published tier entries, not a promise that every key has the same usable capacity. Your team’s Console is the authority for its current model access and limits.
Tiers are based on cumulative API spend since January 1, 2026: $0, $50, $250, $1,000 and $5,000 for Tiers 0 through 4. Requests are throttled per second using the per-minute request budget divided by 60, so you cannot spend a full minute’s allocation in one burst. Input, output, reasoning and cached tokens all count toward TPM, even when some cost less.
The checked Grok 4.3 and 4.6 model pages give context sizes without a separate hard maximum-output figure. The current Responses endpoint reference defines max_output_tokens as the combined output-and-reasoning budget: it defaults to 128,000 when unset and accepts a larger value for longer generations. That default is not a guarantee of 128,000 visible answer tokens or an unlimited context allowance. Set an explicit budget and inspect incomplete responses.
xAI billing documentation separates prepaid credits from monthly invoiced billing, which is disabled by default. Auto top-up can replenish prepaid credits and has its own thresholds and monthly allowance. An invoiced billing limit controls postpaid usage; it is not the same thing as a single all-inclusive cap on prepaid purchases, top-ups and requests.
For your first integration, start with limited prepaid funding and review any auto top-up setting deliberately. For everyday chat access without writing an integration, the separate how to use Grok guide covers the product workflow. A chat subscription and an API team have different controls.
Two real Grok 4.6 tasks: what the usage records reveal
We reused two completed tests from September 7, 2026, through the Broly aggregation API at https://anywhere.broly.ai/v1, using Chat Completions. Both requested and returned grok-4.6; the upstream model identity was not independently verified. These are Grok 4.6 gateway results, not original Grok 4 tests or a comparison across models.
Each task ran once with temperature=0, max_tokens=2048 そして stream=false. No tools or explicit reasoning-effort setting were sent. The same system instruction was used for both requests:
