Glm 5
智谱 GLM 对话模型,支持中文理解、推理与工具调用。
Service unavailable1 providers available
Context128K
Max output32K
$1/ 1M tokensInput price · by access tier0.88折$0.088/ 1M tokens2折$0.2/ 1M tokens4.5折$0.45/ 1M tokens7折$0.7/ 1M tokens$3.2/ 1M tokensOutput price · by access tier0.88折$0.28/ 1M tokens2折$0.64/ 1M tokens4.5折$1.44/ 1M tokens7折$2.24/ 1M tokensCache read$0.2/1M tokens
Cache write$1.25/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-$3.2/1M tokens | $0.2/1M tokens | $1.25/1M tokens |
Service performance
Success rate0%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",
messages=[{"role": "user", "content": "用一句话介绍你自己"}],
)
print(response.choices[0].message.content)