Skip to main content
Swap two environment variables and change the model name. That’s it.
Or pass explicitly:

Reasoning models

Reasoning models such as zai-org/GLM-5.3-Flash add a reasoning_content field alongside the usual content. It holds the model’s chain-of-thought and appears on message (non-streaming) or delta (streaming). Read it the same way you read content:

Reasoning effort

Reasoning models accept a reasoning_effort parameter that controls how much compute the model spends on internal reasoning before generating its response.
Supported values: none, minimal, low, medium, high, xhigh, max. Not all models support all values — unsupported combinations return a 400 error. When omitted, reasoning models use their default effort level. For vLLM/SGLang-hosted models, enable_thinking=false overrides reasoning_effort and disables reasoning entirely.

Chat Completions Compatibility

Transcriptions Compatibility