Hi @Stifler_Hakeem ,
Welcome to the community! The error in your screenshot indicates that your project is connected to a free tier API and has hit the rate limit. API keys attached to projects are separate from your plan allowance. Your plan provides allowance to build with the chat, but doesn’t provide usage for powering AI in the apps you build. If you’d like to setup billing for a specific project that allow higher rate limits, you can follow the steps below:
- Go to https://aistudio.google.com/api-keys and click on Create API key in the top right corner of the screen.
- Locate the project you’re using for your app, it should say “Free Tier”
- Click the Set up billing button right next to it (in the Billing Tier column)
- Follow the instructions to attach a credit card or link an existing Google Cloud billing account
- Once you switch it to the ‘Paid Tier’, your existing API key will get the higher quota right away.
I hope that helps!
