How to use
Before you start, ensure you’ve already obtained theAPI_KEY from the Friendli Suite > Personal Settings > API Keys.
Instantiation
Now we can instantiate our model object and generate chat completions. The default model (i.e.zai-org/GLM-5.2) will be used if no model is specified.