7.6K stars, up 3,318 this week. 560 commits, latest 16 hours ago.
9router does something blunt: connects your coding tools (Claude Code, Codex, Cursor, Cline, Copilot) to 40+ "free" model providers. Auto-fallback, RTK token compression claims 40% token reduction.
The README headline says it straight: "Unlimited FREE AI coding."
How it works
Core is a middleware proxy layer. Your coding tool doesn't call OpenAI or Anthropic directly — it calls 9router, which forwards requests to backend model providers.
These providers are mostly third-party platforms offering "free tier" or "shared account" services. 9router's value:
- Unified management: One interface for 40+ providers, no per-provider config
- Auto-fallback: One provider goes down or hits limits, auto-switch to the next
- Token compression: RTK (Request Token Kit) claims 40% token reduction — through prompt structure optimization and context management
Technically straightforward. It's an API gateway optimized for AI coding tool routing.
But there are unavoidable questions
What's the cost of "free"? These free tiers either have strict rate limits or use shared account pools. Shared accounts mean your code snippets (at least prompts) pass through third-party servers. If your project involves commercial code or sensitive data, draw that red line clearly.
How stable is it? Free tier SLAs are typically "no SLA." Providers can shut down, change policies, or get banned upstream at any time. 9router's auto-fallback mitigates single-point failures, but if the entire free ecosystem contracts, fallback won't help.
Compliance risk? Routing Claude Code API calls through unofficial channels may violate Anthropic's terms of service. Same for Cursor. I'm not a lawyer, but companies generally won't allow employees to use such "free proxies" in gray areas.
Who it's for
Personal projects, learning, or scenarios where code privacy isn't sensitive — 9router can save significant API costs. It has a Next.js Web UI and full documentation, low barrier to entry.
But for corporate environments, customer data, or compliance requirements — don't use it. The API savings won't cover a single data breach.
A technical point worth watching
The RTK token compression feature deserves separate attention. If it genuinely achieves 40% token reduction while maintaining output quality, it has value even as an API routing optimizer without the "free" layer. But I haven't done quantitative testing — this number comes from the official README, so stay skeptical.
Sources:
- decolua/9router — Official repository
- GitHub Trending weekly — Weekly trending ranking