Token price is a misleading cost proxy. The benchmark found that a model's per-token price does not reliably predict actual total cost in agentic coding workflows. Larger models can be far more token-efficient, meaning a cheaper per-token model can end up costing more overall if it requires more tokens to complete the same task. This drove Databricks to evaluate models on real, end-to-end task completion cost rather than raw API rates .
Total cost of ownership favored GLM 5.2. Across Z.ai's API, GLM 5.2 is priced at roughly $1.40 per million input tokens and $4.40 per million output tokens . For a team processing 10 million tokens per month with a 50/50 input-output split, the total would be about $29 per month
. Competitor models like Anthropic's Opus 4.8 at $5/$25 per million tokens can cost 3 to 6 times more for comparable or slightly better benchmark scores
. On a per-task basis, one Databricks test showed GLM 5.2 using the Pi agent achieved an 87.5% pass rate at $1.25 per task, while Opus 4.8 high-effort using Claude Code achieved a comparable pass rate at $2.00 per task
.
Performance matching frontier models at much lower cost. GLM 5.2 scored 62.1 on SWE-bench Pro, outperforming GPT-5.5 (58.6) and coming within a few points of Anthropic's Opus 4.8 . On FrontierSWE Dominance, it hit 74.4%, nearly tying Opus 4.8's 75.1%
. Databricks' internal tests echoed these public benchmarks: the Chinese open-weight model matched or approached the capability of leading proprietary models on the same real-world engineering tasks
.
Open-weight, MIT-licensed deployment flexibility. Because GLM 5.2 is MIT-licensed and fully open-weight, Databricks could deploy it in-house, fine-tune it, and tightly integrate it into its agentic coding workflow without per-seat licensing or vendor lock-in . This licensing model allows enterprises to run the model on their own infrastructure, avoiding recurring API costs for high-volume usage.
Fit for long-horizon, multi-step tasks. The benchmark focused on agentic coding edits that span many files and reasoning steps. GLM 5.2, with its 1-million-token context window and 744-billion-parameter mixture-of-experts architecture, was specifically optimized for this kind of repository-scale, long-horizon work rather than single-file autocomplete . On Terminal-Bench 2.1, which tests command-line and agentic task execution, it scored 81.0, making it the strongest open-source model and trailing only Claude Opus 4.8 (85.0)
.