by yanstd888
9RouterX (9R Next Go Generation): Single-binary Go AI router, LLM gateway & 20-40% token saver. Route Claude Code, Cursor & Codex across 394 providers, 28 OAuth & 248 free models (24 keyless) — OpenAI, Claude, Gemini, DeepSeek, Groq, Ollama & MCP.
# Add to your Claude Code skills
git clone https://github.com/yanstd888/9routerxGuides for using mcp servers skills like 9routerx.
Last scanned: 11/30/2026
{
"issues": [
{
"file": "README.md",
"line": 120,
"type": "secret-exfiltration",
"message": "Instruction appears to send credentials/secrets to an external endpoint",
"severity": "medium"
},
{
"file": "README.md",
"line": 168,
"type": "remote-install",
"message": "Install command (remote install script piped to a shell — review the source before running): \"curl -fsSL https://raw.githubusercontent.com/yanstd888/9routerx/main/install.sh \"",
"severity": "low"
}
],
"status": "PASSED",
"scannedAt": "2026-11-30T15:17:10.892Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}9routerx is an open-source mcp servers skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by yanstd888. 9RouterX (9R Next Go Generation): Single-binary Go AI router, LLM gateway & 20-40% token saver. Route Claude Code, Cursor & Codex across 394 providers, 28 OAuth & 248 free models (24 keyless) — OpenAI, Claude, Gemini, DeepSeek, Groq, Ollama & MCP. It has 287 GitHub stars.
Yes. 9routerx passed AgentsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/yanstd888/9routerx" and add it to your Claude Code skills directory (see the Installation section above).
9routerx is primarily written in Go. It is open-source under yanstd888 on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other MCP Servers skills you can browse and compare side by side. Open the MCP Servers category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh 9routerx against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars

High-performance local AI gateway and OpenAI/Anthropic-compatible LLM router compiled into a single Go binary.
Cut tool-output token consumption by 20–40%, automate multi-tier failover (Subscription → Cheap → Free), and route across 394 AI providers and 227 free models with zero Node.js runtime overhead.
9RouterX is the self-hosted 9Router & LiteLLM alternative — one native Go binary you own: per-key financial governance, semantic cache, and 227 free models (24 keyless) running locally on port 20128.
If 9RouterX helps your workflow, please give the repository a star — it helps other developers discover the project.
Quick Start • Why 9RouterX? • Comparison • Key Features • Supported Clients • Free Providers • Database Sharing • Screenshots • Setup Guide • Architecture Matrix • FAQ • Docs • Wiki
394 Built-in Providers · 34 OAuth-category Entries · 32 Free-category Entries · 227 Cataloged Free Models (24 Keyless) · 5 Build Targets · 1 Binary
What is 9RouterX?
9RouterX is an open-source, self-hosted LLM gateway written in Go with an embedded Svelte 5 + Vite + Tailwind 4 dashboard, listening on loopback port
20128by default. It exposes Chat Completions, Anthropic Messages, Responses, embeddings, model catalogs, Ollama-compatible chat, MCP, and A2A routes. The registry contains 394 built-in provider entries grouped as 317 API-key, 34 OAuth, 32 free, and 11 web-cookie entries. These are catalog categories, not guaranteed authentication-flow counts: auth modes vary by provider. The static free catalog lists 227 models across 35 providers, including 24 keyless models; Antigravity still requires Google OAuth. See Providers for actual browser-login and credential support.
AI-assisted software engineering workflows suffer from fragmented monthly subscriptions, sudden upstream rate limits, runaway token billing, and bloated CLI tool context windows. 9RouterX resolves these operational bottlenecks locally at the gateway layer before requests leave your machine:
Subscription → Cheap → Free): Stop losing unused monthly subscription credits or hitting 429 Too Many Requests in the middle of a complex multi-file refactor. 9RouterX prioritizes your active Subscription tier first (via connected OAuth accounts or web-cookie sessions), overflows seamlessly to Cheap API providers (such as DeepSeek, Groq, Fireworks, or Nebius), and automatically falls back to Free-Tier / Keyless models (227 free models across 35 providers, including 24 keyless models) when primary limits are exhausted.internal/tokensaver, internal/compression), 50+ ready-made per-tool output filters (git diff, git log, grep, ripgrep, docker logs, npm install, pnpm, cargo build, go test, terraform plan, kubectl, pytest, and friends), GCF/tabular headroom compression (internal/compression/gcf, internal/headroom), context squeezing, and output style directives (Caveman, Ponytail, ADHD, and Anti-Slop modes) strip redundant noise before forwarding requests upstream.internal/budget), per-key request rate limits, CIDR/IP whitelists, per-key system prompt injection, and scoped endpoint permissions (internal/policy, internal/guardrails, internal/keikey) before distributing local gateway keys (sk-...) to autonomous agents, CI pipelines, or team members.tool-call repair fallback), guards against SSRF dispatch and leaks via PII masking, and continuously tracks live endpoint health (internal/modelhealth, internal/resilience) with a 3-tier circuit breaker to bypass degraded nodes automatically.internal/semanticcache), automatic upstream prompt cache header passthrough (internal/promptcache), cache-aware sticky TTL routing (saving up to ~90% on cached input reads), and zero-allocation FastJSON parsing (internal/fastjson).x64/arm64), macOS (x64/arm64), and Windows (x64).9RouterX is an independent Go + Svelte 5 evolution of 9Router (decolua/9router and luqman-v1/9router-go) that expanded its own enterprise governance and token-saving architecture, sitting in the same self-hosted gateway space as OmniRoute (cheaper-inference/OmniRoute). Every row in the table below states a verifiable fact—where an architectural trait has no standardized public benchmark behind it, it is explicitly labeled On paper rather than given a synthetic number. Star counts were checked live on Nov 14, 2026; evaluate each gateway by its operational requirements and feature rows.
| Metric / Capability | 9RouterX (This Repo) | 9Router (decolua) |
OmniRoute (cheaper-inference) |
|---|---|---|---|
| GitHub Stars (Nov 14, 2026) | 68 | 32,422 | 87,366 |
| Language / Runtime | Go, single native binary + Svelte 5 dashboard | JavaScript / Node.js + Next.js | TypeScript / Node.js |
| Installation Footprint | One native binary (~48 MB linux-amd64), zero runtime dependencies | npm i -g 9router (6 deps, requires Node.js runtime) |
npm (~105 deps) / Docker / pnpm |
| Supported Providers | 394 (<!-- GEN:PROVIDERCOUNT apikey -->317<!-- /GEN --> API · <!-- GEN:PROVIDERCOUNT oauth -->34<!-- /GEN --> OAuth · <!-- GEN:PROVIDERCOUNT freeAll -->32<!-- /GEN --> free · <!-- GEN:PROVIDERCOUNT webCookie -->11<!-- /GEN --> cookie) |
40+ | 375–380 (150+ free) |
| Cataloged Free Models | 227 across 35 providers (24 keyless) | 100+ | 1,400+ models (~1.62B free tokens/mo) |
| Embedded Dashboard | Svelte 5 + Vite + Tailwind 4, embedded in binary | Next.js React web app | Desktop / PWA |
| Database Engine | Embedded SQLite, drop-in schema-compatible | Same SQLite schema | SQLite |
| Behavior Under Heavy Traffic | On paper: a compiled native Go process—one process for the gateway, dashboard, and SQLite engine, with no V8 heap or GC pauses growing with the request queue. Measure on your own workload. | On paper: Node.js runtime (V8 + sin |