r/opencode • u/Glittering_Worker577 • 1d ago
help
can any useful human being help me reduce my token usage its honestly insane, ik i use the free tier ik im not entitled to anything free (for the assholes that just wanna hate on anybody that uses anything free) and yes i am grateful there is a free tier but my main issue is that like after barely one prompt im down 10mil tokens and my shit is up idk what i can do im thinking of switching to another provider, someone did point me towards commancode, ive been thinking about getting the one dollar subscription but first i wanna know if any of you guys think you could help and what your thoughts are about commandcode (if you are a piece of shit human being and an asshold please dont comment i dont want any hate i wanna be left alone because alot of yall are creeps and wierdos and send me death threats the second i mention im a free user i want no issues i just want some help)
3
u/megablue 1d ago
not much you can do, free tier is extremely constrained. say, i have a way to let you cut your token usage by 50%, how many prompts you can do? 2x more, you still cant get much done.
2
u/FoidBeater67 1d ago
measure your token usage and cache hit ratio. min-max that. profit.
2
u/branik_10 1d ago
using vanilla opencode might help. remove all plugins, instructions, skills and frameworks if you have any
2
u/Ariquitaun 1d ago
Disable all of your MCPs and remove all of your skills then try again. Use what the harness provides only.
1
u/shadowtheimpure 1d ago
Unfortunately for you, the free tier is so nerfed that there isn't a whole lot you can do. $10USD per month gets you Go, which grants you literally billions and billions of tokens of DeepSeek. That's what I ended up doing because I got frustrated with the free limits.
1
u/ResponsiblePhantom 1d ago
free usage ? i bought 10$ and i am spendig it like crazy LOL
this thing isn't as cheap as these guys are bragging here
1
u/RiceEvening4211 17h ago
That 10M-tokens-per-prompt burn is almost always context, not the model. Every turn re-sends the conversation history plus tool results, so a long session compounds fast. A few things that actually moved the needle for me:
- Start a fresh session per task and keep the working set small — don't let the agent read whole directories when it only needs two files. Remove MCPs/skills you aren't using for that task (others already said this, and they're right).
- The bigger lever is routing: send the easy stuff (summaries, small edits) to a cheap model and only use the strong one for hard reasoning. I do that with Lynkr (https://github.com/Fast-Editor/Lynkr) — it's an open-source LLM gateway that routes by task difficulty across 14+ providers, compresses JSON tool results (up to 84% fewer tokens there), and has a semantic cache with sub-200ms hits, which is exactly where that context bloat lives.
- Don't just switch providers blindly — the same workflow on a paid model burns the same way, just more expensively. Fix the context first, then pick the provider.
0
u/ReflectionMaximum935 1d ago
Buy the commancode go for 1usd. U could get 1billion token usage. The catch is there no API. Need to use their client only