Claude Code model router
FlagshipRouter
Free AI models for every coding tool — a local OpenAI-compatible gateway for Claude Code, Codex, Cursor, Cline and OpenCode. Based on 9router (MIT).
Install
git clone https://github.com/theRizwan/FlagshipRouter.gitFrom the README
FlagshipRouter Free AI models for every coding tool. FlagshipRouter is a local AI gateway that connects Claude Code, Codex, Cursor, Cline, OpenCode and other coding tools to free AI models through one OpenAI-compatible endpoint. - Free providers only. The dashboard, management APIs and routing only expose providers with a free offer (Kiro, OpenCode Free, OpenRouter free models, NVIDIA NIM, Groq, Cloudflare Workers AI, Ollama, self-hosted servers and more). - A Models screen instead of a provider list. Every model from every free provider in one searchable table, with a ready/connect status and a one-click test. - Starts with one command. Running flagshiprouter starts the server and opens the browser UI. Quick start Requires Node.js 20.9 or newer (22 recommended). npm run launch installs the dependencies, builds the app (a few minutes, first run only), and starts the CLI. The server runs on port 20128 and the dashboard opens in your browser; the terminal keeps a small menu (open browser UI, terminal UI, hide to tray, exit). Pass CLI options after --, for example npm run launch -- --host 127.0.0.1 (local only), -- -p 20130 (another port) or -- --no-browser. To use the flagshiprouter command anywhere, link the CLI package once: For development with hot reload: The dashboard's default password is 123456; change it under Settings before exposing the router beyond localhost. Connect a coding tool 1. Open Endpoint & Key and create an API key. 2. Open Models, pick a model marked Ready (OpenCode Free models need no signup) or connect a provider to unlock more. 3. Point your tool at http://localhost:20128/v1 with that key, or use CLI Tools to write the config for Claude Code, Codex, OpenCode, Cline, Copilot and others. Models appear in those tools as…
Details
- Repository
- theRizwan/FlagshipRouter
- Language
- JavaScript
- License
- MIT
- Last updated
- 26 October 2026
FAQ
What is FlagshipRouter?
Free AI models for every coding tool — a local OpenAI-compatible gateway for Claude Code, Codex, Cursor, Cline and OpenCode. Based on 9router (MIT). It is a model router for Claude Code, from theRizwan/FlagshipRouter on GitHub.
How do I install FlagshipRouter?
Clone theRizwan/FlagshipRouter from GitHub and follow the setup steps in its README.
Is FlagshipRouter popular?
theRizwan/FlagshipRouter has 227 GitHub stars and 85 forks. It was last updated on 26 October 2026.
More model routers & proxies
Setup Gateway
442Sinholms/setup-gateway
Konfigurator gateway OpenAI-compatible untuk Claude Code, OpenCode, dan Codex CLI. Zero-dependency, interaktif + CI, backup atomik + restore, config preservation, selftest built-in.
Weam
224weam-ai/weam
Web app for teams of 20+ members. In-built connections to major LLMs via API. Share chats, prompts, and agents in team or private folders. Modern, fully responsive stack (Next.js, Node.js). Deploy your own vibe-coded AI apps, agents, or workflows or use ready-made solutions from the library.
OpenTag
499linxidnju/OpenTag
Open-source, channel-native agent gateway for Slack. Route team threads to Claude Code, Codex, OpenCode, Docker, HTTP agents, and custom CLIs with policy, approvals, memory, audit logs, and artifacts.
Agents Can Communicate
209automatis-tools/agents-can-communicate
Messages between AI coding sessions in different vendors' clients, such as Claude Code and Codex. Local, open source, no lead agent. https://getacc.dev
Backdoor
301ajsai47/backdoor
Run Claude Code against any AI provider. DeepSeek, Groq, Ollama, OpenRouter — your call.
JoyCode2Api
218vibe-coding-labs/JoyCode2Api
JoyCode API 代理 — 协议翻译成 Anthropic/OpenAI 兼容格式,让 Claude Code 直接调用 JoyCode支持的模型,比如GLM 5.1等
Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.