Claude Code model router
Litellm Relay
Onboard AI tools in one step, and catch the rest. Relay sets up Claude Desktop, Claude Code, and Codex to run through your LiteLLM AI Gateway with zero dev setup and routes shadow AI (Notion AI, Perplexity, …) there too.
Install
git clone https://github.com/LiteLLM-Labs/litellm-relay.gitFrom the README
LiteLLM Relay LiteLLM Relay is a proxy you install on employee machines through your MDM. It does two things. First, it sets up your developers' AI tools for them. On install, Relay auto-detects the AI tools already on the machine — Claude Desktop, Claude Code, and Codex (CLI, VS Code, and the macOS app) — and wires each one to your LiteLLM AI Gateway automatically. There is no per-tool opt-in: if Relay recognizes a tool, it routes it through the Gateway. Developers just launch the tool and sign in with their corporate identity, with no provider API key and no manual setup. See Auto-configuration and the AI Tool Guides below. Second, it catches shadow AI. Relay detects AI traffic from tools like Notion AI, Perplexity, and OpenClaw and routes it to the Gateway too, making it a single pane of glass for all AI usage in your company. Usage 1. Install LiteLLM Relay on all your employee devices, using supported MDM 2. Employees use AI tools as they normally would, such as Notion AI. 3. Every request, response, and usage event is captured in LiteLLM. Auto-configuration Relay is opt-out, not opt-in. When you install it (or run relay setup), Relay scans the device for supported AI tools and wires every one it finds to the Gateway in a single pass — you never enumerate tools per machine. Detection also runs on a schedule, so a tool installed *after* Relay gets wired to the Gateway automatically — no manual re-run. Because each tool's config lives in a different place, the installer registers two periodic jobs (both at login and every RELAY_AUTOCONFIGURE_INTERVAL seconds, default 3600): The root daemon runs a root-owned copy of the Relay binary at /Library/PrivilegedHelperTools/ai.litellm.relay.autoconfigure-desktop, which each install refreshes, and pins HOME to the…
Details
- Repository
- LiteLLM-Labs/litellm-relay
- Language
- Rust
- Last updated
- 29 October 2026
- Topics
- ai-gatewayai-governanceai-monitoringai-proxyshadow-aishadowai
FAQ
What is Litellm Relay?
Onboard AI tools in one step, and catch the rest. Relay sets up Claude Desktop, Claude Code, and Codex to run through your LiteLLM AI Gateway with zero dev setup and routes shadow AI (Notion AI, Perplexity, …) there too. It is a model router for Claude Code, from LiteLLM-Labs/litellm-relay on GitHub.
How do I install Litellm Relay?
Clone LiteLLM-Labs/litellm-relay from GitHub and follow the setup steps in its README.
Is Litellm Relay popular?
LiteLLM-Labs/litellm-relay has 113 GitHub stars and 11 forks. It was last updated on 29 October 2026.
More model routers & proxies
Claude Code Open
70Davincible/claude-code-open
Claude Code with any LLM provider (OpenRouter, Gemini, Kimi K2)
Anthropic Proxy Rs
94m0n0x41d/anthropic-proxy-rs
A proxy server that intercepts Anthropic API requests and converts them to OpenAI-compatible format, enabling integration with dozens of inference providers such as OpenRouter, Together.ai, Novita AI, and other third-party API services. Primary use cases include Claude Code and other Claude Agent SDK-based tools.
Cnb2api
92dengyie/cnb2api
Turn CNB cloud-workspace in-network AI into production OpenAI & Anthropic (Claude Code) APIs. Zero deps, v5.2 self-healing HA, quota CLI.
Ocgo
100emanuelcasco/ocgo
OCGO Provides an Ollama-style CLI for running Claude Code through an OpenCode Go subscription via a local Anthropic-compatible proxy.
Dsh Permission Rules
134PerryLink/dsh-permission-rules
Claude Code-style declarative permission rules for DeepSeek Harness: ordered allow/deny/ask rules with tool-name, argument (glob/regex), and workspace-path matching on the tools/pre-execute waterfall, session-log audit, and HMR reload.
Claude Code Provider Gateway
100danielalves96/claude-code-provider-gateway
The easiest way to use Claude Code with any LLM. Install the app, pick your provider, done.
Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.