tencent/Hy4-preview
tencent · 对话 / 推理
文本 按 token
tencent/Hy4-preview 由 tencent 提供,通过 TokenHub 的 OpenAI 兼容接口调用,按量计费。
输入 / 1M tokens
¥6
输出 / 1M tokens
¥18
缓存读 / 1M
¥0.3
缓存写 / 1M
¥0
实收价,¥ 1:1 计价,无汇率折算;以控制台实时价格为准。
可用分组与价格
| 分组 | 输入 / 1M | 输出 / 1M | 缓存读 / 1M | 缓存写 / 1M |
|---|---|---|---|---|
| 国产平价1 | ¥6 | ¥18 | ¥0.3 | ¥0 |
调用示例
Base URL:https://token.vmao.top/v1 · 模型名:tencent/Hy4-preview
curl https://token.vmao.top/v1/chat/completions \
-H "Authorization: Bearer $TOKENHUB_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "tencent/Hy4-preview",
"messages": [{"role": "user", "content": "你好"}]
}' 常见问题
tencent/Hy4-preview 在 TokenHub 上怎么调用?
使用任意 OpenAI 兼容 SDK,把 base_url 指向 https://token.vmao.top/v1、api_key 换成 TokenHub 的 Key,model 参数填 tencent/Hy4-preview 即可。
tencent/Hy4-preview 的价格是多少?
当前实收价为输入 ¥6 / 1M tokens、输出 ¥18 / 1M tokens,按用量计费,无月费。
tencent/Hy4-preview 支持多长的上下文?
上下文长度以分组配置为准,可在控制台模型广场查看实时信息。