GLM-5.2
8折GLM-5.2定价详情
元 / 1M TokensInput
输入
¥8.00
Output
输出
¥28.00
Cache Write
缓存创建
¥8.00
Cache Read
缓存读取
¥2.00
当前享受 8折 优惠,节省 19.999999999999996% 费用。
快速接入
接口地址
POST https://www.dxnt.com/v1/chat/completionscURL
curl https://www.dxnt.com/v1/chat/completions \
-H "Authorization: Bearer sk-your-key" \
-H "Content-Type: application/json" \
-d '{
"model": "GLM-5.2",
"messages": [{"role": "user", "content": "Hello!"}]
}'Python (OpenAI SDK)
import openai
client = openai.OpenAI(
api_key="sk-your-key",
base_url="https://www.dxnt.com/v1"
)
response = client.chat.completions.create(
model="GLM-5.2",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)模型信息
模型标识
GLM-5.2计费方式按 Token 计费
输入价格¥8.00 / 1M
输出价格¥28.00 / 1M
缓存读取¥2.00 / 1M
缓存创建¥8.00 / 1M