One local endpoint for four routers.

Install the CLI, choose your routers, and point your application at one OpenAI-compatible URL.

OpenRouterVercelCloudflareRamp

01 / Install

Start with one command.

Requires Node.js 22.13 or newer.
npm install -g routerrouter-cli
02

Configure

routerrouter init

Choose the routers, models, and fallback order for this route.

03

Check

routerrouter doctor

Confirm the config is valid and each required environment variable is present.

04

Start

routerrouter start

Get a local base URL and bearer key, then send requests to routerrouter/auto.

Local base URLhttp://127.0.0.1:8787/v1
Virtual modelrouterrouter/auto

Responses identify the upstream router and complete attempt trace.