Self-host GLM 5.2 vs. API cost

Live OpenRouter API pricing is $0.01/1M input & $5.80/1M output. Renting 8× MI300X on TensorDock costs $18.32/hr ($13,374/mo) and breaks even at 302.2M tokens/day.

GPU: 2026-12-05 · API (OpenRouter live): 2026-12-05 Run GLM-5.2 VRAM guide → Fine-tune cost →

Interactive breakeven calculator

API spend (OpenRouter)
-
-
Cheapest self-host GPU (24h/day)
-
-
Recommendation & breakeven
-
-

All FP8 self-hosting setups for GLM-5.2 (~846 GB VRAM)

GPU setup Provider GPU / hr Monthly (730h) Est. peak tok/s Self-host $/1M @ 40% Breakeven Deploy
8× AMD Instinct MI300X Cheapest TensorDock logo TensorDock $18.32/hr $13,374 221 tok/s $57.550 302.2M/day Launch ↗
8× AMD Instinct MI300X RunPod logo RunPod $19.12/hr $13,958 221 tok/s $60.063 315.4M/day Launch ↗
8× AMD Instinct MI300X Vultr logo Vultr $22.00/hr $16,060 221 tok/s $69.110 362.9M/day Launch ↗
8× NVIDIA H200 SXM Hyperstack logo Hyperstack $24.80/hr $18,104 202 tok/s $85.029 409.1M/day Launch ↗
8× NVIDIA H200 SXM DataCrunch (Verda) logo DataCrunch (Verda) $25.20/hr $18,396 202 tok/s $86.400 415.7M/day Launch ↗
8× NVIDIA B200 Vast.ai logo Vast.ai $27.92/hr $20,382 332 tok/s $58.369 460.5M/day Launch ↗
8× NVIDIA H200 SXM Lambda logo Lambda $27.92/hr $20,382 202 tok/s $95.726 460.5M/day Launch ↗
8× NVIDIA H200 SXM Nebius logo Nebius $28.00/hr $20,440 202 tok/s $96.000 461.9M/day Launch ↗

All 4-bit (Q4) self-hosting setups for GLM-5.2 (~469 GB VRAM)

GPU setup Provider GPU / hr Monthly (730h) Est. peak tok/s Self-host $/1M @ 40% Breakeven Deploy
8× NVIDIA A100 80GB SXM Cheapest Vast.ai $4.64/hr $3,387 156 tok/s $20.622 76.5M/day Launch ↗
8× NVIDIA A100 80GB PCIe Vast.ai $6.96/hr $5,081 143 tok/s $33.677 114.8M/day Launch ↗
4× AMD Instinct MI300X RunPod $9.56/hr $6,979 202 tok/s $32.777 157.7M/day Launch ↗
8× NVIDIA A100 80GB PCIe Hyperstack $10.80/hr $7,884 143 tok/s $52.258 178.1M/day Launch ↗
8× NVIDIA A100 80GB SXM DataCrunch (Verda) $11.92/hr $8,702 156 tok/s $52.978 196.6M/day Launch ↗
4× NVIDIA H200 SXM Hyperstack $12.40/hr $9,052 182 tok/s $47.389 204.5M/day Launch ↗
4× NVIDIA H200 SXM DataCrunch (Verda) $12.60/hr $9,198 182 tok/s $48.153 207.8M/day Launch ↗
8× NVIDIA H100 SXM Vast.ai $13.84/hr $10,103 254 tok/s $37.918 228.3M/day Launch ↗

Physics & breakeven methodology

1. Dollar breakeven: breakeven_M_per_day = (GPU_$/hr × 24) ÷ blended_API_$/1M. We pull live token pricing from OpenRouter's public API so API benchmarks stay current.

2. Throughput & node count: Autoregressive decoding is memory-bandwidth bound: single_stream_tok_s = min(250, (total_BW_TB/s × 600) ÷ active_GB) using 753.3B active parameters. Continuous batching (vLLM / SGLang) multiplies peak node throughput by 6.5×, scaled by your selected utilization preset (15%, 40%, or 75%). If your daily volume exceeds 1 node's capacity, the calculator automatically multiplies the node count needed.