Hacker News new | ask | show | jobs
by alyxya 20 days ago
Once they have their own coding agent which they seem to be working towards, I may start predominantly using their models. They seem to be doing all the "right" things, open sourcing models, publishing research, and keeping prices low for everyone.
17 comments

You can use V4 Pro with Claude Code [1].

I tried it and it's impressive.

[1]: https://api-docs.deepseek.com/quick_start/agent_integrations...

I'm working on a custom launcher for hooking up Claude Code with various providers (groups env variables in profiles) cause DeepSeek doesn't have vision and sometimes I need browser use with screenshots or Opus reasoning, for other tasks it's fine: https://ccode.kronis.dev/

  # After installed (or when run portably with ./ccode)
  ccode init-config
  ccode edit-config
  
  # Run with default profile
  ccode
  # Run with named profile
  ccode --deepseek
  
  # Set default profile
  ccode set-default-profile deepseek
Also turns out that with a local proxy you can get Remote Control working and see the DeepSeek sessions in the desktop app, screenshots on the page. Other than that, I'm happy that it works pretty well and the discount is enough to make me consider going from Anthropic's Max subscription to Pro and using it only where DeepSeek is insufficient. With that proxy I eventually hope to be able to transparently switch models mid-task, if I need Opus for like 5 turns or something.

Overall though I'm not sure exactly how well Claude Code would stack up against OpenCode, since the latter overall feels a bit less hacky with 3rd party models and is even getting niche but nice features like a locally runnable web version: https://opencode.ai/docs/web/

I've been using V4 flash consistently with Claude. Pretty great fast and darn cheap. I use it about 3h/day and so far haven't crossed $1 USD/week.

FWIW, I this is what I have in my settings.json

  "env": {
    "ANTHROPIC_AUTH_TOKEN":"sk-nope_not_real",   
    "ANTHROPIC_BASE_URL": "https://api.deepseek.com/anthropic",
    "ANTHROPIC_MODEL": "deepseek-v4-flash",
    "ANTHROPIC_DEFAULT_OPUS_MODEL": "deepseek-v4-flash",
    "ANTHROPIC_DEFAULT_SONNET_MODEL": "deepseek-v4-flash",
    "ANTHROPIC_DEFAULT_HAIKU_MODEL": "deepseek-v4-flash",
    "CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1",
    "CLAUDE_CODE_EFFORT_LEVEL": "low",
    "CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING": "1",
    "CLAUDE_CODE_DISABLE_THINKING": "0",
    "CLAUDE_CODE_ENABLE_AWAY_SUMMARY": "0",
    "CLAUDE_CODE_SUBAGENT_MODEL": "deepseek-v4-flash",
    "CLAUDE_CODE_MAX_OUTPUT_TOKENS": "8000",
    "CLAUDE_CODE_FILE_READ_MAX_OUTPUT_TOKENS": "4000",
    "BASH_MAX_OUTPUT_LENGTH": "20000",
    "CLAUDE_AUTOCOMPACT_PCT_OVERRIDE": "60",
    "CLAUDE_CODE_AUTO_COMPACT_WINDOW": "200000",
    "CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS": "1"
  }
3h/day and how many parallel agents? 1/3/10?

I think out tokens would be a better metric.

Max 2 parallel agents, usually.

As for out tokens, it's about 200k/day

Why not use higher thinking effort?
Just cause that level seems to be working fine for me and it's usually faster.
Hi, is it comparable to Opus?
V4 Pro is between Sonnet and Opus. But it is cheap. Slow but very cheap. Very diligent.

I run a proxy that allows me switching back to Opus when necessary.

Deepseek isn't like Z.ai which is bit cheaper only on the surface. Or like Qwen 3.7 Max which is Opus-level but very expensive.

Deepseek is my favorite since V3 but V4 is definitely catch-up to newer Anthropic models

thank you so much for sharing ir
How does the cost compare using the API vs the $20/month plans with other providers?

I did some back of the envelope calculations and it seems like you would pay $5/month using DeepSeek directly or $15-20 with OpenRouter or similar. But would be interested to hear real world usage.

It is still more expensive per-request than the common Anthropic and OpenAI subscriptions, but the math changes a lot based on your specific use case. https://codeberg.org/mutablecc/calculate-ai-cost/src/branch/...

But as usual, there are far cheaper subscriptions with higher limits than Anthropic and OpenAI, that also provide DeepSeek v4 Pro. So you should use those subscriptions first until you max them out, then look at a different subscription.

I don’t even use Claude that much and was hitting limits in the 20$ using sonnet, I’ve deposited 5$ with deepseek and haven’t hit the limit after spending 60million+ tokens. So no way it’s more expensive.
The link you shared is just a large table of data, which is hard to browse on a phone.

Could you please elaborate on the far cheaper subscriptions that we should be using?

I've been using it pretty extensively over a month and I'm at maybe $7. It thinks for quite a while, but the results have been better than Sonnet for me.
I'm not curious what tasks you tested it for. Im working on coding agent writing code dynamically on request for customers. i'd say code itself very simple and aggressively cached, and patternalized, e.g. we adding lots of hints to the system.

the only real family models that work were claude and openai, surprisingly, for tasks that needs faster speed, gpt 5.4 is very impressive. Deep seek was very average , doing things somewhere in gemini flash 3.0 domain.

I am curious - Is there a way to switch between models depending on the task? Because I believe Deepseek V4 is not multimodal and it will be good to switch back to Claude if vision or other capabilities are required.
I was looking into something similar because I wanted to test a local model for doing basic coding and smart model (deepseek) for planning.

It's basically not possible with claude code, the api endpoint is a single environment variable and whatever models are on that endpoint are what's available.

HOWEVER, if you run a proxy like LiteLLM, you can configure it to send requests to different api endpoints on the back end and expose them as different "models" on the front end, then configure claude code to switch between those virtual models.

Found this: https://github.com/farion1231/cc-switch

It allows for switching models in Claude Code.

Right that says it has a proxy feature so it can probably do what I was describing with LiteLLM
Check out the project called superpowers. It can use different models for different agents. I use it witb opencode to have different models for reaearch, planning, execution, testing etc
There is a tool called deepclaude, which runs a proxy in the background capable of doing this, by simply doing /model in Claude.
i've been trying that, in reality every time you try to save it, it's not worth it, the cost of mistake is so high , you can spent 2-3h on just wrong assumption, you lost your time and all the burned tokens.
It seems you can use the Claude Code CLI harness without a Claude Pro subscription now, which I don't think you could a before?

I've been using Deepseek v4 with Cline in VS Code as a replacement for Github Copilot, and it's not been too bad.

The npm install of Claude Code deprecated, since Feb 2026.
Surprised Anthropic hasn't done anything to restrict Claude Code from using other providers.
At this point in the AI wars, it is probably better to have more users of Claude code rather than restrict which LLMs it can connect to. Claude code is probably (currently at least) stickier than the LLM model itself. Getting people into the Claude code ecosystem is worth it.

Later, they can always lock it down more or add Claude LLM only features to it.

The value of Claude Code the harness isn't that great. There's a lot of other good harnesses out there.
And it gets dragged down by Anthropic actively injecting unhelpful things into prompts without telling users about them (https://github.com/anthropics/claude-code/issues/58262).
I thought so, and then I tried Opencode and Codex and started to appreciate Claude Code a lot more. They've actually done great work with the small details.
I actually have't looked back since trying opencode The ability to properly see what the agent is doing in tool calls and subagents is really unmatched, CC strips all reasoning and return values, only displaying tool calls, and you're unable to expand a single subagent, it's expand everything and scroll endlessly or show everything collapsed with basically no info at all (read x files, ran x commands) Just seems like extremely basic features are missing
What’s your favourite harness? Is there any benchmarks for harness like LLMs have for swe verified?
There Seen to be more and more harness benchmarks out there, pretty interesting read:

https://neuralnoise.com/2026/harness-bench-wip/

You can check my profile for which one I like most :) I do think there have been efforts to benchmark different harnesses.

Personally I'm not going to choose one harness or another based on +/- a few percentage points in a benchmark. I'm going to use one the one that I find the most ergonomic, that isn't too bloated, etc. The models are the primary lever, not the harness.

Good or better? Curious which would be in either bucket.
Probably a matter of taste. I prefer the harness I wrote, I don't want to go near Anthropic's bloated mess of a harness with a 10-meter pole.
IMHO the ergonomics of their tooling are not great. I'd rather use Codex or even OpenCode. Configuration alone is very arcane with lacking documentation. Sandboxing/permission system is quite confusing too.
It went the other way, you can't use other harnesses to connect to the cheaper versions of Claude. So clearly they think their current moat is Claude Code use, not the LLM itself.
That's interesting. I thought Claude Code is not as good, therefore people want to use Claude model with other alternatives. This is the other way around.

Which begs the question, regardless of the model, which Claude Code alternative is better? (I keep saying "Claude Code alternative" because I don't know the term... LLM CLI?)

AFAIK the two most popular open source harnesses right now are OpenCode and Pi. They take a pretty different approach, OpenCode includes a lot of features while Pi is very minimal by design and focused on extensibility, to the point where many people are just asking Pi to write a plugin for itself whenever they want it to have a new feature. I personally like Pi's philosophy more and I think its developer justified the choices really well in his blog post:

https://mariozechner.at/posts/2025-11-30-pi-coding-agent/#to... (the pi-coding-agent section)

Author blocks referrals from HN, weirdly dramatic, especially considering they have 1086 karma here. I wonder what we did to them.
Oh damn, I haven't noticed because my browser removes the referer header. But I think the image on the block page is a pretty good answer to why he did that.
What's the image trying to convey? Genuine question, I just come here to read nerd stuff and I'm not aware of any controversy
The common term for a tool that wraps an LLM with a workflow is “harness”.
I've seen good results with opencode connected to glm 5.1 on ollama cloud... for $20 a month you get similar performance that you get with opus 4.7
I love oh-my-pi, but I'm not sure if it's "better". Maybe just as good.
I use DeepSeek v4 flash with CoPilot and it works pretty good.
I'm my experience claude code is kind of shit.

Pi works very well with deepseek though

It works very well with OpenCode. My team keeps hitting the 5h limits on other subscriptions and it's pretty good to have Deepseek as a backup. I just put 50 bucks on there and it feels like it'll never run out.

It's not good enough to fully replace any of the frontier models yet but it's definitely great to have as a backup!

Why do you need them to provide a coding agent? Just use their model with any off the shelf coding agent. I happen to prefer Pi, but use whatever works for you.
Yeah, I'm using Pi with their models through an OpenCode Go subscription and it works pretty well. 10 bucks and V4-Flash is virtually infinite.
I probably have an unfounded assumption that whatever coding agent they make will work really well with their models, better than external harnesses. I don't have a good sense for how all the model + harness combinations compare, nor any good way to compare them myself, but generally believe model companies train their models to work best with their own harness.
I've noticed that models have gotten less finicky with this over time. Harnesses don't need to be complex to get good coding performance from models, they just need to implement some sane primitives for code exploration and editing.
It is in the model's provider's interest for you to believe this because they get to lock you into their harness and inference. As models get better they will get better at using any harness, it comes down to how well the harness is actually engineered. I highly recommend you take an hour or two and check out Pi to either solidify or change your assumption. The harness is essentially just another developer tool and can be as opinionated, overly-engineered, minimal as anything else. I would think for DeepSeek, especially, they're efforts are much better spent researching how to make their LLM's better instead of working on engineering a harness that might get some marginal gain building it for their models.

Edit: here is a really good twitter thread about this exact topic: https://xcancel.com/kunchenguid/status/2057700714626105412

What's the best way to use it with Pi, OpenRouter?
> What's the best way to use it with Pi, OpenRouter?

I can't claim it's "the best"...

But the Pi.dev and OpenRouter combo is what I'm doing at home, and I love it. Setup was easy, I can use /model to switch between any of the openrouter models and whatever I'm hosting locally via VLLM.

Open router is a 5% tax? If you use it seriously may as well skip it
I don't have an LLM-positive culture at work. I'm on a bit of an island. Or under a rock.

Anyhow, I'm pulling myself up by my own bootstraps.

For me a 5% overhead is fine... if it gives me better visibility of this rapidly moving field.

OpenCode Go is hard to beat, $10/mo ($5 first month) for up to $60 worth of tokens if used regularly. And no, you don't need to use opencode, they allow any software to use it.
I only use local models myself personally. But yeah, OpenRouter would probably be a good option.
Qwen cli
RL with the harness inputs and outputs of users is one of the primary improvers of model performance, a self perpetuating flywheel.
Earlier this week I started testing Chinese models on my codebase. I haven’t really looked at interactive coding yet, but more at issue triage, bug auto-fixing, log analytics, etc.

I used DeepSeek, Kimi, GLM, Qwen, and MiMO against GPT-5.5 high as reference, all running in Pi harness without anything installed.

So far, Kimi and MiMO look the most promising to me. I haven’t tested them rigorously enough to make a strong statement, but my first impression is that, in practice, all those models may be less behind on typical daily tasks than people think.

They are a bit “work hard, not smart". Getting to same-ish results more slowly and using more tokens, but at a fraction of the price

I just did a little comparison using benchmarks for GPT 5.1 through 5.4 to map out the equivalent capability-level of some of the Chinese models.

Based on these benchmarks, here's a rough mapping:

- Qwen 3.7 ~= GPT 5.3

- Kimi K2.6 ~= GPT 5.15

- DS V4 ~= GPT 5.1

So yes, we have GPT 5 at home now. No need to pay the Legacy Labs anymore.

Here's the benchmark I used since I can't post images here: https://x.com/trydotworks/status/2058004995195490706?s=20

I switched to predomentantly using mimo this week, mostly out of curiosity to see how dependant I was on frontier models. Honestly I cant really tell the difference. I would say I work on pretty average codebases with well know frameworks doing pretty typical things and initial impressions is that mimo, kimi and deepseek can probably handle what I need more or less the same as gpt5.5 or claude.
I personally really like DS4 Flash - it's the largest I can run locally with decent speeds and I feel like it's good enough to maintain a codebase with less effort
What hardware and quant do you run it with?
maybe i need to give it second chance, surprisingly Kimi 2.6 consistently fail even to generate valid json plan, where gemma 4 was doing really good, but slow.
Are you going through OpenRouter or direct? I’ve had nothing short of excellent results from Kimi.
I would prefer a coding agent to be somewhat independent of the model provider. Providers are trading off on quality, features, and price so frequently, and I don't want to keep changing my agent every time.

I am looking forward to things slowing down and stabilizing. I'm not saying that should happen today, just I am looking forward to it.

I think this will happen much sooner than we thought. Maybe it will happen in next 6 months
You can take Codex today and ask it to rewrite itself to work with any API
There is OpenCode and Pi, they both work pretty well
You no longer need "their coding agent". You can hook up claude code to use Deepseek. Works perfectly.
Zed's Agent natively supports a DeepSeek API key now. (do not use it through OpenRouter if you want to save the most cost)
Give pi a try if you haven't already. Avoid vendor harness lock-in.
You can use DeepSeek with my coding agent VT Code. Recently I've added DeepSeek V4 Pro and DeepSeek V4 Flash support with all providers, via: Official DeepSeek API, HuggingFace, Ollama Cloud, OpenRouter providers.

> https://github.com/vinhnx/vtcode

antirez's ds4-agent works quite fine. It runs on any Apple Silicon device with 96GB RAM or more.
I wonder how many years it'll take for the API token cost to exceed the money spent on ram.
The DS4 folks are unofficially testing ways to run the model with lower performance on lower-RAM machines. Similar efforts are going on with llama.cpp. The results are a bit of a challenge, prefill time tends to explode which is a limitation if you care about agentic workflows.
Anything that runs with 64?
You can just try it yourself, it will probably run with a heavy slowdown using SSD offload.
All the major coding agents already support DeepSeek.
open code works with them today. I've been using it fulltime for 2 weeks so far.
Using it with Pi and can only report good thing so far. I'm very impressed by how good it is (also it's way slower than Claude Sonnet and GPT-5.5 and often thinks "too much" before starting).
And not letting you opt out of being their training data.
Why not OpenCode? Genuine question, not an expert..
Both pi, opencode and zed work amazing with deepseek.
You seem to have tried a few things, if you don't mind I have a few questions as someone currently on Claude Code but would prefer to not lock myself in a commercial ecosystem (and their pricing change regarding headless usage is annoying me):

- how do/would you add the WebSearch tool to your harness? pay for a separate service or does deepseek offer something with their subscriptions?

- do pi/opencode support pasting images in prompts?

- how do you handle reading images? deepseek is not multi modal IIRC? do you pay for another model and route to it?

Any of these missing would really annoy me in day to day use...

Brave, Exa, and Tavily all offer a free tier for websearch, after that it comes out to like 1¢/search, very easy to ask pi to build a web search tool using any of these providers.

They support image locations like a file or url, but not regular images (opencode desktop might though?)

Both pi and opencode make it very easy to change models so you can easily call to 5.4-mini or whichever multi-modal LLM for reading images. I'm sure you could even create a skill to automate the process too, having the model use the cli to send the photo to the multi-modal and give it back a description.

I use them for pure coding, but I think they do curls when needing something from the host machine.
Yes I'm also using it for coding: I often make the agent use WebSearch in the research phase when deciding on a stack or a library or research best/modern practices to do achieve something. As for images I find it super useful to be able to paste snipped screenshots to show the agent when something is wrong in a UI/frontend or just something I can't copy paste easily.
there already is a open-sourced deepseek-tui coding agent. besides, you can always connect to opencode.
i have done some amazing things for 5 dollars, using opencode. give it a shot, it is incredibly cheap