gemini-3.1-pro-preview vs hy4-preview:API 价格与能力对比
下面按构建时的价格快照并列 gemini-3.1-pro-preview 和 hy4-preview 的单价、月费示例和能力。两个模型用同一个 OpenLux API Key、同一个 Base URL,改 model 参数就能切换。
gemini-3.1-pro-preview:Gemini 3.1 是谷歌迄今为止最智能的模型系列,基于先进的推理。它旨在通过掌握自主工作流程、自主编码和复杂的多模态任务,将任何想法变为现实。gemini-3.1-pro-preview 最适合需要广泛世界知识和高级跨模态推理的复杂任务。
hy4-preview:混元Hy4 preview总参数770B、激活参数49B,重点面向Agent、Coding与生产力场景优化,强化复杂任务中的理解、规划、工具调用与持续执行能力。相比上一代模型,Hy4 preview在多步骤Agent、代码开发和生产力任务上进一步提升,具备更好的任务拆解、上下文承接、指令遵循和长链路执行能力。在Coding场景中,进一步增强代码理解、生成、修改和复杂工程任务处理能力;在生产力场景中,重点提升文档处理、信息分析、办公自动化、游戏开发、网页生成及跨工具协作等能力。Hy4 preview适用于Coding Agent、复杂工具调用以及各类需要多步骤规划和持续执行的Agent工作流,为真实业务场景中的复杂任务提供更可靠的任务完成能力。
价格速览
每个模型取访客可用分组里价格最低的一组;输入、输出和月费都按这一组计算。
| 项目 | gemini-3.1-pro-preview | hy4-preview |
|---|---|---|
| 厂商 | 腾讯 | |
| 分组 | Vertex-Gemini-1 | Self-Deployed-1 |
| 输入(美元 / 百万 token) | $0.40 | $0.2502 |
| 输出(美元 / 百万 token) | $2.40 | $0.7503 |
| 缓存读(美元 / 百万 token) | $0.04 | $0.0125 |
| 月费示例 | $88.00 | $40.03 |
月费示例:每月 1 亿输入 token + 2 千万输出 token,按同一分组的输入、输出单价计算,不含缓存。
gemini-3.1-pro-preview 有长上下文阶梯价,月费示例按第一档单价计算。
各分组价格
单位:美元 / 百万 token;价格 = 基础价 × 分组倍率。
gemini-3.1-pro-preview 各分组
| 分组 | 输入 | 输出 | 缓存读 | 月费示例 |
|---|---|---|---|---|
| Vertex-Gemini-1 | $0.40 | $2.40 | $0.04 | $88.00 |
| Aistudio-Gemini-2 | $0.5294 | $3.177 | $0.0529 | $116.47 |
| Vertex-Gemini-2 | $0.60 | $3.60 | $0.06 | $132.00 |
| Aistudio-Gemini-3 | $0.8824 | $5.294 | $0.0882 | $194.12 |
| Vertex-Gemini-3 | $1.80 | $10.80 | $0.18 | $396.00 |
| Aistudio-Gemini-4 | $1.912 | $11.471 | $0.1912 | $420.59 |
hy4-preview 各分组
| 分组 | 输入 | 输出 | 缓存读 | 月费示例 |
|---|---|---|---|---|
| Self-Deployed-1 | $0.2502 | $0.7503 | $0.0125 | $40.03 |
| hunyuan-2 | $0.7923 | $2.376 | $0.0396 | $126.75 |
同一分组对比
两个模型没有共同的分组,月费示例按各自的分组计算(见上表)。
以上为 2026-11-26 构建时的价格快照,实际扣费以模型价格页的实时价格表和控制台为准。
能力对比
| 项目 | gemini-3.1-pro-preview | hy4-preview |
|---|---|---|
| 厂商 | 腾讯 | |
| 上下文 | — | — |
| 能力 | 对话 · 思考 · 多模态 · 识图 | 对话 · 工具 |
| 接口格式 | Gemini generateContent · OpenAI Chat Completions | OpenAI Chat Completions · Anthropic Messages |
| 长上下文阶梯价 | 有 | 无 |
怎么选
- 看重成本:hy4-preview 更便宜,按上面的月费示例 hy4-preview 约 $40.03,gemini-3.1-pro-preview 约 $88.00。
- 要用 Anthropic Messages 格式(/v1/messages,例如 Claude Code 一类工具):选 hy4-preview。
- 需要「思考、多模态、识图」:gemini-3.1-pro-preview 支持。
- 需要「工具」:hy4-preview 支持。
- 拿不准时可以两边各跑一小部分真实请求对比效果和费用,切换只需改 model 参数。
接入示例
Base URL 为 https://api.openlux.ai/v1。下面以 gemini-3.1-pro-preview 为例,把 model 换成 hy4-preview 即可调用另一个模型。
curl https://api.openlux.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemini-3.1-pro-preview",
"messages": [{"role": "user", "content": "Hello"}]
}'常见问题
gemini-3.1-pro-preview 和 hy4-preview 哪个更便宜?
按构建时访客可用分组的最低价:gemini-3.1-pro-preview(Vertex-Gemini-1 分组)输入 $0.40、输出 $2.40 / 百万 token;hy4-preview(Self-Deployed-1 分组)输入 $0.2502、输出 $0.7503 / 百万 token。每月 1 亿输入 + 2 千万输出 token 时,gemini-3.1-pro-preview 约 $88.00,hy4-preview 约 $40.03。
gemini-3.1-pro-preview 和 hy4-preview 能用同一个 API Key 吗?
可以。注册 OpenLux 后在控制台创建一个 API Key,Base URL 设为 https://api.openlux.ai/v1,model 填 gemini-3.1-pro-preview 或 hy4-preview 即可,两个模型的用量从同一份余额扣费。
gemini-3.1-pro-preview 和 hy4-preview 支持哪些接口格式?
gemini-3.1-pro-preview:Gemini generateContent、OpenAI Chat Completions。hy4-preview:OpenAI Chat Completions、Anthropic Messages。
支持 Batch(批量)API 吗?
目前 OpenLux 没有 Batch API,请求都按实时接口调用和计费;需要批量处理时可以并发调用普通接口。
更多
gemini-3.1-pro-preview 的其他对比
- gemini-3.1-pro-preview vs gemini-4-carbon
- gemini-3.1-pro-preview vs gpt-5.5-pro
- gemini-3.1-pro-preview vs grok-4.3
- gemini-3.1-pro-preview vs gpt-6.2-astra
- gemini-3.1-pro-preview vs kimi-k3.1-pro
- gemini-3.1-pro-preview vs claude-opus-5-5
- gemini-3.1-pro-preview vs mimo-v2.6-pro
- gemini-3.1-pro-preview vs grok-4.7