Grok API Pricing: Grok 4.5, 4.6, and 4.7

Grok runs on its own AI in IDE channel. A dashboard key funded by a top-up or a subscription buys dollar quota; the Grok channel then applies 0.4× to each model's configured price. The multiplier changes how fast a request consumes quota, not how much quota you bought.

The channel exposes three text models: grok-4.5, grok-4.6, and grok-4.7. The older grok-4-5 alias is not the public model ID and is not supported.

Effective and base rates

The catalog stores xAI's published list rate per 1M tokens. AI in IDE applies the Grok channel multiplier (0.4×) once when quota is charged, and the stored catalog rate stays in its pre-multiplier form. That separation matters: the effective rate on this page is the list rate multiplied by 0.4× exactly once, never twice.

The main table below shows the effective AI in IDE quota rate for each model. The reference table underneath it shows the provider list rate before the multiplier, with the date of the checked prices.

AI in IDE quota rate
Grok 4.5 · GROKGrok 4.6 · GROKGrok 4.7 · GROK
AvailabilityAvailableAvailableAvailable
Input$0.80$0.80$0.80
Cache read$0.12$0.20$0.20
Output$2.40$2.40$2.40
Reference provider rate
Grok 4.5Grok 4.6Grok 4.7
Input$2.00$2.00$2.00
Cache read$0.30$0.50$0.50
Output$6.00$6.00$6.00

USD per 1M tokens. Quota rates use the current AI in IDE base price × 0.4. Provider prices as of 2026-11-19.

Estimate your API cost

Compare reference provider rates with AI in IDE top-up pricing using your own token mix. If your usage report includes cache reads in total input, subtract them before entering uncached input. Provider prices as of 2026-11-19.

GROK uses 0.4× the configured model price.

Reference API cost

$75.00

AI in IDE top-up cost

$7.99

Estimated quota before discounts
$30.00
Top-up rounded to
$62.5

Usage: 18.75M uncached input + 0 cache read + 6.25M output tokens.

Top-up estimates use standard USD pricing and assume a zero balance. Top-up is rounded up to the next $31.25 with a $62.5 minimum. Taxes, promotions, Fast mode, context surcharges, and actual usage may change the final price.

Every figure in that table comes from the live catalog when the page is rendered. If a model has no configured price, the cell shows an unavailable state instead of a made-up number. Provider reference prices are dated; editing the text of this page does not change that date.

Billing from actual usage

A completed request is billed from the usage the provider reports in its response, not from max_tokens, a prompt estimate, or the calculator. A generation request is allowed while the key and its funding source have a positive remaining balance. Because each finished request is charged after the fact, concurrent requests can take the balance below zero.

Streaming and non-streaming responses are both supported. A non-streaming response can take longer than 40 seconds; the proxy waits up to 15 minutes for the upstream response. The channel is text-only and has no image interface.

Model pages and setup

The model pages list the model ID, channel availability, and protocol details: Grok 4.5, Grok 4.6, and Grok 4.7. For a dashboard key, the OpenAI-compatible endpoint, and a runnable chat request, follow the Grok configuration guide.

Upstream rates are documented in the official xAI pricing; model capabilities are described in the official model catalog.

FAQ

How much does the Grok API cost?

The live table on this page shows the effective AI in IDE quota rate for grok-4.5, grok-4.6, and grok-4.7. Each cell is the configured xAI list rate per 1M tokens multiplied by the 0.4× Grok channel multiplier. The collapsible reference table shows the list rate before that multiplier. A top-up purchase price is separate from these rates.

Which Grok model IDs does AI in IDE support?

grok-4.5, grok-4.6, and grok-4.7 are the supported model IDs. The retired grok-4-5 alias is not accepted, even when a key has a mapping for it.

Is the channel multiplier applied twice?

No. The configured catalog price is the provider list rate. The Grok channel applies the 0.4× multiplier once when quota is charged, and the calculator reads that same effective rate from the catalog.

Can concurrent requests overdraw the balance?

Yes. A request can start while the key and its funding source have a positive balance, and each completed request is billed from reported usage. Requests that finish at the same time can therefore take the balance below zero.

Does the estimate include taxes or discounts?

No. The calculator uses standard USD rates and assumes a zero balance. It does not include taxes, promotions, or membership discounts, and it rounds the top-up up to the next purchase step.