Text
GLM 5.1 (FP8)
GLM-5.1 is a cutting-edge large language model developed for high-performance natural language understanding and generation.
Model ID
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
GLM-5.1 is a cutting-edge large language model developed for high-performance natural language understanding and generation.
zai-org/GLM-5.1-FP8
curl --request POST \
--url https://api.gmi-serving.com/v1/chat/completions \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer *************' \
--data '{
"model": "zai-org/GLM-5.1-FP8",
"messages": [
{"role": "system", "content": "You are a knowledgeable AI assistant."},
{"role": "user", "content": "Explain the concept of quantum entanglement in simple terms."}
],
"temperature": 0.7,
"max_tokens": 800
}'
curl --request POST \
--url https://api.gmi-serving.com/v1/chat/completions \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer *************' \
--data '{
"temperature": 0,
"max_tokens": 100,
"model": "zai-org/GLM-5.1-FP8",
"tools": [
{
"type": "function",
"function": {
"name": "get_stock_price",
"description": "Retrieve the current stock price for a given company.",
"parameters": {
"type": "object",
"properties": {
"symbol": {
"type": "string",
"description": "Ticker symbol of the company, e.g., AAPL or TSLA."
}
},
"required": [
"symbol"
]
}
}
}
],
"messages": [
{
"role": "user",
"content": "What is the current price of Apple stock?"
}
]
}'