Sumali na ang OmniRoute sa Cheaper InferenceTuklasin

#1 Open Source AI Router

Mag-route sa 395 provider sa pamamagitan ng isang endpoint, may automatic fallback.

OpenAI-compatible Libre at open source91.5k star (bubukas sa bagong tab)

Quick start

I-install, patakbuhin, ikonekta.

Provider catalog
395
Mga routing strategy
22
Local endpoint
:20128/v1

Step 1: I-install

I-install ang omniroute npm package nang global.

omniroute: install
$ npm install -g omnirouteadded 1 package

Step 2: Patakbuhin

Ilunsad ang API at dashboard nang magkasama sa port 20128.

omniroute: run
$ omniroute▸ dashboard ✓ http://localhost:20128/dashboard▸ api ...... ✓ serving on :20128

Step 3: Ikonekta ang tool mo

Gamitin ang http://localhost:20128/v1; gumagana ang keyless auto route sa bagong install.

omniroute: connect
$ curl localhost:20128/v1/models✓ models listed
MGA OPSYON SA DEPLOYMENT

Patakbuhin mo mismo.
O ipaubaya sa amin ang hosting.

Piliing patakbuhin ang OmniRoute nang sarili o gumamit ng pinamamahalaang Cloud hosting.

SARILING HOSTING01

OmniRoute Open Source

Patakbuhin ang OmniRoute sa sarili mong makina o imprastraktura. Pamahalaan ang deployment at ikonekta ang provider.

  • Libre at bukas ang source
  • Buong kontrol sa deployment mo
  • Mga key, subscription at provider mo
HOSTING PARA SA IYO02

OmniRoute Cloud

Nakalaang OmniRoute instance na may pinamamahalaang hosting. Pumili ng rehiyon at ikonekta ang inference provider.

  • Nakalaang resource sa napiling rehiyon
  • Pinamamahalaang HTTPS, update at araw-araw na backup
  • Isang click na inference connection, o sariling mga key

Ang catalog

Lahat sa likod ng isang endpoint.

Isang catalog na sumasaklaw sa chat, media, search, local runtime, cloud agent at system integration.

395 provider

Lahat sila, sa likod ng isang local endpoint.

Ang isang endpoint na tinuturo ng bawat clienthttp://localhost:20128/v1

14 Search12 Audio-only2 Upstream proxy3 Cloud agent1 System
OpenAIAnthropicGoogleDeepSeekxAIZ.aiMoonshotMiniMaxAlibabaMetaBytedanceAion Labs
25OAuthClaude Code, Codex, Cursor, GitHub Copilot, Kimi Code…
233API keyOpenAI, Anthropic, Groq, NVIDIA, Cerebras, Mistral…
35Web cookieChatGPT Web, Claude Web, Gemini Web, Grok Web…
14LocalOllama, LM Studio, vLLM, llama.cpp…
13Walang authenticationOpenCode Free, Felo, Pollinations at iba pang keyless na route…
Tuklasin ang provider reference (opens in a new tab)

Mga pangunahing control

Isang endpoint para sa mga naka-configure mong provider.

Core control

Panatilihing tumatakbo ang mga request

Kapag hindi available o ubos na ang quota ng isang target, pipili ang OmniRoute ng susunod na healthy na target.

Core control

I-compress ang eligible na context

Isang pipeline na may 12 engine ang nagbabawas ng eligible na context ng 15–95%. Ang dokumentadong tool-heavy na halimbawa ay nabawasan ng ~89%.

Core control

$0 para magsimula

140+ free tier at 39 recurring o keyless na free-forever provider. Hindi kailangan ng credit card para sa keyless na quick start.

Core control

35 suportadong integration

I-configure ang Claude Code, Codex, Cursor, Cline, Copilot, Antigravity at iba pang suportadong client sa pamamagitan ng isang endpoint.

Core control

Isang endpoint

Tumatanggap ng OpenAI, Claude, Gemini at Responses API request sa /v1.

Core control

Mga operational control

Kasama sa self-hosted gateway ang circuit breaker, encrypted na credential, MCP, A2A, memory, guardrail at eval.

Mga gateway control

Mga pangunahing gateway control sa isang process.

I-configure ang fallback, quota, compression, memory, MCP at A2A mula sa local dashboard.

Gateway control

Smart Combos

I-set ang model sa auto o bumuo ng sarili mong combo gamit ang 22 strategy at tiered fallback.

Gumamit ng ready-made na mode o pagsamahin ang 22 strategy ayon sa layuning mahalaga sa iyo.

Gateway control

Memory

Persistent na conversational memory na may FTS5 keyword at Qdrant vector recall.

Gateway control

3-layer na resilience

Ang provider breaker, connection cooldown at model lockout ay nag-isolate ng mga failure sa pinakamaliit na kapaki-pakinabang na scope.

Gateway control

Libreng quota

Pool-deduped na accounting sa 140+ free tier.

Nakalathalang free-tier capacity, deduplicated.

Gateway control

Compression

12 composable na engine para sa tool output, context at response style.

Bawasan ang eligible na token ng 15–95%.

Gateway control

MCP server

Isang built-in na server na naglalantad ng 110 gateway tool sa 33 scope.

110 tool · 33 scope · stdio / HTTP

Gateway control

A2A protocol

Isang JSON-RPC agent server na may 6 skill.

6 skill · JSON-RPC 2.0 · Agent Card

Gateway control

Semantic cache

Puwedeng bumalik mula sa cache ang paulit-ulit na request, at iniuulat ng response header kung ano ang natipid.

X-OmniRoute-Cache: HIT

Client compatibility

Panatilihin ang mga coding tool mo.

Ituro ang OpenAI-compatible na CLI o editor sa isang local base URL; hahawakan ng OmniRoute ang mga provider sa likod nito.

Claude Code
Codex CLI
Cursor
Cline
GitHub Copilot
Gemini CLI
OpenCode
Kilo Code
Factory Droid
Continue
Roo Code
Antigravity
Aider
OpenClaw
Goose
Grok Build
Windsurf
Devin CLI

http://localhost:20128/v1

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

OmniCopilot

Gamitin ang mga OmniRoute model sa Copilot Chat.

Idinadagdag ng OmniCopilot ang mga OmniRoute model sa kasalukuyang model picker.

Opisyal na Marketplace

Gumagana sa VS Code stable at Insiders. I-install mula sa Marketplace o Extensions view.

Open VSX Registry

Para sa Cursor, Windsurf, VSCodium, Theia, code-server, Gitpod at iba pang compatible na editor.

Hindi kailangan ng Copilot plan

Puwedeng tumakbo ang mga provider model sa pamamagitan ng OmniRoute sa Copilot Chat nang hindi dumadaan ang inference sa Copilot plan.

Mga karaniwang failure mode

Bakit OmniRoute

Tingnan kung aling control ang tumutugon sa bawat karaniwang failure mode.

Without routing
With OmniRoute
Nag-e-expire ang quota nang hindi nagagamit
Subaybayan at ubusin ang allowance na mayroon ka na
Pinipigilan ka ng rate limit sa gitna ng task
4-tier na auto-fallback sa loob ng millisecond
Umuubos ng token ang tool output
12-engine na compression, 15–95% sa eligible na content
Nagkakapatong ang gastos sa mahal na API
Puwedeng pumili ng pinakamurang eligible na target ang cost-optimized routing
Kailangan ng sariling setup ang bawat tool
Isang endpoint at isang dashboard
Hindi available ang isang provider mula sa network mo
Mga proxy scope at client-fingerprint control
Sinisira ng isang patay na key ang isang provider
Ini-isolate ng breaker, cooldown at lockout ang failure
Isang subscription ang hati-hatian ng team
Mga key pool at fair-share quota
Kailangan mo ng local control sa routing data
Local-first na storage na may encrypted na credential
Walang visibility sa gastos o health
Analytics ng usage, quota, tipid at latency

Snapshot ng dokumentasyon

Paghahambing ng mga gateway

4 gateway/20 pamantayan
Kasama naKailangan ng setupHiwalay na integrationHindi nakadokumentoMga detalye

Routing

Pumili ng auto route.

Gumamit ng ready-made na mode o pagsamahin ang 22 strategy ayon sa layuning mahalaga sa iyo.

Model · naka-enable ang fallbackautoBalanced default
OpenAI-compatible na request
curl 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.

Ubusin ang subscription quota

Gamitin ang quota na mayroon ka na bago gumalaw sa mga bayad na API.

priority · fill-first

Ikalat ang load

I-balance ang traffic sa mga key at account para mabawasan ang rate-limit pressure.

weighted · round-robin · p2c · least-used · headroom

Pinakamura muna

I-route sa pinakamababang-gastos na eligible na target.

cost-optimized

Context-aware

Panatilihin ang mahahabang context sa mga model na kaya ito, pagkatapos i-relay kung kailangan.

context-relay · context-optimized · cache-optimized

Randomized

Ipamahagi ang eligible na traffic sa mga target.

random · strict-random

Adaptive scoring

Gumamit ng 16-factor na scoring, last-known-good at reset-aware na window.

reset-window · reset-aware · lkgp · auto · fusion · pipeline

Free-tier accounting

Nakalathalang free-tier capacity, deduplicated.

Sinusubaybayan ng catalog ang 213 opsyon sa pag-access at 12 na inilathalang quota pool.

~11.4B*

libreng token kada buwan

* Kabuuan ng lahat ng hanay sa catalog, kasama ang mga alok na tapos na, ayon sa paraan ng pagbilang sa mga catalog ng libreng plan. Kapag isang beses lang binilang ang bawat shared quota, ang isang account sa bawat provider ay nagbibigay ngayon ng humigit-kumulang ~90M kada buwan. Paano kami nagbibilang →

Libre ang lahat dito. Walang kailangang bayaran para makita ito.

Naniningil ang ibang catalog mula US$ 19 kada taon hanggang US$ 49 para sa panghabambuhay na access sa kasalukuyang datos. Libre ang lahat dito.

Nagustuhan mo? Bigyan kami ng star sa GitHub

Nagdaragdag ng mga bagong libreng alok at promo kada linggo. Subaybayan ang paglaki ng aktuwal na bilang sa Radar.

Tingnan ang kalkulasyon

Isang beses lang binibilang ang mga shared quota. Nakalista pa rin ang mga alok na walang inilathalang limitasyon at hindi kasama sa kabuuan.

Umaabot sa ~159M token kada buwan ang mga aktibong hanay sa catalog bago alisin ang mga dobleng bilang sa shared quota.

Nasuring sanggunian ng mga libreng plan

Recurring o keyless na free-forever provider39

Mga piling halimbawa ng quota

  • Groq24,000,000 tokens / month
  • Cloudflare Workers AI22,700,000 tokens / month
  • Cohere800,000 tokens / month
  • SambaNova480,000 tokens / month
  • BaiduNo published token cap
  • GeminiNo published token cap
  • GLM CodingNo published token cap
  • NVIDIA NIMNo published token cap
  • SEA-LIONNo published token cap

Context compression

Bawasan ang eligible na token ng 15–95%.

Puwedeng i-compress ang tool output, paulit-ulit na context at bloated na structured data bago umabot sa model.

Nabawasan ang context ng 15–95% sa eligible na token

Bago: 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. Pagkatapos: sum all list items where value > 0

  1. Session-Dedup
  2. CCR
  3. Lite
  4. RTK
  5. Responses Tool Output
  6. Headroom
  7. Relevance
  8. Caveman
  9. Aggressive
  10. LLMLingua-2
  11. Ultra
  12. OmniGlyph

Parehong instruction. Mas kaunting context na babayaran.

Bago69 tokens
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.
Pagkatapos19 tokens
sum all list items where value > 0

Composable na pipeline

  1. Session-Dedup
    Alisin ang content na naipadala na kanina sa session.
  2. CCR
    I-archive ang malalaking block at i-restore kung kailangan.
  3. Lite
    Maglapat ng konserbatibong lossless na cleanup.
  4. RTK
    I-filter at i-deduplicate ang command at tool output.
  5. Responses Tool Output
    I-compact ang Responses API tool payload.
  6. Headroom
    Maglapat ng reversible na tabular at structured-data compaction.
  7. Relevance
    Panatilihin ang mga pangungusap na pinaka-relevant sa pinakabagong query.
  8. Caveman
    Gumamit ng rule-based na prose condensation.
  9. Aggressive
    Maglapat ng mas malakas na naka-configure na pruning.
  10. LLMLingua-2
    Gumamit ng code-safe na semantic pruning sa isolated na worker.
  11. Ultra
    Pagsamahin ang high-savings na stage at preservation guard.
  12. OmniGlyph
    I-encode nang compact ang eligible na paulit-ulit na structure.

Mga profile

Nakalathalang profile range~30%x-omniroute-compression: standard

Napili ang Standard compression. Nakalathalang range ~30%.

Mga control at output style

  • Mga named profile at aktibong selector
  • Visual Compression Studio
  • Anthropic Context Editing
  • Adaptive na context-budget dial
  • Per-request na \
  • header
  • Offline eval harness
  • Token-threshold auto-trigger
  • Terse prose
  • Less code (YAGNI)
  • Terse CJK 文言

Precedence ng control: request header → combo → profile → adaptive policy → default.

Failure isolation

I-isolate ang mga failure ng provider, connection at model.

Hindi dapat pumatay ng provider ang isang sirang key. Hindi dapat pumatay ng connection ang isang limitadong model.

model ⊂ connection ⊂ provider
Provider circuit breakerKapag unhealthy ang isang provider, lalaktawan ito ng combo routing hanggang magtagumpay ang half-open probe.
Connection cooldownI-cool down ang isang key o account habang patuloy na nagse-serve ang mga sibling connection.
Model lockoutI-lock ang isang rate-limited o hindi available na model habang nananatiling available ang ibang model sa connection.

Mga network control

Network routing at mga local data control.

Kinokontrol ng mga proxy scope ang network routing habang pinananatili ng local-first na storage ang operational data sa machine mo.

Tatlong proxy scope

Mag-route nang global, per provider o per indibidwal na connection.

  • Global · per-provider · per-connection
  • SOCKS5 at HTTP(S) proxy
  • Integration sa proxy marketplace

Mga TLS at client fingerprint control

Itugma ang mga suportadong provider client hanggang sa piling transport characteristic.

  • JA3/JA4-capable na transport sa pamamagitan ng wreq-js
  • Provider-specific na client profile
  • Mga IPv4 at IPv6 egress control

Pribado at local-first

Nananatili sa host na kontrolado mo ang mga key, usage at history.

  • SQLite sa disk na may AES-256-GCM encrypted na credential
  • Hindi kailangan ng OmniRoute account
  • I-self-host sa infrastructure na pipiliin mo
RussiaChinaIranCubaTürkiye

Local dashboard

I-configure ang OmniRoute nang hindi nag-e-edit ng YAML.

Pamahalaan ang mga provider, combo, analytics, health at gastos sa localhost:20128/dashboard.

localhost:20128/dashboardHalimbawang data
395provider na nakakonekta
140+free tier na available
198healthy sa halimbawang ito
  • Claude Code · OAuth · live
  • Cerebras · libre · live
  • Groq · halimbawang cooldown
  • NVIDIA NIM · libre · live

Mga agent protocol

I-expose ang OmniRoute sa MCP at A2A.

Puwedeng i-expose ng OmniRoute ang gateway nito sa mga MCP client, A2A network at suportadong cloud coding agent.

MCP server

110 tool sa 33 scope sa pamamagitan ng stdio at HTTP transport.

110 tool · 33 scope · stdio / HTTP

claude mcp add omniroute --type http --url http://localhost:20128/api/mcp/stream

A2A server

6 skill para sa smart routing, quota, discovery, cost analysis at health reporting sa pamamagitan ng JSON-RPC 2.0.

6 skill · JSON-RPC 2.0 · Agent Card

Mga cloud agent

Ikonekta ang mga suportadong Codex, Cursor, Devin at Jules workflow sa pamamagitan ng isang orchestration surface.

Codex · Cursor · Devin · Jules

Mga karagdagang serbisyo

Palawakin ang gateway.

Mga embedded na serbisyo

Patakbuhin ang Bifrost, 9Router o CLIProxy bilang managed sidecar, o magpatakbo ng buong cluster profile.

Ang knowledge mo, sa context

Ikonekta ang Notion at Obsidian bilang MCP-backed na context source.

Built-in na guardrail

Prompt-injection check, opt-in na PII redaction at normalized na safety filter nang walang provider lock-in.

Mga usage goal

Subaybayan ang mga streak, achievement at live na tipid kasabay ng operational analytics.

Mula sa komunidad

Paano ginagamit at pinag-uusapan ang OmniRoute.

Tingnan kung ano ang binubuo, itinatanong at ibinabahagi ng mga developer.

39 video mula sa 38 channelTingnan ang lahat ng 39 video ng komunidad

LinkedIn

Tanushree Devadiga

ran a workshop on opencode and omniroute setup, providers, API keys, fallback routing, MCP tools, agent skills then we built a wii game on top of it thanks Ryan Dsouza and Elvin Machado for leading it

Naglo-load ng nilalaman mula sa LinkedIn

Facebook

Muhamad Rohmanudin · @muhamad.rohmanudin.758

5 plugins Claude Code needs 🔌 The Claude Code plugins I'd install first: OmniRoute switches to free models when you hit the limit, Superpowers plans and checks its work, Caveman cuts your tokens, and Claude Code Setup plus Claude Security are both official from Anthropic. Comment "PLUGIN" and I'll send you the links and how to install them. Link: https://claude.ai/artifact/7Pu7DHUEMWTAyFJGVddbLZ #claudecode #claudeai #aitools #aicoding #vibecoding

Naglo-load ng nilalaman mula sa Facebook

28 posts from X · 26 Reddit postsTingnan ang bawat post

Binuo sa publiko

Aktibidad ng repository

Tingnan ang mga star, fork, contributor at release mula sa checked-in na GitHub snapshot.

OmniRoute by Cheaper Inference

Piliin kung paano mo patatakbuhin ang OmniRoute.

I-host ang OmniRoute nang sarili, o ipaubaya sa amin ang hosting gamit ang OmniRoute Cloud.