Never stop coding. Save 20-40% tokens with RTK + auto-fallback to FREE & cheap AI models.
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ā
Stop wasting money, tokens and hitting limits:
9Router solves this:
āāāāāāāāāāāāāāā
ā Your CLI ā (Claude Code, Codex, OpenClaw, Cursor, Cline...)
ā Tool ā
āāāāāāāā¬āāāāāāā
ā http://localhost:20128/v1
ā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā 9Router (Smart Router) ā
ā ⢠RTK Token Saver (cut tool_result tokens) ā
ā ⢠Format translation (OpenAI ā Claude) ā
ā ⢠Quota tracking ā
ā ⢠Auto token refresh ā
āāāāāāāā¬āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā
āāā [Tier 1: SUBSCRIPTION] Claude Code, Codex, GitHub Copilot
ā ā quota exhausted
āāā [Tier 2: CHEAP] GLM ($0.6/1M), MiniMax ($0.2/1M)
ā ā budget limit
āāā [Tier 3: FREE] Kiro, OpenCode Free, Vertex ($300 credits)
Result: Never stop coding, minimal cost + 20-40% token savings via RTK
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 Kiro AI (~50 credits/month free: Claude 4.5 + GLM-5 + MiniMax) or OpenCode Free (no auth) ā Done!
3. Use in your CLI tool:
Claude Code/Codex/OpenClaw/Cursor/Cline Settings:
Endpoint: http://localhost:20128/v1
API Key: [copy from dashboard]
Model: kr/claude-sonnet-4.5
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/v1MIT License - see LICENSEā for details.
Content type
Image
Digest
sha256:df3b2a439ā¦
Size
223.7 MB
Last updated
2 days ago
docker pull sujin190/9router