{"id":77343,"date":"2026-05-05T08:58:10","date_gmt":"2026-05-05T01:58:10","guid":{"rendered":"https:\/\/hbbgroup.net\/deepclaude-lets-you-run-claude-code-with-deepseeks-brain-for-17x-cheaper\/"},"modified":"2026-05-05T08:58:10","modified_gmt":"2026-05-05T01:58:10","slug":"deepclaude-lets-you-run-claude-code-with-deepseeks-brain-for-17x-cheaper","status":"publish","type":"post","link":"https:\/\/hbbgroup.net\/zh\/deepclaude-lets-you-run-claude-code-with-deepseeks-brain-for-17x-cheaper\/","title":{"rendered":"DeepClaude Lets You Run Claude Code With DeepSeek&#8217;s Brain for 17x Cheaper"},"content":{"rendered":"<div>\n<div>\n<h4 color=\"#333\">In brief<\/h4>\n<ul>\n<li>DeepClaude is a wrapper script that redirects Claude Code&#8217;s API calls to cheaper Anthropic-compatible backends like DeepSeek V4 Pro.<\/li>\n<li>The repo claims roughly 17x cost savings versus Anthropic&#8217;s $200-per-month Max plan.<\/li>\n<li>It launched weeks after Anthropic accidentally leaked Claude Code&#8217;s full source code, fueling a wave of open clones and modifications.<\/li>\n<\/ul>\n<\/div>\n<p>A new open-source tool called <a href=\"https:\/\/github.com\/aattaran\/deepclaude\" target=\"_blank\">DeepClaude<\/a> lets developers run Claude Code\u2014Anthropic&#8217;s autonomous coding agent\u2014with DeepSeek&#8217;s model under the hood.<\/p>\n<p>Pushed to GitHub by a developer going by aattaran, the project bills itself as the same Claude Code experience at &#8220;17x cheaper.&#8221; It&#8217;s a simple bash and PowerShell script \u2014 nothing fancy, no fork, no rewrite.<\/p>\n<p>Using the tool, you can also run Claude Code with other backends like OpenRouter, or Fireworks AI\u2014not just DeepSeek, though that\u2019s apparently the main draw.<\/p>\n<p>The trick is environment variables. Claude Code reads a handful of them to decide where to send API calls. DeepClaude rewrites those for the duration of a session, points them at a cheaper backend, then restores the originals when you exit.<\/p>\n<p>The command line tool itself doesn&#8217;t change. File reading, editing, bash execution, multi-step tool loops, subagent spawning, all of it still works. Only the model doing the thinking is different.<\/p>\n<p>But the &#8220;tool loop&#8221; is the whole point of Claude Code. When you ask Claude to fix a bug, it doesn&#8217;t answer in one shot. It reads files, runs commands, sees the output, decides what to do next, edits something, runs your tests, reads the failures, tries again. So it\u2019s a process that involves thinking, acting, observing, thinking again, dozens of times, until the job is done.<\/p>\n<p>That cycle is what people mean by &#8220;autonomous agent loop.&#8221; You give one instruction, the model takes thirty steps. It&#8217;s also the part that burns through tokens\u2014and through your Anthropic budget.<\/p>\n<p>DeepClaude keeps the loop intact and just swaps which model is making the decisions inside it.<\/p>\n<p>The math is straightforward. Anthropic&#8217;s Max 20x plan, which gives heavy users full Claude Code access, runs $200 a month. DeepSeek V4 Pro through OpenRouter currently costs $0.435 per million input tokens and $0.87 per million output\u2014a promotional rate that expires May 31, 2026, after which it doubles. Even at full price, it&#8217;s drastically cheaper than Anthropic&#8217;s API.<\/p>\n<p>By default, DeepClaude routes traffic to <a href=\"https:\/\/decrypt.co\/365455\/deepseek-v4-launch-pro-version-costs-less-gpt-5-pro\" target=\"_blank\">DeepSeek V4 Pro<\/a>, the 1.6 trillion-parameter open-weight AI behemoth model that Hangzhou-based DeepSeek released on April 24. (Parameters, for the uninitiated, are what determine a model\u2019s capacity\u2014the more parameters, the wider the model\u2019s breadth of knowledge.)<\/p>\n<p>DeepSeek V4 Pro scores 93.5% on LiveCodeBench\u2014a benchmark that runs models on fresh competitive programming problems, meaning DeepSeek solved 93.5% of the tasks\u2014placing it ahead of both Gemini 3.1 Pro and Claude Opus 4.6.<\/p>\n<p>Some things are still a bit rough around the edges. Image input doesn&#8217;t work. DeepSeek&#8217;s Anthropic-compatible endpoint doesn&#8217;t support vision. Parallel tool calls are disabled. MCP server integrations don&#8217;t pass through. And on hard reasoning tasks, the \u201creadme\u201d file itself concedes Claude Opus is still stronger.<\/p>\n<p>That said, for reasoning, coding, and creative tasks, this implementation is a very powerful and efficient solution to use.<\/p>\n<p>A bit of context for why this exists: On March 31, Anthropic <a href=\"https:\/\/decrypt.co\/362917\/anthropic-accidentally-leaked-claude-code-source-internet-keeping-forever\" target=\"_blank\">accidentally shipped Claude Code&#8217;s full source map to npm<\/a>, exposing 512,000 lines of TypeScript. The leak triggered a wave of clones, Python rewrites, and tools that hook into Claude Code&#8217;s now well-documented internals.<\/p>\n<p>DeepClaude is the natural next step. It doesn&#8217;t fork the code, but it exploits the fact that Claude Code&#8217;s backend is, by design, swappable.<\/p>\n<p>There&#8217;s also a &#8220;remote control&#8221; mode that opens a Claude Code session in any browser via a claude.ai\/code\/session_&#8230; URL, with DeepSeek still doing the model work. That one requires a Claude.ai subscription, since Anthropic&#8217;s WebSocket bridge is hardcoded.<\/p>\n<p>Whether Anthropic will care is another question. Claude Code is a paid product, but the API endpoints are open by design, the company built them to be Anthropic-compatible for third-party adoption. DeepClaude turns that compatibility outward.<\/p>\n<p>The repo currently sits at almost a thousand stars and two forks. DeepSeek&#8217;s promotional pricing ends May 31.<\/p>\n<div>\n<h3>Daily Debrief Newsletter<\/h3>\n<p>Start every day with the top news stories right now, plus original features, a podcast, videos and more.<\/p>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>In brief DeepClaude is a wrapper script that redirects Claude Code&#8217;s API calls to cheaper Anthropic-compatible backends like DeepSeek V4 [&hellip;]<\/p>","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-77343","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"acf":[],"_links":{"self":[{"href":"https:\/\/hbbgroup.net\/zh\/wp-json\/wp\/v2\/posts\/77343","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hbbgroup.net\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hbbgroup.net\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hbbgroup.net\/zh\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/hbbgroup.net\/zh\/wp-json\/wp\/v2\/comments?post=77343"}],"version-history":[{"count":0,"href":"https:\/\/hbbgroup.net\/zh\/wp-json\/wp\/v2\/posts\/77343\/revisions"}],"wp:attachment":[{"href":"https:\/\/hbbgroup.net\/zh\/wp-json\/wp\/v2\/media?parent=77343"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hbbgroup.net\/zh\/wp-json\/wp\/v2\/categories?post=77343"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hbbgroup.net\/zh\/wp-json\/wp\/v2\/tags?post=77343"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}