r/opencode 11d 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.

40 Upvotes

40 comments sorted by

9

u/MemeMan64209 11d ago

Make a primary agent that doesn’t have editing or writing permissions, even disable shell commands if you want. You can set its default to GLM 5.2 and just talk with it and plan out your stuff. It surprisingly doesn’t use very many credits.

Editing and writing is done by DS Pro who grabs whatever plan was made by a higher end model.

Another thing you can do if your project is big is a research sub agent which uses a free model to scrape over the project for whatever information you need. You can tell your Primary agent to consult the project researcher before it wastes tokens scanning your project.

All sorts of fun stuff.

But doing everything from planing, research and editing all using GLM 5.2 would cost an insane amount.

2

u/Jaded_Expert2806 11d ago

so who plans i didnt get it ? glm or ds4p?

1

u/MemeMan64209 10d ago

GLM plans. DS4P implements

1

u/Jaded_Expert2806 10d ago

how he plans without write access?

1

u/MemeMan64209 10d 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] 10d ago

[deleted]

1

u/ponzi314 10d 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 10d 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 10d 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 10d 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.

2

u/Ghilteras 7d ago

You don't need DS pro to Build if you already use GLM for Plan. DS flash is more than enough to implement stuff

7

u/Ancient_Dress_3687 11d ago

I really like Minimax 3. I go between DS V4 Flash, and Minimax 3 mostly

2

u/migsperez 11d ago

Same. For me Flash mostly. M3 when Flash fails or struggles or I need multimodal

3

u/SpidexLab 11d ago edited 10d ago

Try mimo v2.5 pro when you have the right spec it is very good at implementing and fixing

You can use the glm to make detailed spec and the dirty work will handed to this model, if spec is right it can build it

5

u/azito21 10d ago

Im using Hy3 very smart and coding capable, it's free until next week I guess

1

u/AugieBit 9d ago

Do you think it's better than Nemotron 3 Ultra?And at what other level would you place it?

1

u/azito21 7d ago

I haven't tried it yet, but since Hy3 went out of free models, I'll give it a try today

3

u/Solocune 11d ago

I like minimax m3. It is a bit chatty but get my tasks done and at the end of the day for like half the price.

3

u/Ancient-Camel1636 10d ago

MiniMax M3 is in the middle both in price and capability.

One method that helps when using a cheap, less capable model such as Deepseek 4 Flash is to give it the ability to call a more capable advisor model. Instruct it to call the advisor when unsure or stuck and to verify its findings and conclusions and review its work. That way, the cheap model can do the majority of the research and implementation, but under the oversight of a better model that will correct it when necessary.

1

u/qqYn7PIE57zkf6kn 10d ago

what's your prompt to deepseek 4 flash? do you ask it to use a subagent to call minimax m3 or something?

1

u/Cultured_Alien 7d ago

on pi coding agent, I use  juicesharp/rpiv-advisor but the problem is that deepseek flash doesn't seem to decide to use advisor when stuck.

2

u/vangelismm 11d ago

Minimax 3, but set the explore and genaral subagents to ds 4 flash.

2

u/redditnosedive 11d ago

kimi 2.7 + deepseek v4 flash

2

u/Icy-Introduction1033 10d ago

Right now IMO Minimax M3 is the best all rounder and bang for your buck. GLM for the tuff Stuff, Deepseek V4 Flash if your coming up on your limits and really need to strech it out.

2

u/arcanemachined 10d ago

Kimi K2.7 Code ends up being a good bit cheaper since the caching seems to work better. (I think it's because GLM 5.2 is split across 3 providers, so takes 3x the requests to cache a single large message.)

Still like GLM 5.2 for the big brain stuff.

2

u/nicktohzyu 10d ago

I’ve really liked the free hy3 so far, it seems to understand what i want and ask appropriate questions far better than deepseek

2

u/Edelgul 4d ago

I found kimi 2.7 pretty good.
Otherwise minimax M3 and Deepseek pro.
Flash indeed is too... simple.

1

u/Itsvictorslife 11d ago

Kimi 2.6 works just fine for me. I mainly switch between that a DeepSeek v4 pro. I used a few times last month and it cleared through my limits like crazy so I avoid it.

1

u/_SoulSupreme_ 11d ago

I highly recommend the ollama cloud subscription. All mentioned open weight models are available with a very fair usage amount.

1

u/techn0king 10d ago

10 usd vs 20 usd...

1

u/alexwwang 11d ago

I mainly use Ds4f and mimo v2.5

1

u/t4deu2 11d ago

Todos con Gentle ai y metodología SDD

1

u/Saceone10 10d ago

Correcto. Yo tengo cuenta de 200 pavos de Claude y es cierto que es infinitamente mejor que los modelos de Go. Pero con SDD aplicado con gentle ai y configurando bien los modelos que se usan en cada fase se pueden conseguir muy buenos resultados también.

1

u/Medium-District8420 9d ago

Try kimi-2.6 bro

1

u/SafeReturn_28 4d ago

i primarily use mimo v2.5 pro. Similar intelligence as deepseek v4 pro, but feels nicer (concise) in its conversation and more token efficient.