How DeepClaude Hacked Claude Code onto DeepSeek (and Why It Actually Works)
A repository called aattaran/deepclaude hit Hacker News front page 13 hours after launch, accumulating 498 points and 608 stars. The pitch is simple: keep Claude Code’s client exactly as-is, swap the backend from Anthropic to DeepSeek V4 Pro and V4 Flash, and claim a 17x cost reduction. But the real engineering meat isn’t in the 4-line export statement. It’s in proxy/model-proxy.js — a local service running on port 3200 that routes by path: /v1/messages gets rewritten to use a DeepSeek key and forward to api.deepseek.com, while everything else carries the Anthropic OAuth token through to api.anthropic.com. This layer solves the authentication collision problem where the bridge tunnel credentials and model inference credentials fight each other, all while the client remains completely unaware. ...