Skip to content

GLM 5.1

Model ID

glm-5-1

GLM 5.1 is exposed through POST /v1/chat/completions using the standard OpenAI-compatible chat payload. It supports function / tool calling (tools, tool_choice, assistant tool_calls) and works with structured outputs via response_format where applicable.

SpecificationValue
API IDglm-5-1
CapabilitySupported
Chat completions (/v1/chat/completions)Yes
Tool / function callingYes
Structured output (response_format)Yes

Use glm-5-1 as the model field in chat completion requests. For tool usage patterns and examples, see Tool Calling and Structured Output.