腾讯混元 Hy4 是该系列的正式版,支持文本和图像输入。
- 输入
- 文本 图像 $0.834/M
- 输出
- 文本 $2.501/M
- 缓存读取
- $0.042/M
- 上下文
- 1M
- 对比 GPT-4o
- 便宜约 83%
按输入长度分档的价格
整次请求按输入长度所在档位计费。价格单位为美元/百万 token。
| 输入 token 数 | 输入 | 输出 | 思考模式输入 |
|---|
价格在同类中的位置
价格在 79 个同类模型中的位置
这条线标出该模型的价格在 Synthorai 同类模型中的位置,两端分别是最便宜和最贵的模型。这里是基础价,批量、区域和缓存写入的折扣见价格页。
规格与限制
Token
| 上下文窗口(供应商规格) | 1,048,576 |
|---|---|
| 最大输出(供应商规格) | 65,536 |
提示词缓存
| 缓存方式 | 自动 |
|---|
思考
| 参数 | reasoning_effort |
|---|---|
| 取值 | minimal · low · medium · high 具体接受哪些值由供应商决定 |
模型
| 模态 | 文本 + 图像 → 文本 |
|---|
依据 模型规格来源 ↗
一条提示词,经网关实测
Tencent Hy4 通过 · 3 sentences
Enabling reasoning changed the unit economics of each request: the model now produces extra “reasoning tokens” and consumes more compute before it returns an answer, and those tokens are billed even if users never see them. Because our pricing is largely token-based, that extra work roughly doubled average cost per call, so flat request volume could still produce a doubled invoice. We are paying for better accuracy and less downstream rework on complex tasks, so the spend is justified only in high-value workflows and should be managed by cost per successful outcome.
输出 1519 tok (+1409 思考) 延迟 21.0 s
指令遵循(恰好三句,数得出来)、受众适配(对 CFO 说话的口吻),以及下方 token 计数暴露出的隐藏思考计费差额。
Tencent Hy4 通过 · 8/8 cases
```python def longest_run(xs): n = len(xs) if n == 0: return 0 best = cur = 1 for i in range(1, n): if xs[i] == xs[i - 1]: cur += 1 else: cur = 1 best = max(best, cur) return best ``` The loop range already includes the last index; the real bug is that `cur` and `best` start at `0` and only increase on equal adjacent comparisons, so the function counts equality links (`L - 1` for a run of `L` equal items), not the items in the run: a single item has no link, and the first item of a final run is never counted, with no end-of-list flush to compensate. […]
输出 4509 tok (+4263 思考) 延迟 56.0 s
修复是否真的正确(能运行)、解释的信息密度,以及在一个范围明确的任务上的 token 效率。
Tencent Hy4 通过 · 5/5 fields, guidance "withheld pending the Q4 close"
{"company":"Meridian Robotics","quarter":"September quarter","revenue_usd_m":412,"growth_pct":"eleven and change","guidance":"withheld pending the Q4 close"}
输出 9869 tok (+9827 思考) 延迟 125.2 s
是否严守 schema(不臆造字段)、能否顶住幻觉压力(原文明说暂不给出 guidance),以及结构化输出路径的差异。
Tencent Hy4 通过 · 120 words, 0 banned, 1 question
Today we are introducing Cross Provider Prompt Cache for our API gateway, a feature that caches prompts and securely reuses them across all connected model providers. Teams can cut duplicate calls, reduce latency, and keep spend predictable when identical instructions appear in chat, search, agents, or batch jobs. What if one cached prompt could support traffic routed to any provider in your stack? Gateway policies control cache keys, time to live, tenant isolation, redaction, and fallback behavior, while usage metrics show hit rates and savings by application. Setup requires one configuration change, and existing client code stays intact. Cross Provider Prompt Cache is available in private beta today for enterprise plans, with general availability next month across all supported regions.
输出 5744 tok (+5601 思考) 延迟 57.6 s
是否守住约束(字数预算、禁用词表、只能有一个问句)、文风特征,以及长度控制。
30 秒用上 Tencent Hy4
兼容 OpenAI:换掉 base_url,SDK 不用改。POST /v1/chat/completions
from openai import OpenAI
client = OpenAI(
base_url="https://synthorai.io/v1",
api_key="sk-syn-...",
)
resp = client.chat.completions.create(
model="hy4",
messages=[{"role": "user", "content": "Summarize this diff"}],
reasoning_effort="medium",
)
print(resp.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://synthorai.io/v1",
apiKey: "sk-syn-...",
});
const resp = await client.chat.completions.create({
model: "hy4",
messages: [{ role: "user", content: "Summarize this diff" }],
reasoning_effort: "medium",
});
console.log(resp.choices[0].message.content);curl https://synthorai.io/v1/chat/completions \
-H "Authorization: Bearer sk-syn-..." \
-H "Content-Type: application/json" \
-d '{
"model": "hy4",
"messages": [{"role": "user", "content": "Hello"}],
"reasoning_effort": "medium"
}'package main
import (
"context"
"fmt"
"github.com/openai/openai-go/v3"
"github.com/openai/openai-go/v3/option"
)
func main() {
client := openai.NewClient(
option.WithBaseURL("https://synthorai.io/v1"),
option.WithAPIKey("sk-syn-..."),
)
resp, _ := client.Chat.Completions.New(context.TODO(), openai.ChatCompletionNewParams{
Model: "hy4",
Messages: []openai.ChatCompletionMessageParamUnion{
openai.UserMessage("Summarize this diff"),
},
ReasoningEffort: openai.ReasoningEffortMedium,
})
fmt.Println(resp.Choices[0].Message.Content)
}import com.openai.client.OpenAIClient;
import com.openai.client.okhttp.OpenAIOkHttpClient;
import com.openai.models.chat.completions.*;
import com.openai.models.ReasoningEffort;
OpenAIClient client = OpenAIOkHttpClient.builder()
.baseUrl("https://synthorai.io/v1")
.apiKey("sk-syn-...")
.build();
ChatCompletion resp = client.chat().completions().create(
ChatCompletionCreateParams.builder()
.model("hy4")
.addUserMessage("Summarize this diff")
.reasoningEffort(ReasoningEffort.MEDIUM)
.build());
System.out.println(resp.choices().get(0).message().content().orElse(""));关于 Tencent Hy4
- 模型可以结合长上下文处理复杂材料。
- 工具调用可用于多步任务。
- 腾讯公布的最大输出为 65536 token。
常见问题
Tencent Hy4 API 可以免费试用吗?
可以。新账号有 10 次试用调用,免费额度最高 $1,无需绑卡。按输入 $0.834/M 计算,光这笔额度就够向 Tencent Hy4 发约 149 次请求,每次 ~8K token。
Tencent Hy4 最擅长什么?
文本与图像输入、长上下文推理、工具调用。完整介绍见「关于」部分,内容取自供应商的官方发布说明。
Tencent Hy4 的价格是多少?
在 Synthorai 上,Tencent Hy4 的输入价为 $0.834/百万 token,输出价为 $2.501/百万 token。这就是供应商官网价,平台不加价。缓存命中的输入 token 按 $0.042/M 计费。
Tencent Hy4 的上下文长度是多少?
Tencent Hy4 的上下文长度(上下文窗口)是 1M token。单次回复最多输出 65,536 个 token。
Tencent Hy4 支持提示词缓存(prompt caching)吗?
支持,而且全自动:经 Tencent 处理的提示词会自动缓存,不用改代码。缓存命中的输入 token 按 $0.042/M 计费(未命中为 $0.834/M)。 提示词缓存指南 →
如何开通 Tencent Hy4?
把现有 OpenAI SDK 的 base_url 指向 "https://synthorai.io/v1",model 设为 "hy4" 即可。一个 API key 就能调用网关上的全部模型。
相关模型
对比
规格与厂商 benchmark 均附来源链接。网关支持情况说明的是 Synthorai 的实际实现。归档示例是单次网关请求,不代表模型的一般性能保证。价格来自公开价格接口或构建时使用的快照。