Setup Your API Key
To use xAI with Orq.ai, follow these steps:- Navigate to AI Gateway > BYOK
- Find xAI in the list
- Click the Configure button next to xAI
- In the modal that opens, select Setup your own API Key
- Enter a name for this configuration (e.g., “xAI Production”)
- Paste your xAI API Key into the provided field
- Click Save to complete the setup
Get your xAI API key from the xAI console.
Available Models
The AI Gateway supports Grok models with vision capabilities and reasoning modes.- Grok 4.x:
xai/grok-4,xai/grok-4-fast,xai/grok-4-1-fast,xai/grok-4.3,xai/grok-4.5,xai/grok-4.6, thexai/grok-4.20variants, andxai/grok-build-0.1. See Supported Models for the full list. - Grok 3:
xai/grok-3,xai/grok-3-fast,xai/grok-3-mini— with vision and reasoning support - Function calling and streaming supported across all models
xai/ prefix. For the full model list, see the Supported Models page.