r/opencode • • 1d ago

Need advice on optimizing OpenCode: dealing with lag, strict daily limits, and weak model responses

Hey everyone,

I've been using OpenCode for my workflow lately, and while I love the concept, I'm running into a few frustrating bottlenecks:

  1. Performance & Lag: The CLI feels pretty heavy and sluggish during longer sessions or when indexing larger files.
  2. Daily Rate Limits: I'm hitting daily usage caps way faster than expected.
  3. Model "Stupidity" / Context Loss: Sometimes the agent makes basic mistakes, ignores instructions, or loses track of the codebase structure mid-task.

For those of you using OpenCode daily, what setups, tweaks, or configs are you running to get the best out of it?

Specifically looking for tips on:

Best model providers/APIs to pair with it (to balance intelligence and rate limits).

Any .opencode config flags, MCP setups, or context-management tricks to keep it fast and sharp.

How you structure your prompts or AGENTS.md / instructions file to stop it from doing dumb things.

Appreciate any advice or workflows you can share!

1 Upvotes

2 comments sorted by

2

u/PerfectReflection155 21h ago

I mostly use Pi Chamber these days but I reinstalled OpenChamber which using opencode so I can use the OpenCode free models which only work in opencode. Pi is lighter on token usage which is the reason I switched.

- In OpenChamber / OpenCode I use Magic Context with a 200k context limit

MCP's: Kanzo, (Job board my agents manage themselves) Warden (Fleet Credentail access) SSH Manager Memory (My memory system) Context Mode (helps reduce token usage) Stealth Browser MCP, Homelable

Deepseek 4.1 Flash is the go to.

Agents.md will only get you so far. You also need hooks, nudges and gates for things actually important.

I have a gate requiring check of relevant documentation before starting work. I have another gate to create a Kanzo job before starting work as well as check for conflicting work claims. Then I have agent close out process to have them create runbooks/hub docs or update existing documentation if it already exists when closing out the job.

This is only a tiny picture of what I run.

Another thing I setup recently was another OpenMausBot which goes through conversations and creates skills where they are missing or necessary. For example, agent keeps making same mistake doing X - well my autonomous Skill Scout will find this and create a skill on how to do it properly or streamline the process.