Linking GCP billing account does not upgrade Gemini API from free-tier quotas

オープン
#98 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
google-cloud, javascript

調査の方向性

まず、指定された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
  1. Create a GCP project
  2. Link a billing account with active credits
  3. Enable the Generative Language API
  4. Create an API key from the project credentials page
  5. Make API calls to gemini-3-flash-preview via @google/genai SDK
  6. 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

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

google-gemini/api-examples のほかの issue

google-gemini/api-examples の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。