I keep seeing people get unexpected Gemini API bills: they thought they were on the free tier, or an agent just kept going. Google AI Studio has spend caps now, so I read through the billing docs to see how far they actually go.
1. The tier cap on your billing account (you can't change it)
Each paid tier has a monthly maximum. Tier 1 is $250. Go over it and every project linked to that billing account is d until the 1st of next month.
That's a real stop, which is good. It also means one runaway app takes all your other apps down with it.
2. A per-project cap (you set it) In Google AI Studio, on the Spend page, "Monthly spend cap" → "Edit spend cap". As of December 2026 it's still marked experimental.
That last one is Saifuban, which I made (open source). It reserves the worst-case cost before each call, so billing lag can't push you over. Gemini works through it via the OpenAI-compatible endpoint.
Worth doing today: open the Spend page in AI Studio and check there's a cap on each project.