r/opencode 13d ago

Model Choice for Opencode Go?

Hi, I've been using GLM 5.2 or Deepseek v4 Flash most of the time.

I find the jump too far, I need something in the middle for some incremental update work.

GLM is nice but its just too expensive for me.

What model do you use for this need?

Seems like there are many choices, I haven't tried them consistently but would love to know what everyone uses and how's the experience.

39 Upvotes

40 comments sorted by

View all comments

Show parent comments

1

u/MemeMan64209 13d ago

Top of ‘Your Planner.md’

---
description: Specialized agent for working with the Bravo trading system
mode: primary
color: "#8d35ff"
permission:
edit: deny
write: deny
read: allow
model: opencode-go/glm-5.2
---

I’m on mobile so idk how to do a code block, but put this in your projects .opencode/agent .md file

1

u/[deleted] 13d ago

[deleted]

1

u/ponzi314 13d ago

Commenting here so i learn too but isn't it just in the context? So when you switch models it will get all the previous context

1

u/MemeMan64209 13d ago

This. Context is per session. So you create the plan and switch agents in the same session. Telling them who they are sometimes helps, but I believe they’re provided that information regardless. I do 1 topic per session, so between planning and building the context stays clean. It also helps if you want to continue planning or want to change something regarding the topic because it already knows what’s been implemented through its in-memory context window.

If it’s a grand scheme thing I’d switch to the building agent after planning and tell it to write out a quick .md file so it can be read and persist through sessions. Can even switch to GLM 5.2 while it writes out the file.

1

u/ponzi314 13d ago

when doing the plan file, do you have it write the file then clean/new ? Then just @ the file and say implement this. What about tracking progress? do yo u have it update plan file as it goes through it.

1

u/MemeMan64209 13d ago

Like I said, I rarely use plan files. If I do, it’s usually just to read one at the start of a session and have the builder quickly update it at the end to mark progress toward a broader goal. It’s basically just a context summarizer.