9Router
9Router is a local AI gateway that sits between your coding tools and 40+ AI providers. Point Claude Code, Codex, Cursor, Cline, Copilot, Antigravity, Gemini CLI, OpenCode, or OpenClaw at `http://localhost:20128/v1` and 9Router handles format translation (OpenAI ↔ Anthropic ↔ Gemini), quota tracking, token refresh, and three-tier automatic fallback: use existing subscriptions first, drop to cheap providers such as GLM, MiniMax, or Kimi when quota runs out, then to free tiers such as Kiro, iFlow, Qwen, or OpenCode Free. It bundles RTK and Caveman-style compression of tool results to cut 20–40% of tokens, supports multi-account round-robin per provider, provider combos with sticky routing, and a web dashboard for connecting providers via OAuth or API key.
v0.5.35 tagged in September 2026 with ~28.9k GitHub stars and 1,200+ commits; README localized into 10 languages, and trending on GitHub (JavaScript) in September 2026.
As of
- Single OpenAI-compatible endpoint for 10+ CLI/IDE coding tools
- Three-tier auto-fallback: subscription → cheap → free providers, zero downtime
- Real-time quota tracking, reset countdowns, and cost estimation per provider
- Built-in RTK/Caveman token compression of tool_result content
- Multi-account round-robin, provider combos, and format translation across OpenAI/Anthropic/Gemini APIs
- Local dashboard, Docker image, and tunnel/proxy options
Heavy coding-agent users who hit subscription rate limits mid-session and want to keep working across multiple providers and accounts without manually switching endpoints.
Teams needing a governed, audited enterprise gateway; users routing IDE subscription traffic should check each vendor's terms — the project itself notes to 'mind each tool's policy'. For local multi-machine inference see Personal AI Router; for a hosted metered gateway see XiuRouter.
Free and open-source under MIT; install with `npm install -g 9router` or run via Docker. You pay only the underlying providers you connect (existing subscriptions, cheap API tiers, or free tiers).
A pragmatic, feature-dense router for keeping agents running through quota walls; the free-tier and IDE-interception features are powerful but sit close to provider policy lines, so use with care.
Is 9Router free?
Yes - 9Router is Open Source. Free and open-source under MIT; install with `npm install -g 9router` or run via Docker. You pay only the underlying providers you connect (existing subscriptions, cheap API tiers, or free tiers).
Is 9Router open source?
Yes - 9Router is open source. Free and open-source under MIT; install with `npm install -g 9router` or run via Docker. You pay only the underlying providers you connect (existing subscriptions, cheap API tiers, or free tiers).
Who is 9Router best for?
Heavy coding-agent users who hit subscription rate limits mid-session and want to keep working across multiple providers and accounts without manually switching endpoints.
Who is 9Router not ideal for?
Teams needing a governed, audited enterprise gateway; users routing IDE subscription traffic should check each vendor's terms — the project itself notes to 'mind each tool's policy'. For local multi-machine inference see Personal AI Router; for a hosted metered gateway see XiuRouter.
What are the best 9Router alternatives?
The closest 9Router alternatives on ai.dosa.dev are Pieces for Developers, agenttrace, Vibe Kanban - all listed under Developer Productivity & Workflow.
Who makes 9Router?
9Router is developed by decolua. It is listed in the Developer Productivity & Workflow category on ai.dosa.dev.
Favorite this tool to revisit it later, or Zap it to contribute to the public vote count.
Content on this page is AI-generated. Please verify details with the vendor's website for accuracy.