Grok 4.5
SpaceXAI's frontier coding and agentic model, with a 500K context window, reasoning effort control, and long-context tiered pricing at or above 200K input tokens.
Source: xAI API docs, xAI console
Pricing
Every billing leg from the live catalog, in USD per 1M tokens.
| Billing leg | Rate |
|---|---|
| Input | $2 / M |
| Output | $6 / M |
| Cache read | $0.3 / M |
Cost calculator
Billing-grade math over the rate card above, including the thinking tokens most estimates miss.
Hidden reasoning tokens bill as output. 1.0x = thinking off. Medium-effort reasoning typically lands near 3x; heavy reasoning runs 6x to 8x. Set it to match your workload.
Compare providers
The same model, priced across every platform that serves it. Lowest combined in/out rate is flagged.
| Platform | Input / M | Output / M | Cache read / M | Batch | Access |
|---|---|---|---|---|---|
xAILowest | $2 | $6 | $0.3 | — | First-party API |
Cursor | $2 | $6 | $0.5 | — | Direct |
Price history
Has this model gotten cheaper or more expensive?
| Effective | Input / Output | Status |
|---|---|---|
| July 9, 2026 – July 19, 2026 | $2 / $6 | past |
| July 19, 2026 | $2 / $6 | current |
More from xAI (Grok)
Other models from the same provider.
Stop estimating. Track it.
SuperPenguin meters every Grok 4.5 call your team makes, prices it with this exact rate card, and shows spend by feature, customer, and team.
Rates are generated from SuperPenguin's live pricing catalog.