Zero Retention Is a System Property Not a Promise and Here Is How to Verify It
Check logging, caching, and vendor layers to test a zero-retention claim.

A private AI alternative to a general-purpose chatbot needs more than a promise not to train on conversations. Zero retention is a claim that can be checked when the system has request isolation, ephemeral connections, and separate audit records. For sensitive data, what persists across the whole system determines the privacy assessment.
Why "zero retention" has become a claim that cannot be taken at face value
Buyers hear “zero retention” and expect their conversations to disappear after processing. A vendor’s commitment can be much narrower. It may cover only an identified entity, tier, model, endpoint, region, and configuration, with exceptions for particular uses. Under that conditional definition, covered content is processed transiently and excluded from durable provider logs. The phrase alone does not establish which content is covered or where the boundary ends.
That gap becomes consequential when an agent handles privileged communications, payment card data, or patient history in a retrieval-augmented generation pipeline. Exposure occurs at the inference layer, where many enterprise security stacks have no visibility. A generic policy cannot reveal what happens there. A promise against training also does not show that inputs are kept out of operational logs.
What genuine zero retention requires at the architecture level

Genuine zero data retention, or ZDR, requires controls before, during, and after inference. Before transmission, dynamic PII masking strips identifiable data so that the model never receives it. During processing, a stateless AI gateway intercepts each request, processes it in memory, and never writes it to disk. When the session closes, it leaves no recoverable trace.
Audit logging needs a separate path from content. It records timestamps, token counts, model version, request ID, and policy outcomes without storing prompts or responses. This separation preserves evidence of system activity without preserving the conversation. All three controls serve different purposes, so masking cannot compensate for a gateway that writes content to disk, and a stateless gateway cannot compensate for an observability service that stores it.
ZDR is consequently stricter than data minimization. Minimization can permit temporary storage followed by scheduled deletion, while ZDR excludes persistent retention of covered content after processing, even momentarily. A deletion schedule is not the same mechanism. GDPR Article 25’s requirement for data protection by design makes that difference matter to how the system is built. Data that never persists is unavailable for a later breach, subpoena, or unconsented use in model improvement.
Where retention actually occurs: the full layer map vendors rarely show
The innermost layer is inference memory, where model weights and activations exist in plaintext in CPU or GPU memory during processing. This temporary state is unavoidable in the described inference path. Immediately outside it sit logging and observability systems, where prompts can enter cleartext logs or application performance monitoring traces. Redaction at source and opt-in sampling address that exposure, while encryption and strict retention windows govern any permitted logs.
KV-cache reuse, telemetry, and speculative decoding artifacts can preserve state beyond session close. Vendor safety systems form a further layer. OpenAI’s default API abuse logs can contain prompts, responses, and classifier outputs for a defined window even when training use is disabled.
Outside the provider sit supply-chain components and downstream tools. Compromised model images, retrieval components, or plugins can exfiltrate data before a ZDR gateway intercepts it, which makes signed artifacts and verified attestation relevant. When an agent sends data to an external API, the protection at the inference layer ends. Kochar et al.’s Privacy Preference Controls for Agentic Systems examines how agents with privileged access can overshare sensitive information without direct user control. The complete retention map must therefore extend beyond the model to every service that receives its inputs or outputs.
The OpenAI–Anthropic split as a live demonstration of incompatible ZDR definitions

The divergence described from June 2026 exposes competing answers to a legitimate safety problem. Anthropic instituted mandatory 30-day retention for business customers using its designated Covered Models, Claude Fable 5 and Claude Mythos 5. Its risk report acknowledged that this would be “unpopular with customers who have come to expect zero retention, and pose real risks to our business success (especially if competitors do not follow), but which we believe is essential to detect and prevent sophisticated attacks that span multiple requests”.
OpenAI proposed a different approach to that problem. On August 19, 2026, it previewed Private Safety Processing, which was meant to let it analyze related interactions while keeping the customer content behind them out of OpenAI personnel’s reach. It planned to release a technical white paper in September 2026. As of the August 2026 reporting, that paper had not been published, so the preview remained an announcement awaiting implementation proof.
Anthropic had not publicly shown that retaining raw content for 30 days added enough detection value to justify the exposure. OpenAI’s proposal still required technical scrutiny. Deployment also changes the comparison, because AWS, Azure, Google Cloud, and direct APIs can apply different storage, review, routing, and verification controls to the same model. Buyers need to establish which party keeps which evidence, for what purpose, under whose keys, for how long, and with what inspection rights.
The regulatory tension that makes "delete everything" architecturally impossible
“Log nothing” cannot resolve every regulated deployment’s obligations. GDPR’s storage-limitation principle requires personal data to be kept no longer than necessary for its purpose. The EU AI Act’s Article 12, meanwhile, requires automatic logging relevant to risk identification and traceability for high-risk AI systems. Those duties pull in different directions if every audit record holds the conversation itself. They need not do so if the system separates evidence of activity from content.
The architectural resolution is a small, non-personal audit record. A timestamp, model version, request ID, approximate token usage, and high-level event type can document activity without reproducing raw prompts or outputs. That distinction changes what “delete everything” should mean. Covered content can disappear while the evidence that must be kept stays under the right controls. GDPR Article 25 supports building such privacy controls into the system rather than relying only on steps to delete records later.
This approach also clarifies the role of contractual safeguards. A Business Associate Agreement alone does not show that a model handling protected health information keeps inputs out of its logs. The data path still needs examination. Kochar et al. frame data minimization as a legally enforceable default, with exceptions tied to demonstrably informed consent. Architecture must make that default operational.
Confidential computing as a hardware enforcement layer, and what it cannot do
Trusted Execution Environments, or TEEs, use hardware to enforce a boundary around processing. They are the strongest current mechanism described here for protecting inference data even from the cloud provider. Remote attestation makes that boundary independently checkable. Before sensitive data is sent, a cryptographic attestation report establishes what code and model are running inside the enclave.
The data is protected only within the attested trust boundary. If an agent sends a tool command, releases information to an external API, or stores outputs in an unprotected service, protocol design and access control govern the next step. Attestation also says nothing about whether a model’s goals are benign or its answers correct. A correctly attested model can still produce harmful outputs. Hardware evidence verifies a defined execution environment.
AI workloads also impose practical engineering constraints. Multi-billion-parameter models can exceed conventional enclave memory limits, while encrypted data transport introduces latency penalties. Those constraints affect how the protected boundary is built. They prevent a TEE label from standing in for a full-system design. Hardware enforcement is part of the verification stack and must itself be checked.
Cryptographic verification of inference and why ZK proofs are not yet a production answer
Zero-knowledge proofs address a different question from hardware attestation. They can establish that a specified computation ran correctly on untrusted infrastructure without revealing its inputs. For inference, that means proving execution using the specified model. Research includes zkLLM at ACM CCS 2024, zkGPT at USENIX Security 2025, VeriLoRA for fine-tuning at NDSS 2026, and OpenLLM at IACR ePrint 2026. This remains an active research frontier whose use as a production substitute for operational evidence is still unsettled.
Proving costs remain a substantial constraint on deployment. zkLLM is reported to be hundreds to thousands of times slower than plain inference, while zkAgent requires minutes of proving time per query. Proving typically requires specialized GPU infrastructure unavailable on edge devices. These costs limit its role as the primary verification mechanism for most enterprise ZDR deployments.
The proof’s scope is just as important as its cost. Correct computation does not establish a factually correct answer, so a hallucination can pass verification without error. Proof of computation alone also does not show every path through which data is logged or stored downstream. ZK proofs should be treated as a future component of a broader verification stack. Their progress does not remove the need for layered operational audits today.
What a verifiable ZDR architecture looks like in practice, and how to audit one
For practitioners, best practice now starts with signs of how the system is built that they can check for themselves. The API’s default behavior should write no covered content to durable storage, with safety signals separated from prompts and responses. Request isolation should exclude shared context and KV-cache carryover between sessions. Connections should be torn down after each session so that connection state does not preserve data. Each signal addresses a distinct persistence route.
Client separation requires its own evidence as well. Each client’s data should be cryptographically isolated, and client cases should be kept out of shared model fine-tuning. A vendor should also be able to provide a remote attestation report establishing the running code and model. Together these technical questions test whether the claimed boundary exists in the deployed system.
Contractual review should then establish the obligations around that boundary. The MSA or Data Processing Addendum needs explicit ZDR enforcement. It should include audit rights, a duty to give notice of an incident, and zero-retention clauses that are subject to a third-party technical audit. The right to commission an audit is particularly important. It gives the customer a route to examine a claim that a marketing page cannot substantiate.
In regulated deployments, the model provider keeps no content, while the customer keeps only the audit record needed for safety, compliance, or legal duties, under rules for how it is handled. Retention policy, safety telemetry, encryption, access boundaries, and incident review must therefore be designed together. Li et al.’s Zero-Trust Foundation Models embeds continuous verification and least privilege access across the model lifecycle. For autonomous agents, Kochar et al. also find that privacy preferences must be enforceable in protocols including the Model Context Protocol and Agent2Agent protocol, as well as through API-level ZDR.
Why privacy built into architecture from the start is cheaper than retrofitting it
These controls are harder and more expensive to add after deployment because they cut across the system. Changing retention can mean changing logging, safety analysis, how connections are handled, and who holds audit records, all at once. Regulation makes delay a product architecture concern. The EU AI Act’s Article 15 requires high-risk systems to resist data poisoning, model poisoning, adversarial examples, and confidentiality attacks. Building in those protections takes time to design the system as well as changes to the contract’s wording.
Engineering clients ask about intellectual property and data flows before they ask about price, and buyers in regulated sectors need an honest AI use statement that describes logging, retention, and audit rights. Written terms with suppliers should be in place before their components are integrated. Those terms should cover training data sources, logging, retention policies, incident notice timelines, and audit support. They define obligations early enough for the architecture to accommodate them.
Attestation, audit log review, contract compliance, and architectural drift monitoring are continuous controls. Microsoft’s Zero Trust for AI framework extends that logic across ingestion, training, deployment, and agent behavior through the principle of “assume breach”. The build-or-buy distinction is therefore less decisive than when privacy enters the design. When isolation, ephemeral connections, and audit separation are structural properties from the start, verification has a stable boundary to examine.


