CHEAPEST INPUT TODAY Nova Micro $0.035/MBLENDED PRICE SPREAD 1102× (Nova Micro → GPT-5.4 Pro)128 MODELS · 16 PROVIDERS re-checked every morning by a GitHub ActionFOLLOW PRICE CHANGES commit feed → Data & Alerts

xAI API pricing

10 models tracked · headquartered in US · official pricing

Free tier: No free tier What xAI gives you free, in its own words

USD per 1M tokens, cheapest first by blended rate
ModelInputOutputContext
Grok Build 0.1 $1 $2 256K reasoning vision
Grok 3 legacy $1.25 $2.5 131K reasoning vision
Grok 4 legacy $1.25 $2.5 256K reasoning vision
Grok 4.1 Fast legacy $1.25 $2.5 2M reasoning vision
Grok 4.20 $1.25 $2.5 1M reasoning vision
Grok 4.3 $1.25 $2.5 1M reasoning vision
Grok 4.5 $2 $6 500K reasoning vision
Grok 4.6 $2 $6 500K reasoning vision
Grok 4.7 $2 $6 500K reasoning vision
Grok 2 retired $2 $10 131K reasoning vision

Compare xAI’s models on your own workload

How xAI prices its models

Output prices across xAI's 6 current models run from $2 per 1M tokens (Grok Build 0.1) to $6 (Grok 4.7), a 3x spread. Picking the smallest model that does the job is usually the biggest saving available.

Discounts: caching and batch

6 of 6 current models list a cached-input rate, from 80% off the fresh input rate on Grok Build 0.1. 0 list a batch discount for work that can wait.

Recorded price changes

Where these prices come from

Every rate above is read from xAI's own pricing page (linked here) and re-checked every morning. A disputed figure is marked rather than hidden; see how PromptSpend checks prices.

Common questions

How much do xAI API models cost?

PromptSpend tracks 10 xAI models. The cheapest on a blended rate is Grok Build 0.1, at $1 per 1M input tokens and $2 per 1M output tokens; the most expensive is Grok 2, at $2 in and $10 out.

Does xAI have a free API tier?

PromptSpend's verdict is "No free tier". Its free-tier page gives xAI's own wording for each claim, with a link to the page it came from and the date it was read.

Where do the xAI prices come from?

From xAI's own pricing page, https://docs.x.ai/developers/pricing, with each model's check date shown on its page. Prices change without notice, and regional premiums, priority tiers and negotiated discounts are not included.

Standard-tier, global-endpoint list prices in USD. This build read the catalog generated 2026-11-11.