USD per 1M tokens

Models & pricing

Use the model ID in the model field of your request. You are charged for the tokens each request uses, deducted from your prepaid balance. The struck-through figure is the list price.

12 of 252 models

Model IDMakerInputOutputSavingContext
grok-4.7
Prompts over 200K tokens: $3.4 in / $10.2 out
xAI$1.7$2$5.1$615%500K
grok-4.1-fast-non-reasoningxAI$0.18$0.2$0.45$0.510%1M
grok-4.1-fast-reasoningxAI$0.18$0.2$0.45$0.510%1M
grok-4.20-multi-agent
Prompts over 200K tokens: $2.125 in / $4.25 out
xAI$1.0625$1.25$2.125$2.515%2M
grok-4.20-multi-agent-beta
Prompts over 200K tokens: $2.125 in / $4.25 out
xAI$1.0625$1.25$2.125$2.515%2M
grok-4.20-non-reasoning
Prompts over 200K tokens: $2.125 in / $4.25 out
xAI$1.0625$1.25$2.125$2.515%2M
grok-4.20-non-reasoning-beta
Prompts over 200K tokens: $2.125 in / $4.25 out
xAI$1.0625$1.25$2.125$2.515%2M
grok-4.20-reasoning
Prompts over 200K tokens: $2.125 in / $4.25 out
xAI$1.0625$1.25$2.125$2.515%2M
grok-4.20-reasoning-beta
Prompts over 200K tokens: $2.125 in / $4.25 out
xAI$1.0625$1.25$2.125$2.515%2M
grok-4.3
Prompts over 200K tokens: $2.125 in / $4.25 out
xAI$1.0625$1.25$2.125$2.515%1M
grok-4.5
Prompts over 200K tokens: $3.4 in / $10.2 out
xAI$1.7$2$5.1$615%500K
grok-4.6
Prompts over 200K tokens: $3.4 in / $10.2 out
xAI$1.7$2$5.1$615%500K