Claude Code model router

Dsv4 CC Proxy

Anthropic API 兼容性代理 — 修复 DeepSeek V4 的 3 个不兼容问题,让 Claude Code 稳定运行。Make DeepSeek V4 work flawlessly with Claude Code.

Install

Install
pip install dsv4-cc-proxy

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

From source
git clone https://github.com/HosheaLi/dsv4-cc-proxy.git

From the README

中文版 README

dsv4-cc-proxy

Make DeepSeek V4 work flawlessly with Claude Code

Anthropic API compatibility proxy with built-in watchdog, upstream resilience, and cross-platform support.

Maintenance Status

This project is no longer actively maintained. The author has moved off Claude Code, so there is no ongoing development.
- It remains functional — the latest release works as documented below.
- Pull requests are welcome and will be reviewed when time permits.
- Issues may go unanswered.
- MIT licensed: you are free to fork and continue this project. If you would like to take over maintenance, please open an issue.

What's New in v2.1.0

Why dsv4-cc-proxy

DeepSeek V4 implements the Anthropic API format, but has 4 critical incompatibilities that break Claude Code. This proxy fixes them transparently.

Non-DeepSeek requests and non-/messages endpoints pass through with zero overhead.

Codex Support

dsv4-cc-proxy also translates between the OpenAI Responses API format and DeepSeek's Chat Completions API, enabling Codex (and other OpenAI Responses API clients) to use DeepSeek V4 models.

Endpoints

Environment Variables

Usage

Point Codex to the same proxy URL:

The proxy auto-detects Responses API requests (/v1/responses) and applies the appropriate translation. All existing Anthropic API proxy features remain unchanged.

Quick Start

Option 1: pip install (recommended)

Option 2: Homebrew (macOS)

Option 3: pipx (isolated environment)

Option 4: Docker

Or via docker compose:

Configure Claude Code

Point Claude Code to the proxy by adding to your settings.local.json:

Configuration

For Codex usage, see the Codex Support section above.

Comparison

Platform Guides

macOS (launchd auto-start)

Recommended: Use the installer script:

Manual setup:
Note: To stop a…
Read the full README on GitHub

Details

Language
Python
License
MIT
Last updated
15 September 2026

FAQ

What is Dsv4 CC Proxy?

Anthropic API 兼容性代理 — 修复 DeepSeek V4 的 3 个不兼容问题,让 Claude Code 稳定运行。Make DeepSeek V4 work flawlessly with Claude Code. It is a model router for Claude Code, from HosheaLi/dsv4-cc-proxy on GitHub.

How do I install Dsv4 CC Proxy?

Run pip install dsv4-cc-proxy, then follow the setup in the README.

Is Dsv4 CC Proxy popular?

HosheaLi/dsv4-cc-proxy has 25 GitHub stars and 6 forks. It was last updated on 15 September 2026.

More model routers & proxies

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