r/opencode • • 28d ago

Is This Normal

Post image

If The Monthly gets 100% will i run out of this?

It's only been 2 days😭

64 Upvotes

55 comments sorted by

View all comments

54

u/[deleted] 28d ago

[removed] — view removed comment

22

u/cloudsourced285 27d ago

Bro, if he could read he wouldn't be in this situation

→ More replies (1)

15

u/Ylsid 28d ago

DS4.1 absolutely chews through my monthly tokens and barely using the 5 hour

18

u/TronnaLegacy 28d ago

Weekly lets you use half your monthly in one week and 5 hr let's you use half a week in 5 hr. Compared to other providers like Anthropic and OpenAI, OpenCode Go lets you be more bursty. The responsibility is yours to manage your monthly usage.

-3

u/Ylsid 28d ago

Well yea it just seems odd you can blow through your monthly quicker than the 5 hour

10

u/TronnaLegacy 28d ago

You can't.

-4

u/Ylsid 28d ago

I do regularly

I'll have like... maximum 15% on the 5 hour but 10% of monthly

I don't get how on earth anyone could use all the 5 hour limit without running multiple agents at once

→ More replies (3)

5

u/Mixermachine 27d ago

are you 100% sure you are using DeepSeek v4.1 Flash?
A full 5 hour/weekly/monthly quota is a ton of tokens for this model.
What does your cost break down in the Opencode Go console show you?
How man DS4.1 tokens did you use?
Maybe a caching issue too?

4

u/Ylsid 26d ago

Yup! It says my cost is 50 dollars (way less than the promised $100!!) with ~25k requests and about 9 billion tokens

Which I admit is a lot, but I was having a lot of fun vibecoding for four days straight. It's honestly kind of mysterious to me I never reached the 5 hour limit

1

u/geteum 25d ago

That's crazy, I vibe code 2-3 projects at the same time at least 5 hours a day, every week and I never used my whole 10 dollars sub. Sometimes I even run some of the more expensive models.

I really don't know how I could spend more. If I would increase the number of projects I'm "vibe coding" at the same time I would not be able to keep track of what is being done.

1

u/Ylsid 25d ago

Really? I'm super curious of your setup. I watched several million tokens of input generated just as it browses my code.

2

u/geteum 25d ago

One thing that should help keep you tokens usage low is avoiding big context chat. Before I used to use one chat session for everything, let the compaction do its thing. But I noticed nwith the 1 M context windows this was just inefficient. Btw, these three projects have massive code base.

1

u/Ylsid 25d ago

I was using one chat per project because I assumed it would have enough context to be more efficient, but perhaps not

1

u/geteum 25d ago

Oh, that might what is eating your tokens. I think the rate is more expensive after 256k context tokens. You should try doing one chat session per feature or theme. Sometimes it is better to keep a big context but I rarely keep using a big session.

1

u/Ylsid 25d ago

I certainly will try it!

1

u/[deleted] 25d ago

[removed] — view removed comment

1

u/Ylsid 25d ago

My assumption was having it re-read a bunch of the old files would be way worse than if they were in the prompt cache already

1

u/Mixermachine 25d ago

That is truly a lot. Did you install any plugins that use additional quota?
I had installed pi-hermes-memory in PI for a longer time and only later checked it's token usage. This plugin was constantly reviewing the memory via LLM calls.
Lots of non cached reads.

After removing that plugin, my usage went down quite a bit.

Also, check the details on the requests in the OpenCode Go Web Console.
You see there how high your cache hits are per request.
Maybe you have a plugin that constantly changes your system prompt?
That would invalidate your full cache.

1

u/Ylsid 25d ago

Hm, I haven't, but I do have a couple of MCPs. My numbers are these:

Requests Input Cached input Output Cost

21,918 51.9M 8.695B - 14.7M $50.50

So that looks like an excellent cache rate, right? I'll do as you say and really comb through the system prompts

1

u/Mixermachine 24d ago

Cache rate is very good but your cache size is high.
You average a cache size of nearly 400k.
That is massive.

If you would have an average size of 200k you would have only spent around 35$ instead of 50$.
At 100k it would be around 27$.

I recommend to compact or start new sessions more often.
Put important stuff in your AGENTS.md.

1

u/Ylsid 23d ago

Will do then! I suppose I figured since I had 1m of context using 600k regularly would be fine

1

u/Mixermachine 23d ago

it is fine, you just pay for it ^^

1

u/Lord__Sam 27d ago

Use flash model bruh

1

u/Ylsid 27d ago

i do :(