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
npm install -g @sifxprime/krouterFound in the project README. Check it for setup steps after installing.
git clone https://github.com/sifxprime/krouter.gitFrom 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…
Details
- Repository
- sifxprime/krouter
- Website
- krouter.kodelyth.com
- 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
Claudecodex
35karem505/claudecodex
Use Claude Code's UI with OpenAI GPT-5.6 (Sol/Terra/Luna) as the engine — powered by your ChatGPT Plus/Pro subscription via a local Codex proxy. One-line install; plain claude stays untouched.
Squeezr
34sergioramosv/squeezr
AI-powered Claude Code proxy that uses Haiku to semantically compress context and save thousands of tokens
Claude Code Model Router
35luwill/Claude-Code-Model-Router
A lightweight API gateway that lets you switch to third-party AI models when using Claude Code.
Claude Code Proxy
32daodao97/claude-code-proxy
Claude code proxy, friendly view request log, enhance request stability
Helm API
31EasyMetaAu/helm-api
Self-hosted LLM gateway — route OpenAI/Anthropic/Gemini traffic by config, not code. Fallback, protocol translation, telemetry.
Ollama Herd
31geeks-accelerator/ollama-herd
Route LLMs, embeddings, image generation and speech-to-text across the Macs, Linux servers and Windows PCs you already own. One OpenAI-, Ollama- and Anthropic-compatible endpoint, so Claude Code and Codex run on your own machines. Zero config.
Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.