TencentCloud

hy4

Tencent按量收費
Alias:hy4

Hy4 是腾讯混元的旗舰多模态推理模型,适合复杂软件工程、长程智能体任务和图表分析。支持文本和图片输入、文本输出、结构化输出与工具调用。

textimagestreamingfunction_callingtoolsstructured_outputvisionreasoningcachingcontext:1048576
起始價格
輸入 / 輸出 · 1M
上下文
1M
最大輸入窗口
最大輸出
65.5K
單次回應最大 token 數
模態
→
發佈於
Nov 2026

Pricing by Supplier

比較同一模型在不同供應商的價格與服務表現。

供應商1
USD · 每 1M tokens效能 · Last 24 hours
供應商Discount輸入/M輸出/M緩存讀取/M
official

官方接口直连

省40%
$0.5004$0.834
$1.5006$2.501
$0.0252$0.042
刪除線金額為標準價。效能統計涵蓋最近 24 小時,實際表現隨請求變化。

左右滑動表格,查看完整價格與效能。

能力 / 支援的模態

串流輸出函數呼叫工具結構化輸出視覺推理提示詞緩存
輸入
輸出

廠商與數據私隱

供應商
Unknown
分詞器
BPE (vendor-specific)
許可證
Provider-specific未知
數據保留13 日預設不會用於上游訓練

效能

基準測試

標準化評測得分。百分比越高越好,並展示排名百分位。

指標來源:Artificial Analysis 2026-09-30·hy4

目前基準快照不包含此模型。

缺少模型或測量值不代表零分。

基準圖表保留來源中的模型選擇和推理設定。缺少模型或測量值不代表零分,基準成本或速度也不是本站的服務承諾。

About hy4

模型概览

腾讯混元于 2026 年 11 月 4 日发布 Hy4 正式版。语言骨干采用混合专家架构,拥有 770B 参数,每个文本 token 激活 49B 参数。它适合跨文件的软件开发、长程智能体任务和需要结合截图、图表或文档的专业分析。模型可调用应用提供的工具,并基于返回结果继续处理任务。

Hy4 接收文本和图片,生成文本,支持深度思考、流式输出、工具调用和结构化输出。上下文窗口为 1,048,576 token,腾讯云 TokenHub 标注的最大输入和输出分别为 960K 和 64K。ModelSell 可通过 OpenAI 兼容的 POST /v1/chat/completions 调用,模型 ID 为 hy4。

腾讯云 TokenHub 参考价格

国际站标准价按每百万 token 计,输入 $0.834,输出 $2.501,缓存命中 $0.042。腾讯云本次按量推理活动截至北京时间 2026 年 12 月 31 日 23:59:59,期间按标准价五折结算。活动适用于腾讯云 TokenHub,ModelSell 实际费率以本页供应商报价为准。

腾讯云调用指南 · 腾讯云国际价目 · 腾讯官方模型卡及权重

Use cases and prompting

使用 OpenAI 兼容的 POST /v1/chat/completions,将 model 设置为 hy4。给出任务目标、已有约束和验收条件。需要模型调用工具时,在请求中声明相应工具,并在应用中执行调用和回传结果。

跨模块分析示例

“阅读订单服务的实现、重试日志和管理页需求。先定位重复回调影响的状态,再给出最小修复方案。列出各模块的验证步骤,对证据不足的判断标注待核实。”

API access

API 介面文件

呼叫示例

請求POST/v1/chat/completions
請求範例
參數
參數類型預設值 / 範圍說明資訊
temperature
number
=10 ~ 2
採樣溫度;越低越穩定
top_p
number
=10 ~ 1
核採樣累積概率
max_tokens
integer>= 1回應中最大 token 數
frequency_penalty
number
=0-2 ~ 2
懲罰高頻 token 的重複出現
presence_penalty
number
=0-2 ~ 2
鼓勵引入新話題
stop
array—最多 4 個停止生成的字串
seed
integer—盡量保證可復現的採樣種子
n
integer
=1>= 1
生成的候選條數
stream
boolean
=false
透過 SSE 串流返回 token
response_format
object—強制輸出 JSON 物件或符合 Schema 的結果
tools
array—模型可呼叫的工具 / 函數聲明
tool_choice
string
autononerequired
工具選擇策略或具體工具名
logprobs
boolean
=false
返回每個 token 的對數概率
top_logprobs
integer0 ~ 20每個 token 返回的 top 概率數量
logit_bias
object—按 token 的 logit 偏置映射
user
string—用於風險審計的終端用戶標識

替換 <YOUR_API_KEY> 替換為 API 金鑰頁面中的金鑰。

身份驗證

所有請求必須攜帶 Authorization: Bearer <TOKEN> 請求頭。Anthropic 格式的端點也接受 x-api-key 請求頭。

在「令牌」頁面生成 API Key,可以按模型、分組、IP、速率等維度精細化授權。

支援的參數

Generation parameters
參數類型預設值 / 範圍說明資訊
temperature
number
=10 ~ 2
採樣溫度;越低越穩定
top_p
number
=10 ~ 1
核採樣累積概率
max_tokens
integer>= 1回應中最大 token 數
frequency_penalty
number
=0-2 ~ 2
懲罰高頻 token 的重複出現
presence_penalty
number
=0-2 ~ 2
鼓勵引入新話題
stop
array—最多 4 個停止生成的字串
seed
integer—盡量保證可復現的採樣種子
n
integer
=1>= 1
生成的候選條數
stream
boolean
=false
透過 SSE 串流返回 token
response_format
object—強制輸出 JSON 物件或符合 Schema 的結果
tools
array—模型可呼叫的工具 / 函數聲明
tool_choice
string
autononerequired
工具選擇策略或具體工具名
logprobs
boolean
=false
返回每個 token 的對數概率
top_logprobs
integer0 ~ 20每個 token 返回的 top 概率數量
logit_bias
object—按 token 的 logit 偏置映射
user
string—用於風險審計的終端用戶標識

速率限制

供應商RPMTPMRPD
official無限制無限制無限制

無限制

Frequently asked questions about hy4

What is hy4?

Hy4 是腾讯混元的旗舰多模态推理模型,适合复杂软件工程、长程智能体任务和图表分析。支持文本和图片输入、文本输出、结构化输出与工具调用。

How do I call hy4?

Create an API key with access to hy4, then use the exact model ID and a supported endpoint from the API access section. Request fields depend on the selected endpoint.

How is hy4 priced?

Pricing depends on the selected provider group and the model billing unit. The current input, output, request, or media prices are shown on this page before sign-up.

What is the context window of hy4?

The model catalog lists a context window of 1048576 tokens. Check the selected endpoint for request limits.

What is the maximum output of hy4?

The model catalog lists a maximum output of 65536 tokens. Your request settings may set a lower limit.

How should I evaluate hy4 for my project?

Start with the use cases and prompting guidance on this page, then evaluate the model with representative inputs from your project.