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
| 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 | |
Alibaba Qwen | $0.573 | $2.58 | N/A | N/A | $0.286 | $1.29 | — | — | — | — |
OpenRouter | $0.600 | $1.92 | $0.120 | N/A | — | — | — | — | — | — |
Other/Baseten | $0.950 | $3.15 | N/A | N/A | — | — | — | — | — | — |
Amazon Bedrock | $1.00 | $3.20 | N/A | N/A | $0.500 | $1.60 | $0.500 | $1.60 | $1.75 | $5.60 |
Google Gemini | $1.00 | $3.20 | N/A | $0.100 | — | — | — | — | — | — |
Google Vertex AI | $1.00 | $3.20 | $0.100 | $0.100 | — | — | — | — | — | — |
Hugging Face | $1.00 | $3.20 | N/A | N/A | — | — | — | — | — | — |
Vercel AI Gateway | $1.00 | $3.20 | $0.200 | N/A | — | — | — | — | — | — |
Z AI (Zhipu) | $1.00 | $3.20 | $0.200 | N/A | — | — | — | — | — | — |
Cost Calculator
Preset:
Versions
| Version | Released | Context | Input / 1M | Output / 1M | Status |
|---|---|---|---|---|---|
| GLM-5.1 | 203K | $0.980 | $3.08 | Available | |
| GLM-5 | 203K | $0.573 | $1.92 | Current |