9router

by decolua

Pending

Universal AI Proxy for Claude Code, Codex, Cursor | OpenAI, Claude, Gemini, Copilot

160stars
49forks
JavaScript
Added 1/23/2026
CLI Tools9routerantigravityclaude-codecliproxyapicursorvibecoding
Installation
# Add to your Claude Code skills
git clone https://github.com/decolua/9router
README.md
<div align="center"> <img src="./images/9router.png" alt="9Router Dashboard" width="800"/>

9Router - FREE AI Coding

Use Claude, Codex, Gemini for FREE β€’ Ultra-cheap alternatives from $0.20/1M tokens

npm Downloads License

πŸš€ Quick Start β€’ πŸ’° Pricing β€’ πŸ“– Setup β€’ 🌐 Website

</div>

Why 9Router?

Stop wasting your AI subscriptions and paying full price:

  • ❌ Subscription quota expires unused every month
  • ❌ Rate limits stop you mid-coding
  • ❌ Expensive APIs ($20-50/month per provider)
  • ❌ Manual switching between providers

9Router maximizes value:

  • βœ… Maximize Subscriptions - Claude Code, Codex, Gemini, Copilot quota tracking
  • βœ… FREE Available - iFlow, Qwen, Kiro when needed, via CLI
  • βœ… Ultra-Cheap Backup - GLM ($0.6/1M), MiniMax M2.1 ($0.20/1M)
  • βœ… Smart Fallback - Subscription β†’ Cheap β†’ Free, automatic switching

πŸ”§ How It Works

1. Install & Start
   npm install -g 9router β†’ Dashboard opens

2. Connect Providers  
   Dashboard β†’ OAuth login (Claude, Gemini...)
            OR β†’ For free providers (iFlow, Qwen, Kiro...)
            OR β†’ Add API keys (GLM, iFlow...)

3. Point Your CLI (Cursor/Cline/Any tool..)
   Cursor/Cline β†’ http://localhost:20128/v1
   
   Your Tool  β†’  9Router  β†’  Providers
                 (Auto route + fallback)

⚑ Quick Start

Install globally:

npm install -g 9router
9router

πŸŽ‰ Dashboard opens β†’ Connect Free Providersβ€―β€―β†’ Start coding!

Use in Claude Code/Codex/Cursor/Cline/.....:

Endpoint: http://localhost:20128/v1
API Key: [from dashboard]
Model: cc/claude-opus-4-5-20251101

πŸ’° Pricing Strategy

πŸ“… MAXIMIZE SUBSCRIPTIONS (Primary)

Already paying? Get full value with quota tracking:

| Provider | What You Get | Quota Reset | Monthly Cost | |----------|--------------|-------------|--------------| | Claude Code (Pro/Max) | Claude 4.5 Opus/Sonnet/Haiku | 5-hour + Weekly | $20-100 | | OpenAI Codex (Plus/Pro) | GPT 5.2 Codex, GPT 5.1 Codex Max | 5-hour + Weekly | $20-200 | | Gemini CLI (FREE tier!) | 180K completions/month, 1K/day | Daily/Monthly | $0 | | GitHub Copilot | GPT-5, Claude 4.5, Gemini 3 | Monthly (1st) | $10-19 | | Antigravity (Google) | Gemini 3 Pro, Claude Sonnet 4.5 | Similar to Gemini | $0 |

Value: Use every bit of your subscription quota before it resets!

πŸ’° ULTRA CHEAP (Backup)

When subscription quota runs out, pay pennies:

| Provider | Pricing (per 1M tokens) | Quota Reset | Cost for 10M | |----------|------------------------|-------------|--------------| | GLM-4.7 | $0.60 in...