Claude Code model router

Claude Proxy

Claude Code / Claude Agent SDK proxy for DeepSeek, Qwen, GLM, MiniMax, Kimi and MiMo via Anthropic Messages API with observability

Install

Install
npx @sunflower0305/claude-proxy

Found in the project README. Check it for setup steps after installing.

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

From the README

claude-proxy

claude-proxy is published on npm as @sunflower0305/claude-proxy. It is a lightweight Express proxy that lets Claude Code or the Claude Agent SDK talk to domestic Chinese LLM providers through Anthropic-compatible /v1/messages endpoints.

It currently supports qwen, deepseek, glm, minimax, kimi, and mimo.

Introduction Blog:

- https://blog.zhangleyang.com/2026-06-18-c-yi-g
- https://blog.zhangleyang.com/2026-06-24-7nknko

Install

Requires Node.js 20.12 or newer.

Run without installing:

Or install globally:

Configure

The proxy reads configuration from environment variables. You can export them in your shell or create a .env file in the directory where you run claude-proxy; .env loading uses Node.js built-in .env file support.

Example .env:

Available variables:

Provider defaults:

Local Capture Logging

Capture logging is disabled by default. Enable it only for local debugging in a
trusted environment:

Each completed, failed, or client-aborted POST /v1/messages request is written
as one JSON file. With redaction enabled, Authorization and x-api-key
headers are replaced with [REDACTED].

Capture files still contain complete request and response bodies. Prompts,
messages, tool inputs and outputs, metadata, generated content, and other
sensitive payload data are not redacted. The capture store currently has no
body-size limit, file rotation, or retention policy, so long-running streams and
repeated requests can consume memory and disk space. Use this feature only for
short-lived debugging, protect the capture directory, and remove captures when
they are no longer needed.

You can use the bundled example as a starting point:

If you installed globally, create .env manually or export the variables in your shell before starting the proxy.

Start The…
Read the full README on GitHub

Details

Language
TypeScript
License
MIT
Last updated
9 August 2026
Topics
anthropicclaudeclaude-agent-sdkclaude-codellm-proxy

FAQ

What is Claude Proxy?

Claude Code / Claude Agent SDK proxy for DeepSeek, Qwen, GLM, MiniMax, Kimi and MiMo via Anthropic Messages API with observability It is a model router for Claude Code, from sunflower0305/claude-proxy on GitHub.

How do I install Claude Proxy?

Run npx @sunflower0305/claude-proxy, then follow the setup in the README.

Is Claude Proxy popular?

sunflower0305/claude-proxy has 34 GitHub stars and 0 forks. It was last updated on 9 August 2026.

More model routers & proxies

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