跳到正文
Gemini API Changelog·· 2025-12-19AI 评分28

Gemini API v1beta Interactions API 将 total_reasoning_tokens 更名为 total_thought_tokens

December 19, 2025

AI 导读

Gemini API 在 v1beta 的 Interactions API 中引入一项破坏性变更,将 total_reasoning_tokens 字段更名为 total_thought_tokens,以更贴合思考型模型中"thoughts"的概念。该改动已于 12 月 19 日生效,使用该字段的开发者需相应调整调用代码。

正文
  • Introduced a breaking change to the Interactions API in v1beta. The total_reasoning_tokens field has been renamed to total_thought_tokens to better align with the concept of "thoughts" in thinking models.

来源:Gemini API Changelog · ai.google.dev