Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
智谱 GLM 模型访问指南,包括精确小写模型 ID glm-5、glm-5.1、glm-5.2、glm-5.3、glm-5.3-flash、glm-5v-turbo,以及各模型可用的端点。
glm-5
glm-5.1
glm-5.2
glm-5.3
glm-5.3-flash
glm-5v-turbo
/v1/chat/completions
/v1/responses
/v1/messages
import os from openai import OpenAI client = OpenAI(api_key=os.environ["AISA_API_KEY"], base_url="https://api.aisa.one/v1") response = client.chat.completions.create( model="glm-5", messages=[{"role": "user", "content": "Analyze the competitive dynamics of China's cloud computing market."}] ) print(response.choices[0].message.content)