Gemini API stores Generate Content requests by default for new paid-tier projects
Paid-tier Gemini API projects created on or after October 26, 2026 store generateContent, streamGenerateContent and batchGenerateContent requests by default (store=true). Existing projects keep their setting; opt out per request with store=false or in AI Studio's Logs settings.
What does this mean for me?
Action needed
Engineering leadership
Cost, risk, timeline, team impact Plan for itAny paid-tier Gemini API project created from October 26, 2026 keeps request logs for 55 days by default. If your data-handling commitments forbid that, make opting out part of project setup now.
Engineer
What to change, what breaks, what to test Action neededOn new paid-tier projects, set `store=false` on generateContent, streamGenerateContent and batchGenerateContent calls (needs google-genai 2.33.0+ or @google/genai 2.31.0+), or turn off Generate Content API logging in AI Studio's Logs settings. Existing projects are unchanged.
General consumer
Using the Gemini app, not the API No impactNothing to do. This affects developer projects on the Gemini API, not the Gemini app.
From October 26, 2026, new Gemini API projects on the paid tier store Generate Content API requests by default (store=true). This covers generateContent, streamGenerateContent and batchGenerateContent, and matches the default the Interactions API already had. Projects created before that date keep their existing setting, which is off unless logging was turned on in AI Studio.
Stored requests appear in AI Studio’s Logs and Datasets dashboard. According to the logs documentation, they expire after a default retention window of 55 days, which can be set to 7, 14, 28 or 55 days; logs saved into a dataset do not expire. Storage applies only to paid-tier projects.
To opt out, set store=false on individual requests, which takes precedence over the project setting, or turn off Generate Content API logging in the Settings panel of the Logs dashboard. The per-request parameter needs a recent SDK: google-genai 2.33.0+ for Python, @google/genai 2.31.0+, 1.79.0+ for Java and google.golang.org/genai 1.76.0+.
The subtlety is that the default depends on the project’s creation date, not the account: a team that creates a new project for an existing workload will begin storing requests unless it opts out.
API surface
| Parameter | Change | Breaking | Models |
|---|---|---|---|
store | changed | no |