omni-combos-routing
Skill73k starsChanged 2 months agoMITView on GitHub
Create and manage routing combos with 19 strategies (priority, weighted, round-robin, Auto-combo, and more). Configure fallback chains, test routing outcomes, and retrieve combo metrics.
- Reads credentials
- Sends data out
1 other project uses a version of this, 1 of them edited.
Trending
Quiet since October.about the whole repository
Most recently taken up by
- samad11111/claude-codeedited, first seen May 14, 2026
Who's talking about diegosouzapw/OmniRoute
- cheaper-inference/OmniRoute“[BUG] OpenCode free provider returns 403 for all API requests through OmniRoute”GitHub · Sep 17, 2026 · 9 reactions
- @midu.dev“Un proyecto para tener IA gratuita. OmniRoute agrupa en un solo endpoint todos los servicios con free tier. …”Bluesky · Jul 20, 2026 · 6 likes
- cheaper-inference/OmniRoute“Release v3.8.2”GitHub · May 21, 2026 · 5 reactions
- @github-trending-js.bsky.social“🎉 Celebrating! 🎉 (500+ new stars) 📦 diegosouzapw / OmniRoute ⭐ 37,427 (+885) 🗒 TypeScript Never stop …”Bluesky · Aug 3, 2026 · 4 likes
- 0xzapata/omniroute“fix(codex): support GPT-5.6 Responses Lite”GitHub · Jul 11, 2026 · 4 reactions
The biggest 5 of 54 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 54
Talked about on Bluesky and GitHub (54 times).
On Bluesky · 29
- Jul 20, 2026Un proyecto para tener IA gratuita. OmniRoute agrupa en un solo endpoint todos los servicios con free tier. ✓ Funciona en Claude Code,… — @midu.dev6 likes and reposts
- Aug 3, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 diegosouzapw / OmniRoute ⭐ 37,427 (+885) 🗒 TypeScript Never stop coding. Free MIT AI gateway: one… — @github-trending-js.bsky.social4 likes and reposts · 1 reply
- Sep 10, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 diegosouzapw / OmniRoute ⭐ 63,824 (+591) 🗒 TypeScript Never stop coding. Free MIT AI gateway: one… — @github-trending.bsky.social2 likes and reposts · 1 reply
- Jul 24, 2026💎 Hidden Gem! 💎 (1000+ new stars) 📦 diegosouzapw / OmniRoute ⭐ 28,227 (+1,843) 🗒 TypeScript Never stop coding. Free MIT AI gateway: one… — @github-trending.bsky.social2 likes and reposts · 1 reply
- Jul 20, 2026💎 Hidden Gem! 💎 (1000+ new stars) 📦 diegosouzapw / OmniRoute ⭐ 20,715 (+1,343) 🗒 TypeScript Never stop coding. Free MIT AI gateway: one… — @github-trending.bsky.social2 likes and reposts · 1 reply
24 more on Bluesky
- May 8, 2026📦 diegosouzapw / OmniRoute ⭐ 4,091 (+73) 🗒 TypeScript Never stop coding. Free AI gateway: one endpoint, 160+ providers, RTK+Caveman… — @github-trending-js.bsky.social2 likes and reposts
- Oct 25, 2026One local endpoint, 375 AI providers, auto-fallback when quotas run out, and it works with Claude Code and Cursor. 🔗… — @prosperflowio.bsky.social1 likes and repost
- Oct 18, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 diegosouzapw / OmniRoute ⭐ 77,915 (+411) 🗒 TypeScript Never stop coding. Free MIT AI gateway: one… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Oct 1, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 diegosouzapw / OmniRoute ⭐ 71,914 (+332) 🗒 TypeScript Never stop coding. Free MIT AI gateway: one… — @github-trending-js.bsky.social1 likes and repost
- Sep 10, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 diegosouzapw / OmniRoute ⭐ 63,825 (+591) 🗒 TypeScript Never stop coding. Free MIT AI gateway: one… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Sep 10, 2026For us programmers, vibe-coders, and students who were into the “meet #ClaudeCode and say goodbye to the rest of your life” meme a year… — @snakeb.bsky.social1 likes and repost
- Aug 26, 2026I just starred diegosouzapw/OmniRoute on GitHub: https://github.com/diegosouzapw/OmniRoute — @chiefgyk3d.com1 likes and repost
- Aug 17, 2026OmniRoute A free, MIT-licensed AI gateway that gives you one endpoint for 340 providers and more than 1,200 models. It supports Claude… — @githubprojects.bsky.social1 likes and repost · 1 reply
- Aug 9, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 diegosouzapw / OmniRoute ⭐ 43,820 (+852) 🗒 TypeScript Never stop coding. Free MIT AI gateway: one… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Jul 23, 2026💎 Hidden Gem! 💎 (1000+ new stars) 📦 diegosouzapw / OmniRoute ⭐ 26,266 (+1,925) 🗒 TypeScript Never stop coding. Free MIT AI gateway: one… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Jul 20, 2026📈 Today's GitHub Trending: 1. https://github.com/tirth8205/code-review-graph - Python, 1876 stars today 2.… — @ghtrend.newsmast.social.ap.brid.gy1 likes and repost · 1 reply
- Jul 19, 2026💎 Hidden Gem! 💎 (1000+ new stars) 📦 diegosouzapw / OmniRoute ⭐ 19,634 (+1,007) 🗒 TypeScript Never stop coding. Free AI gateway: one… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Jul 6, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 diegosouzapw / OmniRoute ⭐ 12,394 (+764) 🗒 TypeScript Never stop coding. Free AI gateway: one… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Jul 3, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 diegosouzapw / OmniRoute ⭐ 10,067 (+915) 🗒 TypeScript Never stop coding. Free AI gateway: one… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Jul 2, 2026200以上のAIプロバイダーを統合してトークンコストを最適化するAIゲートウェイツールらしい API制限を回避しつつ賢くモデルを切り替えられるので開発効率化に使えそう yug1224 starred diegosouzapw/OmniRoute… — @yug1224.com1 likes and repost
- Jul 1, 2026one endpoint, 231 providers, 50+ of them free. omniroute is a free ai gateway wiring claude code, cursor and codex into free models, with… — @epicvibecoder.bsky.social1 likes and repost
- Jun 17, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 diegosouzapw / OmniRoute ⭐ 6,340 (+135) 🗒 TypeScript Never stop coding. Free AI gateway: one endpoint,… — @github-trending-js.bsky.social1 likes and repost
- May 20, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 diegosouzapw / OmniRoute ⭐ 4,925 (+122) 🗒 TypeScript Never stop coding. Free AI gateway: one endpoint,… — @github-trending-js.bsky.social1 likes and repost
- Apr 14, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 diegosouzapw / OmniRoute ⭐ 2,736 (+155) 🗒 TypeScript OmniRoute is an AI gateway for multi-provider… — @github-trending-js.bsky.social1 likes and repost
- Sep 2, 2026Claude for reasoning, Gemini for context, DeepSeek for cheaper tasks, Grok when freshness matters. the agent does not need to be locked to… — @garrytan-mir-rt.selfhosted.social0 likes and reposts · 1 reply
- Aug 26, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 diegosouzapw / OmniRoute ⭐ 55,731 (+976) 🗒 TypeScript Never stop coding. Free MIT AI gateway: one… — @github-trending-js.bsky.social0 likes and reposts · 1 reply
- Aug 22, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 diegosouzapw / OmniRoute ⭐ 52,669 (+769) 🗒 TypeScript Never stop coding. Free MIT AI gateway: one… — @github-trending-js.bsky.social0 likes and reposts · 1 reply
- Jul 3, 2026AI news - Jul 3, 2026 1. Anthropic expands Claude Managed Agents with observability and webhooks LINK 2. OmniRoute Open-Source Gateway… — @hackobar.bsky.social0 likes and reposts · 1 reply
- Jun 30, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 diegosouzapw / OmniRoute ⭐ 8,099 (+617) 🗒 TypeScript Never stop coding. Free AI gateway: one… — @github-trending.bsky.social0 likes and reposts · 1 reply
On GitHub · 25
- Sep 17, 2026[BUG] OpenCode free provider returns 403 for all API requests through OmniRoute — cheaper-inference/OmniRoute9 reactions · 37 comments
- May 21, 2026Release v3.8.2 — cheaper-inference/OmniRoute5 reactions · 21 comments
- Jul 11, 2026fix(codex): support GPT-5.6 Responses Lite — 0xzapata/omniroute4 reactions · 4 comments
- Jun 10, 2026Release v3.8.21 — cheaper-inference/OmniRoute4 reactions · 2 comments
- Jun 8, 2026fix(catalog): make combos auto-compute context_length for any provider id form — cheaper-inference/OmniRoute3 reactions · 3 comments
20 more on GitHub
- Jun 3, 2026Remove duplicate lowercase db-apikeys-crud.test.ts from tracking — cheaper-inference/OmniRoute3 reactions · 2 comments
- May 30, 2026fix(skills): avoid Claude assistant tool_result blocks — cheaper-inference/OmniRoute3 reactions · 1 comment
- May 28, 2026fix(gitlawb): add specialty validators for connection test — bypass /models probe — cheaper-inference/OmniRoute3 reactions · 2 comments
- May 27, 2026ci: build Docker platforms on native runners — cheaper-inference/OmniRoute3 reactions · 3 comments
- May 20, 2026Kiro: 400 'Improperly formed request' on any turn carrying tool_result (translator bug) — cheaper-inference/OmniRoute3 reactions · 3 comments
- May 20, 2026Release v3.8.1 — cheaper-inference/OmniRoute3 reactions · 2 comments
- May 17, 2026[Feature] Preserve Claude Code /v1/messages payload semantics — cheaper-inference/OmniRoute3 reactions · 1 comment
- May 14, 2026node dependency updates — cheaper-inference/OmniRoute3 reactions · 3 comments
- Apr 21, 2026fix: deduplicate case-variant anthropic-version header in Claude Code patch — cheaper-inference/OmniRoute3 reactions
- Apr 16, 2026docs: fix outdated Node 24 warnings in TROUBLESHOOTING.md — cheaper-inference/OmniRoute3 reactions · 2 comments
- Mar 28, 2026fix(core): stream field sent as object instead of boolean in claude passthrough — cheaper-inference/OmniRoute3 reactions · 2 comments
- Oct 11, 2026fix(providers): OpenCode Free Tier 403 Errors When Used Standalone (without OpenCode CLI) — cheaper-inference/OmniRoute2 reactions · 20 comments
- Jul 30, 2026question: Meta AI WebSocket — cookie must include an ecto1 auth token — cheaper-inference/OmniRoute2 reactions · 6 comments
- Apr 20, 2026[BUG] API keys fail and Token expired and refresh failed — cheaper-inference/OmniRoute2 reactions · 3 comments
- Oct 9, 2026Codex compaction through Magpie fails with 502 "response protection is unavailable" when the history contains web_search_call — yetone/magpie-releases1 reaction · 1 comment
- Sep 21, 2026Deepseek web not available? — quangdang46/openproxy1 reaction · 1 comment
- Sep 17, 2026is there any way to bypass OpenCode's free tier can only be used from within OpenCode ? — Alishahryar1/free-claude-code1 reaction · 3 comments
- Sep 15, 2026[BUG] Combos fail with "[503] Service temporarily unavailable: all targets were skipped by pre-dispatch filters" — cheaper-inference/OmniRoute1 reaction · 3 comments
- Aug 1, 2026Feature request: add OmniRoute as a built-in OpenAI-compatible provider profile — 1jehuang/jcode1 reaction · 3 comments
- Jul 1, 2026add a wrapper for omniroute — julesdg6/Broccoli-Unraid-Wrappers1 reaction
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- samad11111/claude-code★ 185% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository48 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- cli-a2aSkill
- cli-backup-syncSkill
- cli-batchesSkill
- cli-chatSkill
- cli-compressionSkill
- cli-contextsSkill
- cli-cost-usageSkill
- cli-evalSkill
- cli-healthSkill
- cli-keysSkill
- cli-mcpSkill
- cli-modelsSkill
- cli-plugins-skillsSkill
- cli-policy-auditSkill
- cli-providersSkill
- cli-resilienceSkill
- cli-routingSkill
- cli-serveSkill
- cli-setupSkill
- cli-skill-collectorSkill
- cli-tunnelSkill
- config-codex-cliSkill
- omni-agents-a2aSkill
- omni-api-keysSkill
- omni-authSkill
- omni-budgetSkill
- omni-cacheSkill
- omni-cli-toolsSkill
- omni-compressionSkill
- omni-context-rtkSkill
- omni-db-backupsSkill
- omni-github-skillsSkill
- omni-inferenceSkill
- omni-mcpSkill
- omni-modelsSkill
- omni-providersSkill
- omni-proxiesSkill
- omni-resilienceSkill
- omni-settingsSkill
- omni-sync-cloudSkill
- omni-tunnelsSkill
- omni-usage-logsSkill
- omni-version-managerSkill
- omni-webhooksSkill
- ponytailSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Create and manage routing combos with 19 strategies (priority, weighted, round-robin, Auto-combo, and more).
- Very specific: line 13
All requests require a valid Bearer token or session cookie.
- Distinctive: line 92
Test a combo configuration
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->Overview
Create and manage routing combos with 19 strategies (priority, weighted, round-robin, Auto-combo, and more). Configure fallback chains, test routing outcomes, and retrieve combo metrics.
Authentication
All requests require a valid Bearer token or session cookie. Obtain a token via POST /api/auth/login or configure REQUIRE_API_KEY=false for local development.
Endpoints
GET /api/combos
List routing combos
curl https://localhost:20128/api/combos \
-H "Authorization: Bearer $OMNIROUTE_TOKEN"POST /api/combos
Create routing combo
curl -X POST https://localhost:20128/api/combos \
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'GET /api/combos/{id}
Get combo by ID
curl https://localhost:20128/api/combos/{id} \
-H "Authorization: Bearer $OMNIROUTE_TOKEN"PUT /api/combos/{id}
Update combo
Partial update: the body is merged onto the stored combo, so a field left out keeps its current value. An array that IS sent replaces the stored one outright.
curl -X PUT https://localhost:20128/api/combos/{id} \
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'PATCH /api/combos/{id}
Update combo
Partial update: the body is merged onto the stored combo, so a field left out keeps its current value. An array that IS sent replaces the stored one outright.
curl -X PATCH https://localhost:20128/api/combos/{id} \
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'DELETE /api/combos/{id}
Delete combo
curl -X DELETE https://localhost:20128/api/combos/{id} \
-H "Authorization: Bearer $OMNIROUTE_TOKEN"GET /api/combos/metrics
Get combo metrics
curl https://localhost:20128/api/combos/metrics \
-H "Authorization: Bearer $OMNIROUTE_TOKEN"POST /api/combos/test
Test a combo configuration
curl -X POST https://localhost:20128/api/combos/test \
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'GET /api/fallback/chains
List fallback chains
Returns all registered fallback chains for model routing.
curl https://localhost:20128/api/fallback/chains \
-H "Authorization: Bearer $OMNIROUTE_TOKEN"POST /api/fallback/chains
Create fallback chain
Registers a fallback routing chain for a model.
curl -X POST https://localhost:20128/api/fallback/chains \
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'DELETE /api/fallback/chains
Delete fallback chain
curl -X DELETE https://localhost:20128/api/fallback/chains \
-H "Authorization: Bearer $OMNIROUTE_TOKEN"GET /api/combos/auto
GET combos › auto
curl https://localhost:20128/api/combos/auto \
-H "Authorization: Bearer $OMNIROUTE_TOKEN"GET /api/combos/builder/options
GET combos › builder › options
curl https://localhost:20128/api/combos/builder/options \
-H "Authorization: Bearer $OMNIROUTE_TOKEN"POST /api/combos/duplicate
POST combos › duplicate
curl -X POST https://localhost:20128/api/combos/duplicate \
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'POST /api/combos/reorder
POST combos › reorder
curl -X POST https://localhost:20128/api/combos/reorder \
-H "Authorization: Bearer $OMNIROUTE_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'Payloads
See the full OpenAPI specification at GET /api/openapi/spec or docs/openapi.yaml for detailed request/response schemas.
<!-- skill:custom-start --><!-- Migrated from skills/omniroute-routing/SKILL.md (preserved curated content) -->OmniRoute — Routing & Combos
Requires OMNIROUTE_URL and OMNIROUTE_KEY. See entry-point SKILL for setup.
What is a combo?
A combo is a named group of providers/models with a routing strategy. All requests through a combo are automatically distributed, failed-over, and load-balanced — the caller uses a single model ID like my-combo.
List existing combos
curl $OMNIROUTE_URL/api/combos \
-H "Authorization: Bearer $OMNIROUTE_KEY"Response includes id, name, strategy, enabled, and per-target stats.
Create a combo
curl -X POST $OMNIROUTE_URL/api/combos \
-H "Authorization: Bearer $OMNIROUTE_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "my-combo",
"strategy": "priority",
"targets": [
{ "provider": "anthropic", "model": "claude-opus-4-7", "weight": 1 },
{ "provider": "openai", "model": "gpt-4o", "weight": 1 }
]
}'19 public routing strategies
| Strategy | Description |
priority | Always use target[0]; fall back on error |
weighted | Distribute by weight percentage |
round-robin | Rotate targets in order |
context-relay | Chain models for very long contexts |
fill-first | Fill quota of target[0] before spilling |
p2c | Power-of-two choices: sample two targets, pick the better candidate |
random | Uniform random selection |
least-used | Route to the target with the lowest observed usage |
cost-optimized | Pick the cheapest eligible target for the token estimate |
reset-aware | Prefer targets based on quota-reset state |
reset-window | Order targets by their configured reset window |
headroom | Prefer targets with more remaining quota headroom |
strict-random | Random without repeating until all targets have been used |
auto | Auto-Combo scoring across 16 factors |
lkgp | Last-known-good-provider sticky routing |
context-optimized | Pick the best model for the request's context size |
cache-optimized | Prefer targets with stronger cache affinity |
fusion | Run a panel in parallel and synthesize one judged response |
pipeline | Run a configured sequence of targets as a pipeline |
Auto-combo (recommended for production)
Auto-combo scores each candidate on 16 factors every request:
curl -X POST $OMNIROUTE_URL/api/combos \
-H "Authorization: Bearer $OMNIROUTE_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "prod-auto",
"strategy": "auto",
"targets": [
{ "provider": "anthropic", "model": "claude-sonnet-4-6" },
{ "provider": "openai", "model": "gpt-4o-mini" },
{ "provider": "google", "model": "gemini-2.0-flash" }
]
}'Then call it with:
curl -X POST $OMNIROUTE_URL/v1/chat/completions \
-H "Authorization: Bearer $OMNIROUTE_KEY" \
-H "Content-Type: application/json" \
-d '{ "model": "prod-auto", "messages": [{ "role": "user", "content": "Hello" }] }'Activate / deactivate a combo
# Activate
curl -X PUT $OMNIROUTE_URL/api/combos/{id}/toggle \
-H "Authorization: Bearer $OMNIROUTE_KEY" \
-d '{ "enabled": true }'Get combo metrics
curl $OMNIROUTE_URL/api/combos/{id}/metrics \
-H "Authorization: Bearer $OMNIROUTE_KEY"Returns p50/p95/p99 latency, success rate, cost, and per-target breakdown.
Simulate routing (dry run)
curl -X POST $OMNIROUTE_URL/api/routing/simulate \
-H "Authorization: Bearer $OMNIROUTE_KEY" \
-H "Content-Type: application/json" \
-d '{ "comboId": "{id}", "messages": [{ "role": "user", "content": "test" }] }'Returns which provider would be selected and why — no actual API call is made.
Via MCP (if OmniRoute is your MCP server)
omniroute_list_combos → list all combos
omniroute_switch_combo → enable/disable a combo
omniroute_set_routing_strategy → change strategy at runtime
omniroute_simulate_route → dry-run routing decision
omniroute_best_combo_for_task → get recommendation by task typeErrors
404 combo not found→ checkidfrom/api/combos400 invalid strategy→ use one of the 19 strategies above409 name conflict→ combo name already exists
<!-- skill:custom-end -->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

