Loading page
Loading page

AI · OpenRouter alternative
Route your AI coding tools through one OpenAI-compatible endpoint that falls back across 40+ providers when a quota runs out.
9Router is an AI model router for coding agents. Your tool, such as Claude Code, Cursor, Codex or Cline, talks to one OpenAI-compatible endpoint. 9Router decides which provider and account handles each request. If a subscription hits its limit, it falls back to a cheaper model, then to a free one.
It also tries to cut token use. One feature compresses the output of commands like git diff, grep and ls before it is sent. Another can ask the model for shorter replies. You can turn the savers off for a single request with a header.
9Router is for developers who use AI coding tools every day and juggle several subscriptions and API keys. It helps when rate limits stop work in the middle of a task, or when quota expires unused at the end of the month.
The router holds your provider keys and OAuth tokens. Running it in your own service keeps those keys, your request logs and your usage data under your control. One endpoint also means you set up each tool once.
The trade-off is that you depend on each provider's rules. Some providers do not allow their subscriptions to be used this way, so read their terms. Change INITIAL_PASSWORD before first use. You look after updates and backups of the data folder.
Containers: decolua/9router:0.5.59, ghcr.io/chopratejas/headroom:0.6.7
Step 1
Choose the Starter plan. It costs $20 a month and runs up to 3 apps.
Step 2
Open App templates in the dashboard, choose 9Router, and click Deploy. We set up the containers, secrets and domain.
Step 3
Wait a few minutes for the first deploy, then open your new URL and finish the 9Router setup screen.