01What is Claude Sonnet 5 vs GLM 5.2?
Claude Sonnet 5 vs GLM 5.2 is a side-by-side comparison of two top AI models. This episode tests both on coding, game creation, web design, and benchmarks. The goal is to find out which model gives you the best results for your money.
Claude Sonnet 5 is a closed-source model from Anthropic. GLM 5.2 is an open-source model from Zhipu AI. Both are powerful, but they have different strengths.
In this episode, Julian Goldie shows real examples to help you decide which one fits your needs.
02Main Features and Benchmarks Compared
Both models have strong features, but they differ a lot on benchmarks. On Cursor Bench, Sonnet 5 scores 61.2%, while GLM 5.2 scores 54.6%. That means Sonnet 5 is better for coding tasks.
However, Opus 4.8 scores even higher than Sonnet 5, so if you use Claude, Opus 4.8 is the smarter pick.
Fable 5 is expected to drop within 24 hours and will likely beat both. Also, pricing matters. Sonnet 5 is two times more expensive than GPT 5.5 and five times more expensive than GLM 5.2.
GLM 5.2 also has a million-token context window, and it is open source. This means you can use it with tools like Hermes or OpenClaw, but you cannot do that with Claude because they block OR login.
- Sonnet 5: 61.2% on Cursor Bench, closed source, higher price.
- GLM 5.2: 54.6% on Cursor Bench, open source, lower price.
- Opus 4.8: Outperforms Sonnet 5 on most benchmarks.
- Fable 5: Expected soon and likely the best option.
03How to Set Up GLM 5.2 with Claude Code
If you want the power of GLM 5.2 but prefer using Claude Code, you can set up something called GLM Code. This lets you use GLM 5.2's brain inside Claude Code. The setup is simple and gives you the best of both worlds.
- Open the Agent OS system on your computer.
- Look for the section that allows custom AI model integration.
- Select GLM 5.2 as your preferred model.
- Connect it to Claude Code's interface.
- Start using GLM 5.2 for your coding tasks.
- Use the memory system to link everything together.
This setup works pretty well. You get the agent harness of Claude Code, but you can plug in GLM 5.2. That way, you can use the cheaper, open-source model without losing the tools you like.
04Real Tests: Games, Web Apps, and Operating Systems
Julian tested both models on several projects. For a dungeon crawler game, GLM 5.2's output was decent. Sonnet 5's version had smoother graphics but was too dark and had no gameplay.
It was just walking through a maze, which was not impressive.
For a ray caster maze, Sonnet 5 actually won. GLM 5.2's version was super buggy. For a game called Dragon Realm, GLM 5.2 was slightly better with more characters.
Sonnet 5's version was basic with no characters. For a web OS, GLM 5.2 saved notes and apps correctly. Sonnet 5's version saved data too, but the background felt less smooth.
- Sonnet 5: Better ray caster maze, but poor dungeon crawler.
- GLM 5.2: Better Dragon Realm and web OS experience.
- Sonnet 5: Basic landscape and less interactive.
- GLM 5.2: Cleaner UI and better finishing touches.
05Results and Comparisons from the Episode
The results show a mixed bag. Sonnet 5 holds its own on some tasks, but GLM 5.2 often wins on polish and consistency. On web design, Sonnet 5's output feels super basic.
GLM 5.2's version is cleaner and nicer, though it uses the generic AI purple gradient.
For a game called Neon Drift, both did well. GLM 5.2's version was fun, and Sonnet 5's was cool too. For an RPG called Dusk Wanderer, GLM 5.2's landscape and colors were much nicer.
Sonnet 5's version was basic in comparison. On GoldieBench, Fusion and Hermes agents are at the top, followed by GLM 5.2, then Opus 4.8, and then Sonnet 5.
Overall, Julian says he would stick with GLM 5.2. It's cheaper, open source, and consistently outperforms Sonnet 5 on many tests.
06Pricing, Limits, and Mistakes to Avoid
Price is a big factor. Sonnet 5 is 1.2 times more expensive than Opus 4.8 and two times more expensive than GPT 5.5. It is five times more expensive than GLM 5.2.
If you use coding plans, GLM 5.2 is much cheaper.
One limitation is that you cannot use Sonnet 5 with tools like Hermes or OpenClaw. Claude blocks OR login, so you must pay for the API. GLM 5.2 does not have this problem.
You can use it with many agent tools, which gives you more flexibility.
- Don't just pick a model based on price if you need top coding performance.
- Check if you need open-source flexibility for agent tools.
- Consider that Sonnet 5 is a step up from Sonnet 4.6 but not better than Opus 4.8.
- Remember that GLM 5.2 is cheaper but scores lower on coding benchmarks.
Julian warns against chasing the latest model. Instead, build a system that can adapt to any model.
07Who Should Use Which Model and Why
If you do a lot of coding, Sonnet 5 might be worth the extra cost. Its Cursor Bench score is higher, and it performed better on the ray caster maze. However, if you care about web design, overall polish, and cost, GLM 5.2 is the better choice.
Julian recommends Opus 4.8 if you must use Claude, because it crushes Sonnet 5 on benchmarks. But if you want to save money and use open-source tools, GLM 5.2 is great. You can also use GLM 5.2 with Claude Code for the best of both.
In the end, the most important thing is to not rely on a single model. Use systems like the Agent OS to switch between models as needed. That way, you are always ready for whatever comes next, whether it's Fable 5 or another release.
08Final Verdict and What Comes Next
So, who wins? Julian says GLM 5.2 is his choice for now. It is cheaper, open source, and gives consistent results.
Sonnet 5 is better for specific tasks like coding, but it costs more and has limitations.
Keep an eye out for Fable 5, which should drop within 24 hours. It is expected to be even better than both. Julian plans to test it and plug it into his systems.
Remember, the best approach is to have a flexible system, not just a favorite model.