glm52 for GLM-5.2 FP8 or glm5_next for GLM-5.3-Flash. The latter combines MLA with recurrent Kimi Delta Attention (KDA), so its concurrency depends on both KV pages and KDA slots. The default glm5_next_tp8.yaml caps concurrent requests at 64 to fit its recurrent-state pool.
Install and start
The GLM-5.2 default is sized for eight 141 GB GPUs and roughly 750 GB of weights. The GLM-5.3-Flash default is sized for eight 80 GB GPUs and roughly 306 GB of weights. For local weights setmodel_kwargs.checkpoint_path.
glm52
Text → text. The default glm52_tp8.yaml uses 8 GPUs. The weights use MIT.
glm5_next
Text → text. The default glm5_next_tp8.yaml uses 8 GPUs. The weights use MIT.
Send a request
Run either client example in a second terminal after/health returns 200.
Generate text
Read the text answer from the response. Python SDKDeployment configs
To use an alternative, pass
--config configs/<file> after the launcher name. From a wheel installation, copy the shipped YAML and pass its local path.
Settings and defaults
Deployment keys undermodel_kwargs:
Request knobs:
temperature, top_p, top_k, min_p, repetition_penalty, penalize_prompt and ignore_eos. Sampling defaults to the checkpoints’ temperature 1.0 and top_p 0.95, read from generation_config.json when it is cached.
Limits
- Contexts are held to
index_topk(2048 tokens), where dense MLA computes exactly what the sparse attention does. A request with nomax_tokensruns to the room its prompt leaves. Onglm5_next, amax_tokensabove 2048 is a 400, and under MTP so is one past the room the prompt leaves. - With
dsa_long_context, a prompt must still fit in 2048 tokens; decode runs past it. The path is eager, and it cannot be combined with MTP. - With MTP drafting, a request with a
temperatureabove 0 or a repetition penalty is refused. - A
min_pabove 0 is refused, since neither checkpoint sets one. - Neither model reports logprobs; a request that sets
return_logprobsis refused.