Linking GCP billing account does not upgrade Gemini API from free-tier quotas
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- google-cloud, javascript
- Domain
- api, cloud, developer-experience
Research direction
Start by reproducing the flow through the GCP Console, Generative Language API, API quota page, and @google/genai SDK using the stated 20-request limit. Done would require confirming whether billing linkage changes Gemini quotas or identifying the missing warning or guidance; the payload names no repository files or tests.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Go
- Stars
- 143
- Forks
- 68
- Avg merge
- 10h 30m
- Merged PRs (30d)
- 1
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from google-gemini/api-examples
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
google-gemini/api-examples#104 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
google-gemini/api-examples#89 · 1 comment ·
-
TtOpen
Difficulty 5/5 Over a week Newbie friendliness 1/100
-
SoqceOpen
Difficulty 5/5 Over a week Newbie friendliness 10/100
All issues in google-gemini/api-examples
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
google/osv-scanner#3327 ·
Maintainers usually reply within 1 day
-
tld-snapshot
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
awslabs/ferret-scan#1064 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
VictoriaMetrics/VictoriaTraces#335 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 1/5 Under an hour Newbie friendliness 62/100
DaoCloud/DaoCloud-docs#7839 ·
Maintainers usually reply within 1 day