Glm 5.1
智谱 GLM 对话模型,支持中文理解、推理与工具调用。
All systems normal1 providers available
Context128K
Max output32K
$1.4/ 1M tokensInput price · by access tier0.88折$0.12/ 1M tokens2折$0.28/ 1M tokens4.5折$0.63/ 1M tokens7折$0.98/ 1M tokens$4.4/ 1M tokensOutput price · by access tier0.88折$0.39/ 1M tokens2折$0.88/ 1M tokens4.5折$1.98/ 1M tokens7折$3.08/ 1M tokensCache read$0.26/1M tokens
Cache write$1.75/1M tokens
Capabilities
Input modality
InputText
OutputText
Core capabilities
Tool capabilities
Access protocols
—
Pricing details
| Tier | Price (input–output) | Cache read | Cache write |
|---|---|---|---|
| ≦200K | $1.4-$4.4/1M tokens | $0.26/1M tokens | $1.75/1M tokens |
Service performance
Success rate100%Last 24 hours
First token latency1600msLast 24 hours
Quickstart
from openai import OpenAI
client = OpenAI(
base_url="https://api.apione.ai/v1",
api_key="<YOUR_API_KEY>", # 在控制台创建 API Key 后替换
)
response = client.chat.completions.create(
model="glm-5.1",
messages=[{"role": "user", "content": "用一句话介绍你自己"}],
)
print(response.choices[0].message.content)