9Router

9Router is an OpenAI-compatible AI router that connects coding tools such as Claude Code, Cursor, and Codex to more than 40 AI providers through a single…

  • AI
9Router is an OpenAI-compatible AI router that connects coding tools such as Claude Code, Cursor, and Codex to more than 40 AI providers through a single endpoint. Smart three-tier fallback keeps you coding past rate limits by switching between subscription, low-cost, and free models, while built-in context compression reduces token usage by up to 40 percent.

Platform availability

Available on 1 of 10 platforms

  • Unraid (not listed)
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox
  • Helm (not listed)
  • Mac (not listed)
  • Windows (not listed)
  • Linux (not listed)
  • Any server (not listed)

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

77/100 Good

Maintained
100last commit 9 days ago
Popular
9032,372 GitHub stars
Easy to install
251 install platform, install notes
Light to run
No data
Security check
65no serious findings, 12 minor, CI, tests

Based on 4 of 5 factors.

Availability: platform listings confirmed today

GitHub stars
32,372
Open issues
2830
Last commit
2026-11-12
Latest release
v0.5.35
License
MIT
Activity
steady

Checked 8 days ago - source: GitHub (decolua/9router)

Resources & Compatibility

Requirements not published yet.

First-install notes

  • Install and start 9Router locally Use npm (a package installer) to run npm install -g 9router, then start 9router; this opens the dashboard at http://localhost:3000 and the API (the address other apps call) at http://localhost:20128/v1. Without this, the app will not be installed or started, so you cannot reach the dashboard or connect tools. source
  • Fill in server settings before start Before starting on a server, set JWT_SECRET (a security key) and INITIAL_PASSWORD to real values, point DATA_DIR (its settings folder) somewhere you can back up, and set PORT and HOSTNAME. That prevents an insecure, unreachable, or data-losing setup. source
  • Use PM2 so it starts after reboot After it runs, use PM2 (a tool that keeps programs running): start it with pm2 start npm --name 9router -- start, save with pm2 save, and run pm2 startup, then follow the printed command. That makes it come back after a crash or reboot. source

Fetched 8 days ago - each note links to its source

Alternatives (8)

  • Experiential - Open-source, OpenAI-compatible gateway that routes hosted, BYOK, local, and custom models with access controls, budgets, and usage attribut…
  • GoModel - AI gateway written in Go.
  • Occludra - Open-source AI firewall and LLM proxy that redacts PII, blocks prompt injection, and enforces spend budgets before requests reach any AI pr…
  • OmniRoute - OmniRoute is an open-source AI gateway for homelab users that provides a drop-in OpenAI-compatible endpoint across 352+ LLM providers, with…
  • OpenRouter - OpenRouter is an AI model aggregator service that provides developers and users access to a wide range of large language models and generat…
  • Spillway - Spillway is an open-source, self-hosted AI gateway for teams that use cloud and local language models.
  • VoidLLM - Privacy-first LLM proxy and AI gateway — load balancing, multi-provider routing, API key management, usage tracking, rate limiting.
  • liteLLM - LiteLLM is a self-hosted AI gateway and proxy server that lets teams manage authentication, load balancing, routing, and spend tracking for…

Checked 8 days ago - source: AlternativeTo

Common questions

Which AI coding clients are listed as connectors for 9Router?

9Router connects Claude Code, Codex, Cursor, Cline, Copilot, and Antigravity. It is described as routing to Claude, GPT, and Gemini through multiple providers.

Does 9Router include provider failover?

Yes, the repository lists auto-fallback as a feature. It is presented as a way to avoid hitting provider limits.

How should I troubleshoot 401, 429, and model errors in 9Router?

Check connection, authentication, model, quota, proxy, and streaming failures. Identify the failing layer before changing the client configuration.

What endpoint requirements are mentioned for self-hosted TTS and STT connections?

Self-hosted TTS should validate a server root or a full speech endpoint. Self-hosted STT should validate the complete transcription endpoint, and the Base URL should be preserved when editing other connection fields.

Answers sourced from 9router.wiki, github.com, github.com

Community

Collected 8 days ago - public community threads