Skip to Content
9Router

9Router Hosting: One Endpoint for All Your Model Providers

With our 9Router hosting, 9Router goes onto a VPS of your own and is handed over on an HTTPS address. 9Router takes the model requests sent by coding tools such as Claude Code, Codex, Cursor or Cline and forwards them to the providers you have connected. Each tool gets one OpenAI-compatible base URL and an API key issued by 9Router, and you decide in 9Router which model serves which request.

You bring the provider accounts and their API keys; the server runs no local model and has no GPU. The dashboard sits behind two sign-ins: first a browser login box asking for a user name and password, then 9Router's own password screen. The model API (/v1) is outside that prompt and answers only to an API key created in 9Router.

Install

From $15/mo

Comes with

  • Ubuntu Server 24.04 LTS (Noble Numbat) - 64bit
  • Docker
  • HTTPS address
  • Admin account set up during installation
  • Full root access
9Router0.5.123
9Router Providers page listing the model providers that connect with an API key

Installation

What you get with this 9Router

  • One endpoint, many providers

    9Router 0.5.123 runs in a single container and exposes an OpenAI-compatible /v1 endpoint. Its README lists support for more than 40 providers; besides API-key providers you can add your own endpoints that speak the OpenAI or Anthropic format.

  • A browser sign-in in front of the dashboard

    9Router's dashboard asks only for a password, with no user name. We put a browser login box, with user name and password, in front of it, so only someone past that prompt ever sees 9Router's own login.

  • Keyless model calls are refused

    During the install we check that a model request without a key gets a 401 and that 9Router's built-in default password (123456) does not work. Your tools reach /v1 with a key you create on 9Router's Endpoint page.

  • Your own signing secret

    9Router signs the API keys it hands out with a secret, and according to its source code the default secret is a public string. On this install that secret, the session signing key and the machine-ID salt are generated at random per server.

  • Fallback to the next model

    On the Combos page you line up several models under one name and give that name to your tool as the model. Per 9Router's docs, when a model runs out of quota or errors, the request moves to the next one in the list.

  • One command changes the password

    Run sudo altinsoft-app-password over SSH and the browser prompt and 9Router's password change together. We ran the command on our trial server to test it.

Screens

Inside the 9Router dashboard

Click a screenshot to see it larger.

  • Providers: the providers that connect with an API key, none connected yet.
  • Providers › Anthropic: Add Connection takes your own API key; below it, the models 9Router knows for this provider.
  • Endpoint: one API key per person or machine, Require API key on; key values blurred in this image.

Use cases

Why people run 9Router

  • One setting for every coding tool

    Point Claude Code, Codex, Cursor, Cline, Continue or Roo at 9Router as their provider. Later you swap the model behind them in 9Router, without touching each tool's configuration.

  • A key per person or per machine

    The Endpoint page lets you create several named API keys. Give a laptop or a teammate a key of their own; switching it off or deleting it cuts off only that one.

  • Keep working when a provider stalls

    Chain models from several providers so a full quota or an error does not stop you. The tool sees a single model name and 9Router works down the list.

  • Several accounts at one provider

    The README describes adding more than one account per provider, with requests spread round-robin or by priority and moving on when an account hits its quota.

  • Format translation

    A tool that speaks the OpenAI format can talk to a model that expects Claude or Gemini requests. The README's list of translated formats includes OpenAI, Claude, Gemini, Ollama and OpenAI Responses.

  • Shorter tool output

    The RTK feature compresses tool output such as git diff, grep or ls before it reaches the model; the README says this cuts the tokens sent and shows the feature on by default, which is how the Token Saver page showed it on our test install. We have not measured the effect ourselves.

Steps

From order to first request

  1. 01

    A plan that holds 9Router

    Ordering from this page starts with 9Router already selected. It runs as a single container; the order form will not offer 9Router on a plan that cannot hold it. It needs at least 1 GB of memory.

  2. 02

    We set it up

    After payment the server is prepared and 9Router started; we check that the password works and that the default password and keyless requests are refused. Only then does the address go live. If a check fails, our team reinstalls or delivers the server without 9Router and writes to you.

  3. 03

    Sign in and connect a provider

    Your delivery e-mail holds the address and the admin user name; the password is behind a link that opens once. Enter both in the browser prompt, then the same password on 9Router's screen. Connect a provider and create an API key for your tool on the Endpoint page.

Packages

Packages for 9Router

Only packages that meet the minimum 9Router needs are listed; prices are monthly.

  • USA 1

    Lowest-priced package that runs this app

    $15/mo

    4 vCPU4 GB RAM30 GB NVMe

    Install
  • USA 2

    $18/mo

    4 vCPU6 GB RAM40 GB NVMe

    Install
  • USA 3

    $22/mo

    4 vCPU8 GB RAM50 GB NVMe

    Install
  • USA 4

    $27/mo

    4 vCPU10 GB RAM60 GB NVMe

    Install
  • USA 5

    $33/mo

    4 vCPU12 GB RAM70 GB NVMe

    Install
  • USA 6

    $37/mo

    6 vCPU14 GB RAM80 GB NVMe

    Install
  • USA 7

    $40/mo

    6 vCPU16 GB RAM90 GB NVMe

    Install
  • USA 8

    $46/mo

    8 vCPU18 GB RAM100 GB NVMe

    Install

Technical

Technical details

App version
0.5.123
Operating system
Ubuntu Server 24.04 LTS (Noble Numbat) - 64bit
Minimum CPU
1 vCPU
Minimum memory
1 GB
Minimum disk
10 GB

9Router on this server: what is open and what is not

9Router's README describes running it on your own computer, with your coding tool calling http://localhost:20128/v1. Here 9Router runs on a server instead: tools on your computer call the /v1 path on the server's HTTPS address, and the traffic between them is encrypted. Your settings, provider connections, provider keys and the API keys 9Router issues live in 9Router's SQLite database, in a Docker volume on the server.

The table shows where this install departs from 9Router's defaults, and what else you should know.

9Router settings on this install
ItemOn this installWhy
DashboardBrowser sign-in (admin + password), then 9Router's password screen9Router's login has no user name, and its lockout hits every visitor at once
Model API (/v1)No browser sign-in; a 9Router API key is requiredCoding tools cannot fill in a browser prompt
Other model paths (/v1beta, /api/v1, /api/v1beta, /responses, /codex)No browser sign-in; a 9Router API key is requiredLike /v1, they go through 9Router's own key check; a keyless request gets a 401 (measured on our test install)
Health path (/api/health)OpenUsed by the installer and the server's reverse proxy
Secret that signs API keysPer install, randomThe default is a public string
Request loggingOff (ENABLE_REQUEST_LOGS)Request and response bodies are not written to disk
Headroom (extra compression service)Not installedAn optional, separate service in the README
DataSQLite database in a Docker volume (/app/data)It also holds your provider keys; store backups accordingly
  • Features that do not work here

    9Router's source code only allows some routes from the same machine: Tunnel, Tailscale Funnel, the MITM and cowork settings, MCP, starting and stopping Headroom, auto-importing Cursor, Kiro or Zed tokens, and resetting the dashboard password to default. Behind the proxy these answer 403. You do not need a tunnel anyway: the server already has an HTTPS address.

  • 'Require API key' and the 'Default Key' on the Endpoint page

    9Router's Require API key setting is on at delivery; that is what the Endpoint page showed on our test install. Per the source code, a model request from outside the server is checked for a key regardless of this setting, and the install itself confirms that a keyless request gets a 401. We have not tested what switching the setting off changes here. The first time the Endpoint page opens, 9Router creates an API key named 'Default Key' by itself; switch it off or delete it if you do not need it.

  • Subscription sign-ins (OAuth)

    The README explains that some providers (Claude Code, Codex, GitHub Copilot, Cursor) connect through an account sign-in instead of an API key, and mentions port 1455 for the Codex sign-in. We have not tried these sign-ins from our server. API-key providers involve no such sign-in step.

  • Wrong-password lockout

    Per the source code, five wrong passwords from one address lock the login for 30 seconds, then 2, 10 and 30 minutes on repeat; the lock lives in memory and clears on restart. Behind the proxy every visitor appears to come from the same address, and the browser prompt keeps strangers from triggering the lock.

  • Changing the password inside 9Router

    9Router's own change-password screen (Settings › Security) changes only 9Router's password; the browser prompt keeps the old one, and you end up with two passwords. To change both together, use sudo altinsoft-app-password over SSH.

Connecting providers and pointing your tools at 9Router

These steps come from 9Router's README and docs; page names are those of 9Router's English interface.

On the Providers page, choose a provider and add the API key from your account with it. 9Router shows models under names that start with the provider's short name (provider/model), and that name, or a Combo's name, is what you enter as the model in your tool.

Then create a key with Create Key on the Endpoint page and give it a name. That key takes the place of a provider key in every tool; the providers' own keys stay on the server and never reach your computer. Each key can be switched off with the toggle next to it, or deleted.

  • OpenAI-compatible tools (Cline, Continue, Roo)

    Per the README, pick OpenAI Compatible as the provider, put your server's address followed by /v1 in Base URL, the key from 9Router in API Key, and a provider/model name or a Combo name in Model.

  • Codex CLI

    The README sets OPENAI_BASE_URL to 9Router's address, without /v1, and OPENAI_API_KEY to the 9Router key. 9Router's /responses and /codex paths are outside the browser prompt on this install too and require a 9Router API key; we measured that a keyless request gets a 401. We have not sent a request from Codex CLI itself.

  • Cursor

    The README enters an OpenAI API Base URL and key under Cursor's Settings › Models › Advanced. 9Router's docs say Cursor does not accept a localhost address; on this install the address is already the server's HTTPS address. We have not tested Cursor.

  • Claude Code

    The README replaces the Anthropic API address and key in Claude Code's settings file with 9Router's. The settings format depends on your Claude Code version, so check that tool's own documentation as well.

What we tested on this install is that a request without a key is refused. We have not yet run a tool end to end through 9Router with a real provider key on this server; when you connect the first tool, checking that the request shows up on 9Router's Usage page is a good test. The cost shown there is not a bill: per the README it is an estimate at paid API prices, and the real charge comes from your provider.

Updates, backups and the password

Once delivered, following and applying 9Router releases is up to you; we installed the release you start with (0.5.123). 9Router's Docker guide notes that numbered image tags can be republished and recommends pinning the image digest for an install that must not change; this install is pinned by digest, so 9Router does not update itself. We do not pre-test new releases on this setup; the decision and the steps are yours, following 9Router's own documentation.

9Router's data is one SQLite file, and per the Docker guide its data folder also has a folder for automatic backups. That file holds your provider keys, so keep any copy you take off the server as carefully as a key. The VPS automatic backup add-on backs up the entire virtual server, and we have not tried restoring 9Router from it.

  • Changing the password

    From an SSH session, run sudo altinsoft-app-password. You type the new password twice; it needs 12 to 72 characters with no spaces, non-ASCII letters, quotes, backslashes, $ or #. The browser prompt and 9Router switch to it together, the user name stays admin, and you sign in again in the browser.

  • If you forget it

    The same command does not ask for the old password; running it as root is enough. Never changed the password we delivered? Then 'Send sign-in details again', next to the server in our customer panel, mails you a new link to it.

  • What the command does

    It removes 9Router's stored password from its database, writes the new one to the install's settings file, recreates the 9Router container and renews the browser prompt's password. It leaves the data volume alone and clears only the password field in the settings.

FAQ

Frequently asked questions

9 questions

Does 9Router give me access to AI models?

No. 9Router is a router: it forwards each request to a provider you have connected. You bring the provider account and its API key, and the provider bills you for usage. Per the README, 9Router itself charges nothing, and the cost figures in the dashboard are only an estimate.

Why am I asked for a password twice?

The first prompt is a browser login box that we put in front of the dashboard; the user name is admin. The second is 9Router's own password-only screen. At delivery both passwords are the same, and sudo altinsoft-app-password over SSH changes them together.

Will the browser prompt get in my coding tool's way?

No. /v1 and 9Router's other model paths (/v1beta, /api/v1, /api/v1beta, /responses, /codex) are outside the browser sign-in; on our test install every one of them was reachable without it and landed on 9Router's own key check. Your tool authenticates with an API key created on 9Router's Endpoint page, and 9Router answers a request without a key with 401. The dashboard itself stays behind the browser prompt.

Can I connect my Claude or ChatGPT subscription?

The README describes account sign-ins (OAuth) for some providers. We have not tried them from our server, and some of the steps the README describes assume 9Router runs on your own computer. API-key providers skip that step, and they are the straightforward route for a 9Router that runs on a server.

Why don't the Tunnel and Tailscale buttons work?

9Router's source code accepts those routes only from the same machine, so behind the proxy on this install they are refused. You do not need a tunnel here: 9Router already answers on the server's HTTPS address.

How do I change or reset my password?

Over SSH, as root, enter sudo altinsoft-app-password. It does not ask for the old password, asks for the new one twice, and changes the browser prompt and 9Router's password together. If you change it on 9Router's own screen instead, the browser prompt keeps the old password.

Are my prompts and responses stored on the server?

Request logging is off at delivery, so request and response bodies are not written to disk. 9Router keeps usage statistics (token counts per provider and model) in its own database. The content of each request does, of course, go to the provider you connected.

What if an API key leaks?

Switch off or delete that key on the Endpoint page and create a new one; the other keys keep working. Giving each person or machine its own key means you can shut one off without affecting the rest.

Who applies 9Router updates?

You do; releases after delivery are outside what we look after. You receive version 0.5.123. The image is pinned by digest, so 9Router does not update itself on this install, and we do not pre-test new releases. 9Router's Docker guide covers updating and the data folder.

Catalogue

9Router

Get 9Router installed on your server

Pick your package and pay; the app's installation starts with your order.