9Router
An open-source, local proxy tool acting as a centralized routing layer for AI coding assistants.
Preview
Problem
Developers use multiple AI coding tools (Cursor, Cline, Copilot) which require separate configuration of API keys and lack unified cost management or auto-fallback capabilities.
Solution
A local OpenAI-compatible proxy (localhost:20128/v1) that routes requests from any AI coding tool to over 40 different API providers, featuring smart fallbacks and cost management.
Challenge
Translating and unifying API formats across different providers (OpenAI, Anthropic, Gemini) and compressing massive token usage from verbose tool outputs (like git diffs).
Key Features
- Centralized Routing
- Smart 3-tier auto-fallback
- RTK Token Saver (20-40% compression)
- Local Web Dashboard
- Format Translation
Tech Choices
Target User
Developers who use multiple AI coding assistants and want to optimize their API costs and workflows.
Impact
"Provides developers with absolute control over their API usage and costs across all their AI coding tools, preventing vendor lock-in."
How to Use
Install Globally
Run 'npm install -g 9router' in your terminal.
Start the Proxy
Run '9router' and access the local web dashboard to configure your API keys.
Configure Assistants
Set your AI coding assistants (like Cline or Cursor) to use 'http://localhost:20128/v1' as their OpenAI-compatible endpoint.
Quick Details
- Pricing
- Free
- Platforms
- Local, Node.js, Docker
- Updated
- 8/19/2026