How to switch to the pay-as-you-go pricing plan

Hello everyone, please help me figure out how to switch from the free version to the pay-as-you-go pricing plan. Could you provide a step-by-step guide on what needs to be done?

I’ve already tried enabling a paid subscription in Firebase and in console.cloud.google.com.
Nevertheless, I’m still getting the following message: “You exceeded your current quota. Please migrate to Gemini 2.5 Pro Preview (models/gemini-2.5-pro-preview-03-25) for higher quota limits. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits.”

2 Likes

Here’s a direct link to the upgrade flow for Firebase–choose the project you want to upgrade and follow the flow to set up or choose a billing account.

But since you already set up billing, maybe the issue is that the Gemini API key set in Firebase Studio isn’t the same one as in your upgraded project? To check this:

  1. Open the Google Cloud console APIs & Services Credentials page.

  2. Select the paid project from the project selector, then view the GenAI key.

  3. Make sure that’s the same key that you have in Firebase Studio User Settings for IDX › AI: Gemini Api Key.

(To access the Gemini API Key setting: From the Model selector, click the Gemini API key link
or Ctrl-Shift-P to open the command palette > Open User settings > IDX › AI: Gemini Api Key.)

1 Like

I tried this but no luck. The project I’m using is called Gemini API, and I have generated a fresh API key. I have Tier 1 billing enabled. Still getting quote limits.

Any ideas?

Cheers!

ps we all have cats as our profile pictures

2 Likes

Ohhh, looks like 2.5 Pro Preview is rate-limited at Tier 1, but 2.5 Pro Experimental is not (Rate limits  |  Gemini API  |  Google AI for Developers).

(I need to add my cat to my work profile pic ASAP!)

1 Like

For me “the pain in the ass” part was how to switch to the other model. Because the model is not in the dropdownbox. So you need to go to settings in your project and copy the text : gemini-2.5-pro-preview-03-25 . For my it is strange that you don’t get a dropbox to see which models are available.

And if you have moved from free to paid you have to generate a new key!

1 Like

This is good feedback @Henk_Massink. We’ll explore how to improve this experience.

1 Like