Skip to content
Model lab

xAI

API prices for every model

x.ai
Official pricing
Models
7
Cheapest
$1
Grok Build 0.1 input
Also sold by
3
other providers
Batch
n/a
not stated

xAI on the price map

Size: context window, 8K to 2MEqual blended cost (3:1) 243 models, lower left is cheaper

Every model

xAI models on other routes

Notes from the pricing page

Caching: Cached input priced per model in tables (e.g. grok-4.7 $0.50 per 1M cached input under 200k tokens)

SpaceXAI LLC is an American artificial intelligence company founded by Elon Musk. It is a subsidiary of spaceflight company SpaceX, also founded by Musk, since February 2026.

List prices from providers' pages on the date shown; your contract may differ. Logos via logo.dev; trademarks belong to their owners.

Weekly: LLM API list prices that changed, Thursday mornings.