I am using a Gemini API key created in Google AI Studio in a Python app.
The following error occurs:
403 PERMISSION_DENIED:
Your project has been denied access. Please contact support.
In AI Studio, the project's Gemini API access is restricted, and
it prompts me to set up billing information.
I would like to check why I cannot use the free tier, and whether there is a way to return to the free tier.
Hi @yuu0912,
Getting a 403 API error response and / or seeing “Unavailable” next to your project in AI audio indicates a flag has been placed on your account. To proceed:
-
If you’re on the free tier with no billing attached, please try the below steps:
-
Check Model Availability & Rate Limits:
- Ensure that the model you are requesting is available on your current plan. For example, not all models are available on the free tier. You can verify model availability, quotas, and limits on the AI Studio Rate Limit dashboard.
-
Ensure you have completed age verification by navigating to Google Account Age Verification and verifying date of birth in Google Account Personal Info.
-
Once age verification is configured, retry your request or create a new API key in Google AI Studio.
-
If completing these steps still does not restore access (or if using a model requiring a paid tier), you might want to consider adding prepayment credits directly in Google AI Studio and/ or attaching a Google Cloud Billing account in the Google Cloud Console. Please note this will mean you lose your free tier quota.
-
If you are on a paid tier:
-
Check for banners / error callouts in the AI Studio Projects page & the Billing page. Mostly these flags cause visible banners or other errors on these pages with concrete next steps / appeal links. You can also check the email address associated with your project for information on next steps.
-
If your GCP project/ billing account is suspended, you must submit an appeal directly through the Google Cloud Console following the Project Suspension Guidelines (Help Center)
-
I have completed the age verification.
However, when I started the Google Cloud free trial in an attempt to restore the free tier, my existing project kenkyu was changed to Tier 1 (with a billing account).
Please let me know how to unlink the billing account from this project to return to the free tier, or if it is possible to create a new project that can be used on the free tier.
The model I currently want to use is gemini-3.1-flash-lite.
Update: Please explain why it was not eligible for the free tier when it was originally usable within the free tier. Also, is it possible to switch back to the free tier?