by yanstd888
9RouterX (9R Next Go Generation): Single-binary Go AI router, LLM gateway & 20-40% token saver. Route Claude Code, Cursor & Codex across 155 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.
See how 9routerx compares with popular alternatives.
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 155 providers, 28 OAuth & 248 free models (24 keyless) — OpenAI, Claude, Gemini, DeepSeek, Groq, Ollama & MCP. It has 50 GitHub stars.
9routerx's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
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. SkillsLLM 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
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.

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 155 AI providers and 248 free models with zero Node.js runtime overhead.
Quick Start • Why 9RouterX? • Key Features • Supported Clients • Free Providers • Database Sharing • Screenshots • Setup Guide • Comparison • FAQ • Docs • Wiki
155 Providers · 28 OAuth One-Click · 29 Free-Tier · 248 Free Models (24 Keyless) · 20–40% Token Saved · 5 Platforms · 1 Binary
What is 9RouterX?
9RouterX is an open-source, self-hosted AI routing gateway, local LLM proxy, and request/response token optimizer written in Go with an embedded Svelte 5 + Vite + Tailwind 4 web dashboard (listening on default port
20128). It exposes a unified OpenAI-compatible (/v1/chat/completions,/v1/messages,/v1/responses,/v1/embeddings,/v1/models) and Anthropic-compatible local proxy endpoint that connects AI coding assistants (Claude Code, Cursor, OpenAI Codex CLI, Cline, Roo Code, OpenCode, Antigravity, Gemini CLI, OpenClaw) to 155 AI providers—comprising 91 API key services, 28 one-click OAuth integrations, 29 free-tier providers (248 cataloged free models across 36 providers, including 24 cataloged keyless models requiring no user-supplied upstream API key; Antigravity still requires one Google OAuth login), and 4 web cookie providers.
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 your 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 28 one-click OAuth or 4 web cookie providers), overflows seamlessly to Cheap API providers (such as DeepSeek, Groq, Fireworks, or Nebius), and automatically falls back to Free-Tier / Keyless models (248 free models across 36 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) combined with automatic upstream prompt cache header passthrough (internal/promptcache) and zero-allocation FastJSON parsing (internal/fastjson).x64/arm64), macOS (x64/arm64), and Windows (x64). AI Coding Clients (Claude Code, Cursor, Codex, Cline, OpenCode, Gemini CLI, OpenClaw)
│
http://localhost:20128/v1 (OpenAI / Anthropic / MCP / A2A)
▼
┌─────────────────────────────────────────────────────────────────────────────────────┐
│ 9RouterX Single Go Binary │
│ ┌────────────────────────┐ ┌────────────────────────┐ ┌───────────────────────┐ │
│ │ Governance & Policy │→ │ Token Saver Suite │→ │ Semantic & Prompt │ │
│ │ • Daily Cost Cutoff │ │ • RTK Compression │ │ Caching │ │
│ │ • Rate Limit / IP WL │ │ • 50+ Tool Filters │ │ • Vector Similarity │ │
│ │ • Guardrails & Vault │ │ • GCF / Headroom │ │ • Prompt Passthrough │ │
│ │ • PII Mask / SSRF Grd │ │ • Tool-Call Repair │ │ • FastJSON Engine │ │
│ └────────────────────────┘ └────────────────────────┘ └───────────────────────┘ │
│ │ │
│ ▼ │
│ ┌───────────────────────────────────────────────────────────────────────────────┐ │
│ │ Smart Combo Router & Resilience Engine (Model Health Probes) │ │
│ │ Strategies: Fallback │ Round-Robin │ Sticky │ Least-Used │ Capacity │ │
│ └───────────────┬────────────────────────┬────────────────────────┬─────────────┘ │
└──────────────────┼────────────────────────┼────────────────────────┼────────────────┘
▼ ▼ ▼
[Tier 1: Subscription] [Tier 2: Cheap API] [Tier 3: Free / Keyless]
28 One-Click OAuth + 91 API Key Providers 248 Free Models across
4 Web Cookie Providers (DeepSeek, Groq...) 36 Providers (24 Keyless)
| Feature Group | Capabilities & Internal Modules |
|---|---|
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M16 3h5v5M4 20L21 3M21 16v5h-5M15 15l6 6M4 4l5 5"/></svg> Routing & Fallback |
Auto 3-Tier Fallback (Subscription → Cheap → Free), Combo Routing (fallback, round-robin, sticky, capacity, fusion via internal/routing, internal/combos & internal/combopresets), multi-account round-robin load balancing, active Model Health probing (internal/modelhealth), and 3-stage circuit-breaker resilience (internal/resilience). |
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M13 2L3 14h9l-1 8 10-12h-9l1-8z"/></svg> Token Saver Suite |
20–40% tool-output token savings (internal/tokensaver, internal/compression), RTK Compression, 50+ ready-made per-tool output filters (for git diff, grep, docker logs, npm install, terraform plan, and friends), GCF/Tabular Headroom (internal/compression/gcf, internal/headroom), Context Squeezer for long histories, Output Style Directives (Caveman, Ponytail, ADHD), Anti-Slop Injector (internal/tokensaver/antislop), and automated **Tool-Call R |