One Endpoint for
All AI Providers
AI endpoint proxy with web dashboard - A JavaScript port of CLIProxyAPI. Works seamlessly with Claude Code, OpenAI Codex, Cline, RooCode, and other CLI tools.
Get Started in 30 Seconds
Install KTRouter, configure your providers via web dashboard, and start routing AI requests.
Install KTRouter
Run npx command to start the server instantly
Open Dashboard
Configure providers and API keys via web interface
Route Requests
Point your CLI tools to http://localhost:3008
> Server running on http://localhost:3008
> Dashboard: http://localhost:3008/dashboard
> Ready to route! ✓
macOS/Linux: ~/.ktrouter/db/data.sqlite
Windows: %APPDATA%/ktrouter/db/data.sqlite
How KTRouter Works
Data flows seamlessly from your application through our intelligent routing layer to the best provider for the job.
1. CLI & SDKs
Your requests start from your favorite tools or our unified SDK. Just change the base URL.
2. KTRouter Hub
Our engine analyzes the prompt, checks provider health, and routes for lowest latency or cost.
3. AI Providers
The request is fulfilled by OpenAI, Anthropic, Gemini, or others instantly.
Powerful Features
Everything you need to manage your AI infrastructure in one place, built for scale.
Unified Endpoint
Access all providers via a single standard API URL.
Easy Setup
Get up and running in minutes with npx command.
Model Fallback
Automatically switch providers on failure or high latency.
Usage Tracking
Detailed analytics and cost monitoring across all models.
OAuth & API Keys
Securely manage credentials in one vault.
Cloud Sync
Sync your configurations across devices instantly.
CLI Support
Works with Claude Code, Codex, Cline, Cursor, and more.
Dashboard
Visual dashboard for real-time traffic analysis.
Ready to Simplify Your AI Infrastructure?
Join developers who are streamlining their AI integrations with KTRouter. Open source and free to start.