The Intelligent
AI Router
One endpoint for every AI model. Deterministic routing, automatic fallback, and full cost visibility — without vendor lock-in.
# 1. Start gateway instantly (free tier pool ready)
$ npx routenex
# 2. Point any OpenAI SDK or coding agent
$ curl http://localhost:3001/v1/chat/completions \
-H 'Content-Type: application/json' \
-d '{"model":"combo/free-unlimited","messages":[{"role":"user","content":"Hello RouteNex!"}]}'Built for Production AI Workloads
Everything you need to orchestrate model providers with reliability, speed, and complete architectural transparency.
Unified API
One OpenAI-compatible endpoint for OpenAI, Groq, Gemini, Anthropic, Ollama, and more.
Smart Routing
Deterministic routing by cost, latency, or capability. Every decision is explainable and testable.
Auto Fallback
Circuit breakers and bounded retry chains. When a provider fails, traffic flows to the next healthy target.
BYOK First
Bring your own API keys. No middleman, no markup, no vendor lock-in. Your keys, your providers.
Full Observability
Request logs, latency tracking, token accounting, and honest cost estimates with provenance timestamps.
Self-Hosted
Run locally, in Docker, or on your own infrastructure. One command to start. Zero cloud dependencies.
Zero Global Dotfile Pollution
RouteNex launches any terminal coding agent or IDE with scoped tokens and proxy URLs injected strictly per-process. Never overwrite your personal ~/.bashrc or ~/.zshrc.
Claude Code CLI
1-Commandroutenex run claude --model autoCursor IDE
PopularOverride Base: http://localhost:3001/v1Cline (VS Code)
NativeOpenAI Compatible · Port 3001Aider CLI
1-Commandroutenex run aider --model autoOpenCode
Pythonroutenex run opencodeCodex CLI
Terminalroutenex run codexGitHub Copilot
IDECustom upstream proxy bridgeContinue.dev
Open SourceapiBase: http://localhost:3001/v1Windsurf
CascadeCustom OpenAI providerRoo Code
VS CodeOpenAI Compatible modeLibreChat
ChatReverse proxy /v1 endpointsOpen WebUI
Self-HostedOPENAI_API_BASE_URL=...:3001/v1Dify.ai
WorkflowCustom model providerLangChain
SDKChatOpenAI(base_url="...:3001/v1")LlamaIndex
SDKOpenAI(api_base="...:3001/v1")LiteLLM
GatewayUpstream OpenAI endpointCrewAI
Multi-Agentllm = LLM(base_url="...:3001/v1")AutoGen
Microsoftconfig_list: [{"base_url": ...}]vLLM
InferenceCompatible routing targetOllama
Localhttp://localhost:11434/v1 bridgeLM Studio
Localhttp://localhost:1234/v1 bridgeJan AI
OfflineCustom OpenAI server port 3001LocalAI
Self-HostedUpstream gateway adapterFlowise
Low-CodeChatOpenAI Node configurationAnythingLLM
DesktopCustom LLM endpointChatbox
DesktopCustom API host port 3001NextChat
WebBase URL: http://localhost:3001Bolt.new
WebCustom backend AI routerLovable.dev
WebStandard API proxy targetv0.dev
FrontendUnified model upstreamCursor Composer
IDEMulti-turn auto-routingDevin
AgentCustom base URL configKimi Code CLI
OAuthOAuth 2.0 PKCE browser loginAmazon Q
OAuthOAuth 2.0 PKCE browser loginGoogle Gemini CLI
OAuthOAuth 2.0 PKCE browser loginAntigravity IDE
NativeBuilt-in auto-discovery bridgeHow It Works
A lightweight proxy layer sits transparently between your client applications and upstream model providers.
Your Application
Send requests to a single endpoint using any OpenAI SDK or standard HTTP client.
RouteNex Router
Validates authentication, checks circuit breakers, executes deterministic routing rules, and manages fallback cascades.
AI Providers
Groq, OpenAI, Gemini, Ollama — requests reach the fastest, cheapest, or most capable model with zero code changes.
Start in Seconds
Drop RouteNex into your existing stack by changing only the base URL. Works with any OpenAI-compatible SDK.
curl http://localhost:3001/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "auto",
"messages": [{"role": "user", "content": "Explain quantum computing"}]
}'RouteNex Product Editions
Deploy RouteNex Open Source on your own servers for free, or leverage RouteNex Cloud for zero-maintenance hosted edge infrastructure.
RouteNex Open Source
Community EditionSelf-host on your own infrastructure or run locally. Full control, zero cloud dependencies, MIT licensed.
- All provider integrations (Groq, OpenAI, Gemini, Anthropic, Ollama, Mock)
- Deterministic routing engine (cost, latency, balanced)
- OpenRouter-style fallback arrays & 3-state circuit breakers
- Prompt token compression (10-30% token reduction)
- Local Web Admin Console with BYOK key management
- Local virtual keys & custom model aliases
- Privacy-first embedded telemetry & request inspector
- One-command Docker Compose deployment
RouteNex Cloud
Coming Soon — WaitlistFully hosted managed AI routing edge with multi-tenant workspaces, team key vaults, and zero server maintenance.
- Everything in Open Source
- Hosted edge endpoints (https://api.routenex.com)
- Multi-tenant team workspaces & RBAC
- Centralized organization virtual keys & spend limits
- Encrypted cloud credential vaults with automatic sync
- Aggregated billing & cost forecasting
- Hosted request logs with 90-day retention
- 99.9% uptime SLA guarantee
RouteNex Enterprise
Dedicated & VPCFor security-conscious enterprises requiring air-gapped private VPC clusters, custom compliance, and 24/7 SLA.
- Everything in RouteNex Cloud
- Air-gapped self-hosted deployment options
- Dedicated Kubernetes Helm charts & Terraform modules
- SAML 2.0 / Okta / Azure AD SSO
- SOC2 Type II & HIPAA audit logging
- Custom routing plugins & proprietary provider adapters
- 99.99% uptime SLA with 15-min response guarantee
- Dedicated solutions architect