# Billing of gemini api

**URL:** <https://discuss.ai.google.dev/t/billing-of-gemini-api/43579>\
**Category:** Google AI Studio\
**Tags:** api\
**Created:** [October 14, 2024, 10:28am UTC](https://discuss.ai.google.dev/t/billing-of-gemini-api/43579 "2024-10-14T10:28:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aaroohi\_Choudhary](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/aaroohi_choudhary/32/23265_2.png) [@Aaroohi\_Choudhary](https://discuss.ai.google.dev/u/Aaroohi_Choudhary)\
**Post date:** [October 14, 2024, 10:28am UTC](https://discuss.ai.google.dev/t/billing-of-gemini-api/43579/1 "2024-10-14T10:28:48Z")

</div>

I am using Gemini api free version. How would I know when my free quota has ended? And would it start billing me automatically? How would I know if I am getting charged for using it or not?

---

<div class="post-metadata">

**Author:** ![afirstenberg](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/afirstenberg/32/202_2.png) [@afirstenberg](https://discuss.ai.google.dev/u/afirstenberg)\
**Post date:** [October 14, 2024, 2:45pm UTC](https://discuss.ai.google.dev/t/billing-of-gemini-api/43579/3 "2024-10-14T14:45:48Z")

</div>

Welcome to the forums!

If you are using a free key from AI Studio - then you won’t get billed as long as you use that key. You will know when you have hit the temporary quota because the API will return a 429 error.

If you are using either a key that you have attached a billing account to in AI Studio, or using Vertex AI, then you will be billed.

Google does not automatically switch your account - you will need to take explicit action to switch a key from free to paid.
