Tencent Hy4 preview API
腾讯混元 Hy4 preview 是 770B 总参数、49B 激活参数的 MoE 文本模型,面向 Agent、Coding 与生产力场景优化,支持深度思考、Function Calling、结构化输出与上下文缓存。
Starting price 按实际 Token 用量计费 · Price snapshot
Waiting to refresh live prices…
Model pricing
Compare all public tiers and current prices for this series on one page.
Input
按实际 Token 用量计费
Output
总价 = 各类 Token 用量 × 对应单价
Context
1,024,000
Max output
64,000
- Model ID
-
hy4-preview - Billing model
- Fixed combination billing
- Available groups
- default
- Capabilities
- chat, responses-native, structured-outputs
- Combination pricing rules
按实际 Token 用量计费总价 = 各类 Token 用量 × 对应单价
- Token 单价由当前计费表达式推导;实际费用按请求用量结算
查看高级计费表达式
v2:tier("tencent_tokenhub_official_usd_plus_10pct_2026_08_28", tokens(p, 0.9174) + tokens(c, 2.7511) + tokens(cr, 0.0462))
API reference
Base URL is https://api.rokoapi.com/v1. The model in requests must use the model IDs listed above.
curl https://api.rokoapi.com/v1/chat/completions \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "hy4-preview",
"messages": [{"role":"user","content":"Introduce yourself in one sentence"}]
}' For more parameters, limits, and async task queries, read the Tencent Hy4 preview developer guide. Tencent Hy4 preview Developer guide · OpenAI · Authorization