Hy4 flash 是腾讯混元 Hy4 的高性价比变体,其参数规模约为旗舰版的四分之一,因此延迟和成本都显著降低。它保留了 100 万 token 的上下文窗口,接受文本和图像输入并输出文本,最多可生成 64K 输出 token。 它面向代码辅助、智能体工具调用和高吞吐生产力工作负载,这些场景中吞吐量和价格比峰值推理深度更重要。思考功能默认开启,并支持原生工具调用、结构化输出以及 chat completions、Responses 和 Anthropic Messages API。与旗舰版 Hy4 不同,flash 变体不提供可选择的推理强度级别。
兼容 OpenAI——沿用你现有的 SDK
https://api.orcarouter.ai/v1https://api.orcarouter.aiimport os
from openai import OpenAI
client = OpenAI(
base_url="https://api.orcarouter.ai/v1",
api_key=os.environ["ORCAROUTER_API_KEY"],
)
response = client.chat.completions.create(
model="tencent/hy4-flash",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)include_reasoningmax_completion_tokensmax_tokensreasoningresponse_formatstopstructured_outputstemperaturetool_choicetools| 输入 / 1M tokens | $0.018 |
|---|---|
| 输出 / 1M tokens | $0.070 |
| 缓存读取 / 1M | $0.0008 |
| 货币 | USD |
基于标价的估算
仅为估算——实际 Token 数取决于提供商的分词器。
本周开发者的讨论
@misc{orcarouter_hy4_flash,
title = {Hy4 Flash API},
author = {Tencent},
year = {2026},
howpublished = {OrcaRouter},
url = {https://www.orcarouter.ai/models/tencent/hy4-flash}
}Tencent. (2026). Hy4 Flash API. OrcaRouter. https://www.orcarouter.ai/models/tencent/hy4-flash