Skip to main content
Model ID

API Usage

You can access GLM-4.5-FP8 through the same RESTful Chat Completions API used by other GLM models.
The following examples demonstrate text generation and function-calling usage.

API Examples

Generate a Chat Completion

Use the chat completion endpoint to generate responses from GLM-4.5-FP8.

Shell

Function Calling

Python SDK Usage