OmniRoute

omniroute.online

Free, MIT-licensed self-hosted AI gateway: one OpenAI-compatible endpoint that routes coding agents across hundreds of providers with quota-aware fallback.

Pricing
Open source
Published
Nov 3, 2026

Next steps

  • Maglev

    Both tools are listed under AI API, AI Developer Tools, codex, and claude-code.

  • FreeLLMAPI

    Both tools are listed under AI API and openai-compatible.

  • New API

    Both tools are listed under AI API, AI Developer Tools, and openai-compatible.

  • FastMCP
  • AG-UI
  • Treg

What it does

OmniRoute is an MIT-licensed, self-hostable AI gateway. You connect your own provider accounts and API keys, and it exposes one endpoint that coding tools such as Claude Code, Codex, Cursor, OpenCode, Cline and Copilot can point at. The README lists about 380 providers and roughly 1,400+ model IDs, including catalog-marked free tiers; it stresses that the quoted monthly free-token total is an estimate across separately eligible third-party free tiers that you must sign up for yourself, not tokens granted by OmniRoute. Routing 'combos' (an auto mode plus around 20 strategies) provide quota-aware automatic fallback when one provider hits its limit, and a multi-engine compression stack is claimed to save 15–95% of tokens. It also includes a dashboard, a CLI with a remote mode, a built-in MCP server and A2A agent protocol, and runs via npm install -g omniroute, Docker (AMD64/ARM64), desktop/menu-bar apps, a PWA or from source. Built by a large contributor community; about 84k GitHub stars.

OmniRoute · Image from the official website
Image from the official website

Use cases

  • Point Claude Code, Codex or Cursor at one endpoint that falls back to another provider when a quota runs out
  • Combine several provider accounts behind a single self-hosted gateway
  • Cut token usage with built-in prompt and output compression

Frequently asked questions

Does OmniRoute give me free tokens?
No. It catalogs third-party free tiers; you sign up for each provider and connect your own credentials, and each provider's limits and terms apply.
Which tools can use it?
Any OpenAI-compatible client, including Claude Code, Codex, Cursor, OpenCode, Cline and Copilot.
How do I run it?
npm install -g omniroute, Docker, desktop apps, a PWA, or from source.
What is the license?
MIT.
Log in to join the discussion