Claude Code model router
Claude Quota Proxy
Local proxy that makes Claude Code aware of its own quota usage
Install
git clone https://github.com/InertiaUK/claude-quota-proxy.gitFrom the README
anthropic-quota-proxy A local HTTP proxy that makes Claude Code aware of its own usage limits. Works with Claude Code (CLI) only. The web chat and browser extension make requests directly from Anthropic's infrastructure — they don't go through a local proxy and can't use this. Claude Code (Max plan) shows usage bars for the 5-hour and 7-day quota windows in the UI. The model itself has no access to those values — there's no API, no tool, no hook that exposes them during a conversation. This proxy sits between Claude Code and api.anthropic.com, captures the rate-limit headers on every response, and writes a one-line status file that Claude can read any time. How it works Claude Code respects the ANTHROPIC_BASE_URL environment variable. Set it to http://127.0.0.1:4080 and all API traffic routes through the proxy. The proxy forwards every request unchanged, reads the rate-limit response headers, and writes ~/.claude/usage-status.md. Claude reads that file when it needs to know the current quota state. The proxy is a single Node.js script with zero npm dependencies. On Windows it runs as a Windows service via NSSM. On macOS and Linux the same script runs via launchd or systemd. Output A single line in ~/.claude/usage-status.md, updated on every inference response: ! means that window has an allowed_warning status — you're close to the limit. The three pools: - 5h — rolling 5-hour window - 7d — rolling 7-day window - overage — paid burst pool, available once the 7d pool is exhausted One unified pool covers all models. There is no separate Sonnet or Opus pool despite the Claude Code UI showing individual model bars. Setup Windows Requires Node.js and an admin PowerShell session. NSSM is downloaded automatically. The script validates Node.js, confirms your…
Details
- Repository
- InertiaUK/claude-quota-proxy
- Language
- PowerShell
- Last updated
- 10 May 2026
FAQ
What is Claude Quota Proxy?
Local proxy that makes Claude Code aware of its own quota usage It is a model router for Claude Code, from InertiaUK/claude-quota-proxy on GitHub.
How do I install Claude Quota Proxy?
Clone InertiaUK/claude-quota-proxy from GitHub and follow the setup steps in its README.
Is Claude Quota Proxy popular?
InertiaUK/claude-quota-proxy has 28 GitHub stars and 4 forks. It was last updated on 10 May 2026.
More model routers & proxies
Antomix
27unclecode/antomix
Universal Claude Code Proxy | Bidirectional Anthropic ↔ OpenAI API Bridge
Zerokey
26downloaddoctor/zerokey
OpenAI-compatible local AI proxy for DeepSeek, Claude , ChatGPT and Qwen — pipe any of them into VS Code or Terax using your real browser session. Just paste a fetch().
CCR Rust
29RESMP-DEV/ccr-rust
Universal AI coding proxy. Use Claude Code, Codex CLI, or any tool with DeepSeek, GLM, MiniMax, and more—without rate limits breaking your flow.
Workbuddy2api
25hawklithm/workbuddy2api
A lightweight API proxy for domestic and international CodeBuddy backends, providing OpenAI, Anthropic, and Responses-compatible APIs with native support for Claude Code, Codex CLI, and DeepSeek Harness.
Claude N Codex API Proxy
28jimmc414/claude_n_codex_api_proxy
Claude Code and Codex API Routing Proxy
Clancy
28bazumo/clancy
HTTP/HTTPS proxy with real-time monitoring for Agent traffic. Designed for debugging and monitoring Claude Code, Anthropic API calls, and other AI agent communications.
Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.