Skip to content

GLM 5.3

Model ID

glm-5-3

Publisher

zai-org

GLM 5.3 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.

Specification Value
API ID glm-5-3
Capability Supported
Chat completions (/v1/chat/completions) Yes
Tool / function calling Yes
Structured output (response_format) Yes
Responses API (/v1/responses) Yes
Anthropic Messages API (/v1/messages) Yes
Reasoning Yes
Prompt caching Yes

Prompt caching is enabled for GLM 5.3. Input tokens served from the cache are billed at 9% of the input price (currently $0.018 per 1M tokens, versus $0.20 per 1M for non-cached input). See Pricing for details.

Property Value
Reasoning supported Yes
Toggleable No
How to toggle -
Reasoning effort levels low, high, max (default)
How to set effort reasoning_effort parameter

Reasoning is always enabled for this model — you cannot turn it off via chat_template_kwargs. Control the depth of reasoning by setting reasoning_effort to "high" or "max" (default). A level this model does not support falls back to its default effort (max).

For a full example, see Reasoning Example.

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