All Gemini 1.0 and Gemini 1.5 models are now retired.
To avoid service disruption, update to a newer model (for example, gemini-2.5-flash-lite). Learn more.

Data governance & Responsible AI

Click your Gemini API provider to view provider-specific content and code on this page.


Your use of Firebase AI Logic is governed by the Google Cloud Platform Terms of Service. Since Firebase AI Logic is a Generative AI service, its use is subject to the Generative AI Services terms in service specific terms of the Google Cloud Platform Terms of Service.

Firebase AI Logic enables you to add generative AI features to applications. It provides a proxy service, client SDKs, and other features which allow you to access generative AI models to build AI features in your mobile and web apps. You choose the "Gemini API" provider and models that you want to use, and any usage of those APIs is governed by their applicable terms of service.

Detailed information based on your chosen API provider

Any usage of the Gemini Developer API is governed by its applicable terms of service.

You can learn more in the Gemini API Additional Terms of Service and Additional usage policies.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.