全部模型

hy4-preview

5折
hy4-preview

定价详情

元 / 1M Tokens

Input

输入

¥6.00

Output

输出

¥18.00

Cache Write

缓存创建

¥6.00

Cache Read

缓存读取

¥0.30

当前享受 5折 优惠,节省 50% 费用。

快速接入

接口地址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": "hy4-preview",
    "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="hy4-preview",
    messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)

模型信息

模型标识hy4-preview
计费方式按 Token 计费
输入价格¥6.00 / 1M
输出价格¥18.00 / 1M
缓存读取¥0.30 / 1M
缓存创建¥6.00 / 1M

开始使用 hy4-preview

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