- 01
Store the Google key
Add it under Providers & models and switch on the Gemini models you use. Chat and embeddings are supported.
- 02
Set a ceiling and a warning
Daily, monthly, or both, in your timezone. The warning email goes out at the percent you choose; a webhook can go to Slack or your pager.
- 03
Send requests through Fuse
Use the Fuse base URL and key, and a Gemini model name.
.envFUSE_BASE_URL=https://fuse.ospalabs.com/v1 FUSE_API_KEY=fz_your_fuse_key
How to cap Google Gemini API spend
Updated October 2026
Gemini models are often the cheap option in a multi-model app, which makes them the ones nobody watches. A loop against a cheap model still adds up.
Store the Google key on a Fuse project, set a ceiling, and send Gemini requests through the same OpenAI-compatible client as everything else.
Questions
Can one project mix Gemini and other providers?
Yes. A project can hold several provider keys. The ceiling covers all of them together; the model name picks the key.