Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
O

OmniRoute

> AI 编程
Open source

Never stop coding. Free MIT AI gateway: one endpoint, 290+ providers (90+ free), 500+ models — Kimi, Claude, GPT, OpenAI, Gemini, GLM, DeepSeek, MiniMax. Works

91.5K stars0 likes11 views
WebsiteGitHub

About

Never stop coding. Free MIT AI gateway: one endpoint, 290+ providers (90+ free), 500+ models — Kimi, Claude, GPT, OpenAI, Gemini, GLM, DeepSeek, MiniMax. Works

Stacking free tiers by hand is painful — dozens of SDKs, dozens of rate limits, and no idea how much you actually have. OmniRoute catalogs 444 free-tier entries across 34 recurring pool keys and computes the token headline from the 16 pools with a published positive monthly budget plus five per-model Groq caps, deduplicated by shared pool. Quotas that only open after a regional identity check (today: ModelScope) are shown apart, +~6M behind regional identity verification, and never summed into the headline. The result stays visible on the dashboard (/dashboard/free-tiers).

Animated summary of the live /dashboard/free-tiers page. Full methodology (pool dedupe, credit tiers, provider terms): docs/reference/FREE_TIERS.md.

These figures are re-audited every two weeks against the live catalog and move both ways — a provider ends a free tier and the number drops; a new one lands and it climbs. We publish what the catalog actually computes, never a rounded-up best case.



🧩 Available

🚀 Start 🚀 Quick Start 📦 Install 🆓 Zero-config
💡 Learn 💥 The Promise 🤔 Why OmniRoute 🏆 What Sets Apart
⚙️ Features 🎯 Combos 🌐 Providers 🔌 CLI & MCP
🗜️ Compression 🖥️ Where It Runs 🔒 Private
👀 See it 🎬 In Action ✨ What's New 🤖 Compatible CLIs
💚 Support 💚 Support / Donate 💬 Community 💖 Sponsors
📦 Project 🛠️ Tech Stack 📖 Docs 👥 Contributors


bash
# Fresh install, zero credentials — `auto` already works:
curl http://localhost:20128/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model":"auto","messages":[{"role":"user","content":"Hello!"}]}'

Prefer a specific free backend? Call oc/… (OpenCode Free) directly. Then graduate to auto and let OmniRoute pick.

📦 Copy-paste quickstart scripts for Python, Node.js, PHP, and cURL → examples/quickstart/





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: [email protected]

    </picture>
  </a>
  <br/><b>Kimi</b><br/><sub>Moonshot AI</sub><br/><br/>
  
</td>
<td>
  Thanks to <b>Kimi (Moonshot AI)</b>, our founding Open Source Friend, for backing this project! Kimi is the AI lab behind the open-weight K2 and K3 model families — <b>Kimi K3</b> 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.
  <br/><br/>
  <b>What Kimi's support powers:</b> Kimi's API credits power OmniRoute's AI-validated release pipeline — the <i>merge validation powered by Kimi K3</i> 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 <a href="https://platform.kimi.ai?track_id=track-8197581fdd7d4139a0f562e4a03c3798&aff=omniroute">Kimi API</a> (<code>kimi-k3</code>) and the <a href="https://www.kimi.com/code?aff=omniroute">Kimi Code coding plan</a> (OAuth and API key). OmniRoute is also the first Brazilian open-source project in Kimi's support program. <a href="https://platform.kimi.ai?track_id=track-8197581fdd7d4139a0f562e4a03c3798&aff=omniroute"><b>Get a Kimi API key with 15% extra credits →</b></a>
</td>
  </a>
  <br/><b>Cheaper Inference</b><br/><sub>cheaperinference.com</sub><br/><br/>
  
</td>
<td>
  Thanks to <b>Cheaper Inference</b>, 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.
  <br/><br/>
  <b>First-class support in OmniRoute:</b> Chat Completions, the native <code>/v1/responses</code> endpoint, vision, tool calling and 3 image models (<code>grok-imagine</code>, <code>nano-banana-pro</code>, <code>nano-banana-2</code>, reachable as <code>cheaperinference/&lt;model&gt;</code>). <a href="https://cheaperinference.com/?utm_source=omniroute"><b>Get an API key →</b></a>
</td>

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.

  </a>
  <br/><sub><b>AgentRouter</b></sub><br/><sub>agentrouter.org</sub>
</td>
<td>
  <sub><b><a href="https://agentrouter.org/register?aff=70LM">AgentRouter</a></b> — affiliate signup · <b>$100 free credits</b> on signup (free server, expect higher latency — best for testing, not production). First-class support in OmniRoute since <b>v3.8.50</b>: Chat Completions, the Anthropic-compatible wire format and the OpenAI-compatible path. Available models include <code>claude-opus-4-8</code>, <code>claude-opus-5</code>, <code>gpt-5.6-sol</code> and more. <b><a href="https://agentrouter.org/register?aff=70LM">Grab your $100 →</a></b></sub>
  <br/><br/>
  <sub>⚠️ <i>Affiliate link — OmniRoute has no sponsorship or partnership with this provider.</i></sub>
</td>

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


A combo is a chain of models OmniRoute routes across automatically. If quota runs out, a provider fails, or costs spike, the combo can move to the next eligible healthy model. 🛡️

⚡ Zero-config — just use auto

No combo to create. Set your model to auto (or a variant) and OmniRoute builds a virtual combo from your connected providers, scored live:

Model IDWhat it optimizes for
auto🎯 Balanced default (LKGP — sticks to your last good provider)
auto/coding🧑‍💻 Quality-first weights for code generation
auto/fast⚡ Lowest latency first
auto/cheap💰 Cheapest per token first
auto/offline🔋 Most quota / rate-limit headroom first
auto/smart🔭 Quality-first + 10% exploration to discover better models
auto/lkgp📌 Explicit last-known-good-provider stickiness
auto/chaos🧪 Fault-injection weights for resilience testing (chaos engineering)

🔀 Or build your own — 19 routing strategies

All 19 strategies — mix & match per combo step:

# Strategy What it does
1 priority First-target ordered list — drain each before the next 🥇
2 fill-first Fill each target's quota fully before moving on
3 weighted Weighted random by per-target weight
4 round-robin Cycle through targets in order
5 p2c Power-of-two-choices random load balancing
6 least-used Pick the target with the lowest current load
7 random Uniform random pick (deduplicated)
8 strict-random Random without de-duplicating repeats 🎲
9 cost-optimized Minimize $ per request from live catalog pricing 💸
10 headroom Pick the target with the most remaining quota
11 reset-window Prefer the target whose quota window resets soonest
12 reset-aware Rank by quota reset time — short windows first 📊

Issues· 441 open

View all issuesOpen on GitHub
  • #15032

    Release branch not green: release/v3.8.51

    base-redUpdated Sep 29, 2026
  • #15029

    TypeError crash on /v1/messages anonymous-fallback path: 'Cannot read private member #state'

    Updated Sep 29, 2026
  • #15031

    'providers add --allow-no-credential' never tells the server the connection is credential-optional; 'providers test' then falsely reports 'no API key configured'

    Updated Sep 29, 2026
  • #15030

    Call-log artifact worker crash ('spawn EBADF') corrupts a successful provider create into a reported failure

    Updated Sep 29, 2026
  • #14906

    main branch not green

    base-redUpdated Sep 29, 2026
  • #15026

    bug(providers): Cannot hide models on provider page due to hardcoded modality: chat and UI selector mismatch

    Updated Sep 28, 2026
  • #15023

    Imported OpenAI models default to 128000 context window (GPT-6 capped 8x)

    Updated Sep 28, 2026
  • #15022

    Migration 163 renumber skips radar_feed_cache.generated_at on installs upgraded from v3.8.50

    Updated Sep 28, 2026
  • #12149

    Baseline headroom (velocity phase)

    quality-gate-findingkeep-openheadroom-alertUpdated Sep 28, 2026
  • #15014

    fix(dashboard): Unable to set provider priority

    bugUpdated Sep 28, 2026

> Tags

TypeScripta2aai-agentsai-gatewayanthropic

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedDec 1, 2026
CategoryAI 编程
PricingOpen source

> Related tools

G
GitHub Copilot
GitHub 官方 AI 编程助手,覆盖补全、Chat 与 Agent 模式。
C
Cursor
AI 原生代码编辑器,对话改代码、多文件 Agent 与规则体系是其核心。
S
skills
Skills for Real Engineers. Straight from my .agents directory.