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.
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.
| Org | Provider | Model | Input $/M | Output $/M | Cache $/M | Blended $/M |
|---|---|---|---|---|---|---|
| xai | xai | SpaceXAI: Grok 4.3 (batch) | $1.00 | $2.00 | $0.160 | $0.190 |
| xai | xai | SpaceXAI: Grok Build 0.1 | $1.00 | $2.00 | $0.200 | $0.229 |
| xai | xai | SpaceXAI: Grok 4.3 | $1.25 | $2.50 | $0.200 | $0.238 |
| xai | xai | SpaceXAI: Grok 4.20 Multi-Agent | $1.25 | $2.50 | $0.200 | $0.238 |
| xai | xai | SpaceXAI: Grok 4.20 | $1.25 | $2.50 | $0.200 | $0.238 |
| xai | xai | SpaceXAI: Grok 4.5 | $2.00 | $6.00 | $0.300 | $0.371 |
| xai | xai | SpaceXAI: Grok Build 0.1 (priority) | $2.00 | $4.00 | $0.400 | $0.458 |
| xai | xai | SpaceXAI: Grok 4.3 (priority) | $2.50 | $5.00 | $0.400 | $0.475 |
| xai | xai | SpaceXAI: Grok 4.20 Multi-Agent (priority) | $2.50 | $5.00 | $0.400 | $0.475 |
| xai | xai | SpaceXAI: Grok 4.20 (priority) | $2.50 | $5.00 | $0.400 | $0.475 |
| xai | xai | SpaceXAI: Grok 4.7 | $2.00 | $6.00 | $0.500 | $0.565 |
| xai | xai | SpaceXAI: Grok 4.6 | $2.00 | $6.00 | $0.500 | $0.565 |
| xai | xai | SpaceXAI: Grok 4.5 (priority) | $4.00 | $12.00 | $0.600 | $0.742 |
| xai | xai | SpaceXAI: Grok 4.7 (priority) | $4.00 | $12.00 | $1.00 | $1.13 |
| xai | xai | SpaceXAI: 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
| Provider | Model | Variant | Unit | Price per image |
|---|---|---|---|---|
| xai | xAI: Grok Imagine Image 2.0 | low_1k | image | $0.040 |
| xai | SpaceXAI: Grok Imagine Image Quality | 1k | image | $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.
| Provider | Model | Resolution | Audio | Price per second | Example 30-second cost |
|---|---|---|---|---|---|
| xai | SpaceXAI: Grok Imagine Video 1.5 Lite | 480p | Unspecified | $0.020 | $0.600 |
| xai | SpaceXAI: Grok Imagine Video | 480p | Unspecified | $0.050 | $1.50 |
| xai | SpaceXAI: Grok Imagine Video 1.5 | 480p | Unspecified | $0.080 | $2.40 |
Pricing refreshed 2026-10-29. Duration limits, aspect ratios, and feature availability vary by endpoint.