9router
by decolua
Universal AI Proxy for Claude Code, Codex, Cursor | OpenAI, Claude, Gemini, Copilot
# Add to your Claude Code skills
git clone https://github.com/decolua/9router9Router - FREE AI Coding
Use Claude, Codex, Gemini for FREE β’ Ultra-cheap alternatives from $0.20/1M tokens
π 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...