About 9router
9router is a local AI gateway that sits between coding tools and model providers. Developers install it globally from npm, a dashboard opens automatically, and every connected CLI or IDE points at a single OpenAI compatible endpoint on localhost. From there 9router routes each request across more than 60 providers and falls back automatically when a quota or rate limit runs out, so a coding session keeps going instead of stopping mid task.
It is aimed at developers who already juggle several AI subscriptions and want to use all of them. Routing works in three tiers: paid subscriptions such as Claude Code, Codex, Gemini and Copilot first, then low cost API models such as GLM, MiniMax and Kimi, then free providers such as Qwen, Kiro and OpenCode. Providers connect by OAuth, API key or browser cookie, and setup guides cover Claude Code, Codex, Cursor, Cline, Kilo Code, Roo, Continue and others. Beyond chat, the same endpoint handles embeddings, text to speech, speech to text, image and video generation, vision, web search and web fetch. Built in token saving features are claimed to cut token use by 20 to 65 percent, and the dashboard tracks quota and usage in real time.
9router itself is free to install and run, with the source on GitHub. The costs a user pays are those of the upstream providers; the site cites examples such as GLM at $0.60 and MiniMax at $0.20 per million tokens and Kimi at $9 per month, and notes that routing only to free providers can bring the cost to $0 per month.
Because it can relay subscription accounts through a local proxy, users should check each provider's terms before routing a subscription through it.