How to Integrate DeepSeek-V4 with Cowork Desktop Agent and Claude Code
DeepSeek-V4 delivers frontier-level AI performance at a fraction of the cost — now accessible in your desktop agent workflow. This guide…
How to Integrate DeepSeek-V4 with Cowork Desktop Agent and Claude Code
DeepSeek-V4 delivers frontier-level AI performance at a fraction of the cost — now accessible in your desktop agent workflow. This guide shows you how to integrate DeepSeek-V4 with Cowork and Claude Code in minutes.
If you’re not a Medium subscriber, click here to read the full article.

1. Market Positioning and Pricing Analysis (2026)
DeepSeek-V4 is positioned as the 2026 leader in cost-efficiency. While Western flagship models maintain high premiums, DeepSeek provides comparable performance at a fraction of the investment.

API Pricing Comparison (USD per 1M Tokens).
2. DeepSeek-V4 Model Specializations
DeepSeek-V4 offers a tiered approach to task management, allowing users to route queries based on complexity and budget requirements.
- DeepSeek-V4-Flash: Optimized for high speed and low-latency tasks. Ideal for file organization, web searching, documentation, and simple refactoring.
- DeepSeek-V4-Pro: Tailored for high-level reasoning and heavy coding. Best suited for agentic coding, complex architecture analysis, cross-file debugging, and legal/technical synthesis.
3. Initial DeepSeek-V4 Setup
Before integrating with any third-party tool, users must establish a base of operations on the DeepSeek platform:
- Platform Access: Go to the DeepSeek platform at
[platform.deepseek.com](https://platform.deepseek.com/) and sign in or create an account. - Account Funding: The platform requires a balance to function; users must recharge their accounts before generating keys.
- Key Generation: Click Create new API key or Create new secret key, give it a name, and confirm.
- Save the Key: Copy the key immediately and store it somewhere secure, because multiple guides note it may only be shown once.

4. Desktop Agent Integration: Cowork (by Claude)
Cowork is a powerful desktop agent software capable of controlling computer functions, managing office documents, and processing complex tasks. Previously restricted to Claude members, the software is now accessible to non-members.
Cowork is a powerful desktop Agent capable of controlling your PC, managing local files, handling office documents, and writing code. Previously restricted to Claude Pro subscribers, it is now accessible to free users as well.
Configuration Steps:
- Enable Developer Mode: Open the Cowork desktop app. Click on the Help menu (available on Windows/macOS) and toggle on Developer Mode. Restart the application.

- Access Third-Party Config: After restarting, a new Developer menu will appear. Click it and navigate to the third-party configuration section.

- Set the Gateway: Add a new gateway and input the DeepSeek adapter URL (https://api.deepseek.com/anthropic).
- Input Credentials: Paste your DeepSeek API Key.

- Add Models: Scroll down the manual to the IDENTITY & MODELS and manually add two models to the list:
deepseek/V4/flashdeepseek/V4-pro

- Enable 1M Context Window: Crucial step. Look for a toggle regarding the “Offer 1M-context variant”. You must turn this on to fully utilize DeepSeek’s long-context capabilities.
- Finalize: Save and exit the settings by press the “Apply locally” button. When you return to the main chat interface, you will be able to select between the standard, 1M, Flash, and Pro versions of DeepSeek.

5. Claude Code
For Claude Code, using an open-source graphical configuration manager like CC-Switch makes the setup process incredibly straightforward, completely bypassing the need to manually edit JSON configuration files.
farion1231/cc-switch: https://github.com/farion1231/cc-switch
Step A: Install CC-Switch
Before configuring the model, install the CC-Switch desktop application on your system:
Windows:
- Visit the CC-Switch GitHub Releases page.
- Download the latest
.msiinstaller (or the portable.zip). - Double-click to install it like a standard Windows application.
macOS (via Homebrew):
Open your terminal and run the following commands:
brew tap farion1231/ccswitch
brew install --cask cc-switch
Alternatively, you can manually download the macOS package directly from the GitHub releases page.
Step B: Configuration Steps
- Launch CC-Switch: Open the CC-Switch application. Ensure “Claude Code” is selected in the application switcher at the top.

- Add Provider: Click the Add Provider (
+) button to create a new configuration node. - Select DeepSeek: Choose the DeepSeek preset from the list (or create a custom OpenAI-compatible provider if necessary).

- Input Credentials: Paste your DeepSeek API Key.


- Enable 1M Context: Because DeepSeek supports a massive 1M context window to your configuration string (or toggle the relevant context setting in CC-Switch) so Claude Code doesn't default to a smaller 200K limit.
- Select Default Model: Choose
deepseek-v4-flashas your primary model for the fastest response times. - Verify: Click Enable on your new DeepSeek provider in CC-Switch.

- Open your terminal, type
claude, run the/contextcommand, and verify that your 1M context window is successfully active.


6. Key Takeaways
✅ Cost Efficiency Without Compromise: DeepSeek-V4 delivers frontier-level reasoning and coding capability at ~90% lower cost than Western alternatives — making high-end agentic AI accessible for individuals and teams on any budget.
✅ Right Model, Right Task: Leverage DeepSeek’s tiered architecture strategically:
- Flash for fast, high-volume tasks (search, docs, refactoring)
- Pro for complex coding, architecture, and cross-file reasoning
- R1 for math, logic, and multi-step planning
✅ 1M Context Is a Game-Changer: Enabling the 1M-token context window in both Cowork and Claude Code unlocks true long-document understanding — ideal for legal contracts, codebases, research papers, and multi-hour video transcripts.
✅ No-Code Setup, Pro Results: With tools like CC-Switch and Cowork’s Developer Mode, integration requires zero manual config file editing — just paste your API key, toggle context, and go.
✅ Future-Proof Your Workflow: As the 2026 AI price war accelerates, mastering cost-efficient, open-compatible integrations like this gives you flexibility, scalability, and leverage — regardless of which model provider leads next quarter.
메타데이터
- post_id
- 95b197bbbf64
- slug
- how-to-integrate-deepseek-v4-with-cowork-desktop-agent-and-claude-code-95b197bbbf64
- url
- https://medium.com/@lmpo/how-to-integrate-deepseek-v4-with-cowork-desktop-agent-and-claude-code-95b197bbbf64
- canonical_url
- https://medium.com/@lmpo/how-to-integrate-deepseek-v4-with-cowork-desktop-agent-and-claude-code-95b197bbbf64
- author_url
- https://medium.com/@lmpo
- status
- ok
- fetched_at
- 2026-06-11 11:25:07