Questions About Token Usage, Cost Monitoring, and Sharing a Google AI Studio App with Teachers

Hi everyone,

I recently built an education-focused coaching app using Google AI Studio / Build mode. The app is intended to support teachers by allowing them to enter classroom-related text, such as lesson notes, observation notes, or transcripts, and receive reflective coaching feedback.

I would like to share this app with teachers for free, at least during an initial pilot stage. I am not planning to charge teachers for using it. If the app turns out to be useful, I may later apply for a grant to support continued development, hosting, and API costs.

Before sharing it with users, I have a few questions:

  1. How can I estimate token usage for each interaction, especially when users may enter long classroom-related text?

  2. Is there a way to monitor token usage and cost after the app is deployed?

  3. If teachers access the deployed app, will their usage count toward my Gemini API billing/project quota?

  4. Is there a way to set usage limits, spending limits, or daily quotas so that the cost does not become unexpectedly high?

  5. What is the recommended way to publish or share an app built with Google AI Studio for a small pilot group of teachers?

  6. Are there recommended privacy or security practices for apps that may involve education-related user input?

I would appreciate any guidance or links to relevant documentation. Thank you!