GLM-4 32B is Zhipu AI's language model with a 128K context window and up to 32K output tokens, available from 2 providers, starting at $0.1 / 1M input and $0.1 / 1M output. A cost-effective 32B foundation LLM in the GLM-4 series with strong capabilities in tool use, online search, and code-related tasks.
Capabilities
Input1/5
Text✓
Image·
Audio·
Video·
PDF·
Output1/5
Text✓
Image·
Audio·
Video·
Embedding·
Capabilities1/13
Reasoning·
Adaptive Reasoning·
Function Calling✓
Parallel Function Calling·
Structured Outputs·
Native JSON Schema·
Web Search·
URL Context·
Computer Use·
Code Execution·
File Search·
Prompt Caching·
Assistant Prefill·
Pricing by Provider
US Dollar ($)
Per 1M tokens
| Provider | Standard | |
|---|---|---|
| Input $ / 1M | Output $ / 1M | |
| $0.55 | $1.66 | |
| $0.1 | $0.1 | |
Cost Calculator
US Dollar ($)
Preset:
Cheapest Instances to Run It
Cloud GPU instances that can host GLM-4 32B, ranked by cheapest on-demand price. The model needs about 77 GB of GPU memory at FP16 precision (estimated from its parameter count), so treat the fit as guidance rather than a guarantee.
All clouds
FP16 (full precision)
US Dollar ($)
Instance | Cloud | GPU | VRAM | Price | Cheapest region | |
|---|---|---|---|---|---|---|
| Standard_NP20s | 2× AMD Alveo U250 FPGA (64GB) | 128 GB | $3.30/hr | westus2 | ||
| g7e.2xlarge | RTX PRO Server 6000 | 96 GB | $3.36/hr | us-east-1 | ||
| Standard_NC24ads_A100_v4 | NVIDIA A100 | 80 GB | $3.67/hr | westus2 | ||
Versions
| Version | Released | Context | Input / 1M | Output / 1M | Status |
|---|---|---|---|---|---|
| GLM-5.2 Fast | 1.0M | $2.10 | $6.60 | Available | |
| GLM-5.2 | 1.0M | $0.965 | $3.03 | Available | |
| GLM-5V Turbo | 203K | $1.20 | $4.00 | Deprecating | |
| GLM-5 Turbo | 203K | $1.20 | $4.00 | Deprecating | |
| GLM-5.1 Non-Reasoning | — | — | — | — | Available |
| GLM-5 Non-Reasoning | — | — | — | — | Available |
| GLM-5 Code | — | 200K | $1.20 | $5.00 | Available |
| GLM-5.1 Fast | — | 203K | $2.80 | $8.80 | Available |
| GLM-5.1 NVFP4 MTP | — | 203K | $1.40 | $4.40 | Available |
| GLM-5.2 Fast Preview | — | — | $2.80 | $8.80 | Available |
| GLM-4 32B | 128K | $0.100 | $0.100 | Current |