You can set spend caps on Firebase AI Logic and Functions.

Hi, I'm Jeff.
I'm a web developer, and I work on Firebase at Google.
Posts
- Google Cloud's new spend caps work with Firebase
- Automatic previews for Cloud Run on every pull request
Implementing ephemeral per-PR preview urls on Google Cloud Run with GitHub Actions.
- Firebase release notes June 2026
Gemini APIs with Swift, GA hybrid inference on web, and more Firebase updates!
- Optimize images with Dart
I'm learning Dart. Let's resize some images.
- Implementing chat with Firebase AI Logic on the web
Spruce up your web app by adding a chat feature using Firebase AI Logic.
- On-device inference with Chrome's Prompt API and React
Firebase AI Logic can run inference directly in Chrome. I looked into the underlying API to see how it works.
Experiments
These are some tools I've built for myself. Maybe they'd be useful to you too?
See more experimentsContact
Find me on LinkedIn to say hello.