logoalt Hacker News

DeepClaude – Claude Code agent loop with DeepSeek V4 Pro, 17x cheaper

157 pointsby alattaranyesterday at 10:13 PM68 commentsview on HN

Comments

aftbityesterday at 11:16 PM

    #!/bin/sh
    export ANTHROPIC_BASE_URL=https://api.deepseek.com/anthropic
    export ANTHROPIC_AUTH_TOKEN=sk-secret
    export ANTHROPIC_MODEL=deepseek-v4-flash
    export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1
    exec claude $@
show 3 replies
vitafloyesterday at 11:07 PM

I'm not exactly sure what the point of this is. Deepseek already has instructions to use its API with many CLI's including Claude Code directly:

https://api-docs.deepseek.com/quick_start/agent_integrations...

show 4 replies
justechyesterday at 11:36 PM

If you're looking for Claude Code alternatives, I would first suggest looking into pi.dev or opencode for your harness. And then for models, you can choose from OpenCode Go (IMO most cost effect at this moment), OpenRouter, or direct from DeepSeek. Better if you go the Kimi route IMO and just buy a subscription from kimi.com

show 4 replies
_345yesterday at 11:02 PM

If you're okay with sonnet level performance, this sounds like a straight upgrade. But I find that sonnet messes up too much, that it ends up not being worth cost optimizing down to using it or another sonnet-level model. Glad to have this as an option though

show 4 replies
vagab0ndtoday at 12:28 AM

This has become a problem for me. I like trying new things. But I also know that in about a week, there's going to be a better/cheaper setup. And a week after that. And ideally I'd like to get some coding done when I'm not tinkering with the tools.

So I think I'll stay with CC for now.

alexdnsyesterday at 11:06 PM

obviously vibe coded ( co authored ) + the prices dont even match

show 2 replies
fHrtoday at 1:30 AM

layer on layer on layer to refactor bunch of lines xD

orliesaurusyesterday at 10:55 PM

Is there a way to do this directly by using claudecode CLI (which I already have installed) and openrouter??

show 6 replies
Lihh27yesterday at 11:55 PM

the wrapper is basically env var glue. You’re still betting the whole loop on Anthropic's closed client.

game_the0rytoday at 12:00 AM

Cost engineering [1] will be the next hot topic for AI.

[1] A fancier way of saying "reducing cost."

deadbabetoday at 12:19 AM

I had a call with our CTO and we are pivoting away from Claude Code to DeepClaude because the cost savings are too substantial to ignore.

2ndorderthoughtyesterday at 11:04 PM

Oh shoot now the next CC upgrade will blow your subscription for doing this

esafakyesterday at 10:59 PM

Why wouldn't you use something open source like OpenCode, which already support DSv4 and has more features than CC?

show 3 replies
morpheos137yesterday at 11:26 PM

anthropic messed up big time harness works with any muh commodity LLM, meanwhile VCs were duped on the myth of FOOM AGI, probably not a cooincidence Anthropic is enmeshed with the scifi fan fic forum known as lesswrong. The world wants useful tools. The bay area bubble in contrast thrives on Mythos.

show 1 reply
volume_techtoday at 12:34 AM

[flagged]

alattaranyesterday at 10:13 PM

[flagged]