# 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 endpoint. It is open source and self-hosted, installable on Proxmox.

Canonical page: https://ourlocalhost.com/app/7687/9router

## Description

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: Proxmox.

## Health score

77/100 (Good), based on 4 of 5 factors.
- Maintained: 100 (last commit 9 days ago)
- Popular: 90 (32,372 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)
- Security check: 65 (no serious findings, 12 minor, CI, tests)

## Links

- Official website: https://9router.com
- Proxmox: https://community-scripts.github.io/ProxmoxVE/scripts?id=9router

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

## Alternatives

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

---
Source: Our Local Host (https://ourlocalhost.com/app/7687/9router), the self-hosted and open-source app directory.
