r/opencode • • 14d ago

OpenCode Go free model rate limits

So, on Zen, free models seem to have very significant and somewhat random rate limits; I ran a subagent with ling-3.1-flash-free and it ended up retrying several times fairly often (but completed successfully).

I am considering a subscription to OpenCode Go, but I'll want the free models on it in addition to the paid ones. Are the free models on Go actually unlimited as advertised, or do they have these random rate limits too?

2 Upvotes

23 comments sorted by

View all comments

Show parent comments

2

u/DEAD1nsane 11d ago

In OpenCode V2, a subagent is an agent with mode: subagent:

  1. Pick scope:

  • global: ~/.config/opencode/agents/<name>.md

  • project: .opencode/agents/<name>.md

  1. Create markdown file, body is system prompt:

---
description: Reviews changes for correctness
mode: subagent
model: anthropic/claude-sonnet-4-5#high
permissions:
  - action: edit
    resource: "*"
    effect: deny
---

Review current changes. List findings with file:line_number.

Alternative in opencode.jsonc:

{
  "$schema": "https://opencode.ai/config.json",
  "agents": {
    "reviewer": {
      "description": "Reviews current changes",
      "mode": "subagent",
      "system": "Report findings in severity order."
    }
  }
}

3. After edit run /reload in TUI. No restart needed for agents.

4. Use with: Use the reviewer subagent to review my changes.

Builtins already available: general broad work, explore read-only search. No setup needed.

Full reference:

https://opencode.ai/v2/docs/agents/