GLM-5.1 isn't just as good. It is no match for Opus running in Claude Code. Please try it yourself. Open source models are about a year behind at least.
At work I mostly use Claude Code and a bit of Codex; personal projects are OpenCode and honestly I prefer it.
None of them are quite opus, but they are damned close and a no brainer if you care at all about cost.
For me, it feels like widely available open models have recently crossed that same canyon. Are they as good as e.g. late-model Claude Opus? I don't think so. But they have absolutely gotten past the point where they are beneficial. This means that, for me, they are about six months behind.
Not sure about other domains though.