Hi team,
My Gemini API requests return the following error on every call (both the native generateContent endpoint and the OpenAI-compatible endpoint):
403 PERMISSION_DENIED - "Your project has been denied access. Please contact support."
Facts about my situation:
- Google account: d.....@gmail.com (active Google AI Pro subscriber)
- Project ID: my-project-22333-5088.. (also tried the AI Studio auto-created project - same result)
- Google AI Studio shows billing tier "Unavailable" for both projects
- I can use Gemini web normally with my subscription
- I already tried: creating a brand-new project, creating a brand-new API key, both are still denied
- Personal, non-commercial use (running a local AI agent that calls the Gemini API)
- I also submitted the GCP Account Suspension Inquiry form
I believe this may be a false positive from automated flagging. Could you please review my account/project and restore Gemini API access, or let me know what steps are needed to resolve the "Unavailable" billing tier status?
Thank you.
Hello @shaoxuan_dai ,
The Google AI Pro subscription currently cannot be used with Gemini API, it can be used in AI Studio .
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.
-
Complete Phone Verification and turn on 2-Step Verification (2SV) on the Google Account associated with your project.
-
Once age, phone and 2sv are 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.