Gemini 4 Hydrogen vs GPT-6.1 Sol
什么时候选哪个
编程流程需要把音频或视频连同截图直接作为输入时,选 gemini-4-hydrogen。 输入为 272000 token 时,每百万输入/输出 token 的费率为 gemini-4-hydrogen $1.5/$7.5,gpt-6.1-sol $2/$10。
Benchmark 成绩
GPT-6.1 Sol:供应商没有公布 benchmark 成绩。
Gemini 4 Hydrogen:公布了 10 项成绩,但每一项测过的其他模型都太少,没法比较。
供应商公布: Google
价格
| Gemini 4 Hydrogen | GPT-6.1 Sol | Δ | |
|---|---|---|---|
| 输入 / 1M token | $1.5 | $2 | 0.75× |
| 输出 / 1M token | $7.5 | $10 | 0.75× |
| 缓存读取 / 1M token | $0.075 | $0.1 | 0.75× |
| 缓存写入 | - | 1.25x (30m) / 2.5x (12h) | - |
价格取自构建时的实时目录,最新价格见各模型页面。 主表显示基础档。提示词长度可能改变整次请求的费率,各模型页有完整价目。
GPT-6.1 Sol · 按输入长度分档的价格
整次请求按输入长度所在档位计费。价格单位为美元/百万 token。
| 输入 token 数 | 输入 | 输出 | 思考模式输入 |
|---|---|---|---|
| 0 - 272,000 | $2 | $10 | - |
| 272,001 - 1,050,000 | $4 | $15 | - |
两个模型所处的位置:全部 86 个按同一单位计费的聊天模型的每 1M token 输入价分布(对数刻度)
能力
| Gemini 4 Hydrogen | GPT-6.1 Sol | |
|---|---|---|
| 工具调用 | 是 | 是 |
| 思考控制 | 始终开启 | 始终开启 |
| 结构化输出 | 是 | 是 |
| 提示词缓存 | 隐式(自动) | 隐式 + 显式 |
| 缓存有效期 | 未公布 | at least 30m by default, 12h option on the Responses API |
| 最小缓存前缀 | 4,096 个 token | 1,024 个 token |
规格
| Gemini 4 Hydrogen | GPT-6.1 Sol | |
|---|---|---|
| 输入模态 | 文本 图像 音频 视频 | 文本 图像 |
| 输出模态 | 文本 | 文本 |
| 发布日期 | 2026-11-12 | 2026-09-29 |
| 知识截止日期 | 2026-03 | 2026-04 |
| 上下文窗口 | 1,048,576 | 1,050,000 |
| 最大输出 | 65,536 | 128,000 |
| 思考参数 | thinking_level | reasoning.effort |
| 可选值 | thinking_level
"minimal" and thinking_budget return 400 | reasoning.effort
|
| 默认值 | high | medium |
规格照录自各供应商的文档;供应商没有公布的项目,对应的行直接省略,不做推断。 完整来源: Gemini 4 Hydrogen · GPT-6.1 Sol
同一条提示词,两个模型,经网关实测
Gemini 4 Hydrogen 通过 · 3 sentences
When reasoning is enabled, the AI generates extensive hidden "thinking" tokens to verify its logic step-by-step before delivering a final answer. Because vendors bill us for every token produced—meaning we pay full output-token rates for this invisible internal work—our billable consumption doubled even though the user-facing responses stayed the same length. To protect our margins, we should restrict reasoning mode strictly to complex, high-value tasks and route routine queries back to standard models.
输出 1236 tok (+1136 思考) 延迟 9.0 s
GPT-6.1 Sol 通过 · 3 sentences
Enabling reasoning makes the model do more computational work before answering, and many providers bill the resulting reasoning tokens even though users never see them. That means the same number of requests can cost twice as much because each request consumes more billable tokens, even if the visible answers stay the same length. We should confirm the increase in our usage breakdown and reserve higher reasoning levels for tasks where the improvement justifies the added cost.
输出 144 tok (+54 思考) 延迟 6.6 s
指令遵循(恰好三句,数得出来)、受众适配(对 CFO 说话的口吻),以及下方 token 计数暴露出的隐藏思考计费差额。
Gemini 4 Hydrogen 通过 · 8/8 cases
```python def longest_run(xs): if not xs: return 0 best = 1 cur = 1 for i in range(1, len(xs)): if xs[i] == xs[i - 1]: cur += 1 best = max(best, cur) else: cur = 1 return best ``` The bug is that `best` and `cur` were initialized (and `cur` was reset) to `0` instead of `1`, causing the loop to count matching adjacent transitions rather than the number of elements in a run. As a result, any non-empty input was off by one—returning `0` on single-element lists where the loop doesn't execute at all, and undercounting every run (including runs ending at the last index) by 1. Returning `0` early for empty inputs and starting/resetting the run length at `1` ensures each element is counted accurately while still updating `best` on the final iteration when a run ends at the last index.
输出 1489 tok (+1247 思考) 延迟 10.8 s
GPT-6.1 Sol 通过 · 8/8 cases
```python def longest_run(xs): if not xs: return 0 best = cur = 1 for i in range(1, len(xs)): if xs[i] == xs[i - 1]: cur += 1 else: cur = 1 best = max(best, cur) return best ``` The original function counts equal adjacent pairs rather than items in a run: a run of length `n` has only `n - 1` equal pairs, so a single-element input returns `0`, and a run ending at the last index is also undercounted. It does process the last index, so the issue is not a missing final check. Initializing each nonempty run to `1` and updating `best` after every iteration correctly counts items, including singleton and trailing runs; empty inputs still return `0`.
输出 189 tok 延迟 6.3 s
修复是否真的正确(能运行)、解释的信息密度,以及在一个范围明确的任务上的 token 效率。
Gemini 4 Hydrogen 通过 · 5/5 fields, guidance "withheld pending the Q4 close"
```json { "company": "Meridian Robotics", "quarter": "September quarter", "revenue_usd_m": null, "growth_pct": null, "guidance": "withheld pending the Q4 close" } ```
输出 3165 tok (+3100 思考) 延迟 21.2 s
GPT-6.1 Sol 通过 · 5/5 fields, guidance "Withheld pending the Q4 close"
{ "company": "Meridian Robotics", "quarter": "September quarter", "revenue_usd_m": null, "growth_pct": "eleven and change", "guidance": "Withheld pending the Q4 close" }
输出 345 tok (+285 思考) 延迟 10.2 s
是否严守 schema(不臆造字段)、能否顶住幻觉压力(原文明说暂不给出 guidance),以及结构化输出路径的差异。
Gemini 4 Hydrogen 通过 · 120 words, 0 banned, 1 question
Introducing unified prompt caching, the newest capability in our enterprise API gateway. Are you tired of paying repeatedly for identical prompts sent across different AI providers? Our gateway now caches prompts across major AI providers within a unified, shared memory layer. When an application submits a matching query, the gateway intercepts the request and returns the saved output in milliseconds, completely bypassing external inference fees. Engineering teams gain predictable latency and substantial cost reductions without modifying any existing application code. Managing cache policies at the infrastructure edge helps your organization prevent provider dependency while maintaining strict data privacy standards. Enable unified prompt caching in your dashboard today to build faster, more economical artificial intelligence applications across your entire technology stack.
输出 3710 tok (+3574 思考) 延迟 24.1 s
GPT-6.1 Sol 通过 · 120 words, 0 banned, 1 question
Introducing Cross-Provider Prompt Cache, a new API gateway feature that stores reusable prompts and manages caching across your supported AI providers. Why rebuild the same context every time your application switches models? With one configuration, teams can reuse shared instructions, standardize cache policies, and reduce repeated prompt processing wherever provider caching is available. The gateway handles provider-specific requirements while giving you clear visibility into cache hits, usage, and estimated savings. Set expiration windows, isolate cached content by project, and invalidate entries when prompts change. Your existing routing logic stays intact, so you can compare models without rebuilding your caching workflow. […]
输出 588 tok (+435 思考) 延迟 13.9 s
是否守住约束(字数预算、禁用词表、只能有一个问句)、文风特征,以及长度控制。
改一行代码就能在两个模型之间切换
下方每个标签页里都有两个模型 ID,高亮的那两行是唯一要改的地方。端点不变,API key 不变,请求结构也不变。
from openai import OpenAI
client = OpenAI(
base_url="https://synthorai.io/v1",
api_key="sk-syn-...",
)
resp = client.chat.completions.create(
model="gemini-4-hydrogen",
# model="gpt-6.1-sol", # 取消注释此行,注释上一行
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: "gemini-4-hydrogen",
// model: "gpt-6.1-sol", // 取消注释此行,注释上一行
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": "gemini-4-hydrogen",
# "model": "gpt-6.1-sol", # 取消注释此行,注释上一行
"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: "gemini-4-hydrogen",
// Model: "gpt-6.1-sol", // 取消注释此行,注释上一行
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("gemini-4-hydrogen")
// .model("gpt-6.1-sol") // 取消注释此行,注释上一行
.addUserMessage("Summarize this diff")
.reasoningEffort(ReasoningEffort.MEDIUM)
.build());
System.out.println(resp.choices().get(0).message().content().orElse(""));常见问题
Gemini 4 Hydrogen 和 GPT-6.1 Sol 哪个更便宜?
主表显示基础档。提示词长度可能改变整次请求的费率,各模型页有完整价目。
不用分别集成两次,就能对 Gemini 4 Hydrogen 和 GPT-6.1 Sol 做 A/B 测试吗?
可以。两个模型走同一个 OpenAI 兼容端点,用同一个 API key,切换时只要改一行里的模型名,所以可以给两个模型各分一部分流量,直接对比账单。
Gemini 4 Hydrogen 和 GPT-6.1 Sol 支持提示词缓存吗?
支持。两个模型的缓存读取价都低于各自的输入价,所以前缀能反复命中缓存的负载,实际成本会比按官网价估算的低。具体的缓存读取价见上方价格表。