API rate limit issue with student account (have not used in months) works on web UI, not API interface

I am on free tier student (I think It is free for 1 year?). I am getting this error, though I have not use the API interface in months, I have been mostly using the web ui for Gemini.

“Sorry, the provider of this model has rejected your request (Message: You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/usage?tab=rate-limit. ). Please try again or contact support.”

I have created a new API key which has fixed this in the past, but this time, I can’t get resolve the issue. How do I resolve?

Hi @albert_pol , Welcome to forum!!!

Thanks for reaching out to us.Could you please confirm whether billing has been enabled for your project in Google AI Studio? The Gemini API requires an active billing account to be attached to the project associated with your API key.