logoalt Hacker News

xyneliustoday at 5:20 PM1 replyview on HN

If that wasn't impressive enough, it's actually ~60x cheaper if you take into account the typical cache-read/input/output split in agentic coding, and the deep discount for cache reads offered by DeepSeek. Opencode has some public data on the typical split [1]:

For DeepSeek V4 Pro the typical split is 750 in, 290 out, 82k cached.

Cost per request for V4 Pro: $0.000875 per request.

Equivalent Opus cost (w/o taking into account cache write costs): $0.052 per request.

[1] https://opencode.ai/docs/go/#usage-limits


Replies

taosxtoday at 7:07 PM

I created a simulation for coding harnesses based on my own pi sessions. When taking into account all factors, DS-v4-Pro is cheaper than gpt-5.6-luna due to caching. Look at the bill segments difference for cache read cost and uncached cost between deepseek and the other models. At this point is cheaper to use ds-v4-pro than the luna models from openai.

ignore the numbers except the classic and keep in mind that classic is based on pi with the only change limiting tool output to 10kb

https://harness.eveid.com/lazy-harness-cost-simulation

* I built this for getting an initial estimate between different checkpoint/ compaction methods for the harness.