> ## AI Agent Context
> - Full documentation index: https://aistudio.google.com/llms.txt
> - Gemini Docs MCP server (consistent live info): https://gemini-api-docs-mcp.dev
> - Coding agent skills & setup guide: https://aistudio.google.com/docs/coding-agents.md

# Gemini API Additional Terms of Service

{% callout type="warning" %}
  **Warning:** This is an archived version of our Terms of Service. View the
  [current version](/docs/terms) or [all past versions](/docs/terms-archive/index).

{% /callout %}

Last modified: March 20, 2024

To use [Gemini API](https://ai.google.dev/api),
[Google AI Studio](https://aistudio.google.com), and the other Google developer
services that reference these terms (collectively, the "**APIs**" or
"**Services**"), you must accept (1) the
[Google APIs Terms of Service](https://developers.google.com/terms)
(the "**API Terms**"), and (2) these Gemini API Additional Terms of Service (the
"**Additional Terms**").

## Age Requirements  {% id="age-requirements" %}

You must be 18 years of age or older to use the APIs. You also will not use the
Services as part of a website, application, or other service ("**API Clients**")
that is directed towards or is likely to be accessed by individuals under the
age of 18.

## Use Restrictions  {% id="use-restrictions" %}

You may use API Clients for production use but Google may enforce rate limits.
Any Services identified as "Preview" may not be used in production.

You may only access the Services (or make API Clients available to users) within
an [available region](https://developers.generativeai.google/available_regions).

You may not use the Services to develop models that compete with Gemini API or
Google AI Studio. You also may not attempt to extract or replicate the
underlying models (e.g., parameter weights).

You will only use the Services directly or in connection with a service that you
offer directly to end users, i.e., you will not use the Services (e.g., Gemini
API) to power another application programming interface.

In addition to the
"[API Prohibitions](https://developers.google.com/terms#a_api_prohibitions)"
section in the API Terms, you must comply with our
[Prohibited Use Policy](https://policies.google.com/terms/generative-ai/use-policy),
which provides additional details about appropriate conduct when using the
Services.

The Services include safety features to block harmful content, such as content
that violates our
[Prohibited Use Policy](https://policies.google.com/terms/generative-ai/use-policy).
You may not attempt to bypass these protective measures or use content that
violates the API Terms or these Additional Terms. You should only lower
[safety settings](/docs/safety-settings) if necessary and appropriate for your
use case. Applications with less restrictive safety settings may be subject
to Google's review and approval.

You may not use the Services in clinical practice, to provide medical advice, or
in any manner that is overseen by or requires clearance or approval from a
medical device regulatory agency.

## Use of Generated Content  {% id="use-generated" %}

As required by the API Terms, you'll comply with applicable law in using
generated content, which may require the provision of
[attribution](https://developers.generativeai.google/api/rest/generativelanguage/CitationMetadata)
to your users when returned as part of an API call.

## Content License and Data Use  {% id="content-license" %}

The license you grant to Google under the
"[Submission of Content](https://developers.google.com/terms#b_submission_of_content)"
section in the API Terms also extends to any content (e.g., prompts, including
associated files such as images or documents) you submit through the Services
or any other API interface (e.g., Firebase Extensions). Google uses this data,
consistent with our [Privacy Policy](https://policies.google.com/privacy), to
provide, improve, and develop Google products and services and machine learning
technologies, including Google's enterprise features, products, and services.

To help with quality and improve our products, human reviewers may read,
annotate, and process your API input and output. Google takes steps to protect
your privacy as part of this process. This includes disconnecting this data
from your Google Account and API key before reviewers see or annotate it.
**Do not submit sensitive, confidential, or personal information to the
Services.**

Google only uses data that you import or upload to the Services to tune models
for that express purpose. Tuning data may be retained in connection with your
tuned models for purposes of re-tuning when supported models change. When you
delete a tuned model, the related tuning data is also deleted.

## Disclaimers  {% id="disclaimers" %}

**The Services use experimental technology and may sometimes provide inaccurate
or offensive content that doesn't represent Google's views.**

**Use discretion before relying on, publishing, or otherwise using content
provided by the Services.**

**Don't rely on the Services for medical, legal, financial, or other
professional advice. Any content regarding those topics is provided for
informational purposes only and is not a substitute for advice from a qualified
professional. Content does not constitute medical treatment or diagnosis.**

{% callout type="note" %}
  Note: Previous versions of these Additional Terms are
  [archived here](/docs/terms-archive/index).

{% /callout %}

