Skip to main content
Both GLM checkpoints serve text-only chat on eight GPUs. Pick 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 set model_kwargs.checkpoint_path.

glm52

Text → text. The default glm52_tp8.yaml uses 8 GPUs. The weights use MIT.
Send the request.

glm5_next

Text → text. The default glm5_next_tp8.yaml uses 8 GPUs. The weights use MIT.
Send the request.

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 SDK
curl

Deployment 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 under model_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 no max_tokens runs to the room its prompt leaves. On glm5_next, a max_tokens above 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 temperature above 0 or a repetition penalty is refused.
  • A min_p above 0 is refused, since neither checkpoint sets one.
  • Neither model reports logprobs; a request that sets return_logprobs is refused.