PulseAugur
中
实时 15:56:02
English(EN) Gemini Accepted "thinkingBudget: 0". So Why Was It Still Thinking?

Gemini API 实验表明 thinkingBudget: 0 仍在使用思考 token

对 Gemini API 的一项实验显示,将 `thinkingBudget` 设置为 0 并未阻止模型使用思考 token,这与 Firebase AI Logic 的文档相悖。API 接受了 `thinkingBudget` 为 0、1024 和 8192 的请求,并且即使预算为 0,`gemini-4-hydrogen` 模型也持续使用了超过 1200 个思考 token。这表明对于该模型和 API,`thinkingBudget` 参数更像是一个建议而不是严格的限制。 AI

影响 开发者应验证 LLM 配置,并且在没有明确文档说明的情况下,不要假设 `thinkingBudget` 等参数是严格限制。

排序理由 该条目描述了 API 参数的意外行为,这是一个具体的产品观察结果,而不是新的模型发布或重大的行业事件。

在 dev.to — LLM tag 阅读 →

AI 生成摘要 · Google Gemini · 来自 1 个来源。 我们如何撰写摘要 →

Gemini API 实验表明 thinkingBudget: 0 仍在使用思考 token

本文如何被排名

Signal score
49 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
该条目描述了 API 参数的意外行为,这是一个具体的产品观察结果,而不是新的模型发布或重大的行业事件。
Source corroboration
Single-source cluster
Only one publisher covered this so far. Single-source stories can still rank when the publisher is high-authority, but they lack cross-source corroboration.
Topics
product, other
Editorial topic classification. Feeds into how the story surfaces on /topic/<slug> hub pages and into the per-entity coverage mix.
AI-industry relevance
High
Clearly on-topic for AI-industry coverage.
Story freshness
Breaking (< 6h)
Fresh story with cross-source coverage still developing. Ranking may shift as more sources report.

完整方法见我们的编辑标准。

报道来源 [1]

  1. dev.to — LLM tag TIER_1 English(EN) · Prikshit ·

    Gemini 接受了“thinkingBudget: 0”。那它为什么还在思考?

    <p><em>An unexpected Gemini API result, a small experiment with reasoning tokens, and a lesson about verifying LLM behavior before production.</em></p> <h2> 1. The Unexpected Result </h2> <p>Imagine configuring an AI model to minimize its reasoning effort. You set:<br /> </p> <di…