xAI
Elon Musk's AI company behind Grok
ReasoningReal-time knowledgeConversationalSpeedOpenAI-compatible
About xAI
xAI develops the Grok family of models, known for their frank conversational style and strong reasoning capabilities. Grok models are available through the xAI API with competitive pricing and support for real-time information retrieval.
Key Models
Grok 4Grok 3Grok 3 mini
Live Performance Data
xAI Models on Antbase
| Model | Score | Requests | Success Rate | Avg Latency | p95 Latency | Capabilities |
|---|---|---|---|---|---|---|
| Grok 3 | 88.0 | 0 | 0.0% | 400ms | 1000ms | 🔧 |
| Grok 3 Mini | 72.0 | 0 | 0.0% | 400ms | 1000ms | 🧠🔧 |
| Grok 4 1 Fast Reasoning | 50.0 | 0 | 0.0% | 400ms | 1000ms | 🧠🔧 |
| Grok 4 Fast Non Reasoning | 50.0 | 0 | 0.0% | 400ms | 1000ms | 🧠🔧 |
| Grok 4 Fast Reasoning | 50.0 | 0 | 0.0% | 400ms | 1000ms | 🧠🔧 |
| Grok Code Fast 1 | 50.0 | 0 | 0.0% | 400ms | 1000ms | 🔧 |
| Grok Imagine Image | 50.0 | 0 | 0.0% | 400ms | 1000ms | 🔧 |
| Grok Imagine Image Pro | 50.0 | 0 | 0.0% | 400ms | 1000ms | 🔧 |
| Grok Imagine Video | 50.0 | 0 | 0.0% | 400ms | 1000ms | 🔧 |
| Grok 4.20 0309 Non Reasoning | 50.0 | 0 | 0.0% | 400ms | 1000ms | 👁🧠🔧 |
| Grok 4.20 0309 Reasoning | 50.0 | 0 | 0.0% | 400ms | 1000ms | 👁🧠🔧 |
| Grok 4.20 Multi Agent 0309 | 50.0 | 0 | 0.0% | 400ms | 1000ms | 👁🔧 |
| Grok 4.20 Beta 0309 Non Reasoning | 50.0 | 0 | 0.0% | 400ms | 1000ms | 🧠🔧 |
| Grok 4.20 Beta 0309 Reasoning | 50.0 | 0 | 0.0% | 400ms | 1000ms | 🧠🔧 |
| Grok 4.20 Multi Agent Beta 0309 | 50.0 | 0 | 0.0% | 400ms | 1000ms | 🔧 |
| Grok 4 1 Fast Non Reasoning | 50.0 | 0 | 0.0% | 400ms | 1000ms | 🧠🔧 |
| Grok 4 0709 | 50.0 | 0 | 0.0% | 400ms | 1000ms | 🔧 |
How to Use xAI on Antbase
All xAI models are available through Antbase's unified OpenAI-compatible API. You can either route directly to a specific xAI model or let ANT's intelligent router automatically select the best model for your task.
python
from openai import OpenAI
client = OpenAI(
base_url="https://antbase.ai/v1",
api_key="your-ant-api-key",
)
# Let ANT auto-route (may use xAI if optimal)
response = client.chat.completions.create(
model="ant:auto",
messages=[{"role": "user", "content": "Hello!"}],
)
# Or route directly to a xAI model
response = client.chat.completions.create(
model="xai/grok-4",
messages=[{"role": "user", "content": "Hello!"}],
)Why Use xAI Through Antbase?
- •No separate account needed — access xAI models instantly through your Antbase API key.
- •Intelligent routing — ANT automatically selects the best xAI model for each task, or falls over to another provider if xAI is slow or down.
- •Same token prices — Antbase charges zero markup on xAI token prices. You pay exactly what xAI charges.
- •Automatic failover — if xAI has an outage, your requests seamlessly route to an equivalent model on another provider.