Gemini API returns 402 "prepayment credits are depleted" despite positive Prepay balance

Gemini API returns 402 “prepayment credits are depleted” despite positive Prepay balance

Hello,

My Gemini API project is still returning:

HTTP 402 RESOURCE_EXHAUSTED

“Your prepayment credits are depleted.”

However, my Google AI Studio Billing page shows a positive Prepay balance.

Project name: Default Gemini Project

Project ID: gen-lang-client-06136897..

Billing account: My Billing Account

Prepay balance: approximately KRW 45,632

Top-up: KRW 50,000 on October 1, 2026

Billing tier: Tier 1 · Prepay

The payment has already been completed and I received the Google Cloud payment confirmation email.

The issue is that the Billing page shows a positive balance, but the project still shows a red “No credits” warning, and Gemini API requests continue to fail with HTTP 402.

There is only one Gemini project on this billing account, so this does not appear to be a project mismatch.

Could you please check whether the Prepay balance has failed to sync to the project’s live billing/serving state, and manually resync the billing status if necessary?

I can provide screenshots showing:

1. The positive Prepay balance

2. The “No credits” warning on the same billing account

3. The HTTP 402 error

4. The payment

confirmation email

Thank you.

Hello @jxxcl ,

Could you please try your requests again and let us know if you still see the 402 error? If it persists, please share a screenshot of the error and the approximate time it happened via direct message."

Gemini API returns HTTP 402 despite positive prepaid balance

Hello Google Gemini API Support Team,

I need assistance with a billing issue that is preventing my Gemini API from working.

My account has an active Tier 1 prepaid billing plan, and I added KRW 8,000 on November 9, 2026.

Account details

  • Project: 202611…

  • Billing account: My Billing Account

  • Current prepaid balance: KRW 7,044

  • Billing tier: Tier 1 (Prepay)

Troubleshooting completed

  • Confirmed the API key belongs to the paid project

  • Successfully authenticated with the Gemini API

  • Successfully retrieved 50 available models

  • Direct generateContent request failed with HTTP 402

Error message

Your prepayment credits are depleted.

Status: RESOURCE_EXHAUSTED

The API continues to reject requests even though the prepaid balance is positive.

Please investigate the billing status of my project and restore API access. I have already verified that the API key and paid project match.

Thank you.

Hi @SUNGBO,

Could you confirm whether you are seeing this balance in your Google AI Studio Prepay credit balance at https://aistudio.google.com/billing (see Google AI Studio)? If the balance is showing in AI Studio and you still receive the 402 error, please share a screenshot along with your Google Cloud Project ID and Billing Account ID via Google AI Developer Forum: Share Details About Your Issue.

Same issue here. Tier 2 Prepay account with a positive balance (topped up 12 Nov, auto-reload on), but every generateContent call returns 402 “Your prepayment credits are depleted”. ListModels works with the same key and a newly created key fails the same way, so it looks like the balance isn’t syncing to the project. I’ve submitted my project and billing details through the issue form.