Last updated: · Applies to: cheaper-inference/OmniRoute and the omniroute npm package

OmniRoute setup: local AI gateway and agent skills

OmniRoute is an AI gateway that puts configured model providers behind a common endpoint. Install the omniroute npm package, connect an eligible provider in the local dashboard, and point a compatible client at the gateway. Its agent skills explain the gateway API and CLI to external assistants.

Which OmniRoute project does this guide cover?

This guide covers cheaper-inference/OmniRoute. The former diegosouzapw/OmniRoute GitHub address redirects there, and the npm package names the same repository.

The gateway manages provider connections and model routing, with a local dashboard and an OpenAI-compatible API. You bring the provider accounts or credentials you are eligible to use. Installing a gateway does not create an inference allowance.

Install and start the local gateway

The published package metadata checked for this guide declares the Node.js range below. Use a matching runtime before installation:

>=22.22.2 <23 || >=24.0.0 <27

Run the README quickstart commands in a terminal:

npm install -g omniroute
omniroute

Open http://localhost:20128 in your browser. If npm reports a blocked lifecycle script or native dependency error, consult the upstream installation notes for your npm version before continuing.

The default GitHub branch can be ahead of npm’s published release. Use the package’s own version and runtime metadata when diagnosing a package installation.

Connect a provider and configure your client

  1. Use the dashboard to connect a provider account or API key you can use.
  2. Copy an OmniRoute API key from Dashboard → Endpoints for the client.
  3. Set the client’s OpenAI-compatible base URL to http://localhost:20128/v1.
  4. Choose an available model ID from the gateway, or configure a routing combo with eligible connections.

Keep the upstream provider credential and client-facing gateway key distinct. The README’s model-list check is:

curl http://localhost:20128/v1/models \
  -H "Authorization: Bearer YOUR_KEY"

YOUR_KEY is a placeholder for your OmniRoute key. A successful model list checks gateway access. To test inference, replace YOUR_MODEL_ID with an available ID from that list:

curl http://localhost:20128/v1/chat/completions \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"YOUR_MODEL_ID","messages":[{"role":"user","content":"Say hello."}]}'

This checks the chosen provider and model. An auto route also needs eligible connections.

Read OmniRoute’s agent skills

The Agent Skills framework provides SKILL.md manifests that explain REST endpoints, authentication and CLI workflows to external agents. They are documentation to place in an agent’s context. The gateway’s executable “Omni Skills” are a separate feature.

With your local server running, retrieve the authentication instructions:

curl -fsSL http://localhost:20128/api/agent-skills/omni-auth/raw

Read the returned Markdown, then provide it to your assistant with a specific task. Start with omni-auth for authentication, omni-inference for requests and cli-serve for server management. The upstream catalog explains their intended order.

Fetching a manifest does not register a plugin, configure a provider or execute its API calls. Ask the assistant to explain the proposed operation before applying a change to your gateway configuration.

FAQ

What is the canonical OmniRoute repository?

The repository used here is cheaper-inference/OmniRoute. The old diegosouzapw/OmniRoute URL redirects to it.

Does OmniRoute include free model access?

Installation does not grant provider access or tokens. Connect accounts or credentials you are eligible to use; availability and limits remain provider-specific.

What base URL should a compatible client use?

The documented local OpenAI-compatible base URL is http://localhost:20128/v1. Use an OmniRoute API key and an available model or configured route.

Are Agent Skills the same as executable Omni Skills?

No. Agent Skills are Markdown instructions for external assistants. Omni Skills are tool definitions executed inside the gateway.

Sources

Unofficial guide, not affiliated with or endorsed by the OmniRoute maintainers or any model provider. This describes the upstream local setup; the gateway was not installed or runtime-tested for this article. Sources checked on 8 Nov 2026.