Two frontier-class models just launched weeks apart — Anthropic's Claude Sonnet 5

(closed, $2/$10 per 1M launch pricing) and Z.AI's GLM-5.2 (open-weight, MIT, ~$1.40/

$4.40 across hosts) — and the first question everyone asks is "which is cheaper?"

The honest answer: it depends on your token mix, your tier, and whether cached

input matters. Here's a repeatable way to answer it for your case, using live,