r/opencode • • 17h 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.

48 Upvotes

19 comments sorted by

11

u/Sufficient-File-3020 6h 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

2

u/berakpanas 5h 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 5h ago

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

2

u/berakpanas 5h ago

damn brother i need to try this

2

u/wwdennis5 3h 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 3h 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 2h 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 2h ago

Use Oh-My-Openagent (OMO)

1

u/Huntware 1h 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/meerestier 41m ago

Try OMO Slim with Opencode

1

u/akza07 11m 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.

9

u/Amarsir 5h ago

I was initially excited and am still a bit optimistic. But in the last week I've learned:

  1. This is basically the 5.3 model with the loop transformer. So don't expect that much, but if this does prove promising then 5.5 will be the release to get excited about. Because that would be updated training plus this tech.
  2. Google took a shot at loop transformers a few years ago and gave them up. Their conclusion is that it's harder to train than exposed separate layers.

3

u/warpaint_james 58m ago

On OpenRouter it does seems that most of the 5.4 providers can serve it much faster than 5.3. So not nothing!

https://openrouter.ai/compare/z-ai/glm-5.4/z-ai/glm-5.3-flash

1

u/Amarsir 30m ago

Yeah, and it’s supposed to be fewer tokens too. I think the tight loops take the place of iterative reruns on high thinking levels.

Considering 5.3 could be rather slow, this will be a very welcome addition.

4

u/P4R4DOXZ 3h ago

I am GLM coding subscriber, 5.4 on Low if very good for most things - its already same/better than 5.3, so i would recommend using it on low or on hard tasks on high, and by "hard" i mean something like hacking nasa cause on max thinking it thinks for hours AND the result is much deeper and better but thats costly.
Its pretty good at 3d modeling too with vision.

1

u/Ariquitaun 3h ago

How do you find your's subscription quota allowance in general and which level do you have?

1

u/CriteriumA 2h ago

In case it helps, I have the basic tier of GLM Coding and Claude's. I can only tell you that right now, neither in usage nor in capability, the GLM plan is of any interest at all—but don't go anywhere near that, not by a long shot.

1

u/KlausDieterFreddek 2h ago

60$ on OpenCode GO Plus as it seems

1

u/Amarsir 16m ago

Well I’m glad it’s here. You can run it on low or medium and use fewer tokens. And I’m sure the quota will go up once its open and running on OC’s hardware.

But right now it looks to be about 1/3 the usage of Kimi K3.1. If not for the price hike Argon just got, it would be more expensive than that too.

(Speaking of which, Gemjni plans don’t even access Argon, but they still serve it to Opencode instead of Neon or Carbon? I’m insulted.)