First-party APIs
OpenAI-compatible
US
xAI.
Elon Musk's AI lab — makers of the Grok family. First-party API with OpenAI-compatible endpoints; integrates tightly with X (Twitter) as the consumer surface.
Cheapest 12 models
Where the floor is.
Sorted cheapest-first by $/M input. Useful when you're looking for the floor before picking a model.
Loading...
At a glance
- Service type
- First-party APIs
- Trust tier
- Tier 1
- Headquarters
- US
- Founded
- 2023
- OpenAI-compat
- Yes
- Open weights
- No
- Proprietary
- Yes
When to pick xAI
Best for
- Full feature coverage — prompt caching, batch tier, function calling, fine-tuning.
- The lowest per-token rate for the maker's own models.
- Production workloads where a direct billing relationship matters.
Avoid for
- Multi-model workflows that need a unified billing surface.
- Anywhere the maker's own SLA isn't sufficient.
Models on xAI
Pricing + measured speed + self-host alternative, one row per model. Click a column header to sort.
| Model ↕ | Maker ↕ | Access ↕ | $/M in ↕ | $/M out ↕ | Tokens/sec ↕ | TTFT ↕ | Self-host on ↕ | |
|---|---|---|---|---|---|---|---|---|
| xAI: Grok Build 0.1 | xAI | api direct | $1.0 | $2.0 | — | — | API only | Open → |
| xAI: Grok 4.3 | xAI | api direct | $1.25 | $2.5 | — | — | API only | Open → |
| xAI: Grok 4.20 Multi-Agent | xAI | api direct | $2.0 | $6.0 | — | — | API only | Open → |
| xAI: Grok 4.20 | xAI | api direct | $1.25 | $2.5 | — | — | API only | Open → |
| Grok 3 | xAI | api direct | $3.0 | $15.0 | — | — | API only | Open → |