Discover and explore top open-source AI tools and projects—updated daily.
decoluaUniversal AI router for cost-effective coding assistance
Top 60.0% on SourcePulse
<2-3 sentences summarising what the project addresses and solves, the target audience, and the benefit.> 9Router is an open-source AI proxy designed to intelligently route requests to various AI models, prioritizing free and cost-effective tiers. It addresses the challenges of managing multiple AI subscriptions, hitting rate limits, and incurring high costs. By offering a universal, self-hostable endpoint, it enables developers and power users to ensure uninterrupted access to AI coding assistants while minimizing expenses.
How It Works
The system functions as a local HTTP proxy that translates requests between different AI provider APIs (OpenAI, Claude, Gemini) and routes them through a configurable 3-tier fallback system: premium subscriptions, cheaper paid models, and free unlimited tiers. This ensures continuous availability by automatically switching to lower-cost or free options when higher tiers are exhausted or unavailable. It also handles token refresh and multi-account load balancing.
Quick Start & Requirements
npm install -g 9router.http://localhost:20128).Highlighted Details
Maintenance & Community
The project is hosted on GitHub (github.com/decolua/9router) with an active issue tracker for support and contributions. The primary website is 9router.com.
Licensing & Compatibility
Limitations & Caveats
The public cloud endpoint (https://9router.com) may return 500 errors for non-streaming requests if the upstream provider returns Server-Sent Events (SSE) data, requiring stream=true for such calls. Production deployments require changing default secrets (JWT_SECRET, INITIAL_PASSWORD) and enabling API key enforcement (REQUIRE_API_KEY) for enhanced security.
17 hours ago
Inactive