Third-party AI API relay service

Ship Faster With AI Proxy Relay

KRouter is a third-party intermediary that relays AI model API requests through rotating proxies, manages quota distribution, and provides a unified OpenAI-compatible endpoint. Build in hours, not weeks.

1OpenAI-compatible API entry
10+CLI setup guides
24/7quota-aware relay posture
3rdparty intermediary position
Works withClaude CodeOpenAI CodexOpenCodeOpen ClawFactory DroidCursorClineKilo Code+6 more
Claude Code
Claude Code
Codex
Codex
Cursor
Cursor
Cline
Cline
KRouter
KRouter
OpenAI
OpenAI
Anthropic
Anthropic
Gemini
Gemini
DeepSeek
DeepSeek
Groq
Groq
devicesClients
Request
Route
cloudProviders
auto_awesomeCore Features

Everything you need for AI routing

A complete third-party relay layer with proxy rotation, quota management, and unified API surface for all your coding tools.

lan

Third-party relay for AI APIs

KRouter sits between your client tools and upstream AI providers. It is not the official endpoint of OpenAI, Anthropic, Google, or GitHub.

sync_alt

Proxy rotation and quota distribution

Requests can be relayed through rotating proxy pools, multiple accounts, and fallback routes so quota is spread more evenly and sessions are less fragile.

contract

One base URL for coding tools

Most supported tools only need one base URL, one API key, and one chosen model path to begin working with KRouter.

model_training

Unified API surface

Expose a single OpenAI-compatible entry such as `https://api.krouter.net/v1` to clients that support custom providers.

route

Quota-aware routing behavior

The service is positioned around usage control, quota balancing, and keeping sessions alive when one route becomes unstable.

shield_person

Explicit third-party disclosure

The landing makes it clear that KRouter is a third-party intermediary and that upstream provider policies still matter.

description

CLI-first documentation

A dedicated Docs page collects the setup instructions for Claude Code, Codex, OpenCode, Open Claw, Cursor, Cline, Continue, and more.

deployed_code

Proxy and MITM paths where needed

For tools like Antigravity, Copilot, and Kiro, the docs explain the MITM-oriented flow instead of pretending every tool works the same way.

translate

Bilingual communication

Core positioning and setup content are written in English and Vietnamese so the product can onboard a wider local audience cleanly.

routeHow It Works

Three steps to get started

01

Choose the right connection path

Use the public KRouter endpoint for OpenAI-compatible tools, or use MITM-based setup for tools that do not natively support custom local providers.

02

Configure API key and model mapping

Each CLI guide mirrors the current dashboard setup flow: base URL, API key, model selection, and where to place the configuration file.

03

Route, rotate, and monitor usage

KRouter then acts as an intermediary layer for model APIs, rotating paths and helping manage quota pressure across multiple upstream channels.

terminalCLI Setup

Connect your tools in minutes

All tools share the same base URL and API key. Pick your tool below for step-by-step config.

linkhttps://api.krouter.net/v1
terminal

Claude Code

Managed config

Install Claude Code CLI, then point `ANTHROPIC_BASE_URL` to KRouter and set model aliases in `~/.claude/settings.json`.

folder~/.claude/settings.json

checklistSetup Steps

1

Install Claude Code and run `claude` once to verify the CLI is available.

2

Set `ANTHROPIC_BASE_URL` to `https://api.krouter.net/v1` and `ANTHROPIC_AUTH_TOKEN` to your KRouter API key.

3

Optionally map the default opus, sonnet, and haiku model variables to your chosen KRouter model paths.

json
{
  "hasCompletedOnboarding": true,
  "env": {
    "ANTHROPIC_BASE_URL": "https://api.krouter.net/v1",
    "ANTHROPIC_AUTH_TOKEN": "<Your Key>",
    "ANTHROPIC_DEFAULT_OPUS_MODEL": "<Model-ID>",
    "ANTHROPIC_DEFAULT_SONNET_MODEL": "<Model-ID>",
    "ANTHROPIC_DEFAULT_HAIKU_MODEL": "<Model-ID>"
  }
}
downloadnpm install -g @anthropic-ai/claude-code
query_statsUsage Tracker

Check your API key usage

Enter your KRouter API key to view quota, limits, and daily usage stats.

key
shield_person

Third-Party Disclosure

Important notice for all users

check

KRouter is a third-party intermediary service, not an official AI model vendor.

check

Although KRouter is not an official provider, all models are called through legitimate OAuth credentials and rotating API keys sourced directly from the original providers — ensuring every response is authentic and unmodified from the upstream source.

check

Proxy rotation, account rotation, and fallback behavior are used to help distribute quota and reduce interruption risk.

check

Users are still responsible for complying with upstream provider terms, local law, and their own operational security requirements.