💰 TokenWatchWyrdWerkGitHubLinkedInX

xAI API pricing

20 tracked model identities with provider-specific prices

xAI pricing overview

TokenWatch tracks 15 text, 2 image, and 3 video model records for this provider. TokenWatch does not have a provider-wide zero-retention verdict for this page.

Cheapest input price: Grok 4.3 (batch) at $1.00 per million input tokens and $2.00 per million output tokens. 15 of 15 text models publish a cache-read price; 7 carry a zero-data-retention tag.

Privacy policy · Terms · Status

Open the text calculator filtered to xAI

xAI text-model pricing

Text offerings ranked by the Agentic workload mix (2.5% input, 97% cached input, 0.5% output). Change the calculator mix for a workload-specific estimate.

xAI text-model pricing
OrgProviderModelInput $/MOutput $/MCache $/MBlended $/M
xaixaiSpaceXAI: Grok 4.3 (batch)$1.00$2.00$0.160$0.190
xaixaiSpaceXAI: Grok Build 0.1$1.00$2.00$0.200$0.229
xaixaiSpaceXAI: Grok 4.3$1.25$2.50$0.200$0.238
xaixaiSpaceXAI: Grok 4.20 Multi-Agent$1.25$2.50$0.200$0.238
xaixaiSpaceXAI: Grok 4.20$1.25$2.50$0.200$0.238
xaixaiSpaceXAI: Grok 4.5$2.00$6.00$0.300$0.371
xaixaiSpaceXAI: Grok Build 0.1 (priority)$2.00$4.00$0.400$0.458
xaixaiSpaceXAI: Grok 4.3 (priority)$2.50$5.00$0.400$0.475
xaixaiSpaceXAI: Grok 4.20 Multi-Agent (priority)$2.50$5.00$0.400$0.475
xaixaiSpaceXAI: Grok 4.20 (priority)$2.50$5.00$0.400$0.475
xaixaiSpaceXAI: Grok 4.7$2.00$6.00$0.500$0.565
xaixaiSpaceXAI: Grok 4.6$2.00$6.00$0.500$0.565
xaixaiSpaceXAI: Grok 4.5 (priority)$4.00$12.00$0.600$0.742
xaixaiSpaceXAI: Grok 4.7 (priority)$4.00$12.00$1.00$1.13
xaixaiSpaceXAI: Grok 4.6 (priority)$4.00$12.00$1.00$1.13

Catalog snapshot 2026-10-29 from direct-provider APIs, OpenRouter endpoint data, and maintained fallbacks. See the sources and calculation rules; verify rates on the provider's official pricing page before committing spend.

Cheapest image generation API prices

Image APIs use three incompatible billing units. The tables keep flat per-image, per-megapixel, and image-token prices separate so unlike rates are never ranked against each other.

Lowest listed flat per-image prices

Lowest listed flat per-image prices
ProviderModelVariantUnitPrice per image
xaixAI: Grok Imagine Image 2.0low_1kimage$0.040
xaiSpaceXAI: Grok Imagine Image Quality1kimage$0.050

Pricing refreshed 2026-10-29. A listed rate may cover only one size, quality, or endpoint variant; confirm the selected variant before buying.

Cheapest video generation API prices

Each model appears once at its lowest listed positive per-second rate. Resolution and audio describe that selected variant; another variant of the same model can cost more.

Lowest listed video generation prices per second
ProviderModelResolutionAudioPrice per secondExample 30-second cost
xaiSpaceXAI: Grok Imagine Video 1.5 Lite480pUnspecified$0.020$0.600
xaiSpaceXAI: Grok Imagine Video480pUnspecified$0.050$1.50
xaiSpaceXAI: Grok Imagine Video 1.5480pUnspecified$0.080$2.40

Pricing refreshed 2026-10-29. Duration limits, aspect ratios, and feature availability vary by endpoint.