Gemini 4 Carbon 是谷歌的前沿推理模型,2026 年 11 月 10 日正式发布。
- 输入
- 文本 图像 音频 视频 $2/M
- 输出
- 文本 $10/M
- 缓存读取
- $0.1/M
- 音频输入
- $2/M
- 音频缓存读取
- $0.1/M
- 上下文
- 1M
- 对比 GPT-4o
- 便宜约 60%
- 知识截止
- 2026-03
按输入长度分档的价格
整次请求按输入长度所在档位计费。价格单位为美元/百万 token。
| 输入 token 数 | 输入 | 输出 | 思考模式输入 |
|---|
Benchmark 成绩
供应商公布: Google
价格在同类中的位置
价格在 79 个同类模型中的位置
这条线标出该模型的价格在 Synthorai 同类模型中的位置,两端分别是最便宜和最贵的模型。这里是基础价,批量、区域和缓存写入的折扣见价格页。
规格与限制
Token
| 上下文窗口(供应商规格) | 1,048,576 |
|---|---|
| 最大输出(供应商规格) | 65,536 |
| 知识截止 | 2026-03 |
提示词缓存
| 缓存方式 | 自动 |
|---|---|
| 最小前缀 | 4,096 |
思考
| 供应商参数 | thinking_level |
|---|---|
| 可选值 | low · medium · high; "minimal" and thinking_budget return 400 |
| 默认值 | medium 请求未指定时生效 |
| 可关闭 | 不支持 |
| 思考行为 | There is no off setting and no numeric thinking budget. Custom temperature, top_p and top_k values are ignored. |
| 参数 | reasoning_effort |
| 取值 | minimal · low · medium · high 这是网关侧的参数,实际以上方的供应商映射为准 |
模型
| 模态 | 文本 + 图像 + 音频 + 视频 → 文本 |
|---|
Google's frontier Gemini 4 model for deep work on complex, real-world tasks across coding, finance, legal, cybersecurity and science. Google says it spends more thinking tokens per turn than Gemini 4 Argon to explore and verify its work, which raises token use and latency. The output price includes thinking tokens. The published rate is introductory: input and output both double on 1 December 2026, and cached input doubles with them. Caching is implicit only.
依据 模型规格来源 ↗
一条提示词,经网关实测
Gemini 4 Carbon 通过 · 3 sentences
Enabling reasoning instructs the AI to generate a lengthy, behind-the-scenes "thought process" to verify its logic before delivering a final answer. Because our vendor bills us based on total output volume, we are charged for all of that invisible scratchpad work in addition to the visible response, effectively doubling the compute consumed per query. Moving forward, we can control this cost by restricting reasoning strictly to complex, high-stakes workflows where higher accuracy justifies the premium, while routing routine tasks back to standard, lower-cost models.
输出 908 tok (+799 思考) 延迟 18.0 s
指令遵循(恰好三句,数得出来)、受众适配(对 CFO 说话的口吻),以及下方 token 计数暴露出的隐藏思考计费差额。
Gemini 4 Carbon 通过 · 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 original function counts the number of matching adjacent *transitions* rather than the number of *elements* in a run because `best` and `cur` are initialized and reset to `0` instead of `1`. Because a single item on its own already forms a run of length `1`, starting at `0` causes every non-empty result to be short by one: single-element lists (where the loop never executes) and lists with no duplicates return `0` instead of `1`, and any run of $k$ equal items—including one ending at the last index—only increments `cur` $k - 1$ times, making it appear as though the final element of the run was missed. […]
输出 1411 tok (+1131 思考) 延迟 32.7 s
修复是否真的正确(能运行)、解释的信息密度,以及在一个范围明确的任务上的 token 效率。
Gemini 4 Carbon 通过 · 5/5 fields, guidance null
```json { "company": "Meridian Robotics", "quarter": "September quarter", "revenue_usd_m": null, "growth_pct": null, "guidance": null } ```
输出 3338 tok (+3281 思考) 延迟 61.6 s
是否严守 schema(不臆造字段)、能否顶住幻觉压力(原文明说暂不给出 guidance),以及结构化输出路径的差异。
Gemini 4 Carbon 通过 · 120 words, 0 banned, 1 question
Are your engineering teams paying multiple AI vendors to generate identical responses? Today, we are introducing Universal Prompt Caching for our flagship API Gateway. When applications route traffic across providers like OpenAI, Anthropic, and Mistral, duplicate queries drain budgets and degrade user experiences. Our new unified caching layer intercepts incoming prompts directly at the network edge. If an identical request was previously fulfilled by any connected model, the gateway delivers the stored response in milliseconds, completely bypassing external API calls. This practical upgrade cuts monthly token expenses substantially while accelerating overall application speed. Best of all, deployment requires zero complex code changes. Simply activate this capability inside your gateway configuration dashboard today to start reducing latency and infrastructure costs immediately.
输出 2620 tok (+2480 思考) 延迟 31.1 s
是否守住约束(字数预算、禁用词表、只能有一个问句)、文风特征,以及长度控制。
30 秒用上 Gemini 4 Carbon
兼容 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="gemini-4-carbon",
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-carbon",
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-carbon",
"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-carbon",
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-carbon")
.addUserMessage("Summarize this diff")
.reasoningEffort(ReasoningEffort.MEDIUM)
.build());
System.out.println(resp.choices().get(0).message().content().orElse(""));关于 Gemini 4 Carbon
- 官方模型页称其面向编程、金融、法律、网络安全和科学等领域里复杂、真实任务的深度工作;谷歌的新功能说明页还提到,遇到难题时它会花更多思考 token 去探索假设、核验自己的工作并检查边界情况,然后再作答。
- Gemini 4 Argon 与它共用同样的上下文窗口、内置工具和按 token 计的价格;谷歌把 Carbon 指向需要推理深度的工作,例如根因调试、架构设计、高密度多模态综合、科学证明和安全审计,而 Argon 仍是响应更快、每轮 token 花费更少的选择。
- 它接受文本、图像、音频、视频和 PDF 输入并返回文本。
- 上下文窗口是输入与输出共用的一个 1,048,576 token 上限;单次同步请求最多返回 65,536 个输出 token(非流式为 32,768)。
- 思考有 low、medium(默认)和 high 三个档位,没有关闭选项,也没有数值型思考预算,因此通过 Synthorai 发出的要求最少推理的请求会按 low 运行。
- 谷歌文档还说明,自定义的 temperature、top_p 和 top_k 取值会被忽略。
- 定价上最该提前规划的一点是:当前公布价是引流价而非最终价,每百万输入 token $2、每百万输出 token $10 的价格持续到 2026 年 11 月 30 日,2026 年 12 月 1 日起两者翻倍至 $4 与 $20。
- 缓存输入同日调整,由每百万 token $0.10 涨到 $0.20。
- 输出价含思考 token,而 Carbon 每轮花的思考 token 比 Argon 多,设置最大输出与客户端超时时要把这一点算进去。
- 缓存只有隐式缓存,提示词至少 4,096 token 才会缓存,没有需要创建或管理的显式缓存。
- Synthorai 通过 OpenAI 兼容的 chat completions 端点提供该模型,接进现有集成无需换用谷歌专用客户端。
常见问题
Gemini 4 Carbon API 可以免费试用吗?
可以。新账号有 10 次试用调用,免费额度最高 $1,无需绑卡。按输入 $2/M 计算,光这笔额度就够向 Gemini 4 Carbon 发约 62 次请求,每次 ~8K token。
Gemini 4 Carbon 最擅长什么?
每轮思考比 Gemini 4 Argon 更多、输入输出共用 1M token 上限、引流价 2026 年 12 月 1 日起翻倍。完整介绍见「关于」部分,内容取自供应商的官方发布说明。
Gemini 4 Carbon 的价格是多少?
在 Synthorai 上,Gemini 4 Carbon 的输入价为 $2/百万 token,输出价为 $10/百万 token。这就是供应商官网价,平台不加价。 音频输入: $2/百万 token · 音频缓存读取: $0.1/百万 token缓存命中的输入 token 按 $0.1/M 计费。
Gemini 4 Carbon 的上下文长度是多少?
Gemini 4 Carbon 的上下文长度(上下文窗口)是 1M token。单次回复最多输出 65,536 个 token。
Gemini 4 Carbon 支持提示词缓存(prompt caching)吗?
支持,而且全自动:经 Google 处理的提示词会自动缓存,不用改代码。缓存命中的输入 token 按 $0.1/M 计费(未命中为 $2/M);提示词的稳定前缀至少要有 4,096 个 token 才能缓存。 提示词缓存指南 →
如何开通 Gemini 4 Carbon?
把现有 OpenAI SDK 的 base_url 指向 "https://synthorai.io/v1",model 设为 "gemini-4-carbon" 即可。一个 API key 就能调用网关上的全部模型。
Gemini 4 Carbon 的知识截止日期是什么时候?
Gemini 4 Carbon 的知识截止日期是 2026-03,以供应商官方文档为准(核对于 2026-11-12)。
相关模型
对比
规格与厂商 benchmark 均附来源链接。网关支持情况说明的是 Synthorai 的实际实现。归档示例是单次网关请求,不代表模型的一般性能保证。价格来自公开价格接口或构建时使用的快照。