r/opencode • • 21h ago

GLM-5.4

It is claimed to be in the 750B to 2–3T parameter range.

I can’t wait to see $60–$100 worth of credits offered once the weights are released publicly.

GLM-5.4, a new AI model from the Chinese company Z.AI, is based on a "loop transformer" architecture; by reusing neural network layers, it achieves performance levels comparable to much larger models.

In the standard transformer models widely used today, each layer is executed only once during a single computational pass. In the loop transformer architecture, however, a group of layers—sharing the same weights—is executed multiple times, allowing the model to re-process and refine its intermediate results. This approach increases computational depth without requiring an increase in the number of model parameters. According to the company, this enables GLM-5.4 to attain reasoning capabilities comparable to models with 2 to 3 trillion parameters.

75 Upvotes

20 comments sorted by

View all comments

16

u/Sufficient-File-3020 11h ago

I already use GLM 5.3 as planner/orchestrator. If glm 5.4 comes to opencode, with usable requests, I‘ll be happy af

3

u/berakpanas 9h ago

how do you make a model as the orchestrator and tell it to use other model to do execution?

5

u/Sufficient-File-3020 9h ago

Agent/Subagent setups.
I made all the agent files with claude free app.
Works pretty well.

2

u/berakpanas 9h ago

damn brother i need to try this

2

u/wwdennis5 7h ago

you can also just tell an agent to use another model for the subagent. I have got this to work on the opencode web version, unsure about TUI but I dont see why it wouldn't work

3

u/petertt86 7h ago

Easiest way is to use deepseek harness, plugin-> subagent->pick the executor, new chat with the boss model you choose and ask it be orchestrator and xxx as executor, then it will work as agent/subagent mode

2

u/Prestigious-Room1250 7h ago

“Hey Glm, create a plan for this….”. THEN, “implement it using this model then call this other model for a code review…”. Bang.

2

u/simpleuss 6h ago

Use Oh-My-Openagent (OMO)

2

u/meerestier 5h ago

Try OMO Slim with Opencode

1

u/Huntware 6h ago

Openchamber has a new feature for a "lead", where you tell them to do a task, and it delegates to a subagent that can be using a different model. Add Jev or a cheap model for auto routing, set which model to use for which kind of task, and enjoy!

1

u/akza07 4h ago

Try Open chamber. Or just opencode will also do it if you tell which model to use per task along with @opencode skill.

If using OpenChamber, set up the default models in settings first. And switch to lead mode after adding your project. Then lead will be a good intelligent model and let the small model be something with high usage and slightly less intelligent ( don't use beam though, it's worse ).

U could run long context projects like that. It'll keep the main session less expensive. Won't save you any tokens though. If you want to save tokens, subagents are not that good.