RESOURCE_EXHAUSTED: Receiving 429 Error Despite Staying Within Free Token/RPD/RPM Limits

Hello,

For the past two days, I’ve been facing a persistent issue when using the Gemini API. I am receiving a 429 error (RESOURCE_EXHAUSTED) even though I haven’t exceeded the free usage limits.

Here’s the error response:

{
  "error": {
    "code": 429,
    "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.",
    "status": "RESOURCE_EXHAUSTED"
  }
}

  • Issue ongoing for 2 days.

  • My usage is well within the free tier limits:

    • Token quota not exceeded.

    • Requests per day (RPD) within limit.

    • Requests per minute (RPM) within limit.

  • No recent configuration changes on my end.

Could someone from the team please clarify why this error is happening and how it can be resolved?

Thank you.

2 Likes

Hi @Tinku,

Welcome to the Google AI Forum! :confetti_ball: :confetti_ball:

Can you elaborate on which API and which platform are you facing this issue?

Hi, thanks for the warm welcome! :tada:

I’m facing this issue while using the Gemini API on the REST platform (via cURL/PHP requests). For the past 2 days, I’ve been consistently getting the 429 RESOURCE_EXHAUSTED error, even though my usage is well within the Free Tier Token / RPD / RPM limits.

The problem is happening with the Gemini 2.5 family models (gemini-2.5-pro, gemini-2.5-flash, gemini-2.5-flash-lite), while gemini-1.5-flash is still working fine.

There are a lot of people, I’ve noticed have been getting the same thing