---
title: "9Router AI request router on a VPS · CloudSat"
description: "Run 9Router on a CloudSat VPS: one OpenAI-compatible endpoint for Claude Code, Cursor and Cline, with format translation, fallback and quota tracking."
url: https://cloudsat.io/apps/deploy-9router
updated: 2026-11-18T15:52:34Z
source: CloudSat (https://cloudsat.io/). Prices in USD.
---

[Self-hosted](https://cloudsat.io/apps/category/self-hosted-essentials)

# 9Router on a VPS

9Router is a self-hosted AI request router: coding tools talk to one endpoint and it translates formats, tracks quotas and falls back across providers.

[Deploy 9Router](https://dash.cloudsat.io/console/deploy?image=app%3A9router&plan=cloud-1g) [All apps](https://cloudsat.io/apps)

## 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

1. When the server turns **Running**, open `http://<server IP>:20128/dashboard` in your browser.
2. Sign in with the project's default password `123456` and replace it on the spot: this dashboard faces the internet.
3. Connect provider accounts, build a combo, then set your tool's base URL to `http://<server IP>:20128/v1`.
4. 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.

## Apps like 9Router

[All apps in Self-hosted](https://cloudsat.io/apps/category/self-hosted-essentials)

- [LiteLLM](https://cloudsat.io/apps/deploy-litellm): Self-hosted LiteLLM is an open-source AI gateway: call OpenAI, Anthropic, Gemini, Ollama and 100+ more providers through one OpenAI-compatible API.
- [Claude Code](https://cloudsat.io/apps/deploy-claude-code): Self-hosted Claude Code is Anthropic's agentic coding tool for the terminal. On a CloudSat server, long sessions keep going after you close your laptop.
- [OpenCode](https://cloudsat.io/apps/deploy-opencode): Automation OpenCode is an MIT-licensed AI coding agent with a terminal UI, build and plan agents, subagents and many model providers, extended through MCP servers and plugins.
- [aider](https://cloudsat.io/apps/deploy-aider): Self-hosted aider is an open-source AI pair programmer for the terminal: it edits files across your git repo with the model you choose and commits every change.
- [AFFiNE](https://cloudsat.io/apps/deploy-affine): Self-hosted AFFiNE is an open-source workspace that merges docs, an edgeless whiteboard and databases, with real-time collaboration on a server you run.
- [AList](https://cloudsat.io/apps/deploy-alist): Self-hosted AList is a file list program that mounts local disks, S3, SFTP and dozens of cloud drives behind one web interface, with previews and WebDAV access.
