Glm 5 Code
Glm 5 Code is a text model from
Z AI (Zhipu) with a context window of 200K tokens and max output of 128K tokens. Pricing starts at 1.20 per million input tokens and 5.00 per million output tokens.
Capabilities
✗ Vision✓ Function Calling✓ Reasoning✗ JSON Schema✗ System Messages✗ Web Search✓ Prompt Caching✗ Audio Input✗ Audio Output
Specifications
| Model Key | zai/glm-5-code |
| Provider | |
| Provider ID | zai |
| Mode | Text |
| Canonical Name | glm-5-code |
| Context Window | 200K tokens |
| Max Output | 128K tokens |
Pricing
| Type | Per 1K Tokens | Per 1M Tokens |
|---|---|---|
| Input Tokens | 0.0012 | 1.20 |
| Output Tokens | 0.0050 | 5.00 |
| Cache Read (Input) | 0.000300 | 0.300 |