Model API

xAI · Grok

xAI · source page ↗ · last checked Jul 6, 2026, 12:00 AM

Current pricing

captured Jul 6, 2026, 12:00 AM
Model / itemInputOutput
grok-4.3$1.25 / 1M tokens$2.50 / 1M tokens · Chat API; 1M context. Cached input: $0.20 / 1M tokens
grok-4.20-multi-agent-0309$1.25 / 1M tokens$2.50 / 1M tokens · Chat API; 1M context. Cached input: $0.20 / 1M tokens
grok-4.20-0309-reasoning$1.25 / 1M tokens$2.50 / 1M tokens · Chat API; 1M context. Cached input: $0.20 / 1M tokens
grok-4.20-0309-non-reasoning$1.25 / 1M tokens$2.50 / 1M tokens · Chat API; 1M context. Cached input: $0.20 / 1M tokens
grok-build-0.1$1.00 / 1M tokens$2.00 / 1M tokens · Chat API; 256k context. Cached input: $0.20 / 1M tokens
grok-imagine-image$0.002 / image (media input)$0.02 / image (1K and 2K resolution) · Image generation (Text, Image to Image)
grok-imagine-image-quality$0.01 / image (media input)$0.05 / image (1K); $0.07 / image (2K) · Image generation (Text, Image to Image)
grok-imagine-video$0.01 / sec + $0.002 / image (media input)$0.05 / sec (480p); $0.07 / sec (720p) · Video generation (Text, Image, Video to Video)
grok-imagine-video-1.5-preview$0.01 / image (media input)$0.08 / sec (480p); $0.14 / sec (720p) · Video generation (Image to Video)
Voice — Realtime$0.05 / min ($3.00 / hr) · Voice Agent API
Voice — Realtime Text Input$0.004 / message · Voice Agent API
Voice — Text to Speech$15.00 / 1M characters
Voice — Speech to Text$0.10 / hr (REST); $0.20 / hr (Streaming)
Tool — Web Search$5 / 1k calls · Server-side tool invocation (web_search); billed on top of token usage
Tool — X Search$5 / 1k calls · Server-side tool invocation (x_search); billed on top of token usage
Tool — Code Execution$5 / 1k calls · Server-side tool invocation (code_execution / code_interpreter)
Tool — File Attachments$10 / 1k calls · Server-side tool invocation (attachment_search)
Tool — Collections Search (RAG)$2.50 / 1k calls · Server-side tool invocation (collections_search / file_search)
File storage$0.025 / GiB / day · Files and collections pricing
Collection storage$0.10 / GiB / day · Files and collections pricing
File / Collection downloads$0.20 / GiB downloaded · Flat rate per GiB transferred

Usage/token API pricing (no subscription tiers). All prices in USD. IMPORTANT: the requested page itself (https://docs.x.ai/docs/models) currently contains NO price table — it only carries model-selection guidance, model aliases, image-input limits, and knowledge-cutoff notes (page last updated May 29, 2026). The verified prices above were extracted from the companion canonical pricing page https://docs.x.ai/docs/pricing (last updated May 27, 2026), which explicitly states "for per-model details, see the models page" — they are the same xAI docs set. Note: an automated WebFetch summary of the /docs/models URL fabricated a pricing table that did not exist on that page, so figures were re-verified against the raw /docs/pricing scrape. Batch API: text/language models billed at 20%-50% off standard rates (image/video generation billed at standard rates in Batch). Image Understanding, X Video Understanding, and Remote MCP tools are token-based (no flat invocation fee). Prices subject to change.

Curated snapshot · as of 2026-06-15. Live diffs are recorded in the change history below.

Rate & usage limits

Tier Req/min Tokens/min Notes
Tier 0 1.8K RPM 10M TPM Default tier, 0 USD spend. Flagship grok-4.3.
Tier 1 2.4K RPM 15M TPM Unlocks at 50 USD cumulative spend. grok-4.3.
Tier 2 3.6K RPM 25M TPM Unlocks at 250 USD cumulative spend. grok-4.3.
Tier 3 6K RPM 45M TPM Unlocks at 1000 USD cumulative spend. grok-4.3.
Tier 4 10K RPM 85M TPM Unlocks at 5000 USD cumulative spend. grok-4.3.
Enterprise Available on request. Email support for higher limits.

Source: https://docs.x.ai/developers/rate-limits

Curated snapshot · as of 2026-06-15. Auto-refreshes once the limits page changes.

In the news · xAI

Importance-filtered press coverage (Google News) mentioning xAI. Headlines link to the original; verify before acting.

Change history