Gemini Billing calculation

We are integrating Gemini API in our flutter application, and we are not getting clear info about the billing,
We have 6000 user, and we need to make an API call once per month, what is the cost for that?

Welcome to the forums!

Well, to get clear answers about billing, you also need to be clear about your requirements. (While you say there are 6000 users and you send an API call every month - do you mean that each user sends a call? How big is the prompt they send?)

What information do you find is unclear?

I’m assuming we’re talking about billing for the Gemini API? If so, the pricing page contains the rates for using the Gemini API. When calculating how much it will cost, keep in mind the following:

  • There are different prices for Gemini 1.5 Pro and 1.5 Flash.
  • You are charged per token - with each token being about 4 characters on average.
  • Input tokens (those you send to Gemini) are charged at a different rate than output tokens (those Gemini sends back). Everything you send to Gemini, including images, video, and past history that may be sent as part of each prompt is included in the input tokens.

So to get an idea of your charges, you need an estimate of exactly how big the full prompt sent to Gemini would be and which model you’re using.