9router-gacor

中文文档
0.5.79发布于 2026/11/03MIT近 30 天下载 2011

9router-gacor — FREE AI Router & Token Saver. Route Claude Code / Cursor / Codex / Cline / Copilot to 3 aggregator providers (CodeBuddy, CodeBuddy CN, Qwen Cloud) with auto-fallback, quota tracker, and 20-40% token savings.

原始使用文档
文档目录8 节
  1. 🤔 Why 9router-gacor?
  2. ⚡ Quick Start
  3. 🚀 CLI Options
  4. 🛠️ Supported CLI Tools
  5. 💾 Data Location
  6. 📚 Documentation
  7. 🙏 Credits
  8. 📄 License

9router-gacor — FREE AI Router & Token Saver

Never stop coding. Save 20-40% tokens with RTK + auto-fallback across CodeBuddy Global, CodeBuddy CN, and Qwen Cloud accounts.

Connect any OpenAI/Claude-compatible CLI (Claude Code, Cursor, Codex, Cline, Copilot, OpenClaw, Gemini CLI, Qwen Code, iFlow, Continue, Aider, …) to three curated aggregator providers with quota tracking, credit-exhaust auto-disable, and bulk account management.

npm Downloads License

📖 Docs • 🐛 Issues


🤔 Why 9router-gacor?

Stop wasting money, tokens, and hitting limits:

  • ❌ Subscription quota expires unused every month
  • ❌ Rate limits stop you mid-coding
  • ❌ Tool outputs (git diff, grep, ls…) burn tokens fast
  • ❌ Expensive APIs ($20-50/month per provider)

9router-gacor solves this:

  • ✅ RTK Token Saver — Auto-compress tool_result, save 20-40% tokens
  • ✅ Bulk account management — Rotate between hundreds of CodeBuddy / Qwen Cloud accounts
  • ✅ Auto-disable — Credits exhausted (429/14018), banned (403/11140), access denied → account removed from rotation automatically
  • ✅ Quota tracker — Live remaining credits per provider (CodeBuddy billing meter, Qwen local aggregation)
  • ✅ Content filter — Regex-based rewrite/remove rules before request reaches upstream
  • ✅ Thinking control — max / xhigh / high / medium / low / minimal / auto effort per provider
  • ✅ Universal — Works with any OpenAI-compatible CLI

⚡ Quick Start

Install via npm:

npm install -g 9router-gacor
9router-gacor

Dashboard opens at http://localhost:20128.

Add accounts:

Dashboard → Providers → pick one:

  • CodeBuddy Global (Claude 4.6/4.7, GPT-5.x, Gemini 3.x, DeepSeek, GLM)
  • CodeBuddy CN (GLM-5.x, Kimi K2.x, MiniMax, DeepSeek, Hunyuan)
  • Qwen Cloud (GLM-5.2, DeepSeek V4 Pro, Qwen3.7 Max — free tier)

Paste your API keys (bulk-import supported).

Wire your CLI:

Claude Code / Codex / Cursor / Cline / OpenClaw settings:
  Endpoint: http://localhost:20128/v1
  API Key:  [copy from dashboard]
  Model:    cb/claude-opus-4.7-1m   (or cbcn/glm-5.2, qwc/qwen3.7-max, …)

Start coding.


🚀 CLI Options

9router-gacor                    # Start with defaults (port 20128)
9router-gacor --port 8080        # Custom port
9router-gacor --no-browser       # Don't open browser
9router-gacor --skip-update      # Skip auto-update check
9router-gacor --help             # Show all options

Dashboard: http://localhost:20128/dashboard Gateway (/v1/*): OpenAI-compatible endpoint for /chat/completions, /messages, /responses, /models, /embeddings, /audio/*, /images/*, /videos/*, /search, /web/fetch.


🛠️ Supported CLI Tools

Claude-Code • OpenClaw • Codex • OpenCode • Cursor • Antigravity • Cline • Continue • Droid • Roo • Copilot • Kilo Code • Gemini CLI • Qwen Code • iFlow • Crush • Aider

Any tool supporting OpenAI/Claude-compatible API works.


💾 Data Location

  • macOS/Linux: ~/.9router/db/data.sqlite
  • Windows: %APPDATA%/9router/db/data.sqlite

(Storage path kept as 9router for backward compatibility with existing installs.)

Override via DATA_DIR env var.


📚 Documentation


🙏 Credits

Based on 9Router by decolua. This fork focuses on three OpenAI-compatible aggregator providers (CodeBuddy Global, CodeBuddy CN, Qwen Cloud) with production-grade bulk account management, quota tracking, and thinking-level control ported and refined for high-volume account rotation.

📄 License

MIT License — see LICENSE for details.

版本与发布记录

9router-gacor 共发布 44 个版本,首次发布于 2026/07/19;过去 12 个月发布了 44 个版本。

版本发布日期距今
0.5.79latest2026/11/034 天前
0.5.782026/10/317 天前
0.5.772026/10/317 天前
0.5.762026/10/299 天前
0.5.752026/10/299 天前
0.5.742026/10/2711 天前

关于 9router-gacor 的常见问题

9router-gacor 是什么?

9router-gacor — FREE AI Router & Token Saver. Route Claude Code / Cursor / Codex / Cline / Copilot to 3 aggregator providers (CodeBuddy, CodeBuddy CN, Qwen Cloud) with auto-fallback, quota tracker, and 20-40% token savings.

如何安装 9router-gacor?

在项目目录运行 npm install 9router-gacor,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 9router-gacor,可以用 npx 9router-gacor 直接运行。

9router-gacor 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/9router-gacor 是否存在。

9router-gacor 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=18.0.0。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

9router-gacor 可以商用吗?

9router-gacor 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

9router-gacor 的下载量有多少?

根据 npm 官方下载统计,9router-gacor 在 2026/10/04 – 2026/11/02 这 30 天内被下载 2,011 次,日均约 67 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

9router-gacor 还在维护吗?

最新版本 0.5.79 发布于 2026/11/03(4 天前);至今共发布 44 个版本,其中过去 12 个月发布了 44 个;首次发布于 2026/07/19。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。