Prepayment credits depleted despite active paid billing

Subject: Gemini API returning “prepayment credits depleted” despite active paid billing

Hi,

I’m getting a 429 error when calling generateContent on the Gemini API:

“Your prepayment credits are depleted. Please go to AI Studio at https://ai.studio/projects to manage your project and billing.”

This doesn’t match my account status. Details:

  • Project ID: careful-trainer-499720-..
  • Project number: 7521070067…
  • Billing account: linked and active (upgraded from free trial to a full paid account)
  • Trial credit: £223 available, 0 used
  • Model: gemini-2.5-flash-image

models.list() works fine, but generateContent fails every time with this error, even though my billing account shows available funds and my project is on a paid (non-trial) account.

I’ve seen other reports of this exact issue on the Google AI developer forum, where it appears to be a sync issue between Cloud Billing and AI Studio’s billing system. Could someone please check the billing sync for my project and resolve this?

Thank you.

1 Like