Z.ai: GLM 5.2.
Open-weights text model from Z.ai for long-horizon coding and agent work, with a one million token context and adjustable thinking effort, under the MIT licence.
4× AMD MI300X · $2.00/hr.
Most-aggressive quantisation we have a working recommendation for. Lower precision = less VRAM = cheaper hardware, at a small accuracy cost.
Cheapest hosted endpoints.
Variants in the GLM family.
Open-weights multimodal model from Z.ai with 320B total and 18B active parame...
GLM-5.3 uses the same base model as GLM-5.2 — every gain comes from post-trai...
Zhipu's frontier open-weight MoE — 355B total, 32B active. Strong agentic + r...
Smaller, cheaper sibling of GLM-4.5. 106B total, 12B active.
Zhipu's GLM 5.1 series — successor to GLM-5 on z.ai's API.
Zhipu's GLM 5 generation — closed flagship between GLM-4.7 and GLM-5.1.
Faster, cheaper sibling of GLM-5 on z.ai.
Open-weights coding model from Z.ai for English and Chinese, improving on GLM...
Open-weights English and Chinese text model from Z.ai with a 200K token conte...
Lowest-latency, lowest-cost variant of GLM-4.5 on z.ai.
GLM-5.3-FlashX is the high-speed variant of Z.ai's GLM-5.3-Flash, a native mu...
GLM-5.3-FlashX-Legal (GLM-Legal) is Z.ai's legal-domain variant of GLM-5.3-Fl...
GLM 4 32B is a cost-effective foundation language model. It can efficiently p...
As a 30B-class SOTA model, GLM-4.7-Flash offers a new option that balances pe...
GLM-5V-Turbo is Z.ai’s first native multimodal agent foundation model, built ...
Cheapest hardware per quantisation.
Each row is one quantisation tier (the same weights compressed differently). Lower precision → lower VRAM → cheaper hardware, at the cost of small accuracy loss. $/hr refreshed hourly from each provider's API.
| Quantisation | Cheapest GPU config | Total VRAM | Live $/hr | tokens/sec | |
|---|---|---|---|---|---|
|
FP16
FP16 — half precision (default)
|
2048 GB | $25.36/hr | — | Compare → | |
|
FP8
FP8 — 8-bit float (Hopper / Blackwell)
|
1536 GB | $4.00/hr | — | Compare → | |
|
INT4
INT4 — 4-bit integer (~4× VRAM saving)
|
768 GB | $2.00/hr | — | Compare → |
What it costs per month across providers.
Estimate your monthly bill for Z.ai: GLM 5.2 across every host that publishes per-token pricing. Slide your token volumes; the chart + table re-rank cheapest-first.
Cheapest provider on the left.
Total monthly cost — input + output tokens combined.
Bill breakdown.
Rent the GPU instead of paying per token.
For an open-weights model like Z.ai: GLM 5.2, you can rent a GPU and serve inference yourself. The math: cheapest GPU rental × 730 hours/month + your electricity rate × power draw.
Assumes the GPU runs 24/7 at ~85% utilisation. If your traffic is bursty, you'll pay less for the API and probably more for the GPU (idle hours still cost rental). The breakeven analysis lives on the Self-host vs API breakeven tool.
About Z.ai: GLM 5.2.
A Z.ai model for long-horizon tasks, released with open weights under the MIT licence for English and Chinese text generation. It steps up from GLM-5.1 by sustaining work over a one million token context. It offers several thinking effort levels to trade quality against latency, and an indexer-sharing design that cuts per-token compute at that context length. Its multi-token prediction layer also helps speculative decoding.