AI Ate my money!

I was shocked when I saw the Google Cloud statement today. Until now I’d been paying around $2 for my Cloud Run function. Lately I’ve been using the Google Gemini model in zed.dev for coding — I just set up the GOOGLE_GENERATIVE_AI_API_KEY and GEMINI_API_KEY environment variables and then ignored the usage completely. I’d even set a budget alert for AUD 50, but it never triggered!

Anyway, lesson learned. I’ll need to be more careful from now on and stick to cheaper, better models.

./images/gcp-bill.png

./images/gcp-bill-breakdown.png

From https://aistudio.google.com/

./images/aistudio.png