x-ai
x-ai is an AI model provider offering various language models through OpenRouter.
Total Models
8
Price Range
$0.20/M - $3.00/M
Max Context
2M
Modalities
2 Types
Why Choose X-ai?
All X-ai Models
xAI: Grok 3
Grok 3 is the latest model from xAI. It's their flagship model that excels at en...
xAI: Grok 3 Beta
Grok 3 is the latest model from xAI. It's their flagship model that excels at en...
xAI: Grok 3 Mini
A lightweight model that thinks before responding. Fast, smart, and great for lo...
xAI: Grok 3 Mini Beta
Grok 3 Mini is a lightweight, smaller thinking model. Unlike traditional models ...
xAI: Grok 4
Grok 4 is xAI's latest reasoning model with a 256k context window. It supports p...
xAI: Grok 4 Fast
Grok 4 Fast is xAI's latest multimodal model with SOTA cost-efficiency and a 2M ...
xAI: Grok 4.1 Fast
Grok 4.1 Fast is xAI's best agentic tool calling model that shines in real-world...
xAI: Grok Code Fast 1
Grok Code Fast 1 is a speedy and economical reasoning model that excels at agent...
Best Use Cases for X-ai
Quick Comparison
| Model | Context | Input Price | Output Price | Best For |
|---|---|---|---|---|
| xAI: Grok 3 | 131K | $3.00/M | $15.00/M | coding, programming |
| xAI: Grok 3 Beta | 131K | $3.00/M | $15.00/M | coding, programming |
| xAI: Grok 3 Mini | 131K | $0.30/M | $0.50/M | math, reasoning |
| xAI: Grok 3 Mini Beta | 131K | $0.30/M | $0.50/M | math, reasoning |
| xAI: Grok 4 | 256K | $3.00/M | $15.00/M | math, reasoning |
| xAI: Grok 4 Fast | 2M | $0.20/M | $0.50/M | math, reasoning |
| xAI: Grok 4.1 Fast | 2M | $0.20/M | $0.50/M | math, reasoning |
| xAI: Grok Code Fast 1 | 256K | $0.20/M | $1.50/M | coding, programming |
Ready to Test X-ai Models?
Use our free tool to compare X-ai models with competitors side-by-side using your own prompts.