Hy4 Preview
tencent/hy4-preview

Hy4 Preview是腾讯推出的混合专家模型,总参数规模达 7700 亿,其中激活参数为 490 亿。该模型专为编码智能体、复杂工具调用工作流,以及需要规划能力、上下文连贯性和持续多步执行的生产力任务而设计。

模型价格

输入¥6/Mt
缓存
Cache Read¥0.3/Mt
输出¥18/Mt

示例代码

一键复制
1base_url="https://api.ppio.com/openai"
2api_key="<您的 API Key>"
3
4curl "$base_url/v1/chat/completions" \
5  -H "Content-Type: application/json" \
6  -H "Authorization: Bearer $api_key" \
7  -d @- << 'EOF'
8{
9    "model": "tencent/hy4-preview",
10    "messages": [
11        
12        {
13            "role": "user",
14            "content": "Hi there!"
15        }
16    ],
17    "response_format": { "type": "text" }
18}
19EOF
20  

模型信息

上下文窗口:

1M

最大输出 token 数:

64K

模态:

输入:
Text
输出:
Text

支持的功能

Function Calling支持
结构化输出支持
reasoning支持

API 接入指南

Base URL:

https://api.ppio.com/openai

Messages 协议 Base URL:

https://api.ppio.com/anthropic

API Endpoints:

/v1/chat/completions

Model ID:

tencent/hy4-preview

用量级别RPMTPM
T1550000000
T210050000000
T3100050000000
T4300050000000
T5600050000000
用更高性价比的产品服务
助您释放无限创新元力,引领智能时代新进程
马上咨询