hy3
7折hy3定价详情
元 / 1M TokensInput
输入
¥2.00
Output
输出
¥8.00
Cache Write
缓存创建
¥2.00
Cache Read
缓存读取
¥0.80
当前享受 7折 优惠,节省 30% 费用。
快速接入
接口地址
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": "hy3",
"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="hy3",
messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)模型信息
模型标识
hy3计费方式按 Token 计费
输入价格¥2.00 / 1M
输出价格¥8.00 / 1M
缓存读取¥0.80 / 1M
缓存创建¥2.00 / 1M