Claude Code model router
Claude Proxy
Lightweight proxy that routes Anthropic API billing through Claude Code subscriptions. Zero dependencies, ~150 lines.
Install
git clone https://github.com/John-Rood/claude-proxy.gitFrom the README
Claude Code Proxy A lightweight Node.js proxy (~150 lines, zero dependencies) that wraps Anthropic API requests with the Claude Code envelope, routing billing through your Claude Code subscription instead of direct API credits. What It Does Setup That's it. No dependencies to install. Configuration config.json: Usage Point your Anthropic client at http://127.0.0.1:8082 instead of https://api.anthropic.com. The proxy passes through your API key and adds the Claude Code billing envelope. Endpoints Requirements - Node.js 18+ - A valid Anthropic API key (from an account with Claude Code / Max subscription) Run as a Service (macOS) To keep the proxy running persistently, create a launchd plist at ~/Library/LaunchAgents/com.claude-proxy.plist: Replace /path/to/node with your node binary path (which node) and /path/to/claude-proxy with where you cloned this repo. The proxy will auto-restart on crash and start on boot. OpenClaw Skill (Troubleshooting) This repo includes an OpenClaw skill for automated troubleshooting. If you're using OpenClaw and the proxy stops working, the skill walks your agent through diagnosing and fixing common issues (baseUrl overwrites, auth token cycling, Keychain sync, etc). Install the skill Copy the skill folder into your OpenClaw workspace: Or if your workspace is in a different location: That's it — OpenClaw will automatically detect the skill and use it when proxy-related issues come up. License MIT
Details
- Repository
- John-Rood/claude-proxy
- Language
- JavaScript
- Last updated
- 11 April 2026
- Topics
- anthropicbillingclaude-codeproxy
FAQ
What is Claude Proxy?
Lightweight proxy that routes Anthropic API billing through Claude Code subscriptions. Zero dependencies, ~150 lines. It is a model router for Claude Code, from John-Rood/claude-proxy on GitHub.
How do I install Claude Proxy?
Clone John-Rood/claude-proxy from GitHub and follow the setup steps in its README.
Is Claude Proxy popular?
John-Rood/claude-proxy has 114 GitHub stars and 3 forks. It was last updated on 11 April 2026.
More model routers & proxies
Openapis
95IngARodriguez/openapis
Free Claude API + free OpenAI API in one unified proxy. Drop-in compatible with Anthropic SDK, OpenAI SDK, Claude Code CLI, OpenCode, LangChain. 100+ models (Claude Opus 4.7, Sonnet 4.6, Haiku 4.5, GPT-5.5, GPT-5.4-mini, GPT-5.3-codex). Open beta — totally free.
CC Translate Proxy
101GGGODLIN/cc-translate-proxy
Type 中文, CC sees English. Sidecar i18n proxy for Claude Code.
ClaudeCodeProxy
97AIDotNet/ClaudeCodeProxy
Claude Code Proxy
Castari Proxy
89castari/castari-proxy
Use Claude Agent SDK and Claude Code with other providers/models
Token Proxy
94mxyhi/token_proxy
Local AI API gateway for OpenAI / Gemini / Anthropic. Runs on your machine, keeps tokens counted (SQLite), offers priority-based load balancing, optional OpenAI Chat↔Responses format conversion, and one-click setup for Claude Code / Codex.
Llm Task Orchestrator
123naberbabammm34343/llm-task-orchestrator
Top AI Router 2026: Split Codex for Quick Code & Claude for Complex Refactoring
Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.