Multi-Provider Routing
Route requests to 30+ AI providers through a single OpenAI-compatible endpoint. Supports chat, responses, audio, and image APIs.
Loading OmniRoute...
Documentation - v3.1.9
AI gateway for multi-provider LLMs. One endpoint for OpenAI, Anthropic, Gemini, GitHub Copilot, Claude Code, Cursor, and 20+ more providers.
Run npx omniroute or clone from GitHub and run npm start.
Go to Endpoint -> Registered Keys. Generate one key per environment.
Add provider accounts via OAuth login, API key, or free-tier auto-connect.
Point your IDE or API client to https://<host>/v1. Use provider prefix, for example gh/gpt-5.1-codex.
Route requests to 30+ AI providers through a single OpenAI-compatible endpoint. Supports chat, responses, audio, and image APIs.
Create model combos with fallback chains and balancing strategies: round-robin, priority, random, least-used, and cost-optimized.
Real-time token counting, cost calculation per provider/model, and detailed usage breakdown by API key and account.
Visual analytics with charts for requests, tokens, errors, latency, costs, and model popularity over time.
Live health checks, provider status, circuit breaker states, and automatic rate limit detection with exponential backoff.
Manage IDE configurations, export/import backups, discover codex profiles, and configure settings from the dashboard.
API key authentication, IP filtering, prompt injection guard, domain policies, session management, and audit logging.
Sync your configuration to Cloudflare Workers for remote access with encrypted credentials and automatic failover.
67 providers across three connection types.
if/qw/gc/kr/cc/ag/cx/gh/cu/kmc/kc/cl/openrouter/glm/bcp/kimi/kmca/minimax/minimax-cn/alicode/alicode-intl/openai/anthropic/gemini/ds/groq/bb/xai/mistral/pplx/together/fireworks/cerebras/cohere/nvidia/nebius/siliconflow/hyp/dg/aai/nb/ollamacloud/el/cartesia/playht/inworld/sdwebui/comfyui/hf/synthetic/kg/vertex/zai/pplx-search/serper-search/brave-search/exa-search/tavily-search/opencode-zen/opencode-go/ali/lc/pol/pu/cf/scw/aiml/Point clients to one base URL and route by model prefix (for example: gh/, cc/, kr/, openai/).
Create combo models in Dashboard and keep client config stable while providers rotate internally.
Track tokens and cost by provider, account, and API key in Usage and Analytics tabs.
https://<host>/v1/chat/completionsgh/..., cc/...)gh/./responses./chat/completions.cu/ prefix for Cursor models.cc/ (Claude) or ag/ (Antigravity) prefix.OmniRoute exposes two operational protocols in addition to OpenAI-compatible APIs: MCP for tool execution and A2A for agent-to-agent workflows.
Use MCP over stdio to let clients discover and call OmniRoute tools with audit visibility.
omniroute --mcpUse A2A JSON-RPC to submit tasks synchronously or via SSE streaming.
GET /.well-known/agent.json
POST /a2a (JSON-RPC: message/send | message/stream)| Method | Path | Notes |
|---|---|---|
POST | /v1/chat/completions | OpenAI-compatible chat endpoint (default). |
POST | /v1/responses | Responses API endpoint (Codex, o-series). |
GET | /v1/models | Model catalog for all connected providers. |
POST | /v1/embeddings | Text embedding generation (OpenAI, Cohere, Voyage). |
POST | /v1/audio/transcriptions | Audio transcription (Deepgram, AssemblyAI). |
POST | /v1/audio/speech | Text-to-speech generation (ElevenLabs, OpenAI TTS). |
POST | /v1/images/generations | Image generation (NanoBanana). |
POST | /chat/completions | Rewrite helper for clients without /v1. |
POST | /responses | Rewrite helper for Responses without /v1. |
GET | /models | Rewrite helper for model discovery without /v1. |
Use the provider prefix before the model name to route to a specific provider. Example: gh/gpt-5.1-codex routes to GitHub Copilot.
| Prefix | Provider | Type |
|---|---|---|
if/ | iFlow AI | Free Tier |
qw/ | Qwen Code | Free Tier |
gc/ | Gemini CLI | Free Tier |
kr/ | Kiro AI | Free Tier |
cc/ | Claude Code | OAuth |
ag/ | Antigravity | OAuth |
cx/ | OpenAI Codex | OAuth |
gh/ | GitHub Copilot | OAuth |
cu/ | Cursor IDE | OAuth |
kmc/ | Kimi Coding | OAuth |
kc/ | Kilo Code | OAuth |
cl/ | Cline | OAuth |
openrouter/ | OpenRouter | API Key |
glm/ | GLM Coding | API Key |
bcp/ | Alibaba Coding Plan | API Key |
kimi/ | Kimi | API Key |
kmca/ | Kimi Coding (API Key) | API Key |
minimax/ | Minimax Coding | API Key |
minimax-cn/ | Minimax (China) | API Key |
alicode/ | Alibaba | API Key |
alicode-intl/ | Alibaba Intl | API Key |
openai/ | OpenAI | API Key |
anthropic/ | Anthropic | API Key |
gemini/ | Gemini (Google AI Studio) | API Key |
ds/ | DeepSeek | API Key |
groq/ | Groq | API Key |
bb/ | Blackbox AI | API Key |
xai/ | xAI (Grok) | API Key |
mistral/ | Mistral | API Key |
pplx/ | Perplexity | API Key |
together/ | Together AI | API Key |
fireworks/ | Fireworks AI | API Key |
cerebras/ | Cerebras | API Key |
cohere/ | Cohere | API Key |
nvidia/ | NVIDIA NIM | API Key |
nebius/ | Nebius AI | API Key |
siliconflow/ | SiliconFlow | API Key |
hyp/ | Hyperbolic | API Key |
dg/ | Deepgram | API Key |
aai/ | AssemblyAI | API Key |
nb/ | NanoBanana | API Key |
ollamacloud/ | Ollama Cloud | API Key |
el/ | ElevenLabs | API Key |
cartesia/ | Cartesia | API Key |
playht/ | PlayHT | API Key |
inworld/ | Inworld | API Key |
sdwebui/ | SD WebUI | API Key |
comfyui/ | ComfyUI | API Key |
hf/ | HuggingFace | API Key |
synthetic/ | Synthetic | API Key |
kg/ | Kilo Gateway | API Key |
vertex/ | Vertex AI | API Key |
zai/ | Z.AI | API Key |
pplx-search/ | Perplexity Search | API Key |
serper-search/ | Serper Search | API Key |
brave-search/ | Brave Search | API Key |
exa-search/ | Exa Search | API Key |
tavily-search/ | Tavily Search | API Key |
opencode-zen/ | OpenCode Zen | API Key |
opencode-go/ | OpenCode Go | API Key |
ali/ | Alibaba Cloud (DashScope) | API Key |
lc/ | LongCat AI | API Key |
pol/ | Pollinations AI | API Key |
pu/ | Puter AI | API Key |
cf/ | Cloudflare Workers AI | API Key |
scw/ | Scaleway AI | API Key |
aiml/ | AI/ML API | API Key |
Automation endpoints for proxy registry, scope assignments, and legacy proxy migration.
| Method | Path | Notes |
|---|---|---|
GET | /api/v1/management/proxies | List saved proxy registry items (supports pagination). |
POST | /api/v1/management/proxies | Create a reusable proxy item in the registry. |
GET | /api/v1/management/proxies/health | Get 24h/rolling health metrics per saved proxy from proxy logs. |
PUT | /api/v1/management/proxies/bulk-assign | Assign or clear one proxy across many scope IDs in one request. |
GET | /api/v1/management/proxies/assignments | List proxy assignments by scope, scope_id, or proxy_id. |
PUT | /api/v1/management/proxies/assignments | Assign or clear proxy for global/provider/account/combo scope. |
POST | /api/settings/proxies/migrate | Import legacy proxyConfig maps into registry assignments. |