9Router

9Router

โ˜… 4.4 ๐Ÿ”– 7000 saves ๐Ÿ’ฐ Free GitHub

9Router is an open-source AI gateway that connects your coding tools to more than 40 model providers, including free tiers of leading models. Point Claude Code, Codex, Cursor, Cline or Copilot at 9Router once, and it routes each request to the best available provider, falling back automatically when a limit is hit.

Overview

9Router has attracted more than 31,100 stars on GitHub and is actively developed, with updates in October 2026. Its pitch is simple: AI coding assistants burn through rate limits and subscriptions quickly, while many providers offer free or trial access that goes unused. 9Router aggregates those providers behind a single OpenAI-compatible endpoint, tracks quotas, and switches providers automatically when one runs dry, so a coding session never has to stop. It also applies token-saving techniques (the project cites around 40% savings with its RTK optimization) to stretch every quota further. Everything runs locally or self-hosted, and setup is a single endpoint change in your existing tools.

Key Features

  • One endpoint for 40+ AI providers, including free Claude, GPT and Gemini routes
  • Automatic fallback and quota tracking so sessions never stall on a rate limit
  • Works with Claude Code, Codex, Cursor, Cline, Copilot, Antigravity and more
  • Token optimization that reduces request sizes and stretches free allowances
  • OpenAI-compatible API, so most existing tools connect without modification
  • Self-hosted and open source under the MIT license, with a local dashboard
  • Fast-growing community project with frequent provider additions

๐Ÿ’ณ Pricing

9Router is free and open source under the MIT license. You bring your own provider accounts; costs, if any, come only from the providers you choose to connect.

Who Is It For

9Router is for developers who use AI coding assistants daily and want to maximize free model access, avoid mid-task rate limits, and manage all their providers from one place instead of juggling API keys per tool.

๐Ÿš€ Visit 9Router Official Site

๐Ÿšฉ Report an issue