Overview
ZAI’s GLM chat models on RouterBase, served through the standard OpenAI-compatible chat completions endpoint with streaming and tool calling. Covers the GLM-4.5, GLM-4.6, GLM-4.7, and GLM-5 families, including the vision-capable GLM-4.5V / GLM-4.6V.Models
zai/glm-5.2zai/glm-5.1zai/glm-5zai/glm-4.7zai/glm-4.6zai/glm-4.6vzai/glm-4.5zai/glm-4.5vzai/glm-4.5-air
zai%2Fglm-5.2.
Endpoint
https://routerbase.com/v1 with
your RouterBase key. See the full Chat Completions reference
for every supported parameter.
Quickstart
"stream": true for token streaming (Server-Sent Events), exactly
like the OpenAI API. Swap model for any id from the table above.
Vision input (GLM-4.5V / GLM-4.6V)
The*V models accept images alongside text using the standard OpenAI
content-parts format: