Grok 4.6 API pricing
xAI's current flagship Grok model, with configurable reasoning.
Input
$2.00
per 1M tokens
Cached input
$0.50
per 1M tokens
Output
$6.00
per 1M tokens
Context window
500K
max output 500K
Prices last synced Aug 20, 2026 from the LiteLLM community price catalog — the same catalog Marginal prices real usage events against, refreshed daily. Hand-checked against the provider's official pricing page on Aug 20, 2026. Spot an error? Tell us.
Pricing notes
- Long-context: once the prompt reaches 200K tokens, the WHOLE request bills $4.00 input / $1.00 cached / $12.00 output per 1M.
- No batch discount on this model; Priority processing bills 2x. Server-side tools (web/X search, code execution) bill $5 per 1,000 calls on top.
What would Grok 4.6 cost you?
Enter your workload — add other models to compare the same traffic across providers.
Your monthly workload
Cache hit rate = share of input tokens served from the provider's prompt cache, billed at the model's cached-input price. Estimates use standard per-token rates — batch discounts, service tiers, and long-context surcharges are not applied.
| Model | Input | Cached input | Output | Per request | Monthly |
|---|---|---|---|---|---|
| Grok 4.6 | $1,200 | $200 | $1,500 | $0.00580 | $2,900 |
Compare Grok 4.6
More from xAI
Tracking Grok 4.6 in production?
Marginal prices every call your app actually makes — cached tokens, dated snapshots, model switches included — and slices spend by customer or feature. One track() call to integrate.