r/opencode • • 7h ago

how to make free models last longer ?

2 months ago, i could keep using free models for 1-2 weeks wothout interruption. now sometimes 10 prompts with deepseek flash exhaust it and make me wait for hours to be able to reuse it.

i cant pay for now

2 Upvotes

11 comments sorted by

2

u/YoRt3m 5h ago

Use clean sessions for your tasks, be precise with your prompts and give good context

1

u/silenf 5h ago

Use caveman skill

1

u/Tall_Technician_5008 3h ago

for people being hobbyist and just wanting to dabble, that answer was somewhat a non answer.

1

u/pasteldebytes 5h ago

Avoid max reasoning. Try something like code graph or graphql.  Make sure you reduce your agents.md and system skills to the minimum. 

1

u/xKomodo 3h ago edited 3h ago

Max reasoning is fine depending on the task. I recommend have 2 sessions open. One task handles the complicated tasks that you deal with, set it to high or max. The other session is for basic question/queries in that specific code base, should be used at low effort. Build a repo map if your code base is really big. Tell your agent at the start for the low reasoning, to only grep relevant lines to your questions and to utilize the map to find things so it doesn't read the entirety of the file. Also set auto compaction to compact @ 270k context tokens. If you ask why 270k, it's a magic number.(Obviously compact earlier on the simple query session, like 100k). You never want to move reasoning back and forth on a session, it kills cache rates for models that aren't frontier based. Exploration of a code base adds up very fast, delegate that as much as you can to a smaller model which just summarizes what the bigger model may want. (Kinda like setting up a orchestrator). You don't want to feed a simple question/query like 130k context for that one question is the reason to maintain 2 different sessions.

1

u/Tall_Technician_5008 3h ago

Its hard. Especially if you have a projekt running. Free models are usually you getting a sneak preview while training data. My best suggestion would to just sig up for OpenCode, CommanCode etc and swith between the free models.

1

u/NooneLikesYouBill 2h ago

This is why you local. Comes with its own set of costs of course, but if you were around before the saas/subscription/enshitification of everything online you’d understand why it’s worth the price of admission. The only entity that should have the keys to your process is you.

1

u/PyroGamer666 2h ago

If your computer is powerful enough(RTX 3080 or newer), you might consider using a local LLM. Qwen4-35B-A3B is surprisingly capable of completing real coding tasks.

1

u/BertMacklenF8I 59m ago

Download them if you can run them locally

1

u/PerfectReflection155 7m ago

You can’t. Use subq or iceman. It’s free and unlimited I beleive for the moment.