Spend caps in the Gemini API, available starting today!!
— Logan Kilpatrick (@OfficialLoganK) March 12, 2026
This is another step forward of many to give developers more control and peace of mind when building with Gemini. Please go set a cap and send us any feedback as you use them! pic.twitter.com/P4xPoiax3V
Set a spend cap: https://t.co/ayS906r5YF
— Logan Kilpatrick (@OfficialLoganK) March 12, 2026
Here are a few things to note:
- Spend caps can have up to a 10 minute delay before taking effect, you are still responsible for the overages in this case
- We are working to bring this latency down over time
- We are shortly rolling…
AI 中文摘要Claude 生成
Google 宣佈在 Gemini API 中推出支出上限功能,讓開發人員獲得更多成本控制和使用安心感。這項新功能即日起開放使用者設定支出上限。
支出上限的主要特點包括:設定上限後最多需要 10 分鐘才能生效,在這段延遲期間產生的超額費用仍由開發人員承擔責任。Google 表示正在努力降低這個延遲時間。
官方文件未完整公開所有細節,但強調這是「許多步驟中的另一步」,目的是給予開發人員更多對 Gemini 的控制權。Google 邀請開發人員設定支出上限並提供使用反饋。
這反映出 API 成本管理對開發社群的重要性,也顯示 Google 在完善 Gemini 服務時仍有技術延遲需要克服——10 分鐘的生效延遲意味著即使設定了上限,開發人員仍需承擔在此期間產生的潛在超額成本。
