GLM-5 is Zhipu AI's language model with a 203K context window and up to 131K output tokens, available from 9 providers, starting at $0.573 / 1M input and $1.92 / 1M output. An open-source MoE LLM from Z AI designed for long-context reasoning, multi-step tool orchestration, and complex agentic engineering tasks.
Capabilities
Input2/5
Text✓
Image·
Audio·
Video·
PDF✓
Output1/5
Text✓
Image·
Audio·
Video·
Embedding·
Capabilities6/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 | Batch | Flex | Priority | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Input $ / 1M | Output $ / 1M | Cache Read $ / 1M | Cache Write $ / 1M | Input $ / 1M | Output $ / 1M | Input $ / 1M | Output $ / 1M | Input $ / 1M | Output $ / 1M | |
| $0.573 | $2.58 | N/A | N/A | $0.286 | $1.29 | — | — | — | — | |
| $1.00 | $3.20 | N/A | N/A | $0.5 | $1.60 | $0.5 | $1.60 | $1.75 | $5.60 | |
| $0.95 | $3.15 | N/A | N/A | — | — | — | — | — | — | |
| $1.00 | $3.20 | N/A | $0.1 | — | — | — | — | — | — | |
| $1.00 | $3.20 | $0.1 | $0.1 | — | — | — | — | — | — | |
| $1.00 | $3.20 | N/A | N/A | — | — | — | — | — | — | |
| $0.6 | $1.92 | $0.12 | N/A | — | — | — | — | — | — | |
| $0.95 | $3.15 | $0.2 | N/A | — | — | — | — | — | — | |
| $1.00 | $3.20 | $0.2 | N/A | — | — | — | — | — | — | |
Cost Calculator
US Dollar ($)
Preset:
Cheapest Instances to Run It
Cloud GPU instances that can host GLM-5, ranked by cheapest on-demand price. The model needs about 1809 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 |
|---|---|---|---|---|---|
| p6-b300.48xlarge | 8× B300 | 2149 GB | $142.42/hr | us-east-1 |
Versions
| Version | Released | Context | Input / 1M | Output / 1M | Status |
|---|---|---|---|---|---|
| GLM-5.1 | 203K | $0.966 | $3.04 | Available | |
| GLM-5 | 203K | $0.573 | $1.92 | Current |