About 9Router
9Router is an MIT-licensed Node.js proxy for AI coding tools such as Claude Code, Cursor and Cline. It exposes an OpenAI-compatible API, converts between OpenAI, Claude and Gemini formats, and falls back to cheaper or free providers when a quota runs out.
On a VPS, every laptop and CI job shares one router with one set of quotas and logs. Pick one of the 13 CloudSat regions close to where you work.
After deploy the dashboard and API share port 20128: clients call /v1, while accounts, combos and usage live under /dashboard.
What you get with 9Router
- OpenAI-compatible endpoint with Claude and Gemini format translation
- Three-tier fallback from subscription to cheap to free providers
- Quota tracking, token counts and cost estimates per provider
- Token savers that shrink tool output such as
git diff - Several accounts per provider with OAuth token refresh
9Router use cases
- Share one routing setup across a team's coding assistants
- Keep working when a provider hits its rate limit
- See token spend per provider in one dashboard
After you deploy 9Router
- When the server turns Running, open
http://<server IP>:20128/dashboardin your browser. - Sign in with the project's default password
123456and replace it on the spot: this dashboard faces the internet. - Connect provider accounts, build a combo, then set your tool's base URL to
http://<server IP>:20128/v1. - Limit port 20128 to your own addresses with a CloudSat firewall rule, or publish it on a domain with HTTPS.
9Router ports
Open these in your firewall if you use one: 20128/tcp dashboard and /v1 API.
9Router FAQ
Which tools work with 9Router?
The README names Claude Code, Cursor and Cline. Any client that accepts a custom OpenAI-compatible base URL can use the /v1 endpoint on port 20128.
Is the dashboard safe on a public IP?
Only once the default password is gone. Better still, allow port 20128 from your own IPs only, or serve the router over HTTPS on your domain.
Disclaimer. The 9Router project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.