Claude Code model router

Claude Code Proxy

Uses Claude Code authentication to make direct API calls

Install

From source
git clone https://github.com/horselock/claude-code-proxy.git

From the README

claude-code-proxy
About

Mostly vibe coded, my node skills suck ass, don't @ me (kidding, I'm open to suggestions and bug reports)

Basically we can borrow Claude Code subscription authentication to make normal API calls at will, using claude.ai limit rather than API prices.

There seems to be no safety injection and it gives us full control of the entire input, minus a tiny required sentence about being Claude Code in the system prompt (check What This Does section)

Obviously this is probably not super cool in terms of ToS. But I'm not worried, historically they don't ban web subscribers unless there's VPN/location/sus email/payment shenanigans (as opposed to API which does get got occasionally).

NEW: This proxy now has standalone OAuth authentication! You no longer need to install Claude Code - just authenticate through your browser. Claude Code credentials are still supported as an optional fallback.

Quick Start

Option 1: Standalone OAuth (Recommended - No Claude Code needed!)
Requires:
- Node.js (installed with nvm recommended)
- Claude MAX subscription

1. git clone https://github.com/horselock/claude-code-proxy.git
2. npm install (first time only, to install test dependencies)
3. run.sh or run.bat depending on your OS; default port is 42069
4. Browser will open automatically - authenticate with your Claude account
5. Done! The proxy is now authenticated and ready to use

Option 2: Using Claude Code Credentials (Legacy)
If you already have Claude Code installed and prefer to use its credentials:
- The proxy will automatically fall back to Claude Code credentials if no OAuth tokens are found
- Set fallback_to_claude_code=true in server/config.txt (default)

Docker startup
1. docker-compose up
2. Visit http://localhost:42069/auth/login to authenticate

Important…
Read the full README on GitHub

Details

Language
JavaScript
Last updated
5 January 2026

FAQ

What is Claude Code Proxy?

Uses Claude Code authentication to make direct API calls It is a model router for Claude Code, from horselock/claude-code-proxy on GitHub.

How do I install Claude Code Proxy?

Clone horselock/claude-code-proxy from GitHub and follow the setup steps in its README.

Is Claude Code Proxy popular?

horselock/claude-code-proxy has 199 GitHub stars and 42 forks. It was last updated on 5 January 2026.

More model routers & proxies

Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.