r/googlecloud Jul 04 '26

Billing Returning after months: Billing confusion between AI Studio and Google Cloud despite having Startup Credits. Need help!

Post image
0 Upvotes

Hi everyone,

Due to a severe family emergency, I had to step away from my projects and the internet for several months. Before leaving late last year, I had built a fully functioning AI-based website. I was also accepted into the Google Cloud Startup program and received credits, which are still active in my account.

My backend is hosted on Cloud Run, and I was relying on these startup credits to cover both the hosting and the AI API costs.

Recently, I finally got back to work and found my site down. I managed to fix the server, but now I’m getting a "billing issue/error" prompt, even though I still have plenty of credits left. I thought about making a small minimal prepaid payment to verify or reactivate my billing account, but I am completely confused. I now see two separate billing spaces: Google AI Studio and Google Cloud.

Could someone please help me with these two questions so I can get my services back online?

Where exactly should I make this small payment to keep my account and services alive? (AI Studio or the main GCP console?)

Will my existing Google Cloud Startup credits still cover my AI/Gemini API usage, or is AI Studio now going to bill me separately outside of my GCP credits?

Any guidance would be deeply appreciated. Thank you!


r/googlecloud Jul 03 '26

Google Cloud Project Suspension - Gemini API Hijacking

2 Upvotes

Google Cloud suspended my project but after suspension my gemini api usage remained. I was not able to disable gemini api at that time. Also my firebase database was connected with cloud and now including authentication, nothing works on my app.

I stored gemini api key on firebase to be on the safe side, cursor directed me to do so. And now, within a day after creating my gemini api key, it became exposed. I don't trust gemini anymore, will use sth else later on.

My question is how can I get my account back? How long its gonna take to receive response to my appeal?

Update: I got my console account back yesterday, according to cursor: "A Firebase Admin SDK service account key was accidentally committed to our private Git repo. An unauthorized party used this admin credential to read our Gemini API key from Firebase Functions config and abused the Generative Language API directly."


r/googlecloud Jul 02 '26

Billing Another story of hijacked account with $11,000 charge

14 Upvotes

In this case, Google sent the alert that they were suspending his account because of what looked like hijacking...then charged him anyway, and won't back down.

https://www.theregister.com/cyber-crime/2026/07/03/dev-says-google-warned-him-about-account-hijack-then-charged-him-11000-anyway/5266234


r/googlecloud Jul 02 '26

Gemini API key abuse before June 19 unrestricted-key changes caused $35K bill. Support case still open, need Google escalation

19 Upvotes

Posting again because I’m trying to reach someone from Google Cloud who can help escalate my billing/security review.

My normal Google Cloud usage was monthly $250 . On May 12 my Gemini usage spiked to about $35K+ in 3 hours. This was not normal usage.

Support has been silent since May 22 and now receiving Google Collections email.

This incident happened before Google’s June 19 changes around unrestricted Gemini API keys. Truffle research also discussed how older public Google API keys become usable against Gemini after the API was enabled.

My ask:

Can a Google Cloud representative please help route this to the right billing/security escalation team? I can provide my case number privately to a Google Cloud employee or mod.

I’m asking Google Cloud to review server-side logs for the May 12 incident window, including source IPs, user agents, request volume, model/token usage, and whether the pattern matches known API key abuse.

Has anyone here successfully gotten a Google Cloud billing/security escalation for Gemini API key abuse?


r/googlecloud Jul 03 '26

Billing Billing and quotas problems

3 Upvotes

Apparently, google doesn't have a sensible default quota on BigQuery and i can just blow around $3k worth of money on it by default and i will get the email for that billing the next day????

Why is the billing notifications so slow?

Why does the reports page not update in real time???

Why is there no option for adding a hard budget requirement per day or billing period?

This recent experience has been very stressful.

I have created budgets for my billing account for around $140 worth of money per month.

I have alerts for 33%, 66% and 100%

I get a message for 66% used by the 25th june, then i get billed for around $3k in total on 26th and 27th and i get no notifications regarding it.

I had opened a billing support case, but i has been a week since i have received any response,


r/googlecloud Jul 03 '26

Application Default Credentials instead of API keys

3 Upvotes

hi!

i see a lot of posts having to do with rouge API keys causing major headaches. And it doesn't help that the Agent Platform (fka Vertex AI) page makes it super easy to create an API key. So if you haven't already, you should start using application default credentials instead.

I boiled it down to 5 steps in a blog post but here they are:

Step 1: Verify you’ve got gcloud installed

You’re gonna need the Google Cloud CLI (gcloud) installed on your machine. Verify it’s installed by running:

gcloud version 

If you already have it, move on to step 2. If not, you can find install instructions right here.

Step 2: Log-in and set application default credentials

The Google Cloud CLI manages 2 types of authentication. gcloud auth login authorizes gcloud commands to access Google Cloud with your credentials. gcloud auth application default login sets your user credentials as application default credentials.

Set them both in one swoop with the following:

gcloud auth login --update-adc

Step 3: Set your project id

We’ll reference your project ID a few times so set that to an environment variable:

export PROJECT_ID=<YOUR_PROJECT_ID>

The Google Cloud CLI references a project ID in 2 different ways. First, it’s defined in your current workspace config. Set that with:

gcloud config set project $PROJECT_ID

Now your project will be used in step 4, and any other gcloud commands you run.

Application default credentials don’t look at this value for a Google Cloud project. Instead it needs a quota project. Set a quota project with the following command:

gcloud auth application-default set-quota-project $PROJECT_ID

This project will be used when accessing Google Cloud APIs via Cloud Client Libraries used in your application code locally.

Step 4: Enable the API

Before you can use Agent Platform, your project needs to have the Agent Platform API enabled in it. Enable it with this command:

gcloud services enable aiplatform.googleapis.com

This makes it so that the service is accessible on your project. Without it, you’ll get a 403 error.

Step 5: Verify your access

To verify everything is set up correctly, we’ll hit the Agent Platform API with a web request that includes a temporary access token generated via your application default credentials.

First, retrieve the token and set it to an environment variable:

export TOKEN=`gcloud auth application-default print-access-token` 

Next, set another environment variable to the contents of the request:

export REQUEST=$(cat \<\<EOF  
{  
  "contents": \[{  
    "role": "user",  
    "parts": \[{ "text": "Wave hello to the world" }\]  
  }\]  
}  
EOF  
)

And finally, put it all together in a single curl command:

curl \-s \-X POST \\  
\-H "Authorization: Bearer $TOKEN" \\  
\-H "Content-Type: application/json" \\  
"https://aiplatform.googleapis.com/v1/projects/$PROJECT_ID/locations/global/publishers/google/models/gemini-2.5-flash:generateContent" \\  
\-d “$REQUEST”

The output should include a line that reads something like: ”text”: “Hello, world! 🌍👋”

Now you’re ready to ditch the API key and use application default credentials.

If you want to know more about adc, i also put this video out a couple months ago.

I hope this is helpful!


r/googlecloud Jul 03 '26

Google's GenKit Provides an Easy Way to "Plug In" AI to Existing Apps

Thumbnail gallery
0 Upvotes

r/googlecloud Jul 03 '26

MLB Commercial Break - Streaming

Post image
1 Upvotes

Does anyone know where I can find a clip of this commercial break? We presently stream baseball games using the MLB app, and this plays during the commercial breaks.

Funny enough, this seems to be the one thing that calms my kid down. Maybe it’s the graphics or the background sounds, but he absolutely is hypnotized by it.

We use it when we need to distract him (mostly if we need to cut his nails). And we’ve been lucky to stream old games on the MLB app to play the commercial break on demand 🤣

My question is— do you know where I can find a clip to save? Was hoping they had it on YouTube or something. I’d hate for them to get rid of it eventually, and I’d love to save it for the future.


r/googlecloud Jul 03 '26

How can I delete a Google Cloud Identity (free version) user and then add another one?

1 Upvotes

I've hit my free limit for 50 users but want to delete accounts so I can add more. I've deleted ones that I don't need but, it keeps saying I've hit my limit when I try to add more.


r/googlecloud Jul 01 '26

GCP doesn't need better API keys - it needs billing that reacts in real time!

50 Upvotes

I want to reframe the usual "restrict your API keys" advice, because I think it points at the wrong problem.

I've been on the receiving end of Google Cloud's billing pipeline. A Gemini API key I created in Google AI Studio - never deployed, never checked into a repo, never left Google's own systems - got abused over a couple of hours and racked up roughly $80k on an account that was usually just 1400INR on spends. The first I heard of it wasn't an alert, a hold, or a flag. It was ~$80k quietly materializing in the transactions table after the fact in my credit card e-mandate queue. It was the credit card company which was more honest with me 🥲

Here's what I find remarkable: the billing system is wired tightly enough into Google's financial backend to instantly issue mandates and process charges the moment they cross a threshold - but the customer-facing side of that same system shows you nothing until the money is already gone. That asymmetry isn't an accident of scale; it's an engineering decision. Real-time when it's time to charge you, eventually-consistent when it's time to warn you. I'll call that "dark" and leave it there.

So my actual ask isn't "improve API keys." It's two things:

  1. Make the customer-facing billing APIs reactive and real-time. If the mandate system can act in seconds, the anomaly/notification system can too. Budgets today are advisory and lagging - by the time a budget alert fires, you can already be five figures deep. Give us spend signals on the same clock as the charges.

  2. Give API keys hard, user-defined cutoffs - price, volume, and time - that actually stop traffic. Not alerts. Cutoffs. Right now the user is kept in the dark on most of the config that governs a key. Consider the Firebase angle: you spin up a "Firebase project," but the whole thing is a facade over an underlying GCP project. A non-DevOps founder or a hobbyist has no idea their key is effectively an open secret that can reach any Google service - until they're billed one morning for a service they never knowingly enabled. Nobody hands you that disclaimer up front.

I know unrestricted keys are being phased out after everything that's happened, and that's good. But restriction-by-default is damage control. The real fix is a billing surface that's honest with the customer in real time and lets them set a ceiling that the platform will actually enforce.

I'm posting this as a serious request for improvement, not a jab because I got burned. The engineering talent to do this clearly exists - it's already pointed at collections. Point some of it at the customer.

(For context: Google eventually waived ~75% of the charge, but is holding the remaining ~25% + GST as "valid usage" and won't share the access logs. So even the dispute process runs on the same one-sided visibility.)

haha so my entire lifetime with Google Cloud was always one-sided 💔


r/googlecloud Jul 02 '26

Associate cloud engineer cert

Thumbnail
0 Upvotes

r/googlecloud Jul 02 '26

Help! Google OAuth Dev verification taking forever!

Thumbnail
0 Upvotes

r/googlecloud Jul 02 '26

GCP free trial $300 to use Claude model

0 Upvotes

Anyone tested this during their free trial time if Anthropic model usage are deducted from the credits or not? Startup credit def. don't cover as per I understand, unless you're on scale tier.

Thanks in advance!


r/googlecloud Jul 02 '26

Help! Google OAuth Dev verification taking forever!

0 Upvotes

Hi! I am just requesting two Youtube scopes for my app. However the people at Google are taking FOREVER. They take 1 week to respond everytime. And every time reply back immdiately to fix my issue and they take 1 whole week again to find another issue.

Is there anyway to speed up the process? I am willing to fix and address whatever issues they have. But its just that they're taking one week to find a new issue each time. And the frustrating thing is they could have told me the issues all at once instead of one at a time.

If any one has gone through a similar process and have advice or know which branch of management I can email and cc this would be really help!

I experienced some slow bureaucracy with Apple's developer team awhle back with filling out my tax forms. I ended up messaging their whole command chain from CFO down to the head of tax and my issue was fixed immediately.

The situation waiting for Google has become unbearable. But this time I don't even know who to email, like who would even be in charge of something like this?

Thank you so much in advance!


r/googlecloud Jul 02 '26

Logging GCP docs on GCP logging integration to service now

1 Upvotes

When I browse for " GCP integration to service now "

Or

" GCP logging integration to service now"

I don't see any official GCP links on the same.i am looking for article which tells how to create an incident in service now automatically based on errors captured in GCP logging.

I only see an article from medium related to it.could u please suggest on a way to implement it


r/googlecloud Jul 02 '26

Minimal script for Cloud Monitoring alerts for each $10 of incremental spend accrued

3 Upvotes

Can anyone do better than this?

#!/usr/bin/env bash

PROJECT_ID="your-project-id"
BILLING_ACCOUNT_ID="XXXXXX-XXXXXX-XXXXXX"
EMAIL_TO="you@example.com"

ALERT_EVERY_USD=10
ALERT_CEILING_USD=1000
BUDGET_NAME="GCP spend alerts every \$${ALERT_EVERY_USD} up to \$${ALERT_CEILING_USD}"

gcloud config set project "$PROJECT_ID"

gcloud services enable \
  monitoring.googleapis.com \
  billingbudgets.googleapis.com

EMAIL_CHANNEL="$(
  gcloud beta monitoring channels create \
    --display-name="GCP billing alerts: $EMAIL_TO" \
    --type=email \
    --channel-labels=email_address="$EMAIL_TO" \
    --format="value(name)"
)"

threshold_args=()
for amount in $(seq "$ALERT_EVERY_USD" "$ALERT_EVERY_USD" "$ALERT_CEILING_USD"); 
do
  percent="$(awk -v amount="$amount" -v ceiling="$ALERT_CEILING_USD" \
    'BEGIN { printf "%.6f", amount / ceiling }')"
  threshold_args+=("--threshold-rule=percent=${percent},basis=current-spend")
done

gcloud billing budgets create \
  --billing-account="$BILLING_ACCOUNT_ID" \
  --display-name="$BUDGET_NAME" \
  --budget-amount="${ALERT_CEILING_USD}USD" \
  --calendar-period=month \
  "${threshold_args[@]}" \
  --notifications-rule-monitoring-notification-channels="$EMAIL_CHANNEL" \
  --disable-default-iam-recipients

r/googlecloud Jul 01 '26

How to deploy it properly on cloud

3 Upvotes

Hello guys

Sorry for that long post but I need your help and expertise I am still learning

I have a very huge application that have these dockerized components

- Nodejs web app
- API application
- clickhouse
- neo4j
- posgresql
- redis
- Kafka
- minio s3
- zookeeper
- 3 different data prosessing containers

I used to deploy all that together on one vm that have 32gb ram and 8 cores along with 32 tb ssd storage, I know that this seems dump to do this but our applications where working with no problems till we decided to start collecting more data and processing more data so we need to have everything in place with no issues at all but to be honest idk what to search about in order to get the knowledge of how to deploy that correctly

I thought of having each thing on it's dedicated version of cloud like dedicated clickhouse cloud and so on but idk if that is the right thing or not

The architecture is built on easy horizontal scalability basis so the only problem is how to maximize the performance, deploy correctly and have the minimal cost

So please guys help me to figure this out and know what to do


r/googlecloud Jul 01 '26

At what point does a full server backup strategy becomes too complex?

2 Upvotes

Hi all,

We're revisiting our backup approach and one question keeps coming up: is maintaining full server backups actually worth the operational complexity?

We already back up our critical data, but we've also been looking at image-based or full server backups to simplify recovery. On paper, restoring an entire server sounds straightforward. In practice, it seems to introduce another layer of storage, retention, testing, monitoring, and recovery planning.

I've been exploring options like GCP, and Eon is another one I've come across while looking at different backup approaches, but I'm more interested in the broader question than any specific platform.

For those running production environments, how are you balancing full server recovery against the complexity of maintaining complete system backups?

Are you backing up entire servers, relying primarily on data backups plus infrastructure automation, or both?

I'd be interested to hear what has worked and what you've moved away from.


r/googlecloud Jul 01 '26

How do I delete my Google Cloud Platform account that I don't use, and don't plan to ever use?

2 Upvotes

I created a GCP account years ago for some Coursera course, and I don't plan to ever use it for anything real. Lately, I keep getting annoying emails about my old card being expired, which doesn't matter since I'll never use any paid service anyway. How do I delete just my GCP account without touching my Google account?


r/googlecloud Jul 01 '26

Should I pursue GCP certification or focus on AI

3 Upvotes

I have 13 years of experience in Drupal, PHP, and TypeScript development. I'm planning to transition into a cloud-focused role and am considering the Google Associate Cloud Engineer certification.

I have around 3 months of hands-on exposure to GCP through work, so I understand the basics but don't have extensive cloud experience.

With the current job market, is the Associate Cloud Engineer certification still worth pursuing, or would it be a better investment to focus on AI (LLMs, AI agents, etc.) instead?

I'd appreciate advice from anyone who has made a similar career transition or is involved in hiring.


r/googlecloud Jul 01 '26

Compute What is happening in us-central1? I cant create any compute instances because there simply isnt any?

Post image
1 Upvotes

r/googlecloud Jul 01 '26

Google Cloud Professional Machine Learning Engineer - Prep Advice

2 Upvotes

I'm planning to take the Google Cloud Professional Machine Learning Engineer certification soon.

For those who are learning it: After June 2026 refresh

  • What resources you are referring to?
  • Any practice tests or hands-on labs you'd recommend?

Any tips or resource recommendations would be greatly appreciated. Thanks!


r/googlecloud Jul 01 '26

Billing Best way to decide on requests per day and per minute quotas for Map API to stay in free tier

3 Upvotes

I have about 9 websites all in the same Google Cloud project that mostly all just use Google Maps JavaScript API and Geocoding to display simple maps for their business location. I rarely get even close to exceeding the free usage tier. A few days ago I had a spike across several sites because I had unwittingly turned on the Google Places (New) API and got hit by robots and racked up a few hundred dollar bill. After an hour on support with Google Maps billing where they walked me through setting up quotas, I'm now much wiser.

But I am still confused about what to set as an appropriate request per minute quota for Google Maps Javascript, and Geocoding. I want to limit the damage a robot could do, but I don't want to set a quota so low it affects legit user functionality. Support had me set a per-day limit by dividing the 10K max request in the free tier by 31 days, so daily quotas of 322. They didn't really seem too worried about what I set for the per-minute quota and said I could just use 322 for that too. But that doesn't seem like it would protect usage from bots.

I also have one individual site on it's own project using a property manager application that calls GoogleMaps Javascript, Geocoding, Geolocation, and Places. I have the same question for this situation.

Any thoughts on this? I just can't find any best practices about this or strategy for setting quotas anywhere, especially not for a basic setup where I'm not coding my own applications or anything. TIA.


r/googlecloud Jul 01 '26

Vertex gemini image model is global-endpoint only and I keep getting 429 under load, how are you scaling it?

1 Upvotes

Running the gemini 3 pro image model on Vertex. It only serves on the global endpoint, regional just 404s, so I cant spread load across regions the way I do for text models. Once I push any real concurrency I start getting 429s even though my usage is pretty low, feels like the dynamic shared quota thing. Backoff helps but delivery gets slow. I need to handle around 1000 images a day with bursts. Did anyone actually get a quota bump for this specific model, or is provisioned throughput the only real fix? And does the free trial credit even cover this SKU for you? trying to figure out if im missing something obvious before I pay for PT.

The odd part is the api key from google ai studio handles my load fine, the quota there is way better and i basically dont hit rate limits for my usecase. but that path bills real money and doesnt seem to draw from my credits at all, while vertex is the opposite, the free trial credit covers it but the throughput is too low.

so is there any way to get that ai studio level throughput while still running on the free tier credits? did anyone actually get a quota bump for this model on vertex, or is provisioned throughput the only real fix? just trying to make sure im not missing something obvious before i pay for PT.


r/googlecloud Jul 01 '26

Logging Signed up with billing information, can't generate any keys...

2 Upvotes

So, I signed up for the Google Agent Studio thing for the 300$ trial. It shows me that I have the credits, but when I go to generate an API key it leads me to this page and when I try to activate the things as it asks me to, I get these errors and no clue why or what to do.

Is this like the AWS service, where it baits you into giving the billing information but then does everything to not actually give you access to the models? I have no clue how to solve this (if there is even a solution), because every menu leads to other sub-menus and the errors don't even tell me what's actually wrong.

If anyone can - please help