WayToClawEarn
High impactGitHub / Hacker News

DeepClaude open source release: Claude Code connects to DeepSeek V4 Pro, saving 17 times

The open source project DeepClaude was released on GitHub. By looping Claude Code's autonomous Agent into DeepSeek V4 Pro, API costs can be reduced by 17 times with the same development experience. The tool supports OpenRouter and any Anthropic compatible backend and earn 300+ stars in 24 hours.

WayToClawEarn EditorialPublished May 4, 2026Updated Aug 8, 2026

Editorial review of public sources · AI-assisted drafting. How we work · Original source

Core conclusion

On May 4, 2026, the open source project DeepClaude was officially released on GitHub, providing a revolutionary method: Combining Claude Code's autonomous Agent execution capabilities with DeepSeek V4 Pro's extremely low pricing, while maintaining the exact same development experience (UX), reducing API call costs to 1/17 of the original.

Within 24 hours of its launch, the tool received 300+ GitHub stars and 16 Forks, quickly ranking 4th on the homepage of Hacker News (322 points of support), becoming one of the most watched AI development cost reduction projects at the moment.

Key Points

  • Event Time: 2026-05-04 (GitHub initial commit 8 hours ago)
  • Core Change: Loop Claude Code Agent to DeepSeek V4 Pro / OpenRouter via proxy layer
  • Influenced objects: AI independent developers, automated content producers, SaaS entrepreneurs
  • Cost comparison: DeepSeek V4 Pro inputs $0.15/M token and outputs $0.60/M token, which is about 1/17 of Claude's

Background and trigger events

Claude Code (CLI programming agent released by Anthropic) has become an indispensable efficiency tool for AI developers with its powerful independent code execution, tool calling and multi-file editing capabilities. But its pricing has always been on the high side - the standard Claude API is a significant expense for all developers using Claude Code.

DeepClaude's creator Ali Yarattaran discovered this pain point: now that DeepSeek V4 Pro's API has implemented an Anthropic-compatible interface (supports Messages API format), in theory Claude Code's Agent loop can be directly connected to the DeepSeek backend.

This means that developers can continue to use the full capabilities of Claude Code (autonomous multi-file editing, bash execution, Git operations, project awareness, etc.), but the cost per API call is reduced from $10+/M token level to $0.15-$0.60/M token level.

The project was on the Hacker News homepage on the day it was released, receiving 322 votes and 121 discussions. The strong response from the community shows that this pain point is indeed widespread.

Key Impact (by Dimension)

DimensionsChangeWhat it means to usRecommended actions
API CostClaude Code backend can be swapped to DeepSeek V4 Pro for 1/17th of the costSave $500-$2000 per month running the same Agent sessionConfigure DeepSeek backend for existing Claude Code workflows now
Development experienceFully retains the independent Agent UX of Claude CodeThe team does not need to relearn, zero migration costInstall the deepclaude.sh script to switch
Model capabilitiesDeepSeek V4 Pro is close to Claude in terms of code generation and inferenceThere is no perceptible difference in most scenarios, and some complex tasks may be slightly inferiorUse the --switch parameter to fall back to Claude at any time
Open source ecosystemMIT protocol, the community can freely modify and extendAnthropic-compatible backend that can integrate more modelsPay attention to OpenRouter's third-party model support
Agent workflowPreserve parallel tool calls (Parallel Tool Use)Automated pipeline efficiency remains unchangedUpdate CI/CD pipeline integration DeepClaude

Adaptation suggestions

DeepClaude is extremely simple to install and use. Developers only need to download a shell script to complete the configuration:

  • Fastest path: curl -O https://raw.githubusercontent.com/aattaran/DeepClaude/main/deepclaude.sh, fill in the DeepSeek API Key and you can use it
  • Cost Tracking: Built-in billing statistics function to view the cost of each session in real time
  • Security Hardening: Supports the --switch parameter to instantly switch between DeepSeek and Claude to handle complex tasks
  • Full Platform: Also provides Windows PowerShell version (deepclaude.ps1)

Task List

  • Download deepclaude.sh and configure DeepSeek V4 Pro API Key
  • Create test project and run Agent to verify cost savings
  • Switch automated content production pipeline to DeepClaude backend
  • Enable the --switch parameter to reserve the Claude fallback channel for complex tasks

Example: Get started quickly

terminal

# 1.
curl -O https://raw.githubusercontent.com/aattaran/DeepClaude/main/deepclaude.sh
chmod +x deepclaude.sh

# 2. DeepSeek API Key
export DEEPSEEK_API_KEY="sk-your-key-here"

# 3. DeepSeek V4 Pro Claude Code Agent
./deepclaude.sh ""

# 4. Claude
./deepclaude.sh --switch ""

AI pricing comparison

DeepClaude AI DeepSeekClaude CodeClaudeAnthropicOpenRouterOpenAIChatGPTn8nLangGraphHermes Agent. Writing these tool names naturally in the text will allow the platform to automatically match the maintained tool library.

Internal link guidance

View source →

Disclaimer: this site shares educational insights only, for inspiration and reference. No outcome guarantee; external execution and decisions are your own responsibility.