Open-source proxy slashes autonomous coding agent costs by 17 times
A new GitHub project allows users to swap the underlying AI model in the popular coding agent, leveraging cheaper backends without altering the user experience.
A new open-source initiative called DeepClaude has emerged on GitHub, offering a method to significantly reduce the operational costs associated with autonomous coding agents. The project enables users to run the autonomous agent loop of the widely used "Claude Code" tool by routing API calls to alternative backends, specifically DeepSeek V4 Pro or other Anthropic-compatible services via OpenRouter.
The core innovation lies in its ability to swap the underlying artificial intelligence model while preserving the original user interface and functionality. By acting as a local proxy, the tool intercepts requests from the standard Claude Code interface and redirects them to lower-cost models, maintaining capabilities such as file reading, editing, and bash execution. This architectural approach allows developers to keep the familiar session experience without incurring the substantial monthly fees associated with the native Anthropic backend.
Financial implications for developers are substantial, with the project claiming a cost reduction of approximately 17 times compared to standard usage. While the native "Claude Code" service is noted for a high cost structure of around $200 per month alongside usage caps, DeepSeek V4 Pro presents a competitive alternative. The model scores 96.4 per cent on the LiveCodeBench benchmark and charges $0.87 per million output tokens, with automatic context caching further driving costs down to $0.004 per million after the initial request.
The implementation is designed to be non-invasive regarding user configuration. DeepClaude sets environment variables on a per-session basis to switch the backend and automatically restores the original settings upon exit, ensuring no permanent changes are made to the local environment. Users can launch the agent via terminal profiles or access the session remotely through a browser URL, although remote control features may still require Anthropic's bridge for WebSocket connections in certain setups.
Despite the significant savings, the project relies on the stability and compatibility of third-party backends like DeepSeek V4 Pro and OpenRouter. While the interface remains unchanged, users should be aware that the underlying logic and model responses differ from the native Anthropic implementation. The tool effectively splits traffic between the frontend and the backend API, allowing the body of the application to remain unchanged while the brain is swapped for a more economical option.
This development highlights a growing trend in the technology sector where open-source solutions are addressing the scalability and cost challenges of enterprise-grade AI tools. As autonomous coding agents become more prevalent, projects like DeepClaude offer a pathway for institutions and individual developers to access advanced capabilities without the prohibitive financial barriers currently imposed by proprietary models.

