LLM data retention and zero data retention: what an enterprise security review will ask your AI SaaS
Enterprise buyers ask where prompts go and how long they live. How provider retention, zero data retention and your own logs fit together, and what to settle before the questionnaire arrives.
An enterprise prospect is ready to sign, and then the security questionnaire arrives. Somewhere on page four: "Is customer data sent to third-party AI providers? How long is it retained? Is it used for training?" If your answer is "we think it is deleted," the deal stalls. LLM data retention is the topic most AI SaaS teams have not written down before they are asked. This post covers what providers actually retain, what zero data retention does and does not mean, and what to settle internally first.
What will an enterprise security review actually ask?
The questions cluster into a few groups. Expect most of these in some wording:
Question
What the buyer is really checking
Which AI providers and models process our data?
Your subprocessor list, and whether it changes without notice
Are prompts and outputs stored by the provider, and for how long?
Provider retention terms that apply to your account
Is our data used to train models?
Training-use terms in the provider contract
Where is data processed?
Data residency and cross-border transfer
What do you store yourself?
Your logs, traces, indexes and backups
Can you delete our data on request, everywhere?
Whether deletion reaches every store
None of these is answered by "we use a reputable provider." Each needs a specific, sourced answer, and several depend on contract terms rather than defaults.
What does a provider actually retain?
Read the provider's own documentation, not a blog summary. As an example, Anthropic's API and data retention page states several things worth knowing:
Retained data is never used for model training without express permission.
Conversation content is not retained by default, with an exception for Covered Models, which require 30-day retention.
Under a ZDR arrangement, prompts and responses are not stored at rest after the response is returned. ZDR is enabled per organization through the sales team.
Anthropic may still retain data where required by law or where trust and safety systems flagged it; flagged inputs and outputs may be kept for up to 2 years.
Two details matter for your architecture. First, eligibility is per feature. The same page lists batch processing (29-day retention), the Files API, and code execution (container data retained up to 30 days) as not ZDR-eligible. Using one of them is, in the docs' words, a choice to step outside your ZDR arrangement for that data. Second, eligibility is per model: the page says Covered Models need 30-day retention and are not available under ZDR unless Anthropic expressly authorizes it.
Other providers have their own terms, and cloud platforms that host models can change who is the data processor. Anthropic's page notes that on Amazon Bedrock and Google's own-managed offering, the cloud provider is the processor and you should read that platform's documentation. Do the same for whichever provider you use; do not assume the terms transfer.
Where does your own system keep copies?
The provider is one store. A buyer reviewing you will count all of them:
Application database: conversation history and saved outputs
Traces and logs: full prompts are often captured for debugging (see observability cost)
Caches and queues: response caches, retry queues, dead-letter queues
Backups and third-party tools: error trackers, analytics, support tooling
If you tell a customer "prompts are not retained" because your provider offers ZDR, but your tracing tool keeps full prompts for 90 days, your answer is wrong. The honest framing is a data map with a retention period per store.
Zero data retention or your own retention limits: which do you need?
They solve different problems, and you may need both.
Approach
What it covers
What it does not cover
Provider ZDR
Provider does not store prompts and responses at rest
Your own stores; ineligible features and models; legally required or flagged retention
Your own retention limits
How long your logs, traces and indexes keep content
What the provider does with the request
Redaction before the call
Removes personal data from what leaves your system (see PII redaction)
Content that is not recognised as sensitive
Regional or private deployment
Where processing happens
Retention terms, which depend on the platform
ZDR is usually something you request through a sales process and have confirmed in a contract, not a setting you toggle. If a regulated customer needs it, start that conversation before you promise it. For India-specific obligations, see the DPDP Act and your AI product.
How do you prepare before the questionnaire arrives?
Write the data map. List every store that can hold a prompt or output, its retention period, who can read it, and how deletion reaches it.
Pin down provider terms per feature. Record which models and features you use and whether each is covered by the retention arrangement you claim. A single batch or file feature can quietly void a ZDR answer.
Put retention in config. Trace and log retention should be a setting with a default you can state, not whatever the vendor ships.
Test deletion. Delete a test tenant and confirm the content is gone from the database, index, caches and eval sets. Document what is not deleted immediately, such as backups.
Keep a subprocessor list. Name providers, purpose and region, and decide how you notify customers of changes. A silent model swap is a common review failure (see LLM model deprecation planning).
Pre-write answers. A short, accurate security page beats improvising answers per questionnaire.
Do not state a certification, audit status or retention period you cannot document. An answer of "30 days in our logs, deleted on tenant offboarding" is stronger than a vague promise.
What to do next
Spend an afternoon on the data map before the next deal needs it. Most teams find at least one store, usually traces or an eval set, that keeps customer content longer than anyone intended. Fix that, confirm your provider terms per feature, and you can answer the questionnaire in an hour instead of a week.
If you are building an AI product that has to pass enterprise review, our AI SaaS work covers retention, isolation and audit design from the start. To talk it through, send us a brief.
CodeKrypt
Drafted by CodeKrypt's AI writing pipeline, built and maintained by our engineers, under fixed rules on sources and claims. How we write
Frequently asked questions
What does zero data retention (ZDR) mean for an LLM API?
Under Anthropic's ZDR arrangement, the provider does not store customer prompts or responses at rest after the API response is returned. Anthropic's docs say it is enabled per organization by contacting sales, and that some features are not eligible.
Does ZDR mean nothing is ever retained?
No. Anthropic's documentation says that even with ZDR or HIPAA arrangements, data may be retained where required by law or where it was flagged by trust and safety systems, in which case inputs and outputs may be kept for up to 2 years.
Do all models and features qualify for ZDR?
Not necessarily. Anthropic's docs list features such as batch processing, the Files API and code execution as not ZDR-eligible, and say certain models designated as Covered Models require 30-day retention. Check eligibility per model and feature before promising a customer ZDR.
Is the provider the only place customer data is stored?
No. Your own application logs, traces, vector index, eval datasets and backups also hold prompts and outputs. A buyer's review covers all of them, so your retention story is only as strong as the weakest store.
Enterprise buyers ask to use their own LLM provider account or encryption keys. What BYOK means in an AI SaaS product, how to store customer keys, and what it does to cost, support and quality.
LLM output guardrails are a layered set of checks between the model and your user. Which checks are worth their latency, which are theatre, and how to place them.
LLM PII redaction means detecting and masking personal data before a prompt leaves your system. Where to put it, how to restore values, and what automated detection cannot promise.