Model lab
xAI
API prices for every model
x.ai
- 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
ModelInputOutputCachedContextReleased
Grok 4.7xAI · 500K$1.6 / $4.8in / out per 1M$1.6$4.8$0.4500KSep 21, 2026
Grok 4.6xAI · 500K$2 / $6in / out per 1M$2$6$0.5500KAug 12, 2026
Grok 4.5xAI · 500K$2 / $6in / out per 1M$2$6$0.3500KJul 8, 2026
Grok Build 0.1xAI · 256K$1 / $2in / out per 1M$1$2$0.2256KMay 20, 2026
Grok 4.3xAI · 1M$1.25 / $2.5in / out per 1M$1.25$2.5$0.21MApr 30, 2026
Grok 4.20xAI · 2M$1.25 / $2.5in / out per 1M$1.25$2.5$0.22MMar 31, 2026
Grok 4.20 Multi-AgentxAI · 2M$1.25 / $2.5in / out per 1M$1.25$2.5$0.22MMar 31, 2026
xAI models on other routes
Grok Build 0.1xAI, zdr$1 / $2
Grok 4.3OCI Generative AI, $1.25 / $2.50 per 1,000,000 tokens$1.25 / $2.5
Grok 4.3xAI, zdr$1.25 / $2.5
Grok 4.20 Multi-AgentxAI, zdr$1.25 / $2.5
Grok 4.20xAI, zdr$1.25 / $2.5
Grok 4.7xAI, zdr$1.6 / $4.8
Grok Build 0.1xAI, priority$2 / $4+100% vs headline
Grok Build 0.1xAI, zdr-priority$2 / $4+100% vs headline
Grok 4.6xAI, zdr$2 / $6
Grok 4.5xAI, zdr$2 / $6
Grok 4.3xAI, priority$2.5 / $5+100% vs headline
Grok 4.3xAI, zdr-priority$2.5 / $5+100% vs headline
Grok 4.20 Multi-AgentxAI, priority$2.5 / $5+100% vs headline
Grok 4.20 Multi-AgentxAI, zdr-priority$2.5 / $5+100% vs headline
Grok 4.20xAI, priority$2.5 / $5+100% vs headline
Grok 4.20xAI, zdr-priority$2.5 / $5+100% vs headline
Grok 4.6AWS Bedrock, us-west-2$2.2 / $6.6+10% vs headline
Grok 4.7xAI, priority$3.2 / $9.6+100% vs headline
Grok 4.7xAI, zdr-priority$3.2 / $9.6+100% vs headline
Grok 4.6xAI, priority$4 / $12+100% vs headline
Grok 4.6xAI, zdr-priority$4 / $12+100% vs headline
Grok 4.5xAI, priority$4 / $12+100% vs headline
Grok 4.5xAI, zdr-priority$4 / $12+100% vs headline
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.