9Router is a local gateway that connects AI coding CLIs and IDEs to many LLM providers through one OpenAI-compatible endpoint. It routes requests with tiered fallback and optional token compression.
Overview
9Router sits between tools such as Claude Code, Cursor, Cline, Codex, and Copilot and a large set of cloud and subscription providers. You install it globally, open a local dashboard, add OAuth or API credentials, and point your tools at the router URL instead of a single vendor API.
The product translates between provider formats, tracks quotas in real time, and can chain subscription, low-cost, and free models in a three-tier fallback so sessions continue when one source hits limits. It supports dozens of named providers plus custom OpenAI- and Anthropic-compatible endpoints, multi-account round-robin, automatic OAuth refresh, and user-defined model combos.
Built-in RTK compression reduces token use on bulky tool outputs such as diffs and directory listings before requests reach a model. An optional dashboard covers usage analytics, request logging, cloud sync of settings, and deployment on a laptop, VPS, Docker, or edge workers. The same endpoint can also proxy embeddings, speech, images, search, and related API shapes where configured.
Key features
- OpenAI-compatible single endpoint
- Three-tier subscription-to-free fallback
- RTK tool-output token compression
- Format translation across providers
- Multi-account load balancing
- Live quota and usage dashboard
- Custom model combo chains
- MITM bridge for some IDE subscriptions
Use cases
- Unified API for multiple coding agents
- Avoiding idle subscription quota waste
- Switching models when rate limited
- Lowering cost on high-token tool output
- Sharing router setup across machines