xAI Provider
xAI's Grok large language models
Data & Privacy
HQ:US
API Training:No
Consumer Training:No
Prompt Logging:Yes
Retention:30 days
GDPR:Compliant
SOC2:Type II Certified
Available Models
Grok STT 1.0
xai
grok-stt-1-0xAI
Context: —
Input
$0
/M tokens
Cached
—
/M tokens
Output
$0
/M tokens
Grok 4.5
xai
grok-4-5Streaming
Vision
Tools
Reasoning
JSON Output
xAI
Context: 500k
Input
$2
/M tokens
Cached
$0.5
/M tokens
Output
$6
/M tokens
Grok Imagine Video 1.5
xai
grok-imagine-video-1-5Vision
xAI
Context: 2k
Per Second Pricing
Default$0.14/sec
Grok Imagine Video 1.5 Preview
xai
grok-imagine-video-1-5-previewVision
xAI
Context: 2k
Per Second Pricing
Default$0.14/sec
Grok Build 0.1
xai
grok-build-0-1Streaming
Vision
Tools
Reasoning
JSON Output
xAI
Context: 256k
Input
$1
/M tokens
Cached
$0.2
/M tokens
Output
$2
/M tokens
Tiered Pricing
IN
CACHED
OUT
≤200K tokens
$1
$0.2
$2
>200K tokens
$2
$0.4
$4
Grok 4.3
xai
grok-4-3Streaming
Vision
Tools
Reasoning
JSON Output
xAI
Context: 1M
Input
$1.25
/M tokens
Cached
$0.3125
/M tokens
Output
$2.5
/M tokens
Tiered Pricing
IN
CACHED
OUT
≤200K tokens
$1.25
$0.3125
$2.5
>200K tokens
$2.5
$0
$5
Grok 4.20 Beta Reasoning (0309)
xai
grok-4-20-beta-0309-reasoningStreaming
Vision
Tools
Reasoning
JSON Output
xAI
Context: 2M
Input
$2
/M tokens
Cached
$0.2
/M tokens
Output
$6
/M tokens
Tiered Pricing
IN
CACHED
OUT
≤200K tokens
$2
$0.2
$6
>200K tokens
$4
$0.4
$12
Grok 4.20 Beta Non-Reasoning (0309)
xai
grok-4-20-beta-0309-non-reasoningStreaming
Vision
Tools
JSON Output
xAI
Context: 2M
Input
$2
/M tokens
Cached
$0.2
/M tokens
Output
$6
/M tokens
Tiered Pricing
IN
CACHED
OUT
≤200K tokens
$2
$0.2
$6
>200K tokens
$4
$0.4
$12
Grok Imagine Image
xai
grok-imagine-imageVision
Image Generation
xAI
Context: 2k
Input
$0
/M tokens
Cached
—
/M tokens
Output
$0
/M tokens
Grok 4
xaiPremium
grok-4Streaming
Vision
Tools
Reasoning
JSON Output
xAI
Context: 256k
Input
$3
/M tokens
Cached
$0.75
/M tokens
Output
$15
/M tokens
Tiered Pricing
IN
CACHED
OUT
≤128K tokens
$3
$0.75
$15
>128K tokens
$6
$0
$30