Skip to main content

Model ID

Use this Model ID directly in all API requests. Pricing and rate limits are listed on the Models and Limits pages.

Limits

The context length covers the input and max_tokens together. A request whose input plus max_tokens exceeds it returns 400. A max_tokens above 131,072 is accepted, but output stops at 131,072 tokens.

Thinking

GLM-5.3-Flash always thinks, and thinking cannot be turned off. "reasoning_effort": "none" and "thinking": {"type": "disabled"} are not supported for this model, so don’t send them. reasoning_effort accepts minimal, low, medium, high, xhigh and max. Only low, high and max run as different efforts: A request without reasoning_effort runs at max. Any other value returns 400. The reasoning arrives in message.reasoning_content, or in delta.reasoning_content when streaming, separate from content. usage.completion_tokens_details.reasoning_tokens counts it. Reasoning tokens are part of completion_tokens and are billed as output. max_tokens covers the reasoning and the answer together. If the reasoning uses the whole budget, the response ends with finish_reason: "length" and an empty content. Stop sequences are matched in the reasoning too, so a match there ends the response before the answer starts.

Parameters

These return 400:
Out-of-range values, such as temperature: 3 or top_p: 0, also return 400.