Hello, I am experiencing an intermittent quota limit error when processing images in my application using Gemini Series 2 models via a direct Google AI Studio API key (without going through the Google Cloud backend).
The exact error I receive in the browser console is:
Error: API quota limit reached. Please wait a moment and try again. coming from _aistudio-iframe.js.
Issue details:
- Models used: Series 2 (Gemini 2.0 / 2.5).
- Environment: The API Key was generated directly in the Google AI Studio web interface, and requests are processed through a local endpoint (
/api/edit-image). - Anomalous behavior: When checking usage metrics and quotas in the Google Cloud Console and the AI Studio dashboard, all statistics show extremely low levels or zero values (0% usage). There are no signs of advanced usage or traffic spike logs in Cloud Logging.
- Trigger: The error mainly occurs when attempting to process JPEG images (e.g., coming from WhatsApp).
Could you please confirm whether this block is due to a Tokens per Minute (TPM) restriction on the free tier caused by the image file sizes, or if there is an administrative/billing hold on my account throttling my Series 2 limits without being reflected in the usage charts?
Thank you in advance for any guidance on resolving this bottleneck.