r/opencode • • 5d ago

For Reference, this is how much tokens opencode go gives you if you used only deepseek

For reference official deepseek api tokens/$ can be found in this discussion: here

Honestly I did try both official API and opencode go, couldn't tell the difference. Though I must say it was only 5$ of official api usage, so my sample size maybe too low. My setup is claude code with cc-fleet skill, claude spins up max 10 deepseek workers at a single time to get things done, reuse session as much as he can to maximize cache hit rate (my cache hit rate was around 97% which is decent). I found deepseek context auto compact around 350k to be the ideal ammount, above that increases unecessary costs with somewhat degrading performance (context rot). I hope opencode never changes deepseek $100 equivalent credits, it's insane value compared to official API.

231 Upvotes

28 comments sorted by

9

u/CleverDaddy24 5d ago

Thanks for cc-fleet skill! I am using only one deepseek worker now, but it look to bit slooow. Will try your setup. Also I used 270k autocompact, but if you say 350k it's ok - even better, will try 350k also. What is your planner/reviewer for deepseek? I am using opus 5.5 high as planner and router and Astra 6.2 as reviewer (works great found a lot of security issues).

5

u/Internal-Welcome-758 5d ago edited 5d ago

I'm using Opus 5.5 as coordinator, opus built a bunch of auto dispatch scripts that auto queue prompts for deepseek workers one after another. The script auto pauses when peak timing starts and auto continues when peak ends to maximize token costs

He sends workers to find out / reports about task, reviews their report, plans and dispatches deepseek again to implement and make changes, review, fix and repeat.

I did try openai sub oauth with cc-fleet skill (gpt 6.1 sol), but it wasn't good, I think official codex cli handles tokens for OpenAi models much better. Currently I just dispatch sol via official codex cli on seperate terminal, he acts like independent reviewer/audit and opus views his reports and takes appropriate action.

4

u/NigeriaBoi420 5d ago

if u have chatgpt plus u get infinite usage. just install sentinelx plugin since chat is free. they r changing this tho

3

u/CleverDaddy24 5d ago

thx! last I heard they merged chat and codex limits, or I understand smt wrong?

0

u/retardedGeek 1d ago

That is changing

1

u/CleverDaddy24 5d ago

Nice setup! Thank you for sharing this. I had found that openai sub models works better for me if I summon them via opencode also (with the same setup I did with deepseek). I like Astra 6.2 for independent review, I's cheaper than Astra 6, so I can use my OpenAi Plus sub with a good ammount of 5h usage.

1

u/retardedGeek 1d ago

How do you handle stalling?

1

u/Plokeer_ 20h ago

if you don't mind me asking, how was this process? where can one learn it?

1

u/Ok-Farm7602 5d ago

How do you maximize the cache hit rate? Is it due to the cc-fleet skill?

I don’t fully grasp AI agents yet, so I still need to dig into it a bit more lol

23

u/songokussm 5d ago

Man that's cool. I do a mix of dsflash, glmflash and mimoflash. I'm getting about half that.

17

u/MLGSW4G 5d ago

I hope opencode never changes deepseek $100 equivalent credits

I hope OpenCode increases it with another phase of Cheepseek 😍

4

u/Edelgul 5d ago

Really depends on the pipeline and cache

4

u/Kitchen_Ad_996 5d ago

same. 1$ per 1B tokens is more than fair.

1

u/Altruistic-Desk-885 5d ago

Usas deepseek como orquestador u otro modelo.

1

u/Creepy_Ear_5879 4d ago

Recomendo Mix Astra 6.2 + Deepseek v4.1 or Hydrogen google + Deepseek v4.1!

1

u/YoRt3m 5d ago

I'm at 43% with 6.06b tokens and 20900 requests

1

u/Decent_Flight4010 5d ago

11.6B cache??? 98% of it is cache.

1

u/chubbyrd 5d ago

11 B tokens is mad

1

u/xatey93152 5d ago

Opencode api calculation is way too high to make it look good. I compare it with round robin for couple months. The difference is maasive

1

u/xmnstr 5d ago

Why use compaction when there's the billion context/acp plugin?

1

u/Ok-Contribution-8612 4d ago

I tried it, and it felt like it raises the usage. Like, on a session with 700mil tokens gone through the summaries of previous turns weighted around 600k tokens, which was taxing me like crazy. All the summaries weight substantially more.

1

u/xmnstr 4d ago edited 4d ago

It does raise the raw token usage, but it also allows for quite different kinds of workflows and especially more autonomous work. That's more than worth paying a slight premium for, because the kind of work you can do can have huge downstream token saving effects. You need to make sure you measure the right thing when evaluating a completely new perspective on long running agentic sessions.

And also, the point about context compression isn't just to reduce token consumption but to reduce the cost of completing a task. ACP means prefix stability, which affects input cache validity (I tend to get 97-99.9%). And a lot of those extra tokens are just cachable.

And there's a third point: It's much easier to get the agent to be in the "smart zone" all the time. Some summarization cost, some reconstruction cost, but overall it's a completely different cost structure.

But listen, if you want to keep manually starting new chats then don't let me stop you.

1

u/Pretend-Pangolin-846 1d ago

Never found one that works, any suggestion?

1

u/xmnstr 1d ago

Well, I mentioned billion context specifically...

1

u/Upset-Ad-8704 4d ago

Sorry, can you dumb it down a bit for me...that is the ROI for the $10 subscription if just using deepseek?

Like $10 of API token would have gotten you x tokens. (is it 100M tokens?)
$10 of subscription got you y tokens (it looks like yours is 12B tokens?)

So it appears 100x ROI?

1

u/pscott_1670 2d ago

Using the post's $100-equivalent figure against a $10 subscription gives 10x nominal value, not 100x. The token count depends on cached input, uncached input, and output mix.

1

u/97845840 4d ago

OK je vais voir avec ma bien 

1

u/AbroadWonderful 1d ago

I'm at 10.668B but I still have 4 days and those 4days are where I consume the most (only 84% monthly usage are used)