Linking GCP billing account does not upgrade Gemini API from free-tier quotas
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- google-cloud, javascript
- 领域
- api, cloud, developer-experience
调研方向
首先,使用所述的 20 个请求限制,复现经过 GCP Console、Generative Language API、API quota page 和 @google/genai SDK 的流程。完成的标准是确认账单关联是否会改变 Gemini 配额,或确定缺失的警告或指导;payload 未指出任何 repository 文件或测试。
由索引模型根据 Issue 内容生成。
描述
Problem
After linking a GCP billing account (with active credits) to a project, the Gemini API continues to enforce free-tier quotas (generate_content_free_tier_requests, limit: 20 req/day/model). There is no indication in any UI that billing linkage didn't actually upgrade the API tier.
Steps to Reproduce
- Create a GCP project
- Link a billing account with active credits
- Enable the Generative Language API
- Create an API key from the project credentials page
- Make API calls to
gemini-3-flash-previewvia@google/genaiSDK - After hitting 20 requests → still get free-tier quota error:
Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests
quotaId: GenerateRequestsPerDayPerProjectPerModel-FreeTier
Expected Behavior
Linking a billing account with active credits should upgrade the project from free-tier to pay-as-you-go quotas, or at minimum clearly indicate that additional steps are required to enable paid usage.
Actual Behavior
- GCP Console shows billing is linked
- API quota page still shows free tier quotas at 100% usage
- No error, warning, or guidance anywhere that billing isn't effective for Gemini API keys
- Significant time wasted debugging what appeared to be a correctly configured setup
Impact
Developers who follow the standard GCP flow (create project → link billing → create key) reasonably expect paid quotas to apply. The silent failure to upgrade tiers, combined with zero UI feedback, creates a frustrating developer experience.
- 主要语言
- Go
- 星标
- 143
- 派生
- 68
- 平均合并
- 10 小时 30 分钟
- 30 天内合并 PR
- 1
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
google-gemini/api-examples 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 48/100
google-gemini/api-examples#104 · 2 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
-
难度 3/5 1-2 天 新手友好度 42/100
google-gemini/api-examples#89 · 1 条评论 ·
-
Tt未关闭
难度 5/5 一周以上 新手友好度 1/100
-
Soqce未关闭
难度 5/5 一周以上 新手友好度 10/100
查看 google-gemini/api-examples 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
google/osv-scanner#3327 ·
维护者通常 1 天内回复
-
tld-snapshot
难度 2/5 1-3 小时 新手友好度 72/100
awslabs/ferret-scan#1064 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
VictoriaMetrics/VictoriaTraces#335 ·
维护者通常 1 天内回复
-
enhancement
难度 1/5 1 小时以内 新手友好度 62/100
DaoCloud/DaoCloud-docs#7839 ·
维护者通常 1 天内回复