r/opencodeCLI • • 19d ago

Is OpenCode-v2 a token furnace compared to v1?

I'm using GLM-5.3-Flash on Neuralwatt, and the ranxianglei/billion-context for context management. I don't have hard quantifiable evidence, but ...

  • Cache performance is great: 99.2% hit rate (676.49M / 682.21M tokens)
  • 1.18M output tokens across 3,598 calls... that's a LOT of little calls each not producing all that much output
  • I'd never spent more than $10 a week on Neuralwatt energy pricing, and this week I've spent $30

I can see in the console it's doing multiple dozens, sometimes 100 commands, thoughts, and tool calls before it comes back to tell me anything. And I'm not sure if the output is any better - it's just churning away through calls. Almost like it was made for even cheaper models than the one I'm using it on. I used to switch up to full fat GLM-5.3 for certain tasks but I feel like it's gonna burn tokens even faster when I do.

15 Upvotes

24 comments sorted by

22

u/look 19d ago

I’ve seen no issues with v2, and I’ve been running it for a while now. Just an all around massive improvement over v1 for me.

3

u/roosterfareye 19d ago

My experience as well.

1

u/adlx 19d ago

What kind of improvements? I haven't tried it yet. Can I install v2 in parallel to v1? Maybe just locally for a project? Or will v2 update and mess with my global config?

3

u/look 19d ago

I ran it in parallel for a while and it managed fine. V2 can read V1 config, but plugins often won’t work. And if you want to start tweaking config for V2, it might start to cause problems going back and forth.

And the biggest improvement is how plugins, extensions, etc work in V2. It is much more programmable, extensible, etc. It’s a lot like Pi now, in that you can just ask it to add new features and UI and various deep functionality changes and it can just do it for you for the most part.

But initially, the biggest improvement is just all the bug fixes and glitchy annoyances are gone. Persistent quality of life things that had bugged me for ages in V1 are just fixed and solid in V2.

I was looking to replace Opencode entirely after getting fed up with V1, but V2 solved so many of the problems and limitations I was having that I ended up just switching to it instead (and extending and refining it how I wanted) and stopped looking for alternatives now.

1

u/jcheroske 18d ago

Have you used pi? What does it do really well?

1

u/look 17d ago

It’s a very simple base that is relatively easy to extend to add all of the basic features it is missing.

1

u/jcheroske 17d ago

That sounds really interesting. If OC v2 feels lacking, that will be the first thing I check out.

15

u/crotch-mavens 19d ago

"ranxianglei/billion-context for context management"

lmao fuck off

1

u/honglac3579 19d ago

What's wrong? I've been using that for a while now

1

u/milkipedia 19d ago

It helped tremendously with v1 context usage when it was called acp. I don't know if it's providing the same benefit in v2.

1

u/honglac3579 19d ago

Then you could you opencode cache compact, it's pretty straight forward

2

u/BrownCarter 19d ago

Yeah mine was just incrementing a number and printing to screen

1

u/RainScum6677 19d ago

Does not seem very different to V1 in my experience, but I've only been using it for a couple of days at this point.

1

u/ramendik 19d ago

I suspect any jump would be from V2 defaulting to keeping the reasoning in context. I'm working on my own context manager now and folding away aged reasoning was the first step

1

u/xapep 18d ago

Your numbers point away from the cache. 1.18M output tokens over 3,598 calls is about 330 per call, and at a 99.2% hit rate nearly all your input is billed at the cache read rate. So the extra $20 is call count, not context. V2 doing dozens of small calls means request overhead plus a fresh output block each time, and none of that shows in the hit rate.

What I'd track is cost per finished task, not spend per week. Take two or three tasks you did in v1, run the same ones in v2, count calls and output tokens. If v2 needs double the calls for the same result, swapping models won't fix it.

Cache writes usually bill separately from reads, and a 99% hit rate hides that line. Worth pulling the invoice apart before blaming the harness.

1

u/Alternative_Ad3781 7d ago

I like the idea of running the same task in v1 and v2. One number I'd add is cached input per call. OP averaged about 188k cached input tokens per call and 328 tokens of output. At that size, doubling the number of calls would double the cache reads even if the context never got any longer.

I ran into this testing AnyCode, the CLI I maintain, on GLM-5.3-Flash. About 96% of my input was cached, and cache reads still made up most of my estimated token cost. OP's on energy pricing, so I'd be curious to see calls per task, cached tokens per call, and what Neuralwatt actually charged for each run.

-8

u/ArC3488 19d ago

Opencode GO simps will call you entitled for this lmao

5

u/squirrelscrush 19d ago

You can use whatever harness you want with Go, no problem.

0

u/ArC3488 19d ago

the problem is not the harness tho, it's the service

-10

u/Heretek-ai 19d ago

Opencode sucks as a harness, god Claude Code has quality of life features I would kill for, like marketplaces, LSP, AST, easier plugin and mCP Management. Opencode is always writing one of programs for every small task

2

u/lostcanuck007 19d ago

why not just use hermes.

-1

u/Heretek-ai 19d ago

Pi is my preferred with openrig. Hermes is unreliable for long long projects.

1

u/lostcanuck007 16d ago

very intersted to hear more about this. like iv been using hermes since last year. its gotten to the point that its more like its own OS, and less a harness.

i dont know what you mean by long projects but iv had a hermes instance run non-stop for a few months (resuming when the model would quit/timeout) on the same thing.

would love more details

1

u/adlx 19d ago

I'm using opencode at work for 6 month now, can't use anything else. Copilot cli, Claude Code, I always come back to opencode, I'm still on v1.