Claude Code model router

Krouter

Universal AI router — save 20-40% tokens with RTK and never stop coding. Connect Claude Code, Cursor, Antigravity, Kiro, Copilot, Codex, Cline & any OpenAI-compatible client to 40+ providers & 100+ models via one local endpoint. Zenith sub-1ms failover, MITM, multi-account.

Install

Install
npm install -g @sifxprime/krouter

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/sifxprime/krouter.git

From the README

# kRouter — Kodelyth AI Infrastructure

  The universal AI router that saves 20–40% input tokens and falls back when a provider fails.

  Connect Claude Code, Cursor, Antigravity, Kiro, Copilot, Codex, OpenCode, Cline, OpenClaw, and any OpenAI-compatible client to 95+ AI providers and 100+ models through one self-hosted endpoint. Route intelligently. Fall back instantly. Save tokens automatically.

  Website & Full Docs — krouter.kodelyth.com

  Quick Start • Features • Setup • Supported Providers

Quick Start

Requires Node.js 20.9 or newer.

The dashboard is at http://localhost:20128/dashboard — open it in your browser, or from the tray icon.

First login: the default dashboard password is 123456. Change it under Settings → Security once you're in.
For safety, the default only works from the machine kRouter is running on — sign-ins from other devices
on your network are refused until you set your own. Under Docker that includes your own browser, so
set INITIAL_PASSWORD as shown below.

Prefer the foreground? Run krouter with no flag, and add -l to see the server logs.

CLI Options

The default host 0.0.0.0 makes kRouter reachable from your network; remote callers still need an API key
for /v1/* and a login for the dashboard. Use --host 127.0.0.1 to keep it local-only. The krouter
command ignores the PORT and HOSTNAME environment variables, so set the port and host with these flags.

From Source (Contributors)

Docker

The first line makes a random password and prints it. Log in with it, then set your own under
Settings → Security; until you do, the password is whatever INITIAL_PASSWORD the container started with.
Under Docker the default 123456 is refused, because your browser's requests reach the container
from outside it. If ~/.krouter already holds a password from…
Read the full README on GitHub

Details

Language
JavaScript
License
MIT
Last updated
2 November 2026
Topics
aiai-gatewayanthropicapi-gatewayclaudeclaude-codeclicopilotcursordeveloper-toolsgeminillm

FAQ

What is Krouter?

Universal AI router — save 20-40% tokens with RTK and never stop coding. Connect Claude Code, Cursor, Antigravity, Kiro, Copilot, Codex, Cline & any OpenAI-compatible client to 40+ providers & 100+ models via one local endpoint. Zenith sub-1ms failover, MITM, multi-account. It is a model router for Claude Code, from sifxprime/krouter on GitHub.

How do I install Krouter?

Run npm install -g @sifxprime/krouter, then follow the setup in the README.

Is Krouter popular?

sifxprime/krouter has 33 GitHub stars and 4 forks. It was last updated on 2 November 2026.

More model routers & proxies

Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.