Skip to main content
GLM-5.1 is a general-purpose language model from Zhipu. Call glm-5.1 through MixRoute using the endpoint shown below.

Key capabilities

  • OpenAI-compatible - Works with the OpenAI SDK by changing base_url
  • Streaming - Real-time token output through SSE
  • Multi-turn conversations - Uses role-based messages

Quick example

Parameters