xAI
Integrate xAI Grok models through the Adaline Proxy to automatically capture telemetry — requests, responses, token usage, latency, and costs — with minimal code changes. xAI uses an OpenAI-compatible API, so integration is straightforward.Supported Models
Chat Models| Model | Description |
|---|---|
grok-4 | Latest and most capable Grok model |
grok-4-0709 | Grok 4 July 2025 snapshot |
grok-4-fast-reasoning | Grok 4 optimized for fast reasoning |
grok-4-fast-non-reasoning | Grok 4 fast non-reasoning mode |
grok-4.1-fast-reasoning | Grok 4.1 fast reasoning |
grok-4.1-fast-non-reasoning | Grok 4.1 fast non-reasoning |
grok-code-fast-1 | Optimized for code generation |
grok-3-beta | Grok 3 beta |
grok-3-fast-beta | Fast Grok 3 beta |
grok-3-mini-beta | Compact Grok 3 beta |
grok-3-mini-fast-beta | Fast compact Grok 3 beta |
grok-2 | Grok 2 |
grok-2-latest | Latest Grok 2 snapshot |
grok-2-1212 | Grok 2 December 2024 snapshot |
Proxy Base URL
Prerequisites
- An xAI API key
- An Adaline API key, project ID, and prompt ID
Chat Completions
Complete Chat
Stream Chat
Next Steps
- Multi-Step Workflows — RAG pipelines, multi-step generation, and conversational agents
- Headers Reference — Complete header documentation
Back to Integrations
Browse all integrations