Never Stop Coding
Smart AI Router with Auto Fallback

Auto-route to FREE & cheap AI models • Zero downtime with 3-tier fallback

Maximize your subscriptions, never hit rate limits, and code 24/7 with automatic fallback routing. Works with Cursor, Cline, Claude Desktop, and any CLI tool.

code View on GitHub
bolt Install in 2 Commands • Dashboard Opens Automatically
npm install -g 9router 9router

🎉 Dashboard opens → Connect FREE providers → Start coding!

hub 9Router
smart_toy
Claude Code
code
Codex CLI
terminal
Cline
editor_choice
Cursor
auto_awesome OpenAI
psychology Anthropic
star Gemini
commit GitHub Copilot

Interactive diagram visible on desktop

Get Started - Maximize Your AI Value

Install globally, connect your providers, and start coding with smart auto-fallback routing.

1

Install Globally

Run one command to install 9Router globally on your system

npm install -g 9router
2

Connect Providers

Open Dashboard and add your API keys or OAuth connections for each tier

FREE CHEAP SUBSCRIPTION
3

Point Your CLI

Configure Cursor, Cline, or any OpenAI-compatible tool to use 9Router

http://localhost:20128/v1
terminal — 9router setup
$ npm install -g 9router
9Router installed globally
$ 9router
> Starting 9Router...
> Server running on http://localhost:20128
> Dashboard: http://localhost:20128/dashboard
> Ready to route! ✓
💡 Next Steps:
1. Open Dashboard → Connect your providers
2. Add API keys for FREE/CHEAP/SUBSCRIPTION tiers
3. Point Cursor/Cline to localhost:20128/v1
Data Location:
macOS/Linux: ~/.9router/db.json
Windows: %APPDATA%/9router/db.json

How 9Router Works

Install once, connect providers, and code non-stop with automatic 3-tier fallback routing.

download

1. Install & Connect

  • npm install -g 9router
  • Dashboard opens automatically
  • Connect providers via OAuth or API keys
hub

2. Smart 3-Tier Routing

Tier 1: Subscription
Claude Code, Codex, Gemini
Tier 2: Cheap
$0.20-0.60/1M tokens
Tier 3: FREE
iFlow, Qwen, Kiro

⚡ Auto fallback when quota exhausted

code

3. Code Non-Stop

  • Point CLI tools to localhost:20128
  • Zero downtime, automatic switching
  • Track usage in dashboard

auto_awesome Key Features

Smart routing, quota tracking, and automatic fallback. Never stop coding, maximize your subscriptions.

swap_horiz
SMART

3-Tier Smart Fallback

Subscription → Cheap → Free. Automatic switching when quota runs out, zero downtime.

trending_up
SUBSCRIPTION

Maximize Subscriptions

Track Claude Code, Codex, Gemini quota. Use every bit before it resets!

monitoring

Real-Time Quota Tracking

Live token consumption, reset countdown, cost estimation per provider. Use every bit before it expires!

terminal

Universal CLI Support

Cursor, Cline, Claude Desktop, Codex, RooCode, Continue. Any tool with custom OpenAI endpoint.

savings
CHEAP

Cheap Backup Tier

GLM, MiniMax, Kimi from $0.20/1M. Automatic fallback when subscription quota exhausted.

workspace_premium
FREE

FREE Emergency Fallback

iFlow, Qwen, Kiro unlimited. Final safety net ensures you never stop coding.

cloud_sync

Cloud Sync

Use from anywhere. Cloudflare edge network with 300+ global locations.

group

Multi-Account Support

Add multiple accounts per provider. Round-robin load balancing and automatic failover.

What Developers Say

Real developers. Real workflows. Zero rate limits.

Finally no more rate limit errors at 2am. 9Router just switches to free tier automatically.

@devnull_kaiSenior Engineer

My Claude Code quota was expiring unused every month. Not anymore.

@priya_codesFull Stack Dev

Setup took 2 commands. Now I have infinite coding sessions.

@tomasz_wBackend Dev

The 3-tier fallback is genius. Subscription → cheap → free, zero downtime.

@alex_buildsIndie Hacker

Switched from manually juggling 3 API keys. 9Router does it automatically.

@sarah_devStaff Engineer

GLM at $0.60/1M tokens as backup? I'm paying almost nothing now.

@minh_le_devFreelancer

Works with Cursor, Cline, Claude Desktop. Just point to localhost:20128.

@rustam_devDevOps

Open source, no vendor lock-in, runs locally. Exactly what I wanted.

@chen_xi_devML Engineer

Finally no more rate limit errors at 2am. 9Router just switches to free tier automatically.

@devnull_kaiSenior Engineer

My Claude Code quota was expiring unused every month. Not anymore.

@priya_codesFull Stack Dev

Setup took 2 commands. Now I have infinite coding sessions.

@tomasz_wBackend Dev

The 3-tier fallback is genius. Subscription → cheap → free, zero downtime.

@alex_buildsIndie Hacker

Gemini CLI free tier + Claude Code subscription = unlimited coding.

@marco_codesStartup Founder

The quota tracking dashboard is so satisfying to watch.

@anya_kFrontend Dev

My team uses 3 different AI subscriptions. 9Router combines them all.

@james_tTech Lead

iFlow as emergency fallback means I literally never stop coding.

@nguyen_devSolo Dev

Install globally, forget about rate limits forever. Done.

@fatima_bPlatform Engineer

MiniMax M2.1 at $0.20/1M is insane value. 9Router routes to it automatically.

@lars_eOpen Source Dev

Real-time quota countdown + auto-switch. This should be built into every AI tool.

@diana_mPrincipal Eng

The fact that it's just npm install -g 9router and done is incredible.

@kenji_sSoftware Architect

Gemini CLI free tier + Claude Code subscription = unlimited coding.

@marco_codesStartup Founder

The quota tracking dashboard is so satisfying to watch.

@anya_kFrontend Dev

My team uses 3 different AI subscriptions. 9Router combines them all.

@james_tTech Lead

iFlow as emergency fallback means I literally never stop coding.

@nguyen_devSolo Dev

Choose Your Stack

Build your perfect AI routing stack. Mix subscriptions, cheap backups, and free fallbacks.

BEST VALUE

Maximize Subscriptions

“Use every bit before it expires!”

  • Claude Code Pro/Max$20-100/month
  • OpenAI Codex Plus/Pro$20-200/month
  • Gemini CLIFREE (180K/month)
  • GitHub Copilot$10-19/month
Get Started
BACKUP

Ultra Cheap

“~90% cheaper than ChatGPT API”

  • GLM-4.7$0.60/1M tokens
  • MiniMax M2.1$0.20/1M tokens
  • Kimi K2$9/month flat
Get Started
FREE

Free Forever

“Emergency backup, zero cost”

  • iFlow8 models unlimited
  • Qwen3 models unlimited
  • KiroClaude FREE
Get Started

Stop Wasting Your AI Subscriptions

Subscription quota expires unused every month

Rate limits stop you mid-coding session

Manual switching between providers wastes time

9Router solves this
Track quota in real-time, use every bit before reset
Auto fallback to cheap/free when quota exhausted
Zero downtime with 3-tier smart routing
FREE tier available
No credit card needed
Open source