CC Switch
Connect DeepSeek with CC Switch (recommended for beginners)
Don't want to hand-edit JSON, .env, or TOML? Use CC Switch.
CC Switch is a free desktop app: pick the DeepSeek preset → paste your API Key → enable — and CLI tools like Claude Code, OpenCode, Codex, and OpenClaw can use DeepSeek.
This guide is maintained by deepseekagent.io. CC Switch is a third-party open-source tool; we are not affiliated with its authors.
Who is this for?
| You are… | Recommendation |
|---|---|
| New to DeepSeek and afraid of breaking config files | Use CC Switch |
| Using Claude Code / OpenCode / Codex / OpenClaw | Prefer CC Switch |
| Switching often between DeepSeek and other models | Use CC Switch |
| Using VS Code extensions (Cline, GitHub Copilot, etc.) | See the tool guides — CC Switch mainly targets terminal CLIs |
| Want to understand every config field | Run CC Switch first, then read the manual Claude Code guide |
Before you start: DeepSeek API Key
- Open the DeepSeek Platform
- Create an API Key and copy it (shown once)
- Make sure your account has usable quota
Step 1: Install CC Switch
macOS (Homebrew recommended)
brew tap farion1231/ccswitch
brew install --cask cc-switch
Windows
Download CC-Switch-xxx-Windows.msi from GitHub Releases and install.
Linux
Use .deb / .AppImage, or on Arch:
paru -S cc-switch-bin
Website: ccswitch.ai
Step 2: Add DeepSeek as a provider
- Open CC Switch
- Click Add Provider
- Choose the DeepSeek preset
- Paste your API Key
- Confirm (usually pre-filled by the preset):
| Field | Typical value for Claude Code |
|---|---|
| Base URL | https://api.deepseek.com/anthropic |
| Main model | deepseek-v4-pro[1m] |
| Fast model | deepseek-v4-flash[1m] |
- Test connection if available, then Enable
- Drag DeepSeek to the top of the provider list, or switch from the system tray
Step 3: Verify in your agent
Claude Code
cd your-project
claude
Send a short prompt. If it responds, you're connected.
Most tools need a terminal restart after switching.
OpenCode
opencode
Confirm DeepSeek is selected. Restart the terminal if you still see the old provider.
OpenClaw / Codex
Enable DeepSeek in CC Switch, restart the terminal, then run the CLI.
The official Codex guide involves Moon Bridge and extra setup — beginners should try CC Switch first, then read the manual guide if needed.
Manual config vs CC Switch
| Manual (our per-tool guides) | CC Switch | |
|---|---|---|
| Difficulty | Medium — paths and field names | Low — GUI + presets |
| Best for | Full control | Getting started fast |
| Multi-model | Edit files each time | Tray / one-click switch |
| Our site | Explains why each field exists | Explains fastest path |
They work together: CC Switch to get running, our guides when something breaks.
FAQ
Switched to DeepSeek but the CLI still uses the old model?
Close the terminal and open a new one. Claude Code sometimes hot-switches; most CLIs do not.
401 / auth errors?
Check the API Key and Base URL. For Claude Code, use https://api.deepseek.com/anthropic.
How is CC Switch related to deepseekagent.io?
We publish DeepSeek integration tutorials; CC Switch is a separate app we recommend when manual setup is too tedious.
Still stuck?
Open the detailed guide for your tool:
- Claude Code
- OpenCode
- Codex (complex — try CC Switch first)
- OpenClaw
Links
- CC Switch: ccswitch.ai
- Source: github.com/farion1231/cc-switch
- DeepSeek API: platform.deepseek.com/api-docs
- All guides: homepage tool list