Multi-Provider Routing
Route requests to 30+ AI providers through a single OpenAI-compatible endpoint. Supports chat, responses, audio, and image APIs.
Documentation - v1.7.1
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.
36 providers across three connection types.
if/qw/gc/kr/cc/ag/cx/gh/cu/kmc/kc/cl/openrouter/glm/kimi/minimax/minimax-cn/openai/anthropic/gemini/ds/groq/xai/mistral/pplx/together/fireworks/cerebras/cohere/nvidia/nebius/siliconflow/hyp/dg/aai/nb/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.| 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/audio/transcriptions | Audio transcription (Deepgram, AssemblyAI). |
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 |
kimi/ | Kimi | API Key |
minimax/ | Minimax Coding | API Key |
minimax-cn/ | Minimax (China) | API Key |
openai/ | OpenAI | API Key |
anthropic/ | Anthropic | API Key |
gemini/ | Gemini | API Key |
ds/ | DeepSeek | API Key |
groq/ | Groq | 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 |