betmoar/cc-proxy-plugin

11 stars · Last commit 2026-09-17

A Claude Code plugin + local proxy that lets you use GLM (Z.ai), OpenRouter, and Claude side-by-side in one session.

README preview

<p align="center">
  <img src="docs/assets/cc-proxy-hero.svg" alt="cc-proxy — one proxy to rule them all." width="100%">
</p>

# cc-proxy

A Claude Code plugin with a local proxy that lets one session use **GLM
(Z.ai)**, **DeepSeek**, **Qwen**, **OpenRouter**, **LM Studio** and **Claude**
side by side. Switch with `/model`, no restart. Zero runtime dependencies.

Claude Code points `ANTHROPIC_BASE_URL` at `http://127.0.0.1:4000`. The proxy
routes each request by its model name, applies that backend's auth, and
forwards it unchanged, so every tool, subagent and prompt cache keeps working.

## What routes where

| You pick | It goes to | Needs |
| --- | --- | --- |
| `glm-5.3[1m]`, any `glm-*` | GLM (Z.ai) | `GLM_API_KEY` |
| `deepseek-v4-pro`, any `deepseek-*` | DeepSeek | `DEEPSEEK_API_KEY` |

View full repository on GitHub →