Loading OmniRoute...
OmniRoute as the unified backend, giving you centralized key management, cost tracking, model switching, and request logging across every tool.
Benefits:
are generated from .
Current list (v3.0.0-rc.16):
| Claude Code | ||||
| OpenAI Codex | ||||
| Factory Droid | ||||
| OpenClaw | ||||
| Cursor | ||||
| Cline | ||||
| Kilo Code | ||||
| Continue | ||||
| Antigravity | ||||
| GitHub Copilot | ||||
| OpenCode | ||||
| Kiro AI | ||||
| Qwen Code |
and use .
This keeps provider IDs aligned with CLI cards and legacy IDs.
/ / |
, , .
)
- Create API Key
- ) and select all permissions
-
# Claude Code (Anthropic) npm install -g @anthropic-ai/claude-code # OpenAI Codex npm install -g @openai/codex # OpenCode npm install -g opencode-ai # Cline npm install -g cline # KiloCode npm install -g kilocode # Kiro CLI (Amazon β requires curl + unzip) apt-get install -y unzip # on Debian/Ubuntu curl -fsSL https://cli.kiro.dev/install | bash export PATH="$HOME/.local/bin:$PATH" # add to ~/.bashrc
Verify:
claude --version # 2.x.x codex --version # 0.x.x opencode --version # x.x.x cline --version # 2.x.x kilocode --version # x.x.x (or: kilo --version) kiro-cli --version # 1.x.x
(or ), then run :
# OmniRoute Universal Endpoint export OPENAI_BASE_URL="http://localhost:20128/v1" export OPENAI_API_KEY="sk-your-omniroute-key" export ANTHROPIC_BASE_URL="http://localhost:20128" export ANTHROPIC_AUTH_TOKEN="sk-your-omniroute-key" export GEMINI_BASE_URL="http://localhost:20128/v1" export GEMINI_API_KEY="sk-your-omniroute-key"
remote server replace with the server IP or domain,
e.g. .
# Create ~/.claude/settings.json:
mkdir -p ~/.claude && cat > ~/.claude/settings.json << EOF
{
"env": {
"ANTHROPIC_BASE_URL": "http://localhost:20128",
"ANTHROPIC_AUTH_TOKEN": "sk-your-omniroute-key"
}
}
EOF
here.
Test:
mkdir -p ~/.codex && cat > ~/.codex/config.yaml << EOF model: auto apiKey: sk-your-omniroute-key apiBaseUrl: http://localhost:20128/v1 EOF
Test:
mkdir -p ~/.config/opencode && cat > ~/.config/opencode/config.toml << EOF [provider.openai] base_url = "http://localhost:20128/v1" api_key = "sk-your-omniroute-key" EOF
Test:
CLI mode:
mkdir -p ~/.cline/data && cat > ~/.cline/data/globalState.json << EOF
{
"apiProvider": "openai",
"openAiBaseUrl": "http://localhost:20128/v1",
"openAiApiKey": "sk-your-omniroute-key"
}
EOF
VS Code mode:
Cline extension settings β API Provider: β Base URL:
CLI Tools β Cline β Apply Config.
CLI mode:
kilocode --api-base http://localhost:20128/v1 --api-key sk-your-omniroute-key
VS Code settings:
{
"kilo-code.openAiBaseUrl": "http://localhost:20128/v1",
"kilo-code.apiKey": "sk-your-omniroute-key"
}
CLI Tools β KiloCode β Apply Config.
:
models:
- name: OmniRoute
provider: openai
model: auto
apiBase: http://localhost:20128/v1
apiKey: sk-your-omniroute-key
default: true
# Login to your AWS/Kiro account: kiro-cli login # The CLI uses its own auth β OmniRoute is not needed as backend for Kiro CLI itself. # Use kiro-cli alongside OmniRoute for other tools. kiro-cli status
.
Option 1: Environment variables ()
mkdir -p ~/.qwen && cat > ~/.qwen/.env << EOF OPENAI_API_KEY="sk-your-omniroute-key" OPENAI_BASE_URL="http://localhost:20128/v1" OPENAI_MODEL="auto" EOF
Option 2: with model providers
// ~/.qwen/settings.json
{
"env": {
"OPENAI_API_KEY": "sk-your-omniroute-key",
"OPENAI_BASE_URL": "http://localhost:20128/v1"
},
"modelProviders": {
"openai": [
{
"id": "omniroute-default",
"name": "OmniRoute (Auto)",
"envKey": "OPENAI_API_KEY",
"baseUrl": "http://localhost:20128/v1"
}
]
}
}
Option 3: Inline CLI flags
OPENAI_BASE_URL="http://localhost:20128/v1" \ OPENAI_API_KEY="sk-your-omniroute-key" \ OPENAI_MODEL="auto" \ qwen
remote server replace with the server IP or domain.
Test:
Note: Cursor routes requests through its cloud. For OmniRoute integration, enable Cloud Endpoint in OmniRoute Settings and use your public domain URL.
Settings β Models β OpenAI API Key
Droid and OpenClaw are AI agents built directly into OmniRoute β no installation needed. They run as internal routes and use OmniRoute's model routing automatically.
or check |
||
# Install all CLIs and configure for OmniRoute (replace with your key and server URL)
OMNIROUTE_URL="http://localhost:20128/v1"
OMNIROUTE_ANTHROPIC_URL="http://localhost:20128"
OMNIROUTE_KEY="sk-your-omniroute-key"
npm install -g @anthropic-ai/claude-code @openai/codex opencode-ai cline kilocode @qwen-code/qwen-code
# Kiro CLI
apt-get install -y unzip 2>/dev/null; curl -fsSL https://cli.kiro.dev/install | bash
# Write configs
mkdir -p ~/.claude ~/.codex ~/.config/opencode ~/.continue
cat > ~/.claude/settings.json <<< "{\"env\":{\"ANTHROPIC_BASE_URL\":\"$OMNIROUTE_ANTHROPIC_URL\",\"ANTHROPIC_AUTH_TOKEN\":\"$OMNIROUTE_KEY\"}}"
cat > ~/.codex/config.yaml <<< "model: auto\napiKey: $OMNIROUTE_KEY\napiBaseUrl: $OMNIROUTE_URL"
cat >> ~/.bashrc << EOF
export OPENAI_BASE_URL="$OMNIROUTE_URL"
export OPENAI_API_KEY="$OMNIROUTE_KEY"
export ANTHROPIC_BASE_URL="$OMNIROUTE_ANTHROPIC_URL"
export ANTHROPIC_AUTH_TOKEN="$OMNIROUTE_KEY"
EOF
source ~/.bashrc
echo "β
All CLIs installed and configured for OmniRoute"