Billing info
About billing
How to request an upgrade
1.
2.
3.
4.
Why use the paid tier?
Cloud Billing
Enable billing
1.
2.
3.
Monitor usage
generativelanguage.googleapis.com
, and in the console the Gemini API is also referred to as the Generative Language API.
Frequently asked questions
What am I billed for?
Where can I view my quota?
How do I request more quota?
Can I use the Gemini API for free in EEA (including EU), the UK, and CH?
If I set up billing with the Gemini API, will I be charged for my Google AI Studio usage?
Can I use 1M tokens in the free tier?
How can I calculate the number of tokens I'm using?
GenerativeModel.count_tokens
method to count the number of tokens. Refer to the Tokens guide to learn more about tokens.