Linking GCP billing account does not upgrade Gemini API from free-tier quotas
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- google-cloud, javascript
- 領域
- api, cloud, developer-experience
調査の方向性
まず、指定された20リクエストの上限を使って、GCP Console、Generative Language API、API quota page、@google/genai SDK を通るフローを再現します。課金の紐付けによって Gemini のクォータが変わるかを確認するか、不足している警告またはガイダンスを特定できれば完了です。ペイロードにはリポジトリのファイルやテストの指定はありません。
索引モデルが 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分
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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週間以上 初心者へのやさしさ 1/100
-
Soqceオープン
難易度 5/5 1週間以上 初心者へのやさしさ 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 日以内に返信