by decolua
Connect All AI Code Tools (Claude Code, Cursor, Antigravity, Copilot, Codex, Gemini, OpenCode, Cline, OpenClaw...) to 40+ AI Providers & 100+ Models
# Add to your Claude Code skills
git clone https://github.com/decolua/9routerNever stop coding. Auto-route to FREE & cheap AI models with smart fallback.
Connect All AI Code Tools (Claude Code, Cursor, Antigravity, Copilot, Codex, Gemini, OpenCode, Cline, OpenClaw...) to 40+ AI Providers & 100+ Models.
π Quick Start β’ π‘ Features β’ π Setup β’ π Website
π»π³ TiαΊΏng Viα»t β’ π¨π³ δΈζ β’ π―π΅ ζ₯ζ¬θͺ
Stop wasting money and hitting limits:
9Router solves this:
βββββββββββββββ
β Your CLI β (Claude Code, Codex, Gemini CLI, OpenClaw, Cursor, Cline...)
β Tool β
ββββββββ¬βββββββ
β http://localhost:20128/v1
β
βββββββββββββββββββββββββββββββββββββββββββ
β 9Router (Smart Router) β
β β’ Format translation (OpenAI β Claude) β
β β’ Quota tracking β
β β’ Auto token refresh β
ββββββββ¬βββββββββββββββββββββββββββββββββββ
β
βββ [Tier 1: SUBSCRIPTION] Claude Code, Codex, Gemini CLI
β β quota exhausted
βββ [Tier 2: CHEAP] GLM ($0.6/1M), MiniMax ($0.2/1M)
β β budget limit
βββ [Tier 3: FREE] iFlow, Qwen, Kiro (unlimited)
Result: Never stop coding, minimal cost
1. Install globally:
npm install -g 9router
9router
π Dashboard opens at http://localhost:20128
2. Connect a FREE provider (no signup needed):
Dashboard β Providers β Connect Claude Code or Antigravity β OAuth login β Done!
3. Use in your CLI tool:
Claude Code/Codex/Gemini CLI/OpenClaw/Cursor/Cline Settings:
Endpoint: http://localhost:20128/v1
API Key: [copy from dashboard]
Model: if/kimi-k2-thinking
That's it! Start coding with FREE AI models.
Alternative: run from source (this repository):
This repository package is private (9router-app), so source/Docker execution is the expected local development path.
cp .env.example .env
npm install
PORT=20128 NEXT_PUBLIC_BASE_URL=http://localhost:20128 npm run dev
Production mode:
npm run build
PORT=20128 HOSTNAME=0.0.0.0 NEXT_PUBLIC_BASE_URL=http://localhost:20128 npm run start
Default URLs:
http://localhost:20128/dashboardhttp://localhost:20128/v1π¬ Watch the complete step-by-step tutorial:
β±οΈ Duration: 20 minutes | π₯ By: Developer Community
9Router works seamlessly with all major AI coding tools:
No comments yet. Be the first to share your thoughts!