OmniRoute — The Free AI Gateway
One endpoint for 291 AI providers (90+ free), with automatic failover and built-in compression that saves 15–95% tokens — works with Claude Code, Codex, Cursor, and more.
- Source repo
- cheaper-inference/OmniRoute
- Stars
- ★ 92k
- Last updated
- today v3.8.54
- FARS reviewed
- Nov 08, 2026 +1 new
- License
- MIT
- Primary language
- TypeScript
- FA score
- 69/100 · Some gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformCodex · Claude Code · OpenAI API · Claude API
- Cost
- Free software; you pay for model usage
- Setup effort
- Low · running in minutes
- You'll need
- Typical use
- Developers who want a unified access point for multiple LLM providers, avoiding managing many SDKs and API keys.
- Not a fit if
- Users unwilling to send prompts to third-party AI providers
- Teams needing stable production-grade free quotas despite free-tier rate limits
- Website
- omniroute.online ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-12-02latest release v3.8.54 (2026-11-17)+217.7 ★/day over 7 days
- Source review
- 69/100 · Some gaps
What does this agent do, and when should you use it?
OmniRoute is an open-source, local-first AI gateway that aggregates 291 AI providers (90+ free, 40+ free forever) behind a single OpenAI-compatible endpoint (/v1). It connects 33 coding tools like Claude Code, Codex, Cursor, and Cline. With 19 routing strategies, including auto-combo and failover, it seamlessly switches providers when quotas run out. Built-in 12-layer pluggable compression (RTK, Caveman, etc.) averages ~89% token savings. It supports MCP (105 tools) and A2A protocols, and provides a CLI (80+ commands), dashboard, desktop app, and PWA. MIT-licensed, 100% local-first, and zero-config with free providers out of the box.
OmniRoute runs as a local proxy that receives requests from OpenAI-compatible clients and forwards them to configured providers through its smart router. It introduces 'Combos' (chains of models) with 19 strategies like priority, weighted, round-robin, cost-optimized, cache-optimized, etc. The default auto model scores connected providers live based on 12 factors and automatically falls back on failures. It compresses requests/responses via 12 engines (RTK, Caveman) to save tokens. It also offers an MCP server (stdio/HTTP/SSE) and A2A endpoint, allowing AI agents to manage routing, providers, combos, cache, and compression. The CLI provides 80+ commands for managing providers, keys, combos, logs, etc.
- Developers who want a unified access point for multiple LLM providers, avoiding managing many SDKs and API keys.
- Users of Claude Code or Codex who want automatic fallback to free or low-cost models when their quotas expire.
- Teams looking to optimize token consumption and reduce costs, saving up to 95% on token spend via compression.
- Scenarios requiring intelligent routing across providers based on latency, cost, or remaining quota.
- Developers seeking a local-first, privacy-preserving gateway for their coding assistants, without cloud dependencies.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
npm install -g omniroutedocker run -p 20128:20128 diegosouzapw/omniroute
- Ports
20128- Install notes cover
- Windows · macOS · Linux · Docker · Android
How do you install or deploy this agent?
Install globally via npm: npm install -g omniroute. Then run omniroute to start the server on localhost:20128. Alternatively, use Docker: docker run -p 20128:20128 diegosouzapw/omniroute. Supports Windows, macOS, Linux, and even Android via Termux or as a desktop Electron app.
How do you use this agent?
After installation, point your tool to http://localhost:20128/v1. For zero-config, set your model to auto and OmniRoute will pick a provider automatically. Test with: curl http://localhost:20128/v1/chat/completions -H "Content-Type: application/json" -d '{"model":"auto","messages":[{"role":"user","content":"Hello!"}]}'. Configure supported tools with the base URL http://localhost:20128/v1. Use the CLI for management, e.g., omniroute combo list to view combos, or omniroute setup for guided setup.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
What are this agent's strengths and limitations?
- Aggregates 291 providers with 90+ free tiers, zero-config start
- 19 routing strategies and automatic failover for high reliability
- 12-layer compression averaging ~89% token savings
- MCP and A2A support for complete agent control
- Local-first, privacy-focused, no cloud dependency
- MIT-licensed, fully open-source, self-hostable
- Free provider rate limits and quotas can lead to variability
- Initial configuration may be complex despite zero-config option
- Large feature set may have a steep learning curve
- Some advanced features (e.g., LLMLingua-2) may add latency
- Requires Node.js environment and network access to providers
How does this agent compare with similar options?
Compared to alternatives like OpenRouter and LiteLLM, OmniRoute offers a more comprehensive feature set with 291 providers, 19 routing strategies, built-in compression, and MCP/A2A support. It emphasizes local-first and free providers over OpenRouter's centralized approach, while LiteLLM is a lighter-weight library.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| OmniRoute — The Free AI Gateway This agent | 69 · Some gaps | CLIFree + model costs | ★ 92k | today | TypeScript | Codex · Claude Code · OpenAI API · Claude API |
| OpenSquilla — Token-Efficient AI Agent | 74 · Some gaps | CLIFree + model costs | ★ 7.2k | 7d ago | Python | OpenAI API · Claude API |
| ClawCodex | 65 · Some gaps | CLIFree + model costs | ★ 928 | 1d ago | TypeScript | ChatGPT · OpenAI API · Claude API |
| Code Puppy | 56 · Major gaps | CLIFree + model costs | ★ 886 | 1d ago | Python | Codex · OpenAI API · Claude API |
How does FollowAgents rate this agent?
Why each dimension lost points
The files describe routing authentication, policy checks, local-only route classes, generated configs that keep API keys out of files, and safeguards such as encrypted keys and credential placeholders. These support reasonably strong least-privilege and sensitive-data scores. Backup, cloud sync, batch, deletion, and profile auto-sync operations have named commands or options; some destructive actions expose --yes, and the uninstall guide distinguishes keeping data from permanent deletion. The sample does not show confirmation, authorization, and recovery implementations for every operation, so these do not earn full marks. The request pipeline says requests are forwarded to selected upstream providers, but the sample does not fully explain retention details such as call-log archives or all external data flows. The security baseline discloses three high production dependency alerts and calls one a tolerable risk; its report of no critical alerts does not establish that dependency issues are mitigated. Creator attribution, a license, and a vulnerability-reporting channel are clear, while publisher identity remains unverified as instructed.
The documentation describes retries, circuit breakers, connection cooldowns, model lockouts, and in-memory fallback when Redis is unavailable. These are concrete evidence of ordinary failure handling. Deductions reflect conflicting provider and model counts across README sections (including 375, 380, 465 entries, and versioned tables) and the lack of concrete user-facing failure-message examples or coverage in this sample.
The documentation covers CLI, coding agents, desktop, Docker, remote VPS, API, MCP, and A2A scenarios, with client-specific configuration and deployment guidance. It identifies limits such as auto-routing requiring an eligible target, some keyless providers rejecting third-party clients, regional identity checks, and context-window mismatches for non-Claude models. The skill descriptions are often feature summaries, however, and do not spell out trigger conditions and capability boundaries for every skill.
The README has navigation, a quick start, installation paths, and integration guides; CLI skills list subcommands, flags, and examples; and the license text is complete. AGENTS.md is primarily repository contribution and engineering guidance, so it is not treated as a user-facing product safety commitment. Deductions reflect inconsistent names and version information in the sample, limitations spread across documents, and a security baseline and guides referring to different versions and dates. Maintenance responsibility is partly documented through maintainer references and a reporting channel, but the publisher is unverified and some support commitments remain planned.
A unified gateway, protocol translation, quota-aware routing, fallback, and compression describe useful benefits for multi-provider coding workflows; the configuration examples can be used to connect clients. Deductions reflect that major benefit figures are largely README claims without independent results or sufficient measurement detail in the sample. Multi-provider routing also requires users to obtain their own credentials, and provider quotas, availability, and terms vary.
The README explains free-tier pool deduplication, inclusion rules, exclusion of region-verified quotas, and periodic review. The security baseline ties some assertions to commands or CI gates, and configuration guides cite implementation files. Deductions reflect that this is a static sample review and its listed tests and scans were not run here; documents mix revisions, versions, and dates; and headline counts and savings claims lack independent corroboration in the supplied material. Documents often label estimates, limitations, or configuration sources, but do not consistently separate inference from measured fact for every performance or security claim.
- Provider, model, and quota headline figures differ across README sections; rely on the catalog and calculation notes for the specific revision.
- Requests route to user-configured third-party providers. Check the selected provider, its terms, and its data handling before use, and review call-log archival behavior.
- Uninstall, delete, restore, sync, and automatic config-write operations can affect data or configuration; check target paths, backups, and options first.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
Release notes excerpt
OmniRoute v3.8.54 - Providers: official "Sign in with ChatGPT" provider (chatgpt, PKCE + live model discovery); MiniMax Code (managed gateway + dashboard device-code sign-in); RenderHour (images, video, speech); MegaBrain (dual auth); EmpirioLabs, ParalonCloud, deAPI, Replicate chat, Cerebrium, Hetzner Inference and Grokified; native opencode-server executor; Microsoft 365 Copilot work/school sign-in; GitHub Copilot embeddings; Gemini Lyria 3 music models; custom JSON API provider nodes (request template + response path). …View on GitHub ↗ -
Release notes excerpt
OmniRoute v3.8.53 1,189 documented changes from 1,162 commits in the cycle, with 222 people contributing. Thank you all. 📄 Complete release notes (every entry, full description and credit): attached below as CHANGELOG-v3.8.53.md, and in [CHANGELOG.md → [3.8.53]](https://github.com/cheaper-inference/OmniRoute/blob/main/CHANGELOG.md). ⚠️ Known at release time: providers.apiRegionLabel (fi, ko, pl, pt, pt-BR, zh-CN, zh-TW) and providers.apiRegionInternational (fi) show their English text until they are retranslated in v3.8.54. 📊 Release by the numbers | | | …View on GitHub ↗ -
Release notes excerpt
OmniRoute v3.8.52 1,442 documented changes — 135 features, 1,112 fixes and 195 maintenance entries from 1,386 commits in the cycle, with 306 external contributors. Thank you all. 📄 Complete release notes (every entry, full description and credit): attached below as CHANGELOG-v3.8.52.md, and in [CHANGELOG.md → [3.8.52]](https://github.com/diegosouzapw/OmniRoute/blob/v3.8.52/CHANGELOG.md). …View on GitHub ↗
FAQ
Is OmniRoute free?
Do I need my own API keys?
How does OmniRoute ensure reliability?
Will token compression reduce output quality?
Which coding tools are supported?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.