Skip to content
Tech News
← Back to articles

GLM 5.2 vs. Opus

read original more articles
Why This Matters

The release of GLM 5.2 marks a significant advancement in open-source AI models, offering a cost-effective and accessible alternative to closed models like Opus. While Opus currently outperforms GLM 5.2 in speed and output quality, the open nature of GLM 5.2 ensures long-term availability and customization, which is crucial for developers and organizations seeking reliable AI tools.

Key Takeaways

GLM-5.2 just came out, and it's another step forward for what open models can do. The internet promptly freaked out, and it's hard to tell what's real and what's hype.

So we ran it head-to-head against Claude Opus 4.8: same one-shot prompt, build a 3D platformer in raw WebGL from scratch. Here's our take after running the test and digging through the benchmarks and the buzz.

We're not switching our main off Opus. In our test Opus was faster and shipped a cleaner, more correct game, and it can check its own visual output, which the text-only GLM-5.2 can't. But GLM-5.2 earns a permanent spot in the arsenal: it's a genuinely capable model at a fraction of the price, and because it's open weights, it'll always be available. A closed model can be retired or restricted with little warning (Fable was a recent reminder); weights you can download can't be taken away.

You can play both games right now, or grab the source:

What GLM-5.2 made, start to finish. What Opus made, start to finish.

Both are browser games written from scratch, with no game engine or 3D rendering library like Three.js. The 3D models are free CC0 assets from Kenney.

Here's how the two runs compared:

Metric GLM-5.2 (Pi/OpenRouter) Opus (Claude Code) Wall-clock build time 1h 10m 40s 33m 30s Output tokens 131,000 216,809 Peak context window 16% of 1M 19% of 1M Tool calls 128 153 Cost $5.39 (real billed) ~$21.92 (estimate, list pricing)

GLM-5.2 cost a fraction as much. Opus finished in half the time and shipped a cleaner game.

On paper, the benchmarks put GLM-5.2 just behind the top closed models, and the online buzz is a mix of genuine signal and astroturf. We get into both below, after the game.

... continue reading