xAI API pricing

4 models from xAI, verified 2026-08-29. Official pricing page →

Official page. Fetched directly from the provider's official pricing page and read off it.

Models and prices

ModelTierContext$/1M in$/1M out$/1M cache read
Grok 4.5Flagship500K$2.00$6.00$0.30
Grok 4.6Flagship500K$2.00$6.00$0.50
Grok 4.3Mid1M$1.25$2.50$0.20
Grok BuildSmall256K$1.00$2.00$0.20