DEV Community

Cover image for Can Claude Code Still Use DeepSeek? A Windows Test with cc-switch
member_0af6418a
member_0af6418a

Posted on • Originally published at kunpeng-ai.com

Can Claude Code Still Use DeepSeek? A Windows Test with cc-switch

A lot of older third-party Claude model routes have become unreliable. I tested a narrower path on Windows: Claude Code through cc-switch to DeepSeek.

Important boundary first: cc-switch is not a Claude jailbreak, and it is not a universal adapter for every coding agent. It mainly helps with the Claude Code provider route. Codex cannot use this path directly.

Claude Code + DeepSeek tested

What cc-switch actually solves

It reduces manual config drift.

Instead of hand-editing model name, base URL, and API key every time, you keep them as named providers and switch between them.

Install cc-switch

The package I used:

npm install -g @adithya-13/cc-switch
Enter fullscreen mode Exit fullscreen mode

Windows traps

Two details mattered in my test.

First, PowerShell may block the npm-generated .ps1 shim. When that happens, try:

cmd /c cc-switch
Enter fullscreen mode Exit fullscreen mode

Second, do not save the provider JSON config with a BOM. I hit a JSON parsing failure that disappeared after saving the config as UTF-8 without BOM.

Windows traps

Verification

I would not call the route ready until:

Active: DeepSeek
Enter fullscreen mode Exit fullscreen mode

is visible, and the doctor check passes.

Active DeepSeek verification

Only then did I restart Claude Code and test a small task.

Takeaway

This path is useful if you already use Claude Code and want a cleaner DeepSeek provider setup on Windows.

It is not a general solution for every agent. The practical value is narrower: make the provider state visible, avoid hand-edited config drift, and keep Windows shell/encoding issues from masquerading as model failures.

Top comments (0)