Already running LLM calls? Point them at the AI Router to route across providers, add fallbacks, and centralize cost and latency tracking, with a single base URL.Documentation Index
Fetch the complete documentation index at: https://docs.orq.ai/llms.txt
Use this file to discover all available pages before exploring further.
Connect a provider
The AI Router routes requests through provider credentials configured in the workspace, keeping spend and data fully under control.- Open the AI Studio and go to AI Router > Providers.
- Pick a provider (this quickstart uses OpenAI) and click Connect.
- Choose Setup your own API key and paste the provider key.
No OpenAI key yet? Create one at platform.openai.com/api-keys. For other providers, see the providers overview.

Supported providers
See the full list of supported model providers and how to connect them.
Get your orq.ai API key
Open Organization > API Keys in the left sidebar. Click Create API Key, give it a name, and copy it.Then open a terminal and run the command below, replacingyour-api-key-here with the key you just copied. The code samples in the next step read it from this environment variable.Make your first request
Send a request to the unified/v3/router/chat/completions endpoint. Use the provider-prefixed model id (e.g. openai/gpt-4o).- API & SDK
- Frameworks
MCP
JSON
Troubleshooting
401 Unauthorized
401 Unauthorized
Provider not configured
Provider not configured
Model not enabled
Model not enabled
Some models require an explicit toggle in the AI Router. Search for the model id and enable it before invoking it.
Capabilities
Pair your first request with built-in AI Router features.Multimodal
Send text, images, audio, and PDFs through the same unified endpoint.
Streaming
Stream tokens as they generate for real-time responses in your UI.
Fallbacks
Automatically retry on a backup model when the primary fails or times out.
Identity tracking
Attribute usage and cost to a specific end user or tenant.
Thread management
Persist conversation history across requests with automatic thread storage.
Supported models
Browse supported models from OpenAI, Anthropic, Google, AWS, and more.