xAI (Grok)

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.

ActiveReleased July 8, 2026Knowledge cutoff February 1, 2026Available from 2 providers
Tool callingCan invoke external tools and APIs (function calling) mid-response.Structured outputCan return JSON or schema-constrained responses instead of free text.ReasoningUses extended thinking / chain-of-thought for harder multi-step problems.Effort controlLets you dial thinking depth (low / medium / high) to trade cost for quality.Fine-tuningSupports training a custom variant on your own data (vendor fine-tune API or self-hosted open weights).

Source: xAI API docs, xAI console

Price per 1M tokens
$2 in / $6 out
Context window500,000
Cache read$0.3 / M
ModalitiesText, Image → Text
Priced across2 providers

Pricing

Every billing leg from the live catalog, in USD per 1M tokens.

Billing legRate
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.

Estimated monthly cost
$760
at current list prices
Fresh input$400
Cached input$0.00
Output incl. thinking$360
Track this automatically →

Compare providers

The same model, priced across every platform that serves it. Lowest combined in/out rate is flagged.

PlatformInput / MOutput / MCache read / MBatchAccess
xAILowest
$2$6$0.3First-party API
Cursor
$2$6$0.5Direct

Price history

Has this model gotten cheaper or more expensive?

EffectiveInput / OutputStatus
July 9, 2026 – July 19, 2026$2 / $6past
July 19, 2026$2 / $6current

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.

Get started free

Rates are generated from SuperPenguin's live pricing catalog.