Hi Gemini API team,
I’m an independent developer building an Android storytelling and roleplay app that uses the Gemini API as its main story model. Users bring their own API keys, and I want to make sure the way I’m designing key handling is within your terms before I release it.
Here’s the design. Users can add several keys to an ordered fallback list. When one key hits its quota or returns a temporary error like a 503, the app moves to the next key. I recommend that the last key in the list be a paid-tier key, so users get as much free usage as they can each day and then roll over to paid usage instead of being stuck. Some users would have keys from separate Google Cloud projects.
My reasoning is that this works in Google’s favor. Free-tier quota is small, and failed requests like 503s count against it, so even with two or three keys a user gets only a modest number of turns. Giving people a bit more room means they get far enough into a story to care about it, and then they run out at exactly the moment they’re most engaged. From what I’ve read from other developers, that’s the point where people choose to move to a paid key. The lighter models also tend to be less consistent over a long story, which gives users a further reason to move to stronger paid models. I expect the fallback chain to push users toward paid usage, not away from it.
My questions:
1. Is it acceptable for one person to hold several free-tier projects and rotate between them this way, or does that count as circumventing rate limits?
2. If it isn’t, is a fallback chain that mixes one free-tier key with one paid-tier key fine?
3. Is there anything in how my app should describe or recommend this to users that I should avoid or include?
My intent is to keep this aligned with your terms. The app is designed to move users toward paid usage, and I’d rather ask first than build on a pattern you don’t support. If I’ve misunderstood how this should work, I’d appreciate being told before I ship.
Thank you,
John Fool
App: Worlds
O…@gmail.com