4 models across 3 tiers

Grok API rate card, 2026

Current rates for all 4 Grok models, including cache read/write, batch discounts, and long-context tiers.

Models

4

Cheapest input

$1.00/MTok

Cheapest output

$2.00/MTok

Cache discount

75% - 85% off

Grok API pricing table

ModelTierInput $/MTokOutput $/MTokCache ReadCache WriteBatchContext
Grok Build 0.1Fast / Budget$1.00$2.00$0.20(80% off)$1.00(no surcharge)$0.50(50% off)256K
Grok 4.3Mid-tier$1.25$2.50$0.20(84% off)$1.25(no surcharge)$0.63(50% off)1,000K
Grok 4.6Flagship$2.00$6.00$0.50(75% off)$2.00(no surcharge)$1.00(50% off)500K
Grok 4.5Flagship$2.00$6.00$0.30(85% off)$2.00(no surcharge)$1.00(50% off)500K

Grok Build 0.1: xAI's coding-specialised model and the cheapest Grok row on output. Released in early access; xAI publishes release notes at month granularity only.

Grok 4.3: xAI publishes no release date for this model; dated to the March 4.20-generation launch whose pricing and 1M context window it shares. Priced from the live models table, which is what matters for costing traffic.

Grok 4.5: Same list price as Grok 4.6 but a cheaper cached rate ($0.30/MTok vs $0.50), so cache-heavy workloads are cheaper here than on 4.6. xAI publishes release notes at month granularity only; dated to the start of the month.

Grok cache and batch pricing

How caching and batch processing affect your Grok API costs.

Cache read discount

When a prompt prefix is already cached, the provider charges a reduced rate for those tokens. Grok cache read discounts range from 75% to 85% off the standard input rate, depending on the model.

Cache write cost

Grok does not charge a cache write surcharge. Writing tokens to cache costs the same as standard input.

Batch discount

All Grok models offer a 50% batch discount. Batch requests are processed asynchronously and cost 50% of the standard rate.

Grok long-context pricing

Some Grok models apply higher rates once the total prompt exceeds a threshold. Both input and output tokens may be re-priced for the entire request.

ModelThresholdInput multiplierOutput multiplier
Grok Build 0.1200K tokens2x2x
Grok 4.3200K tokens2x2x
Grok 4.6200K tokens2x2x
Grok 4.5200K tokens2x2x

Recent Grok price changes

Grok 4.6 input launched

$2.00/MTok at launch

Aug 12, 2026

Grok 4.5 input launched

$2.00/MTok at launch

Jul 1, 2026

Grok Build 0.1 input launched

$1.00/MTok at launch

May 1, 2026

Grok 4.3 input launched

$1.25/MTok at launch

Mar 1, 2026

View full Grok pricing history

Track your Grok spend

See exactly how much you spend on Grok models and where you can save. Two-line wrapper install, no API keys shared.

Grok API pricing FAQ

How much does the Grok API cost?

Grok API pricing starts at $1.00/MTok for input and $2.00/MTok for output. Prices vary by model tier: flagship models cost more but deliver higher quality, while fast/budget models are significantly cheaper for high-volume workloads.

Does Grok offer batch discounts?

Yes. Grok supports batch processing, which sends requests asynchronously at a reduced rate. The batch discount is 50% off standard pricing across all Grok models.

What is the Grok cache read discount?

Grok cache read discounts vary by model, ranging from 75% to 85% off the standard input rate.

How many Grok models are available?

There are currently 4 Grok models available through the API, spanning 3 tiers: Fast / Budget, Mid-tier, Flagship.

Is there a free tier for the Grok API?

Grok API pricing is pay-per-use based on token consumption. There is no permanent free tier, but new accounts typically receive introductory credits. Tokeven helps you track exactly what you spend so nothing is wasted.

Does Grok charge more for long context?

Yes. Some Grok models apply a long-context surcharge when the total prompt exceeds a token threshold. Both input and output rates increase for the entire request. Check the long-context pricing table above for exact thresholds and multipliers per model.