[SOLVED] How to stop Gemini API card charges and use your $300 Google Cloud Credits instead

If you are using Google AI Studio and seeing direct charges on your credit card despite having a $300 Google Cloud credit balance, you are likely stuck in “AI Studio Postpay” mode.

The fix is to “promote” your project to Vertex AI billing. Here is the exact workflow to stop the card charges and start utilising your credits:

The Problem

By default, AI Studio API keys often bypass Google Cloud promotional credits. If your card is getting hit for Gemini 3 Flash usage, the system isn’t “seeing” your Cloud trial balance.

The 3-Step Solution

1. Link AI Studio to a specific GCP Project Don’t use the “Default” project.

  • In Google AI Studio, go to Settings (Gear Icon) > Plan.

  • Choose “Link a paid API key”.

  • Select an existing Google Cloud Project (or create a new one like “Production-Gemini”). This forces the billing to follow GCP rules, not AI Studio’s standalone rules.

2. Enable the Vertex AI API

  • Go to the Google Cloud Console.

  • Select your linked project.

  • Search for “Vertex AI API” and click Enable.

  • Note: This is the “magic switch” that allows your usage to be deducted from your $300 promotional credit bucket.

3. Fix “API Keys are Disallowed” (If needed) If you get a security error when creating a key in your Cloud project:

  • Go to IAM & Admin > Organization Policies.

  • Search for constraints/iam.disableApiKeyCreation.

  • Set to Override and turn the enforcement Off.

The Result

Once linked, your usage is billed as “Vertex AI” instead of “Gemini API (AI Studio).” Google Cloud billing always exhausts Promotional Credits first before touching your credit card.

Pro-Tip: Check your “Billing Reports” after 24 hours. You should see the usage cost followed by a negative “Credit” line item, bringing your out-of-pocket cost to ₹0.

This is not possible

If possible please share billing screenshot and usage

Pretty sure this is related to the fact Gemini API via Google ai studio isn’t allowed to use the free credits anymore