AI Gateway tool profile
9Router
9Router is a local OpenAI-compatible gateway for connecting CLI and IDE coding tools to multiple AI providers. Its official site documents 60+ providers, three-tier fallback, quota tracking, format translation, and RTK/Caveman token-saving features.
- Best for
- Developers who want one local endpoint for Claude Code, Codex, Cursor, Cline, Copilot, OpenCode, and other compatible tools, with provider fallback and a dashboard instead of manual endpoint switching.
- Starting point
- Free and open source under the MIT license; self-hosted through the npm package or source.
- Free plan
- Yes — The gateway software is free and open source (MIT) when self-hosted.
- Key limitation
- Self-hosted: you install, secure, update, and monitor the gateway yourself.
Choose it if
Developers who want one local endpoint for Claude Code, Codex, Cursor, Cline, Copilot, OpenCode, and other compatible tools, with provider fallback and a dashboard instead of manual endpoint switching.
Avoid it if
- Self-hosted: you install, secure, update, and monitor the gateway yourself.
- Provider access is not created by 9Router; subscription, OAuth, API-key, regional, quota, and provider-policy limits still apply.
- The project documents proxy and MITM-style integrations for some IDE subscriptions; review each provider and client policy before using those routes.
Free-plan suitability
The gateway software is free and open source (MIT) when self-hosted. There is no promise of unlimited model usage: upstream provider accounts, quotas, rate limits, and Terms of Service remain in force.
Where it fits
Developers who want one local endpoint for Claude Code, Codex, Cursor, Cline, Copilot, OpenCode, and other compatible tools, with provider fallback and a dashboard instead of manual endpoint switching.
Pricing note
Free and open source under the MIT license; self-hosted through the npm package or source. The gateway has no subscription price, but connected providers, accounts, quotas, and their Terms of Service still determine the real cost and availability. Verify live limits before relying on a provider.
Verify the current plan, credits, output limits, and commercial terms before purchasing.
Price update alerts
Email alerts are not enabled yet. Pricing on this page is source-checked on the date shown; recheck the official plan page before buying.
Is it legit?
Who is behind 9Router, where it is based, and what is publicly known about its funding. Company details change — verify on the official site before committing.
Free plan details
The gateway software is free and open source (MIT) when self-hosted. There is no promise of unlimited model usage: upstream provider accounts, quotas, rate limits, and Terms of Service remain in force.
Trade-offs to check
- Self-hosted: you install, secure, update, and monitor the gateway yourself.
- Provider access is not created by 9Router; subscription, OAuth, API-key, regional, quota, and provider-policy limits still apply.
- The project documents proxy and MITM-style integrations for some IDE subscriptions; review each provider and client policy before using those routes.
- Provider counts, free-tier availability, token-savings claims, and release behavior can change; the official site and repository should be rechecked before a purchase or rollout.
What 9Router does
- OpenAI-compatible local endpoint documented at localhost:20128/v1
- Three-tier routing from subscription providers to cheaper and free providers, with automatic fallback
- Provider and quota dashboard with OAuth or API-key connection options
- Format translation across OpenAI, Anthropic, and Gemini-style provider protocols
- RTK and Caveman token-saving modes; the project publishes its own reduction estimates rather than an independent PremiumPeek benchmark
- Integrations documented for Claude Code, Codex, Cursor, Cline, Copilot, OpenCode, OpenClaw, and other CLI/IDE tools
Evaluation guide
Step-by-step evaluation guides for 9Router — workflow fit, pricing, rights, and a same-input test before paying.
Compare 9Router with alternatives
Side-by-side pages that weigh 9Router against overlapping tools on the same five fields.
Official sources
These links are retained beside the catalog record so changing details can be rechecked.
