v1.0 is now live

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.

1

Install KTRouter

Run npx command to start the server instantly

2

Open Dashboard

Configure providers and API keys via web interface

3

Route Requests

Point your CLI tools to http://localhost:3008

terminal
$npx ktrouterCopy
> Starting KTRouter...
> Server running on http://localhost:3008
> Dashboard: http://localhost:3008/dashboard
> Ready to route! ✓
📝 Configure providers in dashboard or use environment variables
Data Location:
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.

terminal

1. CLI & SDKs

Your requests start from your favorite tools or our unified SDK. Just change the base URL.

hub

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.

link

Unified Endpoint

Access all providers via a single standard API URL.

bolt

Easy Setup

Get up and running in minutes with npx command.

shield_with_heart

Model Fallback

Automatically switch providers on failure or high latency.

monitoring

Usage Tracking

Detailed analytics and cost monitoring across all models.

key

OAuth & API Keys

Securely manage credentials in one vault.

cloud_sync

Cloud Sync

Sync your configurations across devices instantly.

terminal

CLI Support

Works with Claude Code, Codex, Cline, Cursor, and more.

dashboard

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.