For developers building on open weights, DeepSeek V3.2 and GLM-5 are the two coding models to benchmark first. DeepSeek V3.2 brings sparse attention, strong reasoning-in-tool-use and the lowest prices around, making it a superb value backbone for high-volume coding pipelines and agents.
GLM-5 is engineered specifically for agentic engineering and long-horizon coding, leading the open-weights intelligence index at launch and excelling in coding harnesses. In practice GLM-5 tends to edge complex, multi-step agentic coding, while DeepSeek V3.2 wins on raw cost-efficiency and broad value. Both are open-weight and self-hostable, so the call comes down to coding depth versus price-per-token.
Which should you choose?
The verdict
GLM-5 leads on agentic, long-horizon coding; DeepSeek V3.2 leads on cost-efficiency and value. Both are top open-weight coders — benchmark them on your stack.
Watch the comparison
DeepSeek V3.2 vs GLM-5 — video reviews on YouTubeWatch hands-on tests and side-by-side demosFrequently asked questions
Which is better for coding agents?
GLM-5 is tuned for agentic engineering and often edges complex tasks; DeepSeek V3.2 is a cheaper, very capable all-rounder.
Are both free to self-host?
Both ship open weights under permissive licences, so you can self-host either, subject to licence terms.