Hy4 flash 是騰訊 Hunyuan Hy4 兼具成本效益的版本,以約為旗艦版四分之一的參數量提供服務,換取顯著更低的延遲與成本。它保留 1M 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