Google AI Studio Apps: Who Pays for Usage?

Your app is ready to share with friends, but who pays when they use AI? It depends on the project and account the app uses to call services. This article separates AI costs, hosting costs, and trial entitlements, with calculations you can adapt to your app.

Multiple users are connected to a single server and the app owner's coin wallet. It conveys the cost of the service being made available to others.

Check which account is charged when users call the API

A friend opens your app and asks it to summarize text. Who pays for Gemini? If the app calls the API with the owner’s key, the requests count against the key owner’s project even if your friend signs in with their own Google account. Check which project the code uses to send requests, not just who opens the page.

Sharing a test link and deploying to Cloud Run are different steps, but both require you to check who owns the key: Google's Build mode documentation says requests from a shared app count against the creator’s usage limit, and paid models may incur charges. When an app is deployed to Cloud Run through AI Studio, its users’ Gemini requests still use the creator’s key.

Sharing does not mean every request incurs a charge. Your account may have free usage or credits, while some models and features require payment. Check the model and your billing plan before sharing; a free trial does not tell you what wider use will cost.

Separate development, AI-call, and website-access costs

Costs can come from separate places: building in AI Studio, calling Gemini from the app, and hosting or storing data. Free access to one does not necessarily cover the others. This table is KrobClick’s checklist, not a Google pricing plan.

What to checkWhen it happensWhat should I ask?
Creating and editing appsAsk AI to write or revise code in AI StudioWhat are the account permissions and creation limits?
Calling Gemini in the appThe app sends data to the model for a task, such as summarizationWhich model, whose key, and which billing unit?
Hosting and add-on servicesHave the server receive requests, store data, or call other servicesAre Cloud Run, databases, file storage, or other APIs involved?

Google AI Pro or Ultra membership may provide extra AI Studio access for building experiments. Do not assume it also covers production API usage; Google’s membership announcement distinguishes the two.

For Gemini costs, look up the model and features you actually use on the Gemini API pricing page: Some work is priced by input and output tokens; image or audio work can use other units, and added tools may have separate prices. One flat price per request will not cover every case.

Web hosting is not priced in tokens: Cloud Run pricing charges for resources and usage such as CPU, memory, and requests; rates and free allowances depend on the service and region. Add database and file storage costs separately if your app uses them.

Estimate AI requests, not just website visits

Page views are not Gemini request counts. A summarizer might call the model only when someone presses a button, or call it again to check an answer or recover from an error. Trace how many requests one task makes in your code before estimating usage.

The following figures are hypothetical arithmetic, not Google pricing or test results. With 100 monthly users, three tasks each, and two AI calls per task, you get 100 × 3 × 2 = 600 requests before calculating token charges.

Assume each request averages 1,500 input and 500 output tokens. For this example only, use $1 per million input tokens and $4 per million output tokens. Tokens are processing units, not a fixed number of Thai words or characters. The calculation is:

Under the same assumptions, 1,000 users would bring this part to $21. Longer answers or repeated conversation history change token usage, though. Treat the figure as a worked example, not a budget guaranteed for your app.

That total excludes credits, discounts, caching, batch processing, extra tools, and model-specific pricing units. Hosting, tax, exchange costs, and payment fees are also missing. For your own app, substitute measured requests and tokens plus current prices; if converting to baht, record the exchange rate and date.

Credits, quotas, and budget alerts serve different purposes

Check your account’s Billing page to see whether you use Prepay or Postpay; their terms differ. See the Billing documentation. Prepay deducts API charges from purchased credit and can be set to refill automatically. Gemini API credit does not pay for every other Google Cloud service.

Even on Prepay, remaining credit is not an instant stop switch. Google notes a processing delay that can allow spending past the credit balance before usage stops. With auto-reload, check the refill amount, trigger, and monthly cap; that cap excludes manual purchases and hosting.

Setting a budget does not necessarily stop the app. An Alerts only budget sends notices; it does not automatically stop spending Google Cloud also describes separate spend cap budgets for supported services. Check the budget type and covered services in Google Cloud’s budget documentation before relying on it to control costs.

KrobClick suggests server-side limits on tasks per user and input size, monitoring both API and hosting costs, and a way to disable AI calls at your threshold. Hiding a button does not block requests to an accessible endpoint. Request quotas are not fixed spending caps: model choice and data volume also affect cost.

Check accounts, costs, and access before sharing the app

  1. Which part of the app calls AI? Does simply opening the page trigger calls? How many requests occur per click, and are there retries?
  2. Whose account is the request linked to? Check the API key's project against the project hosting the app. Do not assume they always belong to the same account.
  3. Which allowances apply? Check models, quotas, credits, plans, Billing, and subscription terms in your actual account. Check models, quotas, credits, plans, Billing, and subscription terms in your actual account
  4. Are there any costs besides AI? List hosting, databases, files, and external services, identifying who pays each bill
  5. How to prevent overuse? Test server-side limits and how to turn off AI tasks with a small group before releasing to the public.
  6. What happens when an allowance runs out? Explain temporary unavailability and avoid endless retries. Prepare a message explaining temporary unavailability without endlessly retrying

Build mode stores the key as a server-side secret. If you move the app to another host, configure the key there; never put it in public code or browser files. Hiding the key is not enough: limit access to the endpoint that calls AI to control usage.

An AI-assisted app need not call AI every time it runs

An app built with AI does not have to call a model on every use. A bill-splitting tool can calculate in the browser even if AI helped write its code. Receipt reading or text explanation might call Gemini only when requested. Check the running code, not how the app was built.

For calculations a browser can handle, KrobClick runs the formula on the user’s device and uses AI only where it adds something useful. That makes AI costs and data flows easier to trace, but hosting and other service costs still depend on the actual app.

Try the app with a small group, then compare API requests and both API and hosting bills with your estimate. If you cannot identify whose key each task uses or how to stop AI calls at your threshold, do not open the link to a large audience yet.

Sources

Reviewed official documentation on October 14, 2026, Thailand time. This article is KrobClick’s explanation of the documentation, not a test of actual billing. All example figures are hypothetical, not Google rates. Model terms, quotas, payment plans, and account access can change. Check Billing and Pricing before launch.