xAI Model Pricing

18 models · input & output costs per 1M tokens · updated every 5 minutes

ModelContextInput / 1MOutput / 1MData
grok-4.7
text
500K
$1.6000
$4.8000
MEDIUM
grok-4.3:batch
text
1M
$1.0000
$2.0000
MEDIUM
grok-4.6
text
500K
$2.0000
$6.0000
MEDIUM
grok-4.5
text
500K
$2.0000
$6.0000
MEDIUM
grok-build-0.1
text
256K
$1.0000
$2.0000
MEDIUM
grok-4.20-multi-agent
text
2M
$1.2500
$2.5000
MEDIUM
grok-4.20
text
2M
$1.2500
$2.5000
MEDIUM
grok-4.3
text
1M
$1.2500
$2.5000
MEDIUM
grok-4.20-multi-agent-beta
multimodal
2M
$2.0000
$6.0000
LOW
grok-4.20-beta
multimodal
2M
$2.0000
$6.0000
LOW
grok-3-beta
text
131K
$3.0000
$15.0000
LOW
grok-3-mini
text
131K
$0.3000
$0.5000
LOW
grok-4
text
256K
$3.0000
$15.0000
LOW
grok-3-mini-beta
text
131K
$0.3000
$0.5000
LOW
grok-4.1-fast
text
2M
$0.2000
$0.5000
LOW
grok-3
text
131K
$3.0000
$15.0000
LOW
grok-code-fast-1
text
256K
$0.2000
$1.5000
LOW
grok-4-fast
text
2M
$0.2000
$0.5000
LOW
Compare top 3 xAI models →