Sovergate
← Back to Blog
ComplianceBy Roberto Postolovski · 10 min read · 12 November 2026

Gemini API and GDPR: Google AI Studio vs Vertex AI in the EU

Google sells the same Gemini models through two products with different terms. Which one you call decides whether your data trains Google's models, where it's processed, and which contract covers it.

Short answer:for personal data in production, use Gemini through Vertex AI (renamed Gemini Enterprise Agent Platform in April 2026) with an EU endpoint. It comes with Google Cloud's DPA, a training restriction and EU processing commitments. The paid Gemini Developer API doesn't train on your data, but it can process requests in any country. The free tier is for testing with data you don't mind Google reading. Your lawful basis, DPIA and AI Act logs stay with you either way.

Comparing Gemini with other providers? Our comparison of GDPR-compliant LLM APIs sets it against OpenAI, Anthropic, Azure, Bedrock, Mistral and four EU clouds. Running Claude on Google Cloud? See our guide to keeping Claude in the EU.

This guide covers the two Gemini products, the free-tier trap, the rules Google applies to EEA users, how to keep processing in the EU, what Google still stores, and what no provider can do for you.

Two products, one model family

The Gemini Developer API is what you get when you create an API key in Google AI Studio. It is governed by the Gemini API Additional Terms of Service. Vertex AIis Google Cloud's AI platform. Google renamed it Gemini Enterprise Agent Platform in April 2026, but most documentation, SDKs and searches still say Vertex AI. It runs inside your Google Cloud project, under the Google Cloud terms.

Both serve the same Gemini models, and Google's google-genaiSDK talks to either one. That's convenient, and it's also how teams end up on the wrong one without noticing.

Gemini Developer API (AI Studio)Vertex AI
AccessAPI key from Google AI StudioGoogle Cloud project with IAM
TermsGemini API Additional TermsGoogle Cloud terms and Cloud DPA
Training on your dataFree tier: yes, with human review. Paid: noNo, without your permission
Where inference runsAny country where Google has facilitiesEU multi-region or a European region, if you choose it
Zero data retentionNot guaranteed. Google points to Vertex AIPossible, depending on contract and features
Fit for personal dataPaid tier only, and without EU residencyYes, with an EU endpoint

Google AI Studio and the Gemini Developer API

Free tier: not for personal data

The terms call anything offered free of charge, such as the unpaid quota on the Gemini API, an “Unpaid Service”. For those, Google uses your prompts and responses “to provide, improve, and develop Google products and services and machine learning technologies”, and human reviewers may read and annotate them. The terms are blunt about it: “Do not submit sensitive, confidential, or personal information to the Unpaid Services.”

API access only counts as paid when it goes through a Cloud project with an active billing account. An API key from a project without billing is the free tier, whatever it's used for.

The rules for the EEA, Switzerland and the UK

Two sentences in the terms apply only to Europe:

  • —“You may use only Paid Services when making API Clients available to users in the European Economic Area, Switzerland, or the United Kingdom.” If your app serves people in Europe, it has to run on the paid tier.
  • —If you are in those countries, the paid-tier rules on how Google uses your data apply to all services, “including Google AI Studio and unpaid quota in the Gemini API, even though they are offered free of charge.”

The second rule is better than the global default, but don't build on it. Free use still comes with no contract you have reviewed and no EU processing, and for a product serving European users the first rule rules out the free tier anyway.

Paid tier: no training, but no EU residency

On the paid tier, Google says it doesn't use your prompts (including system instructions, cached content and files) or responses to improve its products. It processes them under the Data Processing Addendum for Products Where Google is a Data Processor. Two things remain:

  • —Google logs prompts and responses "for a limited period of time" to detect violations of its Prohibited Use Policy and for legal disclosures. The terms don't say how many days.
  • —That data "may be stored transiently or cached in any country in which Google or its agents maintain facilities." The Developer API offers no way to keep processing in the EU.

Google's own zero data retention page draws the line: “If your workload requires guaranteed zero data retention or enterprise data processing agreements, use Vertex AI.”

Features that store data on either tier

  • —Grounding with Google Search and Grounding with Google Maps store prompts, context and output for 30 days. There is no way to switch this off.
  • —The Files API keeps uploaded files until you delete them or they expire.
  • —Explicit context caching keeps content for the TTL you set. The Interactions API stores state unless you set store to false.
  • —Live API session resumption keeps conversation state, including audio and video, for up to 24 hours.

Vertex AI (Gemini Enterprise Agent Platform)

On Vertex AI, Gemini is a Google Cloud service. The Cloud Data Processing Addendum applies, Google acts as your processor, and Google Cloud's terms restrict it from using your data to train or fine-tune models without your permission. What's left to configure is where processing happens and what gets stored.

Keep ML processing in the EU

Where your data is stored and where the model processes it are separate questions. Data at rest stays in the location you choose. Processing depends on the endpoint you call:

  • —Global endpoint: requests can be processed in any Google Cloud location in the world. Google says it gives no data residency guarantee.
  • —EU multi-region: hostname aiplatform.eu.rep.googleapis.com, location eu. Processing stays within EU member states, which excludes the UK and Switzerland. It is built for Gemini 3 and later models; Gemini 2.5 and older don't run there.
  • —European regions such as europe-west4 (Netherlands) or europe-west3 (Frankfurt): processing stays in the EU, but whether it stays in that country depends on the model.

Google guarantees a processing location only for the models and features listed in its per-model data residency table, so check each model you use. Preview models are often offered only on the global endpoint, and Google retires model versions quickly, so check again when you upgrade.

Python — same SDK, two different products
import os
from google import genai

# Gemini Developer API: API key, no EU processing option
client = genai.Client(api_key=os.environ["GEMINI_API_KEY"])

# Vertex AI: your Cloud project, processing in a European region
client = genai.Client(
    vertexai=True,
    project="my-project",
    location="europe-west4",  # never "global" for personal data
)

response = client.models.generate_content(
    model=os.environ["GEMINI_MODEL"],  # check the per-model residency table
    contents="...",
)

One client without vertexai=True sends traffic to the Developer API. The SDK can also switch products through the GOOGLE_GENAI_USE_VERTEXAI environment variable, so a missing variable in one environment is enough. Search your code and deployment config for API keys, for location="global", and for the generativelanguage.googleapis.com host, including in gateways and frameworks.

What Vertex AI still stores

  • —Caching: Gemini caches inputs in memory for up to 24 hours by default. You can turn this off for the whole project.
  • —Abuse monitoring: customers on Google Cloud's online terms can have flagged prompts stored for up to 90 days, in the region or multi-region of the project, and reviewed by people. Customers with a Google Cloud Master Agreement are exempt by default.
  • —Request-response logging to BigQuery is off by default. Leave it off unless you need it, and treat the logs as personal data if you turn it on.
  • —Grounding with Google Search stores data for 30 days and can't be switched off. Google recommends Web Grounding for Enterprise for zero data retention.
  • —Partner models such as Claude follow their own rules: prompts and responses are logged for up to 30 days for abuse monitoring. Our Claude guide covers them.

Google is still a US company

EU processing settles where the model runs. It doesn't change who runs it. Google is a US company, and the US CLOUD Act lets US authorities demand data that a US provider controls, wherever it is stored. Google relies on the EU-US Data Privacy Framework and Standard Contractual Clauses for transfers. Most EU companies can live with that for inference, especially with EU processing, short retention and personal data scrubbed from prompts. Record it in your transfer assessment. Don't assume EU regions make it disappear.

Which one should you use?

  • —Prototyping with test data: Google AI Studio is fine, as long as nothing real goes in.
  • —Production with personal data: Vertex AI, on the EU multi-region endpoint or a European region, with caching off if you need zero retention.
  • —An app serving users in Europe: never the free tier. The terms require the paid tier, and Vertex AI is the one with a processing location you can name in your DPIA.
  • —Employees using Gemini at work: that's the Gemini app or Gemini in Google Workspace, which have their own terms. This guide covers only the API.

What Google can't do for you

Whichever Gemini product you use, these stay with you as the controller:

  • —Use Vertex AI with an EU endpoint for personal data, and check every client, gateway and environment variable.
  • —Make sure every API key belongs to a project with active billing, so nothing runs on the free tier.
  • —Review the Cloud Data Processing Addendum and Google's subprocessor list.
  • —Establish a lawful basis for each processing purpose that involves Gemini.
  • —Run a DPIA where the processing is likely to be high-risk: profiling, employment decisions, credit, health data.
  • —Keep personal data out of prompts where you can. Scrub PII before it leaves your infrastructure.
  • —Add the processing to your records of processing activities and update your privacy notice.
  • —Keep your own logs of AI decisions. For high-risk AI systems this is a legal requirement under Article 12 of the EU AI Act, and logs must be kept for at least six months. Google's abuse-monitoring copy is not your log: you can't access it, and with zero data retention it doesn't exist.

Your logs follow the same rules as your prompts. Keeping inference in the EU and then sending every prompt to a US-based logging tool undoes the work. See how Article 12 logging works and our guide on how to log LLM calls under GDPR.

Frequently asked questions

Is the Gemini API GDPR compliant?

It can be used in a GDPR-compliant way, but which Gemini product you use matters, and no provider makes you compliant on its own. For personal data in production, use Gemini through Vertex AI (now Gemini Enterprise Agent Platform) with an EU endpoint: it comes with Google Cloud's DPA, a training restriction and EU processing commitments. The paid Gemini Developer API doesn't train on your data but offers no EU data residency. The free tier is not meant for personal data at all.

What is the difference between Google AI Studio and Vertex AI?

Both serve the same Gemini models, often through the same google-genai SDK. Google AI Studio and the Gemini Developer API are the developer offering, accessed with an API key and governed by the Gemini API Additional Terms. Vertex AI, renamed Gemini Enterprise Agent Platform in April 2026, is part of Google Cloud: it runs in your Cloud project, under the Google Cloud terms and DPA, and lets you choose where processing happens.

Does Google train on Gemini API data?

On the free tier of the Gemini Developer API, Google's terms say it uses prompts and responses to improve its products, and human reviewers may read them. On the paid tier, and on Vertex AI, Google says it doesn't use your prompts or responses to improve its products. For users in the EEA, Switzerland and the UK, the terms apply the paid-tier data rules to free use as well.

Can I keep Gemini processing in the EU?

Only on Vertex AI. Use the EU multi-region endpoint (aiplatform.eu.rep.googleapis.com, location "eu") for Gemini 3 models and later, or a European region such as europe-west4 for models it doesn't support. The global endpoint gives no data residency guarantee. The Gemini Developer API offers no EU processing option: its terms say data may be cached in any country where Google has facilities.

How long does Google keep Gemini prompts?

On the paid Gemini Developer API, Google logs prompts and responses for a limited period to detect abuse, without giving a number of days. On Vertex AI, inputs are cached in memory for up to 24 hours by default (you can turn this off per project), and customers on Google Cloud's online terms can have flagged prompts kept for up to 90 days for abuse monitoring. Grounding with Google Search stores data for 30 days on both products.

Can I get zero data retention for Gemini?

Google's own Gemini API documentation says to use Vertex AI if your workload needs guaranteed zero data retention or an enterprise data processing agreement. On Vertex AI, zero data retention depends on your contract and on avoiding features that store data, such as Grounding with Google Search, request-response logging and session resumption.

Sources

Provider terms change often. Check the current documentation before you sign or configure anything.

This guide is maintained by Sovergate. We build EU AI Act Article 12 logging infrastructure for companies using LLMs in high-risk contexts — independent of which LLM provider you use. It is for informational purposes only and does not constitute legal advice.

Last checked against vendor documentation: 11 November 2026.

Need Article 12 compliant logging for your LLM calls?

PII scrubbed locally inside your infrastructure. Logs stored in Germany. Monthly Article 12 compliance reports ready for your legal team. Sovergate logs calls made with the OpenAI and Anthropic clients, including Gemini through an OpenAI-compatible endpoint. Native support for Google's google-genai client is not available yet.