DeepClaude runs Claude Code on DeepSeek for 17× lower cost

DeepClaude is a wrapper script that redirects Claude Code API calls to Anthropic-compatible backends such as DeepSeek V4 Pro, enabling about 17× lower model costs.

DeepClaude is a wrapper script that redirects Claude Code’s API calls to Anthropic-compatible backends, letting Claude Code use alternative models to perform its decision-making while keeping the command-line experience unchanged. The project’s repository claims roughly 17× cost savings compared with Anthropic’s $200-per-month Max 20x plan.

The tool was published on GitHub by a developer using the handle aattaran. DeepClaude is implemented as a small bash and PowerShell script; it does not fork or rewrite Claude Code. During a session the script temporarily changes a handful of environment variables that Claude Code reads to determine API endpoints, points them to an alternative backend, and restores the originals on exit. File reading and editing, shell execution, multi-step tool loops and subagent spawning continue to run through the same Claude Code flows while a different model handles the agent loop.

By default DeepClaude routes traffic to DeepSeek V4 Pro, a 1.6 trillion-parameter open-weight model released by Hangzhou-based DeepSeek on April 24. DeepSeek is available through OpenRouter at promotional rates of $0.435 per million input tokens and $0.87 per million output tokens; the promotional pricing is scheduled to expire on May 31, 2026, after which those rates will double. The repository presents its cost comparison against Anthropic’s Max 20x plan and reports about a 17× reduction in model costs for typical Claude Code usage.

The wrapper can also point Claude Code to other Anthropic-compatible providers such as OpenRouter and Fireworks AI. A remote control mode opens a Claude Code session in a browser via a claude.ai/code/session_… URL while the alternative model runs the reasoning. That remote option requires a Claude.ai subscription because Anthropic’s WebSocket bridge is part of the web session flow.

The README lists technical limits. Image input is not supported because DeepSeek’s Anthropic-compatible endpoint lacks vision capability. Parallel tool calls are disabled and MCP server integrations do not pass through. The README also notes that on some hard reasoning tasks Claude Opus remains stronger than the DeepSeek setup.

Developers tracked the context for tools like DeepClaude to an accidental source map release by Anthropic on March 31 that exposed roughly 512,000 lines of TypeScript for Claude Code. The exposed internals and Claude Code’s design, which allows backend compatibility, enabled a wave of clones, rewrites and tools that hook into the agent’s flows; DeepClaude routes those flows to alternative models rather than changing the agent code itself.

At the time of reporting the GitHub repository had attracted nearly 1,000 stars and two forks.

The material on GNcrypto is intended solely for informational use and must not be regarded as financial advice. We make every effort to keep the content accurate and current, but we cannot warrant its precision, completeness, or reliability. GNcrypto does not take responsibility for any mistakes, omissions, or financial losses resulting from reliance on this information. Any actions you take based on this content are done at your own risk. Always conduct independent research and seek guidance from a qualified specialist. For further details, please review our Terms, Privacy Policy and Disclaimers.

Articles by this author