Skip to main content
50% off all plans, limited time. Starting at $2.48/mo
9Router

9Router

9Router is a local AI gateway that points Claude Code, Codex, Cursor, Cline, and Copilot at 40+ model providers through a single endpoint, falling back automatically when one rate-limits you. MIT licensed with 25,700+ GitHub stars.

At a glance

License MIT Version Latest OS Ubuntu Server 24.04 LTS Min RAM 2 GB IP IPV4,IPV6

Access

  1. Open http://<SERVER_IP>:20128 in your browser.
  2. Use the initial password stored as INITIAL_PASSWORD in /root/9router/.env.
  3. Change the password from the dashboard after logging in.

Important Files & Directories

  • Install Path: /root/9router
  • Compose File: /root/9router/docker-compose.yml
  • Environment: /root/9router/.env
  • Data: /var/lib/docker/volumes/9router-data/_data

Docker Management

View status:

docker ps

View logs:

cd /root/9router
docker compose logs -f

Restart services:

cd /root/9router
docker compose restart

Stop services:

cd /root/9router
docker compose down

Start services:

cd /root/9router
docker compose up -d

More in Self Hosted

Related apps.

Deploy 9Router now. From $2.48/mo.