OmniRoute is a self-hosted AI gateway that gives every AI coding tool one place to talk to hundreds of model providers. It sits between tools like Claude Code, Cursor, Cline, Copilot and Codex and the backends that actually run the models, exposing an OpenAI-compatible endpoint at http://localhost:20128/v1. It's aimed at developers who want to stop juggling separate API keys, rate limits and dashboards for every provider they rely on.
Install as a global npm package and OmniRoute starts a local server:
npm i -g omniroute
The server boots on http://localhost:20128. Point any OpenAI-compatible tool at http://localhost:20128/v1 and it works immediately, with keyless free providers pre-wired into the auto model:
curl http://localhost:20128/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{"model":"auto","messages":[{"role":"user","content":"Hello!"}]}'
OmniRoute is also distributed as a Docker image (diegosouzapw/omniroute on Docker Hub) and as an Electron desktop app, for setups where a global npm install isn't preferred. To call a specific free backend instead of the auto-selected one, use its prefix directly, for example oc/... for OpenCode Free or felo/... for Felo, then switch to model: "auto" once you're ready to let OmniRoute pick for you.