Claude Code model router
Luthien Proxy
AI Control for Claude Code in the real world
Install
git clone https://github.com/LuthienResearch/luthien-proxy.gitFrom the README
Luthien
Claude Code builds. You stay in control.
What does it look like? | What can it do? | How does it work? | Quick start
Open-source proxy that sits between Claude Code and the Anthropic API.
Logs every request. Enforces your rules.
What does it look like?
Say your CLAUDE.md has this rule:
Without Luthien
With Luthien
Claude ignores your CLAUDE.md rule and you correct it manually.
Luthien catches the violation and auto-corrects. No human intervention needed.
:rotating_light: Luthien is in active development. Star this repo to follow updates, or Watch > Releases to get notified on new versions.
Found a bug or have a question? Open an issue.
Want to try it and help us out in the process? The feedback guide explains what kind of feedback is most useful.
What can it do?
Enforce arbitrary policies
Use Luthien to define policies and run them on every request and/or response. What it catches depends on the rules you write.
- Rewrite pip into uv: a drop-in preset (PreferUvPolicy) that corrects pip install to uv add in every response from Claude.
- Plain-English rules, checked by an LLM-as-Judge: write your rules in English, and a second LLM (SimpleLLMPolicy) checks every response from Claude against them and rewrites or flags anything that doesn't comply.
- Enforce scope boundaries: only allow changes to files mentioned in the request.
- Catch subtle test cheating: not just deleted tests. Flag tests that accept any response code (assert response_code in [200, 302, 400, 404, 500]), or except: return {"mock": "data"} fallbacks that hide failures so no test ever fails.
- Clean up AI writing tics: remove em dashes, curly quotes, over-bulleting, and excessive comments.
Example: an LLM-as-Judge on every response from Claude (SimpleLLMPolicy). You write rules in plain…Details
- Repository
- LuthienResearch/luthien-proxy
- Language
- Python
- License
- Apache-2.0
- Last updated
- 27 September 2026
FAQ
What is Luthien Proxy?
AI Control for Claude Code in the real world It is a model router for Claude Code, from LuthienResearch/luthien-proxy on GitHub.
How do I install Luthien Proxy?
Clone LuthienResearch/luthien-proxy from GitHub and follow the setup steps in its README.
Is Luthien Proxy popular?
LuthienResearch/luthien-proxy has 34 GitHub stars and 12 forks. It was last updated on 27 September 2026.
More model routers & proxies
Commandcode API Proxy
36thaolaptrinh/commandcode-api-proxy
Bring your CommandCode Go subscription to OpenCode, Claude Code, and more.
Frugal
38ThomasLangbroek/frugal
Cost-optimised agent router for Claude Code: sends every sub-task to the cheapest model that can do it, and escalates only on verified failure.
Claude Zeroclaw Nexus
52omaralisql/Claude-Zeroclaw-Nexus
Claude Code ZeroClaw Pro 2026: AI Multitool & CLI Router for Claude SDK Subagents
CC Router Ping
37evepupil/CC-router-ping
测试claude code公益站使用连通性
Claude Rotate
41doxaras/claude-rotate
Multi-account rotating proxy for Claude Code — consume-first quota rotation, burst-aware 429 handling, hold-until-reset, per-device analytics. Herd-safe by test.
Claude Code Aws Gateway
22antkawam/claude-code-aws-gateway
Self-hosted API gateway for Claude Code on Amazon Bedrock — unlock extended thinking, web search & tool use with team budgets, OIDC SSO, and an admin portal
Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.