Gemini Neon 与 Carbon:3 项真实测试及何时升级
Gemini 4 Neon 和 Carbon 面对相同的工单、JavaScript 和政策任务。查看原始结果、录制的重试以及影响模型选择的 API 价格变化。

快速解答
对于可验证的重复性任务,从 Gemini 4 Neon 开始;当工作需要多个步骤或错误代价高昂时,尝试 Gemini 4 Carbon。 在我们的 GlobalGPT 测试中,两个模型的完整输出都通过了队列对账、JavaScript 修复和策略计算方面的全部 25 项检查。在 Google 标准 API 上,Carbon 在 2026 年 11 月 30 日之前每个 token 更便宜,而 Neon 从 12 月 1 日起按所列费率更便宜。
Gemini Neon 和 Carbon 有什么不同?
Google 于 11 月 18 日推出了 Gemini 4 Neon,作为处理大量编码、分析和知识工作的快速选项。Gemini 4 Carbon 于 11 月 10 日推出,定位用于 Google 最困难的推理和长周期工作负载。两者都通过 Google 的 API 接受文本、图像、视频、音频和 PDF,并返回文本。 Google 的 Neon 公告 · Google 的 Carbon 公告。
功能 | Gemini 4 Neon | Gemini 4 Carbon |
|---|---|---|
Gemini Developer API 模型 ID |
|
|
共享输入和输出上下文 | 1,048,576 个 token | 1,048,576 个令牌 |
默认同步输出上限 | 65,536 个令牌 | 65,536 个令牌 |
Google API 思考级别 | 低、中、高、超高 | 低、中、高 |
Google Gemini 应用访问权限 | Google AI Pro 或 Ultra | 谷歌 AI 至尊版 |
这些上下文数据属于 Google 的 API。输入和输出共享同一个预算,因此较长的输入会减少回答可用的空间。聊天应用或网关可能会显示不同的限制和控制。Neon 模型文档 · Carbon 模型文档。
如果您的大部分工作比下面的示例更轻松,比较 Gemini 4 系列 然后再决定选择哪个模型。当输入干净、输出简短且可以快速验证时,较小的模型可能更合适。
Neon 和 Carbon 在三次实际测试中的表现如何?
我们在2026年11月23日通过GlobalGPT CLI 0.2.44运行了两个确切的模型ID。每次比较都在独立的新会话中使用相同的任务文本和系统指令。工具和项目上下文已禁用。我们将网关的思考设置保留为默认值,并发送了纯文本的JSON指令,未启用响应模式。
测试使用了合成但真实的输入。我们根据预期字段对JSON进行评分,并在Node 22中针对相同的12个可执行案例评估返回的函数。经过时间从CLI进程启动到退出,包括客户端启动、网络时间和任何内部重试。它无法隔离推理延迟。
共享系统指令
Use only the supplied task inputs. Follow the requested output format. You have no tools or external data.
任务 | 霓虹灯 | 碳 |
|---|---|---|
队列对账 | 4/4 · 39.0 秒 | 4/4 · 21.7 秒 |
JavaScript 修复 | 12/12 · 重试时 27.6 秒 | 12/12 · 46.3 秒 |
策略计算 | 9/9 · 50.7 秒 | 9/9 · 57.4 秒 |
Neon 的第一个 JavaScript 请求在 48.9 秒后因连接 GlobalGPT API 超时而退出,且没有模型回答。我们将该次尝试保留在记录中,并重复了相同的请求一次。其成功的重试包含在代码检查中,并排除在任何首次尝试的计时比较之外。
测试 1 · 将混乱的工单信息流转化为下一步行动队列
该信息流故意混合了较晚的版本、相同版本的更新、重新打开的工单、缺失的截止日期以及时间截止点之外的沙箱行。C-104 的较早 P0 行看起来紧急,直到其最新版本在截止日期时将其移至 P2。从时间过滤器开始会使这项任务容易出错。
两个模型都返回了裸 JSON,且所有四个字段都与参考答案匹配。它们将 C-104 放在最后,在版本相同的重新打开后保留了 C-103,将 C-112 标记为错过截止日期,并统计了两个沙箱 ID。Carbon 完成 CLI 运行用时 21.7 秒,而 Neon 为 39.0 秒。所有者计数对象内部键的顺序不同,对下一个系统没有意义。
精确任务提示 · 工单录入
You are preparing the next action queue for a customer operations team. The rules and feed below are synthetic. Read rules in this order: 1. An event with a high enough version replaces earlier versions for the same ticket ID. If versions tie, retain the event that appears later in the feed. Resolve replacements before any other rule. 2. Keep only the final OPEN or REOPENED tickets, and only if their due UTC timestamp is at or before 2026-11-23T12:00:00Z. REOPENED is eligible. 3. If the final row is tagged sandbox or has no due time, do not include it in the queue. Flag any final OPEN or REOPENED, non-sandbox ticket with no due time as missing. 4. Build queue IDs in this order: P0 before P1 before P2. Within priority, earliest UTC due first, then ticket ID ascending. 5. Count queued items by owner. The owner label '-' counts as 'unassigned'. Count distinct IDs eliminated by the sandbox rule among final OPEN/REOPENED records, before applying the due-time cutoff. Feed is in arrival order. Columns: id | version | state | priority | due UTC | owner | tag. C-104 | 1 | OPEN | P0 | 2026-11-23T10:00:00Z | Kai | prod C-108 | 1 | OPEN | P1 | 2026-11-23T11:00:00Z | Kai | prod C-101 | 1 | OPEN | P0 | 2026-11-23T09:50:00Z | Noor | prod C-106 | 2 | OPEN | P1 | 2026-11-23T07:00:00Z | - | prod C-103 | 1 | OPEN | P0 | 2026-11-23T09:50:00Z | Noor | prod C-112 | 1 | OPEN | P2 | - | Kai | prod C-107 | 1 | OPEN | P1 | 2026-11-23T08:00:00Z | Emi | sandbox C-113 | 1 | OPEN | P2 | 2026-11-23T14:00:00Z | Emi | sandbox C-108 | 2 | CLOSED | P1 | 2026-11-23T11:00:00Z | Kai | prod C-106 | 1 | CLOSED | P1 | 2026-11-23T07:00:00Z | Kai | prod C-104 | 2 | OPEN | P2 | 2026-11-23T12:00:00Z | Kai | prod C-109 | 1 | REOPENED | P1 | 2026-11-23T12:00:01Z | - | prod C-110 | 1 | CLOSED | P0 | - | Emi | prod C-103 | 1 | REOPENED | P0 | 2026-11-23T09:50:00Z | Emi | prod C-112 | 2 | OPEN | P2 | - | - | prod Return one bare JSON object with exactly these keys: queue_ids (array of strings), counts_by_owner (object with owner counts of queued items only), missing_due_ids (array of IDs sorted ascending), sandbox_ignored_count (integer). Output the JSON directly, with no Markdown and no surrounding text.
Neon · 原始 JSON 输出
{"queue_ids":["C-101","C-103","C-106","C-104"],"counts_by_owner":{"Emi":1,"Kai":1,"Noor":1,"unassigned":1},"missing_due_ids":["C-112"],"sandbox_ignored_count":2}Carbon · 原始 JSON 输出
{"queue_ids":["C-101","C-103","C-106","C-104"],"counts_by_owner":{"Noor":1,"Emi":1,"unassigned":1,"Kai":1},"missing_due_ids":["C-112"],"sandbox_ignored_count":2}测试 2 · 跨 UTC 日期和重复 ID 的修复事件聚合
该任务要求一个具有明确输入契约的 JavaScript 函数。批次中较早的无效事件可能与稍后的有效事件共享一个 ID。接近午夜的时间戳也可能落在不同的 UTC 日期。过早去重或截断时间戳字符串的函数会悄然丢失分钟数。
两个模型返回的函数都使用 Set 存储已接受的 ID,使用 Map 存储 UTC 日总计。两者在认领 ID 前都检查有效性,在分配日期前解析偏移量,并保持冻结输入不变。它们通过了全部 12 个 Node 22 用例。Carbon 在第一次请求时就返回了代码。Neon 的代码来自传输错误后成功的重试。
对仪表板的实际检查是使用真实偏移模式和从你的信息源重放的 ID 来运行返回的函数。通过这些用例表明返回的函数遵循了所述契约。它将集成行为(如真实数据清洁度和上游模式变更)留给你的测试。
精确任务提示 · JavaScript 修复
A dashboard currently counts activity by day, but it duplicates retried events and mishandles offsets. Implement summarize(rows) as a plain JavaScript function. It must run under Node 22 using the standard library only. Return only the function code, without Markdown fences, imports, exports, tests, or explanatory text.
Each row is { id, minutes, at }. Rows can also be null. Treat a row as valid only if it is an object, id is a string that remains nonempty after trim, minutes is a Number that is a positive safe integer, and at is a nonempty string with a finite Date.parse result. Input values may include numeric strings, NaN, unusually large integers, or events with explicit time-zone offsets.
Process valid rows in encounter order. The first valid row for each trimmed id wins across the entire input. An invalid row never claims an id. IDs remain case-sensitive. Assign minutes to the UTC date YYYY-MM-DD of at, using Date parsing. Return an array of { day, minutes, events }, sorted by day ascending. Include totals and accepted event count for each day. Assume every valid input has an ordinary four-digit UTC year and every daily total is a safe integer. Return [] when rows is not an array. Leave the input array and objects untouched.Neon · 重试中的原始函数
function summarize(rows) {
if (!Array.isArray(rows)) {
return [];
}
const seenIds = new Set();
const byDay = new Map();
for (let i = 0; i < rows.length; i += 1) {
const row = rows[i];
if (row === null || typeof row !== 'object' || Array.isArray(row)) {
continue;
}
const { id: rawId, minutes, at } = row;
if (typeof rawId !== 'string') {
continue;
}
const id = rawId.trim();
if (id.length === 0) {
continue;
}
if (typeof minutes !== 'number' || !Number.isSafeInteger(minutes) || minutes <= 0) {
continue;
}
if (typeof at !== 'string' || at.length === 0) {
continue;
}
const ms = Date.parse(at);
if (!Number.isFinite(ms)) {
continue;
}
if (seenIds.has(id)) {
continue;
}
seenIds.add(id);
const day = new Date(ms).toISOString().slice(0, 10);
const entry = byDay.get(day);
if (entry === undefined) {
byDay.set(day, { day, minutes, events: 1 });
} else {
entry.minutes += minutes;
entry.events += 1;
}
}
return Array.from(byDay.values()).sort((a, b) => (a.day < b.day ? -1 : a.day > b.day ? 1 : 0));
}Carbon · 原始函数
function summarize(rows) {
if (!Array.isArray(rows)) {
return [];
}
const seenIds = new Set();
const byDay = new Map();
for (let i = 0; i < rows.length; i++) {
const row = rows[i];
if (row === null || typeof row !== "object" || Array.isArray(row)) {
continue;
}
const { id, minutes, at } = row;
if (typeof id !== "string") {
continue;
}
const trimmedId = id.trim();
if (trimmedId.length === 0) {
continue;
}
if (!Number.isSafeInteger(minutes) || minutes <= 0) {
continue;
}
if (typeof at !== "string" || at.length === 0) {
continue;
}
const timestamp = Date.parse(at);
if (!Number.isFinite(timestamp)) {
continue;
}
if (seenIds.has(trimmedId)) {
continue;
}
seenIds.add(trimmedId);
const day = new Date(timestamp).toISOString().slice(0, 10);
let bucket = byDay.get(day);
if (bucket === undefined) {
bucket = { day, minutes: 0, events: 0 };
byDay.set(day, bucket);
}
bucket.minutes += minutes;
bucket.events += 1;
}
return Array.from(byDay.values()).sort((a, b) =>
a.day < b.day ? -1 : a.day > b.day ? 1 : 0
);
}测试 3 · 根据冲突文档计算服务积分
政策包在同一份签署文件中包含有效的定价更正和时间覆盖。后来的通知撤销了时间覆盖,同时保留了定价更正。该事件别名的信用草稿看起来也像已支付的款项,但仍处于待处理状态。
两个答案都正确保留了原始恢复时间,使用了修订后的小计,并排除了待处理的信用。中断持续了244分钟,50%的费率产生了41,575美分的毛额,25,000美分的上限在减去已授予的6,125美分之前适用。两者都返回了18,875美分,并准确引用了所需的六份文件。Neon在50.7秒内完成了运行,而Carbon为57.4秒。
使用被撤销的停用项将产生233分钟和30%的积分。在之前的积分之后,这会产生188.20美元,仅比正确的188.75美元低0.55美元,尽管使用了错误的政策区间。两个模型都避免了该错误。对于类似的工作流程,即使最终金额看起来合理,也要分别验证时间线、费率和上限。
精确任务提示 · 政策计算
You are reconciling a synthetic service-credit case for a specialist who will independently validate the result. Use only the documents below. [P1] Base policy, effective Oct 1. Calculate a credit from eligible service subtotal in cents. Hardware, setup, taxes, and add-ons are excluded. The status threshold is measured from customer-reported interruption start to provider-confirmed recovery, in whole elapsed minutes. The start is inclusive and recovery ends the interruption. Base bracket: 0–59 minutes 0%, 60–119 minutes 15%, 120–239 minutes 30%, 240 or more minutes 50%. Duplicate records for the same incident never create additional credits. [P2] Enterprise addendum, signed Oct 15. When recovery is within 15 minutes of an accepted incident override, apply the override stop only if the override explicitly names the same incident and says use this stop for credit. Exception: if an override itself has been revoked in a later signed notice, use provider-confirmed recovery. Cap the resulting credit at 25,000 cents per account and affected service month, then subtract any credit previously granted for the same incident. Final credit cannot be negative. A signed correction for eligible subtotal replaces the invoice subtotal for the exact service and month it identifies. [P3] Initial account invoice, November 2026, account Q8. eligible base subscription service Atlas 96,000 cents, Atlas setup 10,000, Atlas tax 6,720, Atlas hardware 22,000, Atlas add-on 1,800. Base subscription service Beacon 110,000 cents. Two earlier unassociated credit entries: Atlas September incident R-222 2,300 cents, Beacon November incident R-271 9,000 cents. [P4] Incident report, Atlas, account Q8, Nov 21, case R-280. Customer report: 08:37 UTC. Provider confirms recovery at 12:41 UTC. A duplicate label says R-280b; incident control notes it is a duplicate alias of R-280. A ticket acknowledgement was sent at 08:49. No other recovery time appears on the incident report. [P5] Signed override, Nov 21. R-280 override uses 12:30 UTC as the stop for credit. Signed correction for eligible Atlas November base subscription subtotal: 83,150 cents. An unsigned Slack note says November subtotal is 79,000 cents. [P6] Signed incident-only revocation, Nov 22. Revoke the stop-time override for R-280 in P5. The eligible-subtotal correction remains in force. No change to the stated recovery in P4. [P7] Credits register, Q8, Atlas November. Already granted for R-280: 6,125 cents. Pending provisional credit marked draft for R-280b: 1,800 cents, which has not been granted. [P8] Operations memo, unsigned, Nov 22. Suggestion only: start at acknowledgement to save time on review. An override for separate case R-279 names 12:37 UTC and is still in force. Return one bare JSON object with exactly these fields: incident_id (string), duration_minutes (integer), credit_rate_percent (integer), eligible_subtotal_cents (integer), gross_credit_cents (before cap and prior credits), capped_credit_cents (before prior credits), prior_granted_cents, final_credit_cents, and evidence_ids (array of the minimum document IDs necessary to support the final calculation, without documents that are wholly superseded or only distracting). Use P1-style IDs. Round half up to the nearest cent if needed. No Markdown or surrounding prose.
Neon · 原始 JSON 输出
{"incident_id": "R-280", "duration_minutes": 244, "credit_rate_percent": 50, "eligible_subtotal_cents": 83150, "gross_credit_cents": 41575, "capped_credit_cents": 25000, "prior_granted_cents": 6125, "final_credit_cents": 18875, "evidence_ids": ["P1", "P2", "P4", "P5", "P6", "P7"]}Carbon · 原始 JSON 输出
{"incident_id":"R-280","duration_minutes":244,"credit_rate_percent":50,"eligible_subtotal_cents":83150,"gross_credit_cents":41575,"capped_credit_cents":25000,"prior_granted_cents":6125,"final_credit_cents":18875,"evidence_ids":["P1","P2","P4","P5","P6","P7"]}Neon 比 Carbon 更便宜还是更快?
在 2026 年 11 月 30 日之前,Carbon 在 Google 标准 Gemini 开发者 API 上每个 token 更便宜。到 12 月 1 日,按所列价格顺序会反转。 以下费率为每百万 token 的美元价格,检查于 11 月 23 日。输出列包含思考 token。 Neon 定价 · Carbon 定价。
Google 标准 API | 输入 | 输出 | 缓存输入 |
|---|---|---|---|
Neon | $3.00 | $15.00 | $0.15 |
Carbon 截至 11 月 30 日 | $2.00 | $10.00 | $0.10 |
Carbon 自 12 月 1 日起 | $4.00 | $20.00 | $0.20 |
对于10,000个输入令牌和2,000个计费输出令牌,标准API计算为Neon 0.06美元,Carbon在推广期内为0.04美元,从12月1日起Carbon为0.08美元。每个数字将令牌计数乘以其每百万费率,并将输入和输出相加。该示例假设没有缓存输入且没有付费工具。
仅凭单价无法预测每次成功作业的成本。模型可能使用更多完成令牌或需要另一次尝试。GlobalGPT CLI 报告了我们成功运行的这些完成计数。它们是默认设置下的网关使用字段。我们没有将它们与每次运行的 GlobalGPT 信用费用或 Google 发票进行核对。
已完成的运行 | Neon 完成令牌 | Carbon 完成令牌 |
|---|---|---|
队列对账 | 3,833 | 1,104 |
JavaScript 修复 | 2,723 | 2,208 |
策略计算 | 4,783 | 4,294 |
一个有用的例子是工单接收,网关报告 Neon 的完成令牌为 3,833 个,Carbon 为 1,104 个,尽管可见的 JSON 长度相同。这并不能孤立地解释差距的原因。在为工作流做预算时,这是将使用情况与通过率和耗时一起记录的一个理由。我们两次干净的首次尝试计时比较指向了相反的方向,因此我们没有选出速度赢家。
何时应选择 Neon 或升级到 Carbon?
将 Neon 作为可自动检查的重复性工作的起点。当验收规则明确时,队列排序、数据转换和规范良好的脚本都是不错的候选。如果您已经通过 Google AI Pro 拥有 Neon,请在决定是否需要 Ultra 订阅之前,先在那里运行您自己的示例。
在那些耗费你修复时间的困难案例上试用 Carbon,例如跨多个文件的更改、包含冲突修订的长文档,或者必须经得起二次检查的规划。保存失败的 Neon 输入,并在 Carbon 上运行相同的输入,然后比较你接受的工作。你还可以 了解 Carbon 如何处理重复运行 在一组单独的测试中,这些测试包括多文档工作和编码稳定性。
要为你的团队做出决定,请收集有代表性的失败案例,并在运行两个模型之前定义验收标准。比较精确检查、重试次数、实际耗时和用量。如果第一次响应很便宜,但需要三次修订,那可能代价高昂。在 Carbon 的推广定价窗口期内,让工作负载和结果来驱动选择,因为对于相同数量的令牌,Carbon 的费率也更低。
在 Google 的 Gemini 应用中,Google 宣布了面向 Pro 和 Ultra 的 Neon 以及面向 Ultra 的 Carbon。在第一方 Gemini Developer API 中,两者都需要付费层级。如果你在付费前评估访问权限,检查哪些试用版涵盖模型访问权限。这两个模型在 GlobalGPT 上也有直接的模型页面。Neon 可用性 · Carbon 可用性。
如果你正在 Gemini 应用中试用 Neon,请寻找深度分析选项。一位 Pro 用户在 11 月 18 日的推出期间报告在那里看到了 Neon。请检查你自己的选择器,因为该报告仅反映单个账户。原始 Pro 账户报告。
常见问题
Gemini 4 Neon 比 Gemini 4 Carbon 更好吗?
这取决于工作负载。在我们的三项 GlobalGPT 任务中,两个模型的已完成输出都通过了全部 25 项检查。对于可以验证的重复性工作,请先尝试 Neon。当您自己更困难的情况证明值得切换时,再让 Carbon 接手。
Gemini 4 Neon 比 Carbon 更快吗?
Google 将 Neon 定位为更快完成任务。在我们的 GlobalGPT 运行中,Carbon 更快完成队列任务,Neon 更快完成策略任务。Neon 的第一次代码请求在连接超时后没有产生输出,因此成功的重试单独显示。
在 Gemini API 上哪个更便宜?
在 Google 标准层级上,对于相同的令牌数量,Carbon 在 2026 年 11 月 30 日之前更便宜,输入每百万令牌 2 美元,输出每百万令牌 10 美元。从 12 月 1 日起,Carbon 涨至 4 美元和 20 美元,而 Neon 的标价为 3 美元和 15 美元。
我可以在 Google AI Pro 订阅中使用 Gemini Neon 或 Carbon 吗?
Google 宣布在 Gemini 应用中为 Google AI Pro 和 Ultra 订阅用户提供 Neon。Carbon 被列为 Google AI Ultra 可用。Gemini Developer API 使用量单独计费。
Neon 和 Carbon 的上下文窗口相同吗?
Google 为每个模型记录了共享的输入和输出限制,即 1,048,576 个 token。默认的同步输出上限为 65,536 个 token。长解码是一种单独的模式,仍然在共享的上下文预算之内。
Carbon 是否提供与 Neon 相同的思考级别?
Google 的 API 文档为 Carbon 列出了低、中和高。Neon 增加了超高。GlobalGPT CLI 测试使用了网关默认值,并未为任一模型设置或验证思考级别。
我可以重新运行文章测试吗?
可以。使用文章中确切的任务卡和共享系统指令。对于 JavaScript 任务,请针对您自己的测试数据运行每个返回的函数,并验证 UTC 偏移、重复 ID 和无效输入。将连接失败与错误答案分开记录。
最终结论
我们的三项任务没有提供任何质量理由来从正常运行的 Neon 设置升级。两种模型都通过了验收检查,我们可以在几秒钟内验证它们的输出。保留 Carbon 用于更困难的工作,在这些工作中,更好的答案可以节省有意义的审查或修复时间,并根据实际令牌计数和运行工作时的适用费率做出价格决策。



