Không bao giờ chạm giới hạn
Tự động chuyển đổi giữa 339 nhà cung cấp trong mili giây. Hết quota? Nhà cung cấp tiếp theo tiếp quản. không có thời gian chết.
AI Gateway miễn phí & mã nguồn mở
Route across 352 providers through one OpenAI-compatible endpoint, with automatic fallback.
OmniRoute × Cheaper Inference
Combine OmniRoute’s automatic fallback and developer tools with Cheaper Inference’s cost-ranked marketplace. Every eligible request starts with the cheapest available provider route.
| Model | Input price | Output price | Savings |
|---|---|---|---|
| gpt-5.6-lunaOpenAI · text | 60% off | ||
| gpt-5.6-solOpenAI · text | 50% off | ||
| glm-5.3Z.ai · text | 45% off | ||
| deepseek-v4-flashDeepSeek · text | 40% off | ||
| deepseek-v4-flash-0731DeepSeek · text | 40% off | ||
| glm-5.3-flashZ.ai · text | 30% off |
Cam kết
Tự động chuyển đổi giữa 339 nhà cung cấp trong mili giây. Hết quota? Nhà cung cấp tiếp theo tiếp quản. không có thời gian chết.
A 12-engine pipeline reduces eligible context by 15–95%. The documented tool-heavy example reduced it by ~89%.
90+ free tiers and 56 recurring or keyless free-forever providers. No credit card needed for the keyless quick start.
16+ tác nhân lập trình. Claude Code, Codex, Cursor, Cline, Copilot, Antigravity. qua một cấu hình.
Dịch OpenAI ↔ Claude ↔ Gemini ↔ Responses API. Trỏ bất kỳ công cụ nào vào /v1 và nó hoạt động ngay.
Bộ ngắt mạch, TLS tàng hình, MCP (105 công cụ), A2A, bộ nhớ, guardrails, evals. được hỗ trợ bởi 25.000+ bài kiểm tra.
Danh mục
A catalog spanning chat, media, search, local runtimes, cloud agents and system integrations.
352 providers+
Chạy trong 60 giây
Install the package, launch the gateway, then point any OpenAI-compatible client at port 20128.
Install the `omniroute` npm package globally.
$ npm install -g omnirouteadded 1 package
Launch the API and dashboard together on port 20128.
$ omniroute▸ dashboard ✓ http://localhost:20128/dashboard▸ api ...... ✓ serving on :20128
Use `http://localhost:20128/v1`; the keyless `auto` route works on a fresh install.
$ curl localhost:20128/v1/models✓ models listed
Đầy đủ tính năng
Định tuyến, khả năng phục hồi, tận dụng quota miễn phí, nén và giao thức agent. một binary, không cần cắm thêm plugin.
Set a model to `auto` or build your own combo with 19 strategies and tiered fallback.
Use a ready-made mode or combine 19 strategies around the goal that matters.
Bộ nhớ hội thoại liên tục. tìm kiếm từ khóa FTS5 + gợi nhớ vector Qdrant, tích hợp sẵn.
Lỗi đúng cấp độ. không bao giờ toàn bộ hệ thống. Circuit breaker theo nhà cung cấp, cooldown theo kết nối, lockout theo model. Các key và model khác vẫn tiếp tục phục vụ.
Pool-deduped accounting across 90+ free tiers.
~1.51B token miễn phí mỗi tháng.
12 composable engines for tool output, context and response style.
Reduce eligible tokens by 15–95%.
A built-in server exposing 110 gateway tools across 33 scopes.
110 tools · 33 scopes · stdio / HTTP
A JSON-RPC agent server with 6 skills.
6 skills · JSON-RPC 2.0 · Agent Card
Client compatibility
Point an OpenAI-compatible CLI or editor at one local base URL; OmniRoute handles the providers behind it.
http://localhost:20128/v1
curl http://localhost:20128/v1/chat/completions \
-H "Authorization: Bearer $OMNIROUTE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"auto","messages":[{"role":"user","content":"Hello"}]}'Mới
Cài tiện ích mở rộng OmniCopilot và mọi mô hình OmniRoute sẽ xuất hiện ngay trong bộ chọn mô hình bạn đang dùng. không cần thanh bên mới, không cần giao diện chat mới.
Works in VS Code stable and Insiders. Install from the Marketplace or Extensions view.
Dành cho các bản fork của VS Code không dùng cửa hàng chính thức. Cursor, Windsurf, VSCodium, Theia, code-server, Gitpod và nhiều hơn nữa.
Từ VS Code 1.122, các mô hình nhà cung cấp hoạt động mà không cần đăng nhập GitHub hay đăng ký Copilot. agent mode, gọi công cụ và thị giác, trên các mô hình miễn phí của OmniRoute.
Thực tế hàng ngày
Mọi vấn đề đau đầu với AI lập trình đều có giải pháp tích hợp sẵn. Không cần script, không cần giám sát.
So sánh trung thực
Capabilities checked against the linked project documentation on 2026-08-30.
| Capability | OmniRoute (opens in a new tab) | 9Router (opens in a new tab) | LiteLLM (opens in a new tab) | CLIProxyAPI (opens in a new tab) |
|---|---|---|---|---|
| Providers | 352 | 40+ | 100+ | 8+ upstreams |
| Routing strategies | 19 | 3-tier | retry / priority | round-robin / fill-first |
| Tiered fallback with UI | Yes | Yes | Manual policy | Multi-account |
| Token compression | 12 engines · 15–95% | RTK / Headroom / Caveman | No built-in pipeline | HTTP compression |
| Capability | OmniRoute (opens in a new tab) | 9Router (opens in a new tab) | LiteLLM (opens in a new tab) | CLIProxyAPI (opens in a new tab) |
|---|---|---|---|---|
| Built-in MCP server | 110 gateway tools | No | MCP client / gateway | No |
| A2A protocol | Server · 6 skills | No | A2A client / gateway | No |
| Cloud agents | Codex / Cursor / Devin / Jules | No | No | Sidecar integrations |
| Capability | OmniRoute (opens in a new tab) | 9Router (opens in a new tab) | LiteLLM (opens in a new tab) | CLIProxyAPI (opens in a new tab) |
|---|---|---|---|---|
| Failure-isolation layers | 3: provider / connection / model | Cooldown | Cooldown / retry | Cooldown |
| Persistent memory | FTS5 + vector | No | Semantic cache | No |
| Guardrails | PII / injection / vision | No | Yes | Cloaking controls |
| Eval framework | Built in | No | No | No |
| TLS fingerprint controls | wreq-js | No | No | uTLS |
| Capability | OmniRoute (opens in a new tab) | 9Router (opens in a new tab) | LiteLLM (opens in a new tab) | CLIProxyAPI (opens in a new tab) |
|---|---|---|---|---|
| Dashboard stack | Next.js 16 | Next.js 16 | Next.js | Next.js / React |
| UI locales | 42 | 10 | Not documented | 3 |
| OAuth providers | 25 | 6 | SSO | CLI auth |
| Self-hostable | Yes | Yes | Yes | Yes |
| License | MIT | MIT | MIT + enterprise | MIT |
Public README and official documentation snapshot; verify linked sources before purchase or deployment decisions.
Chạy ở mọi nơi
Một codebase, chín cách chạy. laptop, server, điện thoại hay plugin. Chọn lệnh cài đặt và bạn đã phục vụ trên cổng 20128.
npm
npm install -g omnirouteOpen guide (opens in a new tab)Docker
docker run … diegosouzapw/omnirouteOpen guide (opens in a new tab)Desktop
npm run electron:buildOpen guide (opens in a new tab)ARM
native arm64Termux
pkg install nodejs && npx -y omnirouteOpen guide (opens in a new tab)PWA
Add to Home ScreenOpen guide (opens in a new tab)Plugin OpenCode
@omniroute/opencode-providerOpen guide (opens in a new tab)VS Code
Install OmniCopilotOpen guide (opens in a new tab)Mã nguồn
npm install && npm run devOpen guide (opens in a new tab)Routing
Use a ready-made mode or combine 19 strategies around the goal that matters.
autoBalanced defaultcurl http://localhost:20128/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{"model":"auto","messages":[{"role":"user","content":"Write a TypeScript retry helper."}]}'Routing alias auto selected. Objective: Balanced default. Fallback enabled.
Use quota you already have before touching paid APIs.
priority · fill-firstBalance traffic across keys and accounts to reduce rate-limit pressure.
weighted · round-robin · p2c · least-used · headroomRoute to the lowest-cost eligible target.
cost-optimizedKeep long contexts on models that fit, then relay when needed.
context-relay · context-optimized · cache-optimizedDistribute eligible traffic across targets.
random · strict-randomUse 15-factor scoring, last-known-good and reset-aware windows.
reset-window · reset-aware · lkgp · auto · fusion · pipelineToken miễn phí, đếm trung thực
455 catalog entries are deduplicated into 40 recurring pools; only published positive budgets feed the headline.
1.51B
Pool-deduped accounting keeps shared quotas from being counted more than once. No-cap providers stay visible without inflating the token total. Checked 2026-08-30.
View the calculation (opens in a new tab)Ngừng đốt token
Đầu ra công cụ, ngữ cảnh lặp lại và JSON cồng kềnh được nén trước khi đến mô hình. cùng ý nghĩa, chỉ một phần token. 12 engine có thể kết hợp xếp chồng trong một pipeline mà bạn kiểm soát.
The function should iterate over the list of items, and for each item, it should check whether the value is greater than zero, and if so, add it to the running total.sum all list items where value > 0x-omniroute-compression: standardStandard compression selected. Published range ~30%.
Control precedence: request header → combo → profile → adaptive policy → default.
3 lớp, không phải 3 tầng
Một key xấu không nên kéo sập nhà cung cấp. Một model chết không nên kéo sập key. Mỗi lỗi được cô lập ở phạm vi nhỏ nhất có thể, để mọi thứ còn lại vẫn phục vụ.
Network controls
Proxy scopes control network routing while local-first storage keeps operational data on your machine.
Route globally, per provider or per individual connection.
Match supported provider clients down to selected transport characteristics.
Keys, usage and history stay on the host you control.
Xem tất cả cùng lúc
Manage providers, combos, analytics, health and costs at `localhost:20128/dashboard`.
Gốc agent
OmniRoute không chỉ là proxy. nó nói ngôn ngữ của agent. Cắm vào MCP client, mạng A2A hay cloud coding agent và nó trở thành công cụ mà agent có thể vận hành.
110 tools across 33 scopes over stdio and HTTP transports.
110 tools · 33 scopes · stdio / HTTP
claude mcp add omniroute --type http --url http://localhost:20128/api/mcp/stream6 skills for smart routing, quota, discovery, cost analysis and health reporting over JSON-RPC 2.0.
6 skills · JSON-RPC 2.0 · Agent Card
Điều khiển Codex, Cursor, Devin và Jules qua một giao diện. tạo task, phê duyệt kế hoạch và stream kết quả, tất cả được định tuyến qua OmniRoute.
Codex · Cursor · Devin · Jules
Vượt xa định tuyến
Chạy Bifrost (Go relay), 9Router hoặc CLIProxy như các sidecar được quản lý. hoặc một profile cluster đầy đủ. ngay từ dashboard.
Notion & Obsidian được tích hợp như các công cụ MCP. ghi chú và vault của bạn trở thành ngữ cảnh hạng nhất cho mọi model.
Bảo vệ chống prompt-injection trên mọi route, PII redaction tùy chọn và chuẩn hóa bộ lọc nội dung an toàn. phòng thủ mà không bị khóa chân.
Streak, thành tựu và tiết kiệm theo thời gian thực. biến mức sử dụng của bạn thành điều hữu hình.
Guides
Walkthroughs cover installation, free-provider setup and connecting an IDE.
Xây dựng trong môi trường mở
OmniRoute liên tục cập nhật. được thúc đẩy bởi hàng trăm cộng tác viên luôn đi trước xu hướng.
Snapshot from 2026-09-01
Chat, support and roadmap
(opens in a new tab)News and announcements
(opens in a new tab)Global community
(opens in a new tab)Comunidade Brasil
(opens in a new tab)OmniRoute by Cheaper Inference
Self-host OmniRoute, or start with Cheaper Inference for a hosted cost-ranked gateway.