← The Directory
Skill

OmniRoute

OmniRoute is a free, open-source (MIT) AI gateway: one OpenAI-compatible endpoint for 375 providers and 1,400+ models, with smart routing, quota-aware fallback, caching and token compression. Works wi

View source
OmniRoute Dashboard

OmniRoute — The Free AI Gateway

Created by Diego Souza

OmniRoute — Never stop coding. Every AI tool → 412 providers — 140+ with a free offer — through one endpoint. Claude Code, Codex, Cursor, Cline, Copilot & Antigravity into FREE Claude / GPT / Gemini with auto-fallback. RTK + Caveman stacked compression saves 15–95% tokens (~89% avg) — never hit limits. 412 AI providers · 140+ with a free offer · 22 routing strategies · $0 to start. ~11.7B free tokens a month adding up every catalog row, ended offers included; ~111M a month counting each shared quota once.

~11.7B* Free Tokens / Month Across Third-Party Free Tiers

Everything here is free. No paywall.
★ Like it? Star us on GitHub

Other catalogs charge from US$ 19 a year to US$ 49 for lifetime access to live data. Here everything is free. Prices checked on 2026-11-18.

Bring your own provider accounts. These are third-party free tiers, not a token grant from OmniRoute. Sign up, get credentials where a provider asks for them, and connect the ones you can use. Each provider sets its own limits, availability and terms.

Stacking free tiers by hand means dozens of SDKs, dozens of rate limits and no clear idea of what you have left. OmniRoute keeps 296 catalog rows with free access and computes the real figure from 26 pools with a published quota, each shared pool counted once. Quotas that only open after a regional identity check (today, ModelScope) are shown apart, +~7M behind regional identity verification, and never added to the real figure. What is left shows up on the dashboard (/dashboard/free-tiers).

OmniRoute free-tier budget card. ~11.7B free tokens a month adding up every catalog row, ended offers included; ~111M a month counting each shared quota once. 26 pools with a published quota and 296 catalog rows with free access behind one endpoint, catalog audited 2026-12-04. The bar shows where the real figure comes from, one segment per pool. Signup credits and free providers without a token cap are listed apart and never added to it. Live used and remaining tokens on /dashboard/free-tiers.

* Sum of every row in the catalog, ended offers included, the way free-tier catalogs count. Counting each shared quota once, one account per provider reaches about ~111M a month today. How we count →

Animated summary of the live /dashboard/free-tiers page. How each figure is counted: docs/reference/FREE_TIERS.md#how-we-count.

Catalog last audited on 2026-12-04. The figures move both ways. A provider ends a free tier and the real number drops. A new one lands and it climbs. We publish what the catalog computes, never a rounded-up best case.


Join the community

👋 Follow the maintainer — get new providers, releases & tips first:

Follow Diego on LinkedIn Follow @diegosouzapw on GitHub

Discord Telegram WhatsApp Global WhatsApp Brasil Website

Questions, provider tips, roadmap & support → Discord · Telegram · WhatsApp 🌍 Global / 🇧🇷 Brasil / 📢 Official Channel / Portal

Stars cheaper-inference%2FOmniRoute | Trendshift Star History Rank olud.ai GitHub rank Open-source LLM gateways

OmniRoute star ranking: the top five open-source LLM gateways by GitHub stars, with only OmniRoute named. Updated daily from the GitHub API.


The Gateway Keeps Growing

The OmniRoute release rail. Prepare window: v3.8.50 to v3.8.53 (registry, decomposition, headless mode) and v3.8.54 (release infrastructure, last prepare release). Validate window, fixes, docs, translations and provider updates only: v3.8.55 characterization tests and boundaries, v3.8.56 canary and performance baseline, v3.8.57 security and compliance sweep, v3.8.58 dry run of the 3.9.0 cut, v3.8.59 final freeze and GO/NO-GO. Then v3.9.0 LTS: the stable/v3 line, with v4 opening on develop. There is no v3.8.60.
394
providers
1,539
unique chat model IDs
140+
providers flagged with a free offer
22
public routing strategies
Chat counts measured in v3.8.54 (17 November 2026): 1,539 IDs across 3,186 provider/model pairs. The free-offer label follows the catalog audit below.

Provider and model totals for v3.8.55 to v3.8.59 are measured when each release is cut. There are no targets.

Roadmap · Release strategy · LTS GO/NO-GO checklist · LTS support window


Available

npm version npm downloads per month Latest release Docker Hub Docker pulls Release asset downloads License: MIT

Every section of this README, grouped by what you want to do.

GoalSections
StartInstall, connect, first request · Quick Start · More install methods · Free-tier token budget · Languages
UnderstandThe Promise · Why OmniRoute? · What sets OmniRoute apart · The gateway keeps growing · What's new
RouteCombos · Zero-config auto · 22 routing strategies · Resilience layers · OmniRoute Radar
Providers and toolsAI providers · Every major lab · Free every day or month · Trials and signup credits · Compatible CLIs and coding agents
Run itWhere OmniRoute runs · OmniCopilot for VS Code · OmniRouteTray for macOS · Private and local-first
CLI and protocolsFull CLI, MCP and A2A · The CLI · Remote mode · Connect an agent
Save tokensCompression overview · How it works · The 13-engine stack · Output styles and per-request control
See itOmniRoute in action · Video guides
ReferenceTech stack · Documentation · New users · Operators · Routing docs · Spend and quota · Provider guides · Tokens and context · Coding tools and CLI · API · Extensions and traffic · Upstream proxies · Security review · Code · Contributing · Asset notes
CommunityCommunity and help · Join the community · Top contributors · By merged pull requests · By GitHub-attributed commits · All contributors · How to contribute · Releasing a new version · Stars · StarMapper
Support and creditsSupport OmniRoute · Sponsors · Open Source Friends · License
AcknowledgmentsOverview · Lineage and gateway · Compression engines · Compact formats and code-aware tooling · Memory and RAG · Traffic inspection and MITM · Model data, observability and UI · Security · Complementary tools

🌐 In 67 languages

English (en) Português — Brasil (pt-BR) Português (pt) Español (es) Français (fr) Italiano (it) Deutsch (de) Nederlands (nl) Русский (ru) Українська (uk-UA) Polski (pl) Čeština (cs) Slovenčina (sk) Română (ro) Magyar (hu) Български (bg) Dansk (da) Suomi (fi) Norsk (no) Svenska (sv) 中文 — 简体 (zh-CN) 中文 — 繁體 (zh-TW) 日本語 (ja) 한국어 (ko) ไทย (th) Tiếng Việt (vi) Bahasa Indonesia (id) Bahasa Melayu (ms) Filipino (phi) हिन्दी (hi) ગુજરાતી (gu) मराठी (mr) தமிழ் (ta) తెలుగు (te) বাংলা (bn) اردو (ur) فارسی (fa) العربية (ar) עברית (he) Türkçe (tr) Azərbaycan (az) Kiswahili (sw) Ελληνικά (el) Hrvatski (hr) Српски (sr) Lietuvių (lt) Eesti (et) Latviešu (lv) Slovenščina (sl) Malti (mt) Gaeilge (ga) ಕನ್ನಡ (kn) മലയാളം (ml) ଓଡ଼ିଆ (or) ਪੰਜਾਬੀ (pa) नेपाली (ne) සිංහල (si) မြန်မာ (my) ខ្មែរ (km) Hausa (ha) Yorùbá (yo) Igbo (ig) አማርኛ (am) Oʻzbekcha (uz) ქართული (ka) Հայերեն (hy) Bosanski (bs)


Install, connect a provider, then route through one endpoint

Four steps to use OmniRoute. Install with npm install -g omniroute, run omniroute, connect a provider and create an API key in the dashboard, then call http://localhost:20128/v1 with model auto.
# 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!"}]}'

auto needs an eligible route. A fresh installation can have no eligible keyless targets, and a keyless provider may reject third-party clients. Providers marked tos: avoid, including Kiro, are excluded from automatic routing by default; connecting an account does not override that setting. See the Free Tiers Guide before choosing a provider.

Copy-paste quickstart scripts for Python, Node.js, PHP and cURL: examples/quickstart/. Step-by-step version: Quick Start.



The Promise

The Promise — One endpoint and 412 providers. Automatic fallback keeps routing while another healthy target is available. Six pillars: resilient fallback across 412 providers · up to 95% token savings on eligible workloads · $0 to start with 140+ providers with a free offer and 40 recurring/keyless free-forever providers · 39 CLI/agent integrations through one config · OpenAI, Claude, Gemini and Responses API compatibility at /v1 · production controls including circuit breakers, TLS stealth, MCP 110 tools, A2A, memory, guardrails, evals and 65,000+ static test declarations across 9,500+ tracked test files.

Why OmniRoute?

Why OmniRoute — stop juggling 10 dashboards, dead API keys and surprise bills. Ten daily pains vs fixes: quota expiring unused → maximize subscriptions; rate limits mid-coding → 4-tier auto-fallback (Subscription → API → Cheap → Free); tool outputs burning tokens → RTK + Caveman compression (15–95%); expensive APIs → cost-optimized routing that tries lower input-token prices first; every tool its own setup → one endpoint, one dashboard; AI blocked → 3-level proxy + TLS stealth; dead keys → 3-layer resilience (circuit breakers, key cooldown, model lockout); team sharing one subscription → key pools with fair-share quotas; prompts through someone's cloud → local-first with AES-256-GCM encrypted keys; no spend visibility → live analytics (usage, quota, savings, p95 latency).
OmniRoute request flow: your IDE or CLI (Claude Code, Cursor, Cline…) calls one local endpoint (http://localhost:20128/v1); the OmniRoute Smart Router (RTK + Caveman compression, 22 routing strategies, circuit breakers, TLS stealth, MCP, A2A, guardrails) can fall back across 4 provider tiers while an eligible healthy target remains — Tier 1 Subscription, Tier 2 API Key, Tier 3 Cheap and Tier 4 Free.

Supported by our Open Source Friends

Kimi K3 — Open Frontier Intelligence · 2.8T parameters · 1M-token context

Want to join as an Open Source Friend? These are the companies that back open source and help keep OmniRoute moving — and we say publicly where every token they give us goes. Reach out: diegosouza.pw@outlook.com

Kimi (Moonshot AI)
Kimi
Moonshot AI

Founding Open Source Friend
Thanks to Kimi (Moonshot AI), our founding Open Source Friend, for backing this project! Kimi is the AI lab behind the open-weight K2 and K3 model families — Kimi K3 delivers a 1M-token context window, native vision and frontier-level coding at a fraction of closed-model prices, and works out of the box with Claude Code, Codex and every coding tool OmniRoute serves.

What Kimi's support powers: Kimi's API credits power OmniRoute's AI-validated release pipeline — the merge validation powered by Kimi K3 stage that reviews every pull request before it ships — plus day-to-day feature development. First-class Kimi support ships on both rails: the direct Kimi API (kimi-k3) and the Kimi Code coding plan (OAuth and API key). OmniRoute is also the first Brazilian open-source project in Kimi's support program. Get a Kimi API key with 15% extra credits →
Cheaper Inference
Cheaper Inference
cheaperinference.com

Open Source Friend
Thanks to Cheaper Inference, an OmniRoute Open Source Friend, for backing this project! Cheaper Inference is a cost-ranked gateway that resells 42 frontier models — Claude, GPT-5.x, Gemini, Kimi K3, GLM, DeepSeek, Grok and MiniMax — behind one OpenAI-compatible endpoint, routing each request to the cheapest eligible provider without ever charging above the model maker's list price.

First-class support in OmniRoute: Chat Completions, the native /v1/responses endpoint, vision, tool calling and 3 image models (grok-imagine, nano-banana-pro, nano-banana-2, reachable as cheaperinference/<model>). Get an API key →

Links tagged aff=omniroute are partner links. They fund the project at no extra cost to you.


🎟️ Affiliates Promo — free signup coupons from providers we don't sponsor (click to expand)

This section is for referral/coupon codes only. Sponsored partnerships live in 🤝 Supported by our Open Source Friends above. OmniRoute has no sponsorship or partnership with the providers listed here — these are public coupons anyone can use.

AgentRouter
AgentRouter
agentrouter.org
AgentRouter — Referral link (official site: agentrouter.org) · daily $25 check-in credit, and sign-ups with an invite code get $50 more (checked 2026-11-28; free server, expect higher latency — best for testing, not production). First-class support in OmniRoute since v3.8.50: Chat Completions, the Anthropic-compatible wire format and the OpenAI-compatible path. Its public model list currently shows gpt-6.1-sol and gpt-5.6-sol. Sign up →

⚠️ Affiliate link — OmniRoute has no sponsorship or partnership with this provider.

Know another provider with a generous free signup coupon that benefits OmniRoute users? Open an issue and we'll add it here.


Combos: the flagship

  1. Start with auto. Set the model in your OpenAI-compatible client. OmniRoute builds a virtual combo from connected providers and scores candidates live.
  2. Save a combo for more control. Choose a name, target list and strategy, then use that name as the model. The strategy sets which target goes first and how the rest are tried.

A combo routes across models automatically. On quota exhaustion, provider failure or model lockout, it tries the next eligible, healthy target.

Zero-config: just use auto

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"}]}'

Variants tune the weights. Last-known-good routing stays with the last successful provider until it fails, then rescores. auto/fast and auto/cheap express preferences without guaranteeing the fastest or cheapest model.

Model IDBehavior
autoBalanced default weights.
auto/fastFavors low latency and provider health.
auto/cheapFavors lower catalog prices.
auto/codingQuality-first weights for code generation.
auto/smartQuality-first weights with 10% exploration (default 5%).
auto/lkgpExplicit last-known-good routing with the same weights as auto.
auto/subscriptionUses only live-verified plan quota. Returns HTTP 503 when none is available and avoids billed fallback.
auto/thriftyPlan → keyless → free → cheap → premium. May reach billed models and returns to the plan when quota and cooldown allow.
auto/offlineFavors quota and rate-limit headroom. Requests still go to your providers.
auto/chaosOne model per provider in parallel, up to five by default or ten when configured. One upstream call per model. Returns the top-ranked reply or the last successful panel reply if the top model fails. Use fusion to synthesize replies with a judge.

Category and optional tier examples include auto/coding:fast, auto/coding:free, auto/reasoning:pro and auto/vision. If no connected candidate matches, the request returns HTTP 503 and the pool stays narrow. Auto-Combo guide · Subscription-first routing

Or build your own: 22 routing strategies

omniroute combo create my-pool --strategy fill-first \
  --models "provider-a/model-1,provider-b/model-2"

The CLI accepts 15 of 22 strategies. The dashboard and combos API accept all 22.

StrategyBehavior
autoRank candidates live with the 16-factor Auto-Combo scorer.
cache-optimizedPrefer the account likely to hold the prompt prefix in cache.
context-optimizedTry the largest known context window first.
context-relayKeep your order and pass a conversation summary when switching accounts.
cost-optimizedSort by catalog input-token price, unknowns last. Final request cost can differ.
expiry-firstSpend quota likely to expire, highest leftover per hour until reset first.
fill-firstStay on the first available target until it runs out or fails, then move on.
fusionQuery a panel in parallel and have a judge synthesize one answer.
headroomChoose the most free capacity across 5-hour and weekly windows.
jevTypeSafe Jev picks which entries in your ranked list run. Turn on COMBO_JEV_STRATEGY_ENABLED to send an excerpt per request and use paid TypeSafe calls. With it off, your order applies.
least-usedPick the target with the fewest recorded requests in this combo.
lkgpTry the last successful provider first, otherwise keep your order.
p2cSample two targets and pick by success rate and latency.
pipelineFeed each step's output into the next target in sequence and return only the final answer.
priorityTry targets in your order. Session stickiness preserves it.
quota-weightedSkip exhausted accounts and draw by leftover quota and in-flight load.
randomShuffle for each request. The same first target can repeat.
reset-awareScore remaining quota and time to reset across session and weekly windows.
reset-windowTry the account whose quota window resets soonest.
round-robinRotate in order, three successes per target by default.
strict-randomDeal from a shuffled deck so each target leads once before repeats.
weightedDraw a first target by weight and keep the rest as fallbacks. The split is statistical. Use round-robin for strict rotation.

Quota strategies use live data where providers report it, including 5-hour and weekly subscription windows. fusion and pipeline make multiple upstream calls per request.

The 16-factor scorer uses quota, health, cost, latency, task fit, stability, tier priority, tier affinity, specificity match, context affinity, cache affinity, session availability, reset-window affinity, connection density, quality and reliability. Weights vary by profile. Cache affinity, reset-window affinity and reliability have zero weight by default. Scoring factors

Animated grid showing how all 22 public OmniRoute combo routing strategies select, order, or chain targets.

In a saved combo with strategy: "auto", config.routerStrategy selects rules, score, cost (eco), latency (fast), sla-aware (sla), lkgp, nadir or decision. Auto router strategies

Eight auto router strategies with example picks and aliases grouped. Nadir and decision fall back to rules when their deciders are unavailable.

Resilience is built in: 3 independent layers

Failures are handled at three scopes, so one bad model does not take down its account, and one bad account does not take down its provider.

OmniRoute resilience: 3 independent self-healing layers, the right layer for the right failure. Layer 1, provider circuit breaker (whole provider): trips only on 408/500/502/503/504, opens after 8 failures for OAuth providers or 12 for API-key providers, resets after 60s or 30s into a HALF-OPEN probe, lazy recovery; while OPEN the combo reroutes to the next provider. Layer 2, connection cooldown (one key or account): base 5s OAuth or 3s API-key, exponential backoff with an anti-thundering-herd guard, success clears the error state; one cooling key is skipped while sibling keys keep serving. Layer 3, model lockout (one model): per-model 429, 404 or access denials lock just that model, never the whole connection. Terminal states (banned, expired, credits exhausted) wait for the operator; they are not cooldowns.

If a whole provider is down

The provider circuit breaker opens after 8 (OAuth) or 12 (API key) failures with status 408, 500, 502, 503 or 504. Combos skip that provider while it is open. After 60 s or 30 s, one probe request decides whether it closes.

If one key or account is rate-limited

The connection cooldown benches only that connection, with exponential backoff from 5 s (OAuth) or 3 s (API key). Other keys for the same provider keep serving.

If one model is refused

The model lockout blocks only that model on that connection after a per-model 429, 404 or access denial. Other models on the same connection keep serving.

Banned, expired and out-of-credit connections are terminal states, not cooldowns: they wait for you to fix them.

Auto-Combo engine · Resilience guide


What Sets OmniRoute Apart

What sets OmniRoute apart — a dated feature snapshot vs 9router, OpenRouter, CLIProxyAPI and LiteLLM across 13 capabilities. OmniRoute: 412 providers, 140+ providers with a free offer, 22 routing strategies, 12-engine token compression, built-in MCP server with 110 tools, A2A agent protocol, persistent memory, guardrails, cloud agents, TLS fingerprint stealth, Desktop/Termux/PWA and 67 i18n UI locales. OmniRoute is MIT-licensed and self-hostable. Competitor capabilities and counts may change; see the linked methodology.

📊 Full methodology & per-feature detail vs 9router, OpenRouter, CLIProxyAPI & LiteLLM → docs/comparison/OMNIROUTE_VS_ALTERNATIVES.md


Support OmniRoute

OmniRoute is MIT-licensed and maintained in the open. If it saves you time or money, these are the ways to help keep it independent. Sponsorship never affects routing: it buys visibility, not ranking.

MethodBest forLink
Star the repoFree, and it helps visibilityStar OmniRoute
GitHub SponsorsOne-off or monthly. No platform fee on sponsorships from personal accountsgithub.com/sponsors/diegosouzapw
Ko-fiQuick one-off tip, no signup for the donorko-fi.com/diegosouzapw
Buy Me a CoffeeSmall, informal gesturebuymeacoffee.com/diegosouzapw
LiberapayRecurring, run by a non-profitliberapay.com/diegosouzapw
Open Collective
companies, invoices
Opening soon: the collective is waiting for fiscal-host approval and does not accept contributions yetopencollective.com/omniroute
PIX (Brazil)Instant, no feesKey and QR below
CryptoBTC, ETH, USDT-TRC20, USDC-Solana (Monero coming soon)Addresses below

Sponsoring as a company

Companies can sponsor today from a GitHub organization account through GitHub Sponsors, which offers invoiced billing for organizations. The Open Collective page is set up for companies that need invoices and public accounting, but it opens only after a fiscal host approves it. Tax treatment will depend on that host and on your country. OmniRoute does not promise that a contribution is tax-deductible.

PIX (Brazil)

OmniRoute PIX QR code

Key (random): 5d865059-bc44-483a-962d-43ceb80126eb

Pix copia-e-cola:

00020101021126580014br.gov.bcb.pix01365d865059-bc44-483a-962d-43ceb80126eb5204000053039865802BR5922OMNIROUTE CONTRIBUICAO6006BRASIL62070503***630475DD

Crypto

CoinNetwork Address
BTCBitcoin (SegWit)bc1qh00smz004sy85wyl28v77tenkt3ckl6eaep7fd
ETHEthereum (ERC20)0x64Cf6B68A6Ff34288e89172950a2d00102337a84
USDTTron (TRC20)TKAF41JpuQrHbKTnsQa9svJE2T192Hvsc2
USDCSolana2emNNZzVVWQc3FQ2wk9M6qXUQmW8AKdjjL174fXR28Tu
XMRMoneroAddress coming soon

[!IMPORTANT] Send each coin only on the network shown. A transfer on the wrong network can lose the funds.

Found a bug or have feedback? Open a Discussion.


Developer notes: The project may generate a local .env file during npm install/postinstall for developer convenience. This file is intentionally ignored via .gitignore and must never be committed. If it is committed by accident, rotate any exposed secrets and remove the file from history. See docs/DEVELOPER-ENVIRONMENT.md for guidance on managing local environment files and secrets.

OmniRoute Radar

Radar is the live, signed copy of the free-tier catalog above, and it is free for everyone. There is no paywall and no waiting period. It is opt-in and GET-only. The OmniRoute client sends nothing to Radar: no prompts, traffic, provider configuration or usage telemetry.

The numbers above come from the catalog shipped with this release. Radar can show newer data between releases. New free offers and promotions are added every week. Watch the real number grow on the Radar.

OmniRoute Radar →


What's New

v3.8.54 (2026-11-17)

Latest release. Release notes.

  • Account routing. Mark Auto combo accounts Preferred, Normal, Reserve or Excluded. Enable failover to a sibling account when the preferred one is slow to respond. Auto-Combo · PR #19259
  • New combo strategies. expiry-first prioritizes quota near expiry. jev uses System One to pick a target and its fallbacks. Auto-Combo
  • Combos by endpoint. Set separate targets and strategies for chat, search and fetch, embeddings, rerank, images, video, music, OCR and audio. [PR #18731](https://github.com/cheaper-inference/OmniRoute/pull/1873