SuperAPI AI Directory

OmniRoute

Self-hostable AI gateway with 4-tier automatic fallback routing across 36+ providers. OpenAI-compatible API with quota tracking and zero-cost fallback to free tiers.

Open website

About this tool

Purpose

OmniRoute is a self-hostable AI gateway whose goal is to connect multiple AI providers and models through a single unified endpoint, allowing AI IDEs, command-line coding tools, and agents to run on free or low-cost models through the same configuration. The official emphasis is "Never stop coding," meaning calls can continue even when quotas are exhausted or a provider fails. The project uses the MIT license, and the materials state that it is maintained jointly by multiple contributors.

Main capabilities

  • Unified OpenAI-compatible endpoint: The default address is http://localhost:20128/v1,官方称兼容 36 CLIs and coding agents, including Claude Code, Codex, Cursor, OpenCode, Cline, Copilot, and others.
  • Automatic failover routing: The official description says it has four layers of automatic degradation routing, covering 36+ providers; it offers 19 routing strategies that can be combined. In zero-configuration mode, the model can be set to auto, and the system builds a virtual combination based on connected providers and scores it in real time. The Auto-Combo engine is said to score candidate models on 16 factors (health, quota, cost, latency, task match, quality, session availability, etc.).
  • Quota awareness and free-tier aggregation: It provides a /dashboard/free-tiers panel that aggregates third-party free-tier catalogs. The official description says the catalog contains 489 free-tier entries and 35 recurring pool keys, and calculates token aggregate values from 17 pools with public monthly budgets plus 5 Groq single-model caps (deduplicated by shared pool).
  • Compression: RTK+Caveman compression, officially said to save 15-95% of tokens; it provides 12 composable compression engines and Compression Studios, including LLMLingua-2, two-level Ultra, omniglyph, GCF v3.2, a drag-and-drop reordering editor, and more.
  • Cost and usage observability: Each response carries an X-OmniRoute-Decision header indicating the strategy/provider/latency used; it provides X-OmniRoute-* cost and usage headers, cache-hit savings headers, and per-key dollar spending limits.
  • Protocol support: MCP/A2A; OmniConductor supports inbound A2A delegation to agent clusters; built-in ACP agent discovery (15 built-in agents).
  • Multimodal and media endpoints: /v1/ocr (Mistral OCR), /v1/audio/translations; image/video/audio generation connects to xAI Grok Imagine, Novita AI video, ComfyUI, Magnific, Adobe Firefly, Segmind, ElevenLabs, and others.
  • Other built-ins: Plugin framework and marketplace, Omni/Agent/GitHub skill framework, Obsidian integration (22 MCP tools), OpenAI compatible with Batch & Files API, semantic response caching, gamified leaderboards, BigQuery scheduled log export, Telegram bot bridge, in-app version management, LMArena-ELO free provider rankings.

How to Use

Officially provides npm installation (npm install -g omniroute appears in the materials) and a Docker guide, and also supports desktop, menu bar tray (OmniRouteTray, macOS, Tauri v2, community project), Termux, and PWA. The CLI provides 80+ commands, including 13 setup-* commands; omniroute run can launch 7 CLIs (Claude Code, Codex, Aider, Goose, OpenCode, Qwen Code, Gemini CLI); omniroute configure supports 10 targets and provides an interactive provider + model selector. Provides quick start scripts for Python, Node.js, PHP, and cURL (examples/quickstart/). Remote mode can use scoped tokens (connect / contexts / tokens) to drive a remote OmniRoute, and provides an antigravity OAuth helper. In VS Code, the OmniCopilot extension can be used to use models provided by OmniRoute in the native Copilot Chat model selector (the extension source code is located at diegosouzapw/OmniCopilot).

Use Cases

  • Developers who want to unify multiple AI providers and reduce the cost of managing SDKs and rate limits.
  • Integrate multiple models in AI IDE / CLI coding agents with automatic fallback.
  • Teams that need visualization of quotas, costs, and usage as well as budget control.
  • Self-hosted deployment needs focused on data localization (officially stated that prompts, traffic, provider configurations, and usage telemetry are not uploaded).
  • Agent workflows that need MCP/A2A protocols or media generation capabilities.

Limitations and Notes

  • Free quotas are not issued by OmniRoute: the official statement that about 1.62B tokens/month comes from an estimated aggregation of third-party free tiers, and users need to register and obtain credentials themselves, and each provider controls its own limits, availability, and terms.
  • A new installation may not have available keyless targets; providers marked as tos: avoid (such as OpenCode Free, Kiro) are excluded from automatic routing by default, and connecting an account will not override this setting.
  • Some free quotas require regional identity verification (currently such as ModelScope), about +6M, and are not included in the headline.
  • Aggregate numbers are re-audited every two weeks against the live catalog and may rise or fall.
  • Radar is an optional signed catalog overlay; supporters can see updated catalogs and additional provider opportunities, with an upper limit of about 3B tokens/month, but this is not guaranteed, and providers may change quotas, eligibility, models, or regions at any time.
  • Development note: npm install/postinstall may generate a local .env file, which is ignored by .gitignore and must not be committed; if committed by mistake, rotate the keys and remove it from history.
  • The project roadmap points to v3.9.0 LTS.

Not Yet Provided

Regarding pricing (other than the free tier), specific performance benchmarks, SLA, enterprise support plans, etc., the materials do not yet provide clear information.