r/opencode • • Nov 04 '26

CRAZY things are brewing

Post image
1.4k Upvotes

210 comments sorted by

View all comments

15

u/azadkashur Nov 04 '26

I don't know what's happening behing the scenes, but I gave same task to OpenCode and Cline with same backend provider, using DeepSeek-flash-1701.

In Opencode my API usage was ~$14 and in cline my API usage was ~$4.

Same model, same provider just different harness. For context, opencode session had 5X cache tokens

11

u/reybrujo Nov 04 '26

Geez, that's insane, one task $14? That sounds like "Write a SNES emulator, make no mistakes" type of prompt.

3

u/azadkashur Nov 04 '26

I build a multi-phase plans, as I work on a large backend system. I do a lot of testing per each phase, and make sure it's "green" before moving to next. So yeah. It's a make no mistakes kind of prompt.

4

u/samxli Nov 05 '26

More like, “it’s okay to make mistake just make sure you fix them and keep going” type of prompt.

2

u/Easy-Mad-740 Nov 05 '26

I do the same, with independent reviewers for every single PR and extensive testing, but never reached more than 1-2 dollars per task

1

u/azadkashur Nov 05 '26

AI, is good to get the job done faster, but I'm yet to find a model which will execute anything flawless and without needing supervision/checks and balances

7

u/theresurrected99 Nov 04 '26

Cline does write less. That's a problem in cline. I watched it carefully saying I spent 0.90 cents. While the deepseek platform itself says $5. So cline isn't trusty on that

3

u/Dantzig Nov 04 '26

But the harness litterally decides what to send to the model so is it surprising?

3

u/azadkashur Nov 04 '26

Yes, that's why, I moved to Cline. OpenCode is starting to become Microsoft of harnesses. Too many things in the background.

3

u/ZeroSkribe Nov 04 '26

Pi enters the chat

2

u/Few-Strawberry2764 Nov 04 '26

What about cline vs dsh?

0

u/Dantzig Nov 04 '26

Claude code can be run with other LLM's than Anthropics afaik

1

u/No_Committee8392 Nov 04 '26

Yep. not sure of its “easy”/integrated yet though i think you still just need env vars for it

2

u/TimChr78 Nov 04 '26

They definitely has different default reasoning levels - if you set the reasoning level explicitly you should see much closer token usage on OpenCode and the official Deepseek api.

1

u/Negative-Web8619 Nov 04 '26

Automatic context compaction by Cline?

1

u/Upstairs-Version-400 29d ago

Try Pi, I would be very curious because I spend less than 50c on moderately heavy tasks