Skip to content
Sign in
  • Browse all toolsFilter by category and pricing
  • Browse categoriesWriting, code, image, audio and more
  • Compare toolsPut up to three side by side
  • Read the blogGuides and comparisons

9Router

OpenAI-compatible gateway with automatic fallback across 60+ AI providers

9Router is a locally run, OpenAI-compatible AI gateway that connects coding tools and other clients to more than 60 providers and switches to backup providers when quotas run out. 9Router is aimed at developers using tools such as Claude Code and Cursor and is free to start, with free and paid upstream options.

Updated 22 Nov 20267 sections

At a glance

Pricing
Free9Router is free to start with no credit card. Provider access can use free tiers, existing subscriptions, or paid API accounts.
Added
22 Nov 2026
9Router website screenshot

What is 9Router?

9Router is an open-source AI gateway that sits between coding tools and AI providers. Developers can point tools such as Claude Code, Codex, Cursor, and Cline at a shared OpenAI-compatible endpoint instead of configuring each tool separately for each provider. The MIT-licensed gateway runs locally and includes a dashboard for managing connections and checking usage.

What 9Router can do

9Router gives compatible clients access to more than 60 providers. Chat completions are one use of the gateway, but the same endpoint also supports embeddings, text-to-speech, speech-to-text, image and video generation, vision, web search, and web fetch. Provider groups can include multiple accounts and distribute requests among them.

  • 9Router translates requests between OpenAI, Anthropic, and Gemini formats.
  • 9Router groups providers for load balancing and fallback.
  • 9Router tracks token usage, quota resets, and estimated costs.
  • 9Router compresses input from tools such as git diff and grep.
  • 9Router can prompt models to return shorter responses.

How 9Router works

9Router connects provider accounts through OAuth or API keys, depending on the provider. A developer configures the client to send requests to the local endpoint, while the gateway handles provider selection. Its routing can prioritize existing subscriptions, then fall back to lower-cost services and finally to free options when a quota runs out.

Who 9Router is for

9Router is designed for developers who use AI coding assistants in an editor or from the command line. The page lists integrations for tools including Cursor, Cline, Claude Code, Codex, and Continue. Developers who work with several provider accounts can use the dashboard to see how much of each quota remains and when it resets.

  • Route requests from several coding tools through one local endpoint.
  • Use a backup provider when a coding subscription reaches its quota.
  • Check token usage and estimated costs by provider.

9Router pricing and plans

9Router is free to start, requires no credit card, and is distributed under the MIT license. The page distinguishes the gateway from the services it connects to: users can add free providers, existing subscription accounts, or paid API providers. The lower-cost and free tiers described on the page are routing options for upstream services.

9Router strengths and limitations

9Router reduces manual provider switching by combining a shared endpoint with automatic fallback. The dashboard lets developers check quotas and manage provider accounts from one place. The routing setup still depends on which providers the user connects, and choosing a subscription or paid API provider means using that provider's own access terms.

  • Initial setup requires a local installation through npm.
  • Provider connections must be configured before routing requests.
  • Each client must be pointed at the gateway endpoint.

Getting started with 9Router

9Router is installed globally with npm install -g 9router and launched with the 9router command. The dashboard opens automatically so users can connect providers with OAuth or API keys. Client tools are then configured to use http://localhost:20128/v1 as their OpenAI-compatible endpoint. The page lists setup guides for individual coding tools.

9Router FAQ

What is 9Router?

9Router is an open-source, OpenAI-compatible gateway that connects coding tools and other clients to more than 60 AI providers. The gateway runs locally and includes a dashboard for managing provider connections and tracking quotas and usage.

Is 9Router free?

9Router is free to start, requires no credit card, and is available under the MIT license. Developers can connect free upstream providers, existing subscriptions, or paid API accounts, so the cost of provider access depends on which services they use.

How does 9Router handle provider quotas?

9Router can automatically switch to a backup provider when a quota runs out. The routing setup can prioritize subscriptions, then lower-cost providers, and then free options. The local dashboard shows token usage, reset countdowns, and estimated costs by provider.

Which coding tools work with 9Router?

9Router lists integrations for Claude Code, Codex, Cursor, Cline, Kilo Code, Roo, and Continue, among other tools. A supported client can be configured to send requests to the local OpenAI-compatible endpoint, and the page lists per-tool setup guides.

What can 9Router handle besides chat completions?

9Router supports embeddings, text-to-speech, speech-to-text, image generation, vision, video generation, web search, and web fetch in addition to chat completions. Developers can access these service types through the same OpenAI-compatible gateway rather than using a separate endpoint for each provider.

From the community

No reviews yet

Be the first to review this tool. What you write helps the next person choose.

More tools like 9Router

Claude Code Router

www.github.com

A local model gateway for routing coding agents across providers, models, accounts, and tools.

Free

One API

www.github.com

Open-source LLM API management and key redistribution through a unified OpenAI-compatible interface.

Free

Free Claude Code

www.github.com

Connect coding agents to free, paid, subscription, and local models through a searchable model catalog.

Free

LiteLLM

www.github.com

Open-source AI gateway and Python SDK for calling LLM providers through a unified OpenAI-compatible interface.

Free