|---|
| *Click your Gemini API provider to view provider-specific content and code on this page.* <button value="dev" default="">Gemini Developer API</button> <button value="vertex">Agent Platform Gemini API</button> |

<br />

<br />

Your use of Firebase AI Logic is governed by the
[Google Cloud Platform Terms of Service](https://cloud.google.com/terms/).
Since Firebase AI Logic is a Generative AI service, its use is subject to
the Generative AI Services terms in
[service specific terms](https://cloud.google.com/terms/service-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](https://ai.google.dev/gemini-api/terms)
and
[Additional usage policies](https://ai.google.dev/gemini-api/docs/usage-policies).

> [!NOTE]
> **Note:** If your Firebase project is *not* linked to a Cloud Billing account (no-cost Spark pricing plan), then make sure to review the [Gemini API Additional Terms of Service: Unpaid Services](https://ai.google.dev/gemini-api/terms#unpaid-services).