Quick start

Get from zero to a routed request in under five minutes.

arrow_forward1. Install

Run the CLI directly, or install it globally.

Option A , run directly
npx keyrouter
Option B , install global
npm install -g keyrouter
keyrouter

arrow_forward2. Open the dashboard

KeyRouter opens the dashboard in your browser at http://localhost:20131. Log in with the password you set (or the initial password, and change it immediately , see Security).

arrow_forward3. Connect a free provider

Go to Providers, then connect a free provider , Kiro AI (free Claude) or OpenCode Free (no login). This lets you try everything right away without paying anything.

arrow_forward4. Point your tool at KeyRouter

Choose your tool below to see its configuration. Use the endpoint, the API key from the dashboard, and the model ID shown.

Claude Code config
ANTHROPIC_BASE_URL=http://localhost:20131/v1
ANTHROPIC_AUTH_TOKEN=<your-keyrouter-api-key>
ANTHROPIC_MODEL=kr/claude-sonnet-4.5

Exact field names vary by tool version, these are the common ones. Replace <your-keyrouter-api-key> with the API key from your dashboard.

arrow_forward5. Send a test request

Ask your tool something , anything. You should see the request appear in the dashboard's live log with which provider served it. That's it.

Important on first run

Change the initial password immediately, and set a strong JWT_SECRET before exposing KeyRouter beyond localhost. Read the security guide.