Feature request — let apps provision a Gemini API key in the user's own account after consent

Hi Gemini API team,

I’m an independent developer building a fitness app (RepV) whose AI trainer and food scanner run on Gemini. I’m writing to request a capability that doesn’t exist yet: a consent-based flow where an app can receive a Gemini API key for a user’s own account after that user signs in and approves — the way some other AI platforms already allow.

Right now there are only two ways to ship a Gemini-powered feature to end users:

  1. Embed the developer’s own key — one shared free quota for every user, and a key shipped in an app is exposed to extraction and abuse.
  2. Ask each user to create their own key in AI Studio and paste it into the app. This works (it’s what I built), but AI Studio is a developer tool. Asking mainstream, non-technical users to navigate it is a lot of friction for what should be a sign-in tap.

What’s missing is the middle path: the user taps “Connect,” signs into their Google account, approves the app, and the app receives a key bound to their account and their free quota. The recent move to restricted auth keys — keys that only work with the Gemini API — already solves the safety side of this. A key issued this way couldn’t touch anything else in the user’s account, and the user could revoke it at any time.

This would let independent developers ship Gemini features to real users at no cost to Google beyond the free quotas those users already have, instead of pushing us toward shared keys or toward other providers that do offer this flow.

Thanks for considering it — happy to share more detail about the use case if useful.