← Back to Leaderboard
Ocheaper-inference

cheaper-inference/OmniRoute

Self-hosted OpenAI-compatible gateway for multi-provider routing and fallback

Engineering Health (Methodology)
A+ · 100/100
Maintenance Activity
● Updated today
Latest Release
v3.8.54
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption25/25
Release Cadence20/20
License Clarity20/20
DockerSelf-HostedAPI
Total Stars
★ 92,106
24h Growth
+150
7d Growth
+1,544
Forks
14,462

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

cheaper-inference/OmniRoute Star History (2026-02-17 - 2026-12-04) ALL-TIME STAR HISTORY (2026-02 – 2026-12) +92.1k in 290d · avg +318/day 97.3k 48.6k 0 2026-02-17: ★ 12026-03-07: ★ 1612026-03-28: ★ 1,3492026-04-18: ★ 2,9632026-05-09: ★ 4,0482026-05-30: ★ 5,3152026-06-20: ★ 6,3772026-07-11: ★ 15,1632026-08-01: ★ 36,1472026-08-22: ★ 52,1702026-09-12: ★ 64,2822026-10-03: ★ 71,7912026-10-24: ★ 80,2322026-11-11: ★ 86,3262026-12-04: ★ 92,106 ★ 92.1k 2026-02 2026-07 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

OmniRoute is a TypeScript inference gateway, not a model runtime. A client calls the OpenAI-compatible /v1/chat/completions endpoint with an OmniRoute API key. The model field can select auto, which builds a virtual Combo from eligible connected targets, or a saved Combo, which fixes the target list and routing strategy. The gateway ranks or orders candidates and can try another healthy target when a provider fails, a model is locked out, or quota is exhausted.

The gateway separates client authentication from upstream access. Release v3.8.54 includes a ChatGPT sign-in integration using PKCE and live model discovery, while the Compose web profile adds Chromium/Playwright for browser-cookie providers. These paths share a client-facing endpoint but have different credential lifecycles and runtime requirements.

Key Capabilities & Differentiators

The v3.8.54 catalog lists 394 providers and 1,539 unique chat model IDs across 3,186 provider/model pairs. auto scores eligible targets across 16 factors; auto/fast favors latency and provider health, while auto/cheap favors lower catalog prices. Last-known-good routing stays with the previous successful provider until it fails, then rescores rather than chasing every ranking change.

Saved Combos give operators more control: fill-first stays with the first available target, cache-optimized favors the account likely to have cached the prompt prefix, and context-relay passes a conversation summary when switching accounts. The dashboard and Combos API accept all 22 strategies; the CLI accepts 15. The Cheaper Inference integration exposes native /v1/responses, vision, and tool calling, but that feature set should not be assumed for every route.

Trade-offs & Limitations

Compared with calling the OpenAI API directly, OmniRoute centralizes credentials and fallback policy across providers, but adds a network hop and another service to operate. A fallback can preserve availability while changing output, tool-call behavior, context handling, or final cost. Test the actual target pool with representative requests rather than assuming endpoint compatibility makes models interchangeable. The cost-optimized strategy sorts on catalog input-token price, not total request cost.

The MIT license covers the gateway code, not upstream account access or provider terms. A fresh installation may have no eligible keyless route, and connecting a provider marked tos: avoid does not make it eligible for automatic routing by default. Treat free-tier quotas as external capacity that can change: size against the accounts and shared quota pools you can actually use, not the sum of catalog rows.

Hardware & Deployment Guide

Start with docker compose --profile base up -d, connect an upstream provider, create an OmniRoute API key in the dashboard, and test http://localhost:20128/v1/chat/completions. Add web only for browser-backed integrations. The cli profile bundles CLI tools; host mounts host CLI binaries and is Linux-only. Optional profiles add CLIProxyAPI on port 8317, Qdrant on 6333 for semantic memory offload, or Bifrost on 8080 for routing.

docker-compose.selfhost.yml and docker-compose.ollama-local.yml are present. Self-hosting the gateway does not make cloud routes offline. For API-backed traffic, size the host for concurrency and open streams, then account separately for browser workers, sidecars, or local model serving. The v3.8.54 release adds ChatGPT sign-in with live model discovery and MiniMax Code device-code sign-in; pin the version you test and verify authentication and model discovery before upgrading.

API surface: OpenAI-compatible /v1/chat/completions on port 20128 in the quickstart, authenticated with an OmniRoute API key.
Automatic routing: auto uses a 16-factor scorer; auto/fast and auto/cheap express preferences rather than performance or price guarantees.
Policy control: Saved Combos are callable as model IDs; the dashboard and Combos API accept all 22 strategies, while the CLI accepts 15.
Fallback: A Combo can move to another eligible, healthy target on quota exhaustion, provider failure, or model lockout.
Catalog scope: v3.8.54 lists 394 providers and 1,539 unique chat model IDs across 3,186 provider/model pairs, not all usable from a fresh install.
Deployment profiles: Compose separates the minimal gateway from Chromium/Playwright, bundled or host-mounted CLIs, and optional sidecars.
Best For

Teams running coding assistants or internal LLM clients that need one API endpoint, centralized routing policies, and tested fallback across multiple upstream accounts.

Skip If

One provider meets your needs, native API behavior must be preserved end to end, or you need an offline model runtime rather than a routing gateway.

Reviewed on 2026-12-04 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerSelf-HostedAPI
# After connecting a provider, create your OmniRoute key in Dashboard → API Keys:
curl http://localhost:20128/v1/chat/completions \
  -H "Authorization: Bearer YOUR_OMNIROUTE_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"auto","messages":[{"role":"user","content":"Hello!"}]}'

Comparison vs. Top LLMs & Inference Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
OmniRoute ★92.1k+1.5kTypeScriptMITSelf-hosted OpenAI-compatible gateway for multi-provider routing and fallback
gpt-load7.2k+6GoMITSelf-hosted Go gateway for routing LLM traffic across providers and credentials
freellmapi62k+2.6kTypeScriptMITSelf-hosted LLM gateway for routing across free tiers and custom endpoints
bifrost10.2k+125GoApache-2.0Self-hosted Go gateway for routing and governing multi-provider LLM traffic

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/cheaper-inference/OmniRoute.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

cheaper-inference/OmniRoute Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about OmniRoute

How does an existing OpenAI-compatible client connect, and where is the provider chosen?

Point the client at the gateway's OpenAI-compatible base URL, use an OmniRoute API key, and send auto or a saved combo name as the model. The gateway then chooses among eligible upstream routes using the connected provider credentials. Start with /v1/chat/completions, then test the exact endpoints and features your client needs against the targets you intend to use.

Does the gateway need a GPU, and how should I size the host?

External API routing does not require a GPU on the gateway host. Size the base deployment for concurrent requests, open streams, and any caching or compression you enable. Chromium/Playwright and optional sidecars add separate resource costs. If you run local inference via Ollama, size that backend separately for the selected model and concurrency; gateway sizing is not a proxy for model RAM or VRAM.

Can a company self-host OmniRoute for commercial use?

Yes. The MIT license permits commercial use and self-hosting, with copyright and license notices retained when distributing copies or substantial portions. It does not grant access to upstream services or override their terms. Review provider rules separately, especially for subscription credentials and browser-based integrations, and review the licenses of any bundled tools you distribute.

When is OmniRoute a better fit than calling the OpenAI API directly?

Use the direct OpenAI API if one provider meets your needs: you avoid another service hop and retain a simpler support path for provider-native features. Choose OmniRoute when clients need one endpoint for multiple providers and you want to control routing and fallback centrally. Test fallback behavior explicitly; a successful response from a different model is not necessarily equivalent.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining cheaper-inference/OmniRoute? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature cheaper-inference/OmniRoute on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare