Error 429 (Resource Exhausted) in Gemini API (Series 2) with low apparent usage in console

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:

  1. Models used: Series 2 (Gemini 2.0 / 2.5).
  2. 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).
  3. 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.
  4. 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.



Hello @Darwinismo,

Thank you for reaching out. Gemini 2.0 and 2.5 models have been deprecated and retired on the Free Tier, and the error from _aistudio-iframe.js indicates the request is running through the AI Studio Build preview environment rather than your project’s direct API key metrics in Cloud Console.
Please update your app to use a current model such as gemini-3.8-flash, gemini-3.5-flash-lite, or gemini-3.1-flash-image (see Google AI Studio). If you continue to experience quota errors after updating the model, please share your Google Cloud Project ID and App ID via direct message.