GraphCanon updated 2d · GitHub synced 2d · 34 views this month
Decision brief
OmniRoute is an open-source AI gateway that connects to over 231 providers, including popular ones like Claude and Codex. It features token savings through RTK+Caveman compression, smart auto-fallback mechanisms, and a '
Good fit when
- Use OmniRoute if you need extensive API provider support, as it can connect to more than 231 different providers.
- Consider using OmniRoute for projects that require significant token savings thanks to its RTK+Caveman compression feature.
Avoid when
- Avoid using OmniRoute if your project requires a more robust commercial backend, as the free options it supports might be limited in terms of throughput or capacity.
- Do not use OmniRoute if real-time latency is critical for your application, since its auto-fallback mechanism and routing across various providers could introduce variable delays.
- Pricing:
- freemium - OmniRoute is free to use with token savings features. It supports both paid and over 50+ free AI providers.
Observed Jul 11, 2026 · Source: enrich:decision_facts
Verify the decision
Adoption
Package downloads where a registry match exists. GitHub stars (51,233) are secondary evidence.
- npm downloads (30d)
- 272,196·npm downloads API·2d
- Docker Hub pulls (30d)
- 563,789·Docker Hub API·2d
Maintenance and security
Full trust report- Maintenance
- Very active (0d since push)
- As of 2d
- Provenance
- Not a fork · Personal account
- As of 2d
- Security (OSV)
- No lockfile
- As of 5d
Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.
Install
npm install OmniRoute npmHow it fits your stack(5)
Typed graph edges - alternatives, integrations, successors, and dependencies. Ranked by relationship type, not raw GitHub stars.
Integrates
Relationship graph
Optional deeper exploration of typed edges and category neighbours.
Similar tools
Same-category neighbours not already linked as typed edges.
Evidence and technical details
Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.
Overview
OmniRoute is an open-source AI gateway that connects users to multiple AI providers including Claude, Codex, Cursor, Copilot, etc. It features RTK+Caveman compression for significant token savings and smart auto-fallback mechanisms.
Capability facts
- Deploy
- Self-host
Source: dockerfile:Dockerfile · Aug 20, 2026
- Docker
- Dockerfile present
Source: dockerfile:Dockerfile · Aug 20, 2026
- CLI
- CLI entrypoint
Source: package.json:bin|scripts · Aug 20, 2026
- MCP server
- Ships MCP server
Source: package.json:@modelcontextprotocol/* · Aug 20, 2026
- Languages
- typescript, javascript
Source: github.language+package.json · Aug 20, 2026
Categories
Compatibility
Sourced claims from the README excerpt - not unsourced marketing copy.
Source: README excerpt (regex_v1, Aug 20, 2026)
<sub>📦 Copy-paste quickstart scripts for **Python, Node.js, PHP, and cURL** → [`examples/quickstart/`](examples/quickstart/)</sub>Source link
Source: README excerpt (regex_v1, Aug 20, 2026)
<sub>📦 Copy-paste quickstart scripts for **Python, Node.js, PHP, and cURL** → [`examples/quickstart/`](examples/quickstart/)</subSource link
Source: README excerpt (regex_v1, Aug 20, 2026)
ur tool at http://localhost:20128/v1 — any OpenAI-compatible tool (Claude Code, Cursor, Cline). 3. It answers — call model auto for an instant reply, with no API key,Source link
Source: README excerpt (regex_v1, Aug 20, 2026)
OpenAI catalog: http://localhost:20128/vscode/YOUR_KEY/Source link
Tags
README
🆓 Works the second you install it — no keys, no config
---
# Fresh install, zero credentials — `auto` already works:
curl http://localhost:20128/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{"model":"auto","messages":[{"role":"user","content":"Hello!"}]}'
Prefer a specific free backend? Call it directly, e.g. oc/… (OpenCode Free) or felo/… (Felo). Then graduate to auto and let OmniRoute pick.
📦 Copy-paste quickstart scripts for Python, Node.js, PHP, and cURL → examples/quickstart/
⚡ Quick Start
1) Install & run
npm install -g omniroute
omniroute
💡 See
npm warn ERESOLVEor peer-dep warnings? They're harmless.
Dashboard at http://localhost:20128 · API at http://localhost:20128/v1.
2) Connect a FREE provider (no signup)
Dashboard → Providers → connect Kiro AI (free Claude, ~50 credits/month per account) or OpenCode Free (no auth) → done.
3) Point your coding tool
Base URL: http://localhost:20128/v1
API Key: [copy from Dashboard → Endpoints]
Model: auto (zero-config smart routing — or any provider/model)
4) Verify it's working
curl http://localhost:20128/v1/models -H "Authorization: Bearer YOUR_KEY"
You should see your connected models listed. 🎉 That's it — start coding, and OmniRoute auto-routes & falls back for you.
If your client cannot send custom headers, OmniRoute also exposes tokenized compatibility aliases:
OpenAI catalog: http://localhost:20128/vscode/YOUR_KEY/
OpenAI models: http://localhost:20128/vscode/YOUR_KEY/models
OpenAI chat: http://localhost:20128/vscode/YOUR_KEY/chat/completions
OpenAI responses: http://localhost:20128/vscode/YOUR_KEY/responses
Ollama chat: http://localhost:20128/vscode/YOUR_KEY/api/chat
Ollama tags: http://localhost:20128/vscode/YOUR_KEY/api/tags
Use these only for clients that cannot attach Authorization: Bearer .... Header auth remains the preferred mode.
📦 More install methods — Docker, source, pnpm, Arch
🐳 Docker
docker run -d --name omniroute --restart unless-stopped --stop-timeout 40 \
-p 127.0.0.1:20128:20128 -v omniroute-data:/app/data diegosouzapw/omniroute:latest
Pre-release Docker channel:
diegosouzapw/omniroute:nextanddiegosouzapw/omniroute:next-webfollow the current defaultrelease/v*branch. These mutable tags are intended only for testing unreleased fixes and are not supported for production. See Docker Release Channels.
🛠️ From source
cp .env.example .env && npm install
PORT=20128 npm run dev
📦 pnpm
pnpm add -g omniroute@latest --allow-build=better-sqlite3 --allow-build=@swc/core && omniroute
🐧 Arch Linux (AUR)
yay -S omniroute-bin && systemctl --user enable --now omniroute.service
🔧 Nix (Flake)
---
### 📘 Getting Started
<table>
<tr><th align="left">Document</th><th align="left">Description</th></tr>
<tr><td nowrap><b><a href="docs/guides/USER_GUIDE.md">User Guide</a></b></td><td>Providers, combos, CLI integration, deployment</td></tr>
<tr><td nowrap><b><a href="docs/guides/SETUP_GUIDE.md">Setup Guide<
For agents
This page has a .md twin and JSON over the API.