全部模型

GLM-5.2

8折
GLM-5.2

定价详情

元 / 1M Tokens

Input

输入

¥8.00

Output

输出

¥28.00

Cache Write

缓存创建

¥8.00

Cache Read

缓存读取

¥2.00

当前享受 8折 优惠,节省 19.999999999999996% 费用。

快速接入

接口地址POST https://www.dxnt.com/v1/chat/completions
cURL
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

开始使用 GLM-5.2

注册即送免费额度,替换接口地址即可接入