Private LLMs and RAG
Gemini API: Pricing, Models, Free Tier and GDPR for Enterprises
Gemini API explained: Gemini 4 models and pricing as of December 2026, free tier and API keys, how Google uses your data, the EEA rule and EU residency.
In short
The Gemini API, also called the Gemini Developer API, is Google's key-based service for Gemini models, managed in Google AI Studio. As of 1 December 2026 it serves the Gemini 4 family with free and paid tiers. Paid data is not used to improve Google products, but the service offers no region choice; Google's Agent Platform does.
Key takeaways
- Google runs two Gemini API products. The Gemini Developer API uses API keys from Google AI Studio; the Gemini Enterprise Agent Platform, which many buyers still call Vertex AI, uses Google Cloud service accounts and adds enterprise controls.
- As of 1 December 2026 the models page leads with Gemini 4 Carbon, Neon, Hydrogen and Argon, each with a one-million-token context. Carbon and Argon cost $4.00 per million input tokens and $20.00 per million output tokens.
- Under the Additional Terms effective 23 March 2026, Google uses free-tier content to improve its products and human reviewers may read it. For users in the EEA, Switzerland and the UK, the paid-service data terms apply to free usage too.
- On paid services Google acts as a processor, logs prompts and responses for abuse monitoring (55 days, per its usage policy page) and may store data transiently in any country where it has facilities. The Developer API has no region setting.
- Any employee with a Google account can obtain a free key in minutes. Control it through Workspace and Google Cloud organisation settings, a gateway and a single billing account, and move regulated workloads to an EU location or to self-hosted models.
What is the Gemini API, and how does it differ from Vertex AI and the Gemini apps?
The Gemini API is Google’s programmatic service for its Gemini models. Google’s documentation also calls it the Gemini Developer API. You authenticate with an API key, manage keys and billing in Google AI Studio, and pay per token or use a free tier.
Google offers the same models through a second product, and the two are easy to confuse.
- Gemini Developer API. Google describes it as the fastest path to build and scale Gemini applications and recommends it for most developers, unless they need specific enterprise controls. Access is by API key.
- Gemini API in the Gemini Enterprise Agent Platform. This is the Google Cloud route that many buyers still search for as Vertex AI; Google’s own code examples reach it with a
vertexai=Trueorenterprise=Trueclient setting. It authenticates with Google Cloud service accounts and runs under Google Cloud’s contract terms. The pricing page lists it as the Enterprise tier and notes that prices may differ there.
Both use the same Google GenAI SDK, so switching is mainly a change of client configuration.
Neither is the Gemini assistant that employees use. The API terms state that the services are for professional or business development, not consumer use. Our article on Gemini Enterprise editions and governance covers the employee-facing app and the Agent Platform plans. For a comparable service from another vendor, see our guide to the Claude API for enterprises.
Which models does the Gemini API offer in December 2026?
As of 1 December 2026 the models page leads with four Gemini 4 models: Carbon, Neon, Hydrogen and Argon. Older Gemini 3 models remain available, and Gemini 2.5 Pro and 2.5 Flash are deprecated.
The page lists a context window of one million tokens for all four Gemini 4 models, with text, image, audio, video and PDF input. It shows the maximum output as “64K / 1M tokens” without explaining the second figure, so test long outputs.
- Gemini 4 Carbon (
gemini-4-carbon): described as Google’s strongest reasoning model, for complex software engineering and knowledge work. - Gemini 4 Neon (
gemini-4-neon): frontier-level capability with fast task completion. - Gemini 4 Argon (
gemini-4-argon): an efficient reasoning model with faster responses and lower token use per turn than Carbon. - Gemini 4 Hydrogen (
gemini-4-hydrogen): aimed at speed and efficiency for everyday coding and agent workflows.
Below these sit Gemini 3.8 Flash and 3.6 Flash, which the page calls previous-generation, and Gemini 3.5 Flash-Lite. The API also serves embedding, speech, image, video and music models.
Model names move, and that matters for regulated use:
- Rerouting. Since 1 December 2026, requests to
gemini-2.5-proroute togemini-3.8-flash, and requests togemini-2.5-flashroute togemini-3.5-flash-lite. An application that still names the old model receives a different one. - Aliases. Google says stable models usually do not change. Preview models can be withdrawn with at least two weeks’ notice, and a
latestalias moves to each new release after a two-week email notice.
How much does the Gemini API cost, and what does the free tier include?
Google charges per million tokens on the paid tier and offers a free tier for some models. The table shows Standard paid prices in US dollars on the official pricing page as of 1 December 2026.
| Model | Input | Output, including thinking | Cached input | Free tier |
|---|---|---|---|---|
| Gemini 4 Carbon | $4.00 | $20.00 | $0.20 | No |
| Gemini 4 Argon | $4.00 | $20.00 | $0.20 | No |
| Gemini 4 Neon | $3.00 | $15.00 | $0.15 | No |
| Gemini 4 Hydrogen | $1.50 | $7.50 | $0.075 | Yes |
| Gemini 3.8 Flash | $0.75 | $3.75 | $0.075 | Yes |
| Gemini 3.5 Flash-Lite | $0.30 | $2.50 | $0.03 | Yes |
Two dated changes sit behind these numbers. The Carbon and Argon prices took effect on 1 December 2026; until 30 November they were $2.00 and $10.00. The Gemini 3.8 Flash prices in the table apply through 31 December 2026; from 1 January 2027 the page lists $1.50, $7.50 and $0.15.
A worked example: 10 million input tokens and 2 million output tokens cost $80.00 on Carbon, $30.00 on Hydrogen and $8.00 on Gemini 3.5 Flash-Lite at Standard rates.
Other pricing terms worth knowing:
- Batch and Flex. The pricing page lists both at half the Standard rate, and describes the Batch API as a 50% cost reduction. A Priority tier costs more: $7.20 per million input tokens for Carbon.
- Grounding with Google Search. For Gemini 3 and newer models, 5,000 requests per month are free across models, then $14 per 1,000 requests, with a default cap of 1,500 requests per project per day.
- Free tier. Usage is free within rate limits, and Google AI Studio itself is free of charge.
- Usage tiers. Tier 1 starts when you link a billing account and carries a $250 monthly cap. Higher tiers follow cumulative payments and time since the first payment. Tiers and tier caps apply per billing account; you can also set your own spend cap on a project.
- Prepay. With prepaid credits, a balance of zero stops every key in every project linked to that billing account.
How do you get a Gemini API key, and who controls it?
You create keys on the API Keys page of Google AI Studio, and every key belongs to a Google Cloud project. That project carries billing, collaborators and permissions, so the governance question is which projects exist and who owns them.
How keys work, according to Google’s documentation:
- Default project. A new user receives a default project and key automatically after accepting the terms. Users who already have a Google Cloud account import a project instead.
- Key types. Since 28 May 2026, new keys created in AI Studio are authorisation keys bound to a Google Cloud service account and limited to the Gemini API by default. Standard keys are being phased out: the API already rejects unrestricted standard keys, while standard keys with explicit restrictions still work.
- Leaks. Authorisation keys have fast leaked-key enforcement that stops use of a key detected as leaked. Google advises keeping keys out of source control and client-side code, and reading them from a secret manager.
This convenience is also a shadow AI route, meaning AI use the organisation has not approved or cannot see. An employee with a personal Google account can accept the terms, receive a free key and send company text to the API. The company has no contract, no logs and no view of the project. Google’s documentation also says a user without administrative access can create a project outside any organisation.
For company accounts, administrators have real controls:
- Workspace. AI Studio is on by default for all Google Workspace editions. Administrators can turn it off for an organisational unit or group in the Admin console.
- Project creation. Turning on AI Studio does not by itself let users create projects or keys. They also need the Google Cloud Platform service and project-creation rights, or a project created for them. An organisation policy that blocks service account creation also blocks new keys.
These settings do not reach personal accounts; network and device controls must. Our guide to shadow AI discovery and governance explains how to find and manage such use.
Does Google train on Gemini API data?
On unpaid services, yes, with a regional exception; on paid services, Google says no. The rules are in the Gemini API Additional Terms of Service, effective 23 March 2026. They supplement the Google APIs Terms of Service.
Unpaid services. These include direct use of Google AI Studio and free Gemini API quota. Google uses the content you submit and the responses to provide, improve and develop its products and machine learning technologies. Human reviewers may read, annotate and process inputs and outputs, after Google disconnects the data from your account, API key and project. The terms tell users not to submit sensitive, confidential or personal information to unpaid services.
Paid services. Gemini API use counts as paid only when it runs through a Cloud project with an active billing account. Google states that it does not use paid prompts or responses to improve its products.
The European rule. If you are in the European Economic Area, Switzerland or the United Kingdom, the paid-service data terms apply to all services, including AI Studio and unpaid API quota. A second rule covers what you build: when you make an application available to users in those regions, you may use only paid services.
Three further points apply even on paid services:
- Abuse monitoring. The terms say Google logs prompts and responses for a limited period to detect policy violations and meet legal requirements. Google’s usage policy page gives the period as 55 days. Authorised Google employees may review flagged content, and the data is not used to train models other than those for policy enforcement.
- Your own logs. For projects with billing enabled, AI Studio logging is on by default for Interactions API calls, and for Generate Content calls in projects created on or after 26 October 2026. Logs are private to the project and kept for up to 55 days by default. Project owners can shorten the period or turn logging off.
- Sharing by choice. Datasets and feedback you share with Google fall under the unpaid terms and may be used for training. An invite-only Contributor tier offers lower prices in exchange for the same data use.
Grounding with Google Search has its own clause: Google stores prompts, context and output for 30 days and may use them for debugging and testing.
Where is Gemini API data processed, and is there EU data residency?
The Developer API documentation we read on 1 December 2026 describes no region setting. The terms say paid-service data may be stored transiently or cached in any country where Google or its agents maintain facilities, and the processor addendum allows processing wherever Google or its subprocessors have them.
Location commitments belong to the Gemini Enterprise Agent Platform. Its data residency page, read on the same date, says:
- At rest. Data stored in the location you select stays at rest in that location.
- EU multi-region. The
euendpoint keeps machine learning processing within EU member states. It excludes the United Kingdom and Switzerland. - Single regions. The tables for Google models list France (
europe-west9), Germany (europe-west3), the Netherlands (europe-west4) and the United Kingdom (europe-west2), but not every model in every region. Gemini 4 Carbon and Neon appear only under the US and EU multi-regions. - Global endpoint. Requests may be processed in any Google Cloud location, with no residency commitment.
Check the tables for your exact model. Residency also does not settle sovereignty: Google is a US provider, and an EU location does not remove exposure to US legal process. Our guide to the CLOUD Act and Schrems II for AI explains why.
Is the Gemini API GDPR-compliant for European companies?
No service is compliant by itself; your use of it must be. The Gemini API terms give European customers a processor relationship for prompts and responses, but with fewer location options than Google Cloud. This section is not legal advice.
Roles. For paid services, and therefore for all services used from the EEA, Switzerland or the UK, the terms say Google processes prompts and responses under its Data Processing Addendum for Products Where Google is a Data Processor. Version 10 is dated 7 May 2026. Google acts as processor, and you act as controller or processor. For account information, billing history and usage details, Google acts as a controller under separate terms.
Transfers. The addendum says transfers to countries with an adequacy decision need no extra safeguard, that Google is certified under the EU-US Data Privacy Framework, and that standard contractual clauses cover other restricted transfers.
The Agent Platform alternative. On Google Cloud the Cloud Data Processing Addendum applies instead. Google is again the processor, and the addendum makes data location subject to the commitments in the Service Specific Terms.
Your own duties remain, including a lawful basis and a data protection impact assessment where the risk is high. Our guide to GDPR-compliant LLM deployment covers these in depth. Involve your data protection officer before personal data is sent.
Gemini Developer API, Agent Platform in the EU or a self-hosted model: which fits?
The Developer API fits prototypes and low-sensitivity data. The Agent Platform with an EU endpoint fits business data that needs a location commitment. A self-hosted model fits confidential or regulated workloads that must stay on infrastructure you control.
- Gemini Developer API. Key-based, with a free tier. Processor terms apply on paid services, but there is no region choice.
- Agent Platform,
eumulti-region or an EU region. Google Cloud’s data processing addendum and documented residency for listed models. Google remains the operator. - Self-hosted open-weight model. Open-weight means the trained parameters are published for you to run. Gemini models are not published this way. Google’s open model family is Gemma: the pricing page lists Gemma 4 as an open model, served only on the free tier. Our comparison of the best open-weight LLMs in 2026 covers Gemma 4’s licence and hardware needs beside the alternatives. You carry the cost of GPUs and operations, and gain full control of data, versions and logs.
Decide by data class, in writing, before teams choose for themselves.
Which controls should you apply if you use the Gemini API?
Use company-owned projects on the paid tier, route traffic through one controlled path and decide which data may leave your network. These controls do not replace the legal assessment above.
- Own the projects. Create projects inside your Google Cloud organisation, with a named owner and one billing account. Do not allow production use from personal accounts or default projects.
- Stay on paid services. Billing makes the paid-service terms apply regardless of where a user sits. Do not join data-sharing programmes or donate datasets.
- Use a gateway. Send requests through an enterprise AI gateway that holds the key, authenticates internal users, filters sensitive data and records usage.
- Decide on logging and grounding. Set the AI Studio log retention period or turn logging off. Allow Grounding with Google Search only where 30-day storage is acceptable.
- Pin model names. Name a specific stable model, avoid
latestaliases in production, and re-run an evaluation set when Google announces a reroute or deprecation. - Cap spending. Know your tier cap, set billing alerts, and watch any prepaid balance.
- Plan the exit. Keep model names and endpoints in configuration so a workload can move to an EU endpoint or to your own servers.
How SysArt helps
SysArt helps European organisations decide which workloads may use a hosted model API such as Gemini and which should run on infrastructure they control. We design and implement private LLM deployments with open-weight models, a gateway, access control and logging, and we prepare the governance evidence your data protection and security teams need.
Featured image by Scott Rodgerson on Unsplash.
Frequently asked questions
What is the Gemini API?
The Gemini API, which Google also calls the Gemini Developer API, gives programmatic access to Google's Gemini models. Developers create keys in Google AI Studio, and every key belongs to a Google Cloud project that handles billing and permissions. Google offers a second product with the same models, the Gemini API in the Gemini Enterprise Agent Platform, for teams that need enterprise controls such as location commitments.
Is the Gemini API free?
Partly. As of 1 December 2026 the free tier covers some models, including Gemini 4 Hydrogen, Gemini 3.8 Flash and Gemini 3.5 Flash-Lite, within free-tier rate limits. Gemini 4 Carbon, Neon and Argon are paid only. Google's terms say content sent to unpaid services is used to improve its products and may be read by human reviewers, with a different rule for the EEA, Switzerland and the UK.
How much does the Gemini API cost?
As of 1 December 2026, Gemini 4 Carbon and Argon cost $4.00 per million input tokens and $20.00 per million output tokens, Gemini 4 Neon $3.00 and $15.00, Gemini 4 Hydrogen $1.50 and $7.50, and Gemini 3.5 Flash-Lite $0.30 and $2.50. Batch and Flex rates are half the standard rate. Google states that prices may change, so check the pricing page before budgeting.
How do I get a Gemini API key?
Sign in to Google AI Studio and open the API Keys page. New users receive a default Google Cloud project and key after accepting the terms; users with an existing Google Cloud account import a project first. Since 28 May 2026, new keys are authorisation keys bound to a service account. Store keys in a secret manager and never place them in client-side code.
Does Google train on Gemini API data?
It depends on the tier and your location. On unpaid services, the terms let Google use prompts and responses to improve its products, with human review. On paid services, Google says it does not. If you are in the European Economic Area, Switzerland or the United Kingdom, the paid-service data terms apply to all services, including free quota. Data you choose to share as datasets falls under the unpaid terms.
Does the Gemini API offer EU data residency?
The Developer API documentation we read on 1 December 2026 describes no region setting, and the terms say paid-service data may be stored transiently or cached in any country where Google or its agents have facilities. Location commitments belong to the Gemini Enterprise Agent Platform, where an EU multi-region endpoint keeps machine learning processing within EU member states for listed models.
What is the difference between the Gemini API and Vertex AI?
Both serve Gemini models through the same Google GenAI SDK. The Gemini Developer API uses API keys and is Google's recommended start for most developers. The Gemini API in the Gemini Enterprise Agent Platform, which examples still address with a vertexai setting, uses Google Cloud service accounts, runs under Google Cloud's data processing addendum and offers regional and EU multi-region endpoints. Prices can differ between the two.
Sources
- Google AI for Developers: Gemini API models (model names, codes, limits and deprecation notices) · checked 1 December 2026
- Google AI for Developers: Gemini Developer API pricing (tiers, token prices, batch, caching, grounding and Gemma 4) · checked 1 December 2026
- Google: Gemini API Additional Terms of Service (effective 23 March 2026) · checked 1 December 2026
- Google AI for Developers: Using Gemini API keys (projects, key types, restrictions and security) · checked 1 December 2026
- Google AI for Developers: Billing (usage tiers, prepay and postpay, spend caps) · checked 1 December 2026
- Google AI for Developers: Usage policies, including abuse monitoring and the 55-day retention period · checked 1 December 2026
- Google AI for Developers: Data logs and sharing (logging defaults, retention and dataset sharing) · checked 1 December 2026
- Google AI for Developers: Google Workspace access to Google AI Studio (admin controls) · checked 1 December 2026
- Google AI for Developers: Gemini Developer API and the Gemini platform API (choosing and migrating) · checked 1 December 2026
- Google: Data Processing Addendum for Products Where Google is a Data Processor (version 10, 7 May 2026) · checked 1 December 2026
- Google Cloud documentation: Gemini Enterprise Agent Platform data residency · checked 1 December 2026
- Google Cloud: Cloud Data Processing Addendum (Customers) · checked 1 December 2026