Provider
xAI
xAI is an AI company founded by Elon Musk and acquired by SpaceX in 2026.
About xAI
From public sources
xAI was founded in 2023 and is based in Palo Alto, California. After SpaceX acquired it in February 2026, its AI business took the name SpaceXSI (SpaceX Super Intelligence), while its developer API remains at x.ai.
Its models are built for reasoning, coding, agentic tool use and real-time search, and it also offers models that generate and edit images from text and image prompts.
- Developer
- xAI (SpaceXSI)
- Founded
- 2023
- Headquarters
- Palo Alto, United States
- Website
- x.ai
xAI models
Same API key for every model
Output modalities
Grok 4.7
Input:
Text, Image.
Output:
Text.
In
$2.00
·
Out
$6.00
·
Cached
$0.50
Tiered
/1M
Grok 4.6
Input:
Text, Image.
Output:
Text.
In
$2.00
·
Out
$6.00
·
Cached
$0.50
Tiered
/1M
grok-imagine-image-2.0
Input:
Text, Image.
Output:
Image.
In
–
·
Out
–
Tiered
/1M
Grok 4.5
Input:
Text, Image.
Output:
Text.
In
$2.00
·
Out
$6.00
·
Cached
$0.30
Tiered
/1M
grok-imagine-image-quality
Input:
Text, Image.
Output:
Image.
In
–
·
Out
–
Tiered
/1M
Grok 4.3
Input:
Text, Image.
Output:
Text.
In
$1.25
·
Out
$2.50
·
Cached
$0.20
Tiered
/1M
Grok 4.20 (Non-Reasoning) Beta 0309
Input:
Text, Image.
Output:
Text.
In
$2.00
·
Out
$6.00
·
Cached
$0.20
/1M
Grok 4.20 Beta Reasoning 0309
Input:
Text, Image.
Output:
Text.
In
$2.00
·
Out
$6.00
·
Cached
$0.20
/1M
grok-4.20-multi-agent-beta-0309
Input:
Text, Image.
Output:
Text.
In
$2.00
·
Out
$6.00
·
Cached
$0.20
/1M
Grok 4.20 (Non-Reasoning)
Input:
Text, Image.
Output:
Text.
In
$1.25
·
Out
$2.50
·
Cached
$0.20
Tiered
/1M
Grok 4.20 Reasoning
Input:
Text, Image.
Output:
Text.
In
$1.25
·
Out
$2.50
·
Cached
$0.20
Tiered
/1M
Grok 4.20 (Non-Reasoning) 0309
Input:
Text, Image.
Output:
Text.
In
$1.25
·
Out
$2.50
·
Cached
$0.20
/1M
Grok 4.20 Reasoning 0309
Input:
Text, Image.
Output:
Text.
In
$1.25
·
Out
$2.50
·
Cached
$0.20
/1M
grok-4.20-multi-agent-0309
Input:
Text, Image.
Output:
Text.
In
$2.00
·
Out
$6.00
·
Cached
$0.20
/1M
grok-imagine-image
Input:
Text, Image.
Output:
Image.
In
–
·
Out
–
Tiered
/1M
Grok 4.1 Fast (Non-Reasoning)
Input:
Text, Image.
Output:
Text.
In
$0.20
·
Out
$0.50
/1M
Grok 4.1 Fast (Reasoning)
Input:
Text, Image.
Output:
Text.
In
$0.20
·
Out
$0.50
/1M
xAI Grok 4 Fast Non-Reasoning
Input:
Text, Image, Audio.
Output:
Text.
In
$0.20
·
Out
$0.50
·
Cached
$0.05
/1M
xAI: Grok 4 Fast Reasoning
Input:
Text, Image.
Output:
Text.
In
$0.20
·
Out
$0.50
·
Cached
$0.05
/1M
Grok Build 0.1
Input:
Text.
Output:
Text.
In
$0.20
·
Out
$1.50
·
Cached
$0.02
/1M
Grok 4 0709
Input:
Text, Image.
Output:
Text.
In
$3.00
·
Out
$15.00
·
Cached
$0.75
/1M
Grok 3
Input:
Text.
Output:
Text.
In
$3.00
·
Out
$15.00
·
Cached
$0.75
/1M
Grok 3 Mini
Input:
Text.
Output:
Text.
In
$0.30
·
Out
$0.50
·
Cached
$0.075
/1M
No models match your filters
Try loosening or removing some filters
Other providers
All 15 providersOne endpoint, every xAI model
Switch xAI models by changing one model ID
Create a MixRoute API key, set the base URL, and call any xAI model above with the same request format. Usage across all of them lands on one bill.