Supercapybara / Railway Templates
9Router
9Router is an open-source (MIT) self-hosted AI gateway and LLM router.
It exposes a single OpenAI-compatible endpoint and routes each request across 40+ providers — OpenAI, Anthropic, Google, DeepSeek, Qwen, OpenRouter and more — by price, quota and availability, with automatic fallback when a provider hits its limit. A web dashboard manages providers, API keys, routing rules and usage, and it works as a drop-in base URL for Claude Code, Codex, Cursor, Gemini CLI and anything else that speaks the OpenAI API.
Disclosure: deploy links carry the author's Railway referral code — the author receives a usage kickback when you deploy. The template itself is free to deploy; Railway usage charges apply.
Earnings snapshot 2026-09-20: $0.00 in the last 30 days, 2 active deploys.