v1.0 is now live

One Endpoint for
All AI Providers

AI endpoint proxy with web dashboard - A JavaScript port of CLIProxyAPI. Works seamlessly with Claude Code, OpenAI Codex, Cline, RooCode, and other CLI tools.

code View on GitHub
bolt Easy 2-Step Install
npm install -g 9router 9router

Get Started in 30 Seconds

Install 9Router, configure your providers via web dashboard, and start routing AI requests.

1

Install 9Router Globally

Install package globally, then run 9router command

2

Open Dashboard

Configure providers and API keys via web interface

3

Route Requests

Point your CLI tools to http://localhost:20128

terminal
$ npm install -g 9router
9Router installed globally
$ 9router
> Starting 9Router...
> Server running on http://localhost:20128
> Dashboard: http://localhost:20128/dashboard
> Ready to route! ✓
📝 Configure providers in dashboard or use environment variables
Data Location:
macOS/Linux: ~/.9router/db.json
Windows: %APPDATA%/9router/db.json

How 9Router Works

Data flows seamlessly from your application through our intelligent routing layer to the best provider for the job.

terminal

1. CLI & SDKs

Your requests start from your favorite tools or our unified SDK. Just change the base URL.

hub

2. 9Router Hub

Our engine analyzes the prompt, checks provider health, and routes for lowest latency or cost.

3. AI Providers

The request is fulfilled by OpenAI, Anthropic, Gemini, or others instantly.

Powerful Features

Everything you need to manage your AI infrastructure in one place, built for scale.

link

Unified Endpoint

Access all providers via a single standard API URL.

bolt

Easy Setup

Get up and running in minutes with npx command.

shield_with_heart

Model Fallback

Automatically switch providers on failure or high latency.

monitoring

Usage Tracking

Detailed analytics and cost monitoring across all models.

key

OAuth & API Keys

Securely manage credentials in one vault.

cloud_sync

Cloud Sync

Sync your configurations across devices instantly.

terminal

CLI Support

Works with Claude Code, Codex, Cline, Cursor, and more.

dashboard

Dashboard

Visual dashboard for real-time traffic analysis.

Ready to Simplify Your AI Infrastructure?

Join developers who are streamlining their AI integrations with 9Router. Open source and free to start.