Glossary

Zero data retention

Zero data retention is a provider's commitment not to store your prompts, outputs or other content after a request has been processed.

Zero data retention (ZDR) is a commitment from a service provider not to store your data beyond the time needed to process a request. For LLM APIs it usually means prompts and completions are not written to logs, not kept for abuse monitoring and not used for training, so once the response is returned the provider holds no copy. ZDR is a contractual and configuration setting rather than a technical feature you can see from the outside: it is typically granted per account or per project, it often excludes product features that need storage, and its exact scope varies by vendor. Teams adopt it to shrink their data footprint for GDPR, HIPAA and enterprise security reviews.

What ZDR covers and what it does not

Without ZDR, most LLM providers keep API inputs and outputs for a limited period, commonly measured in weeks, so they can investigate abuse and debug incidents. Under ZDR that retention is switched off for eligible endpoints. The request is processed in memory, the response is returned, and nothing persists on the provider’s side apart from operational metadata such as token counts and timestamps for billing.

The boundaries matter more than the headline. ZDR normally applies only to stateless inference endpoints. Features that are stateful by design, such as server-side conversation threads, stored files, assistants with persistent state, batch jobs that hold inputs until processing finishes, and fine-tuning datasets, either fall outside ZDR or are unavailable to ZDR accounts. Some providers also note that short-lived in-memory caches, such as the KV cache behind prompt caching, are compatible with ZDR because the data never reaches durable storage. Read the specific terms rather than assuming every endpoint is covered.

Commitment

What it promises

What it does not promise

Zero data retention

No storage of request and response content after processing

That stateful features are available, or that your own logs are clean

No training on your data

Content is not used to improve models

That content is not stored for a period for abuse monitoring

Short retention policy

Content is deleted after a fixed number of days

That it is never written to disk

Encryption at rest

Stored content is encrypted

Anything about how long it is stored

Teams often confuse these. A no-training commitment is now common on business API tiers, but data may still be retained for a period. ZDR is the stronger promise, and it is usually narrower in which features it covers.

Why teams ask for it

Every copy of sensitive data is a liability: something to secure, disclose, include in breach assessments and delete on request. When a provider retains nothing, a whole category of copies disappears from the data retention map. That simplifies answering a right to be forgotten request, shortens the list of sub-processors holding customer content, and gives security reviewers a clear answer to the question of what happens to prompts after the call.

Regulated buyers ask for it most. Legal teams handling privileged material, banks under supervisory scrutiny and healthcare organisations sending PHI often require ZDR, or an equivalent, before approving a model provider. Some providers make ZDR, or a similar configuration, a condition of signing a business associate agreement for HIPAA workloads. The security questions your AI product will be asked lists the forms this usually takes in procurement.

Where ZDR is offered

Major model providers offer ZDR or equivalent arrangements to business customers, generally on request and subject to approval, and cloud platforms that host models often let you disable content logging for specific deployments. Embedding and reranking APIs deserve the same question, since they receive the full text of documents and queries. So do speech-to-text and extraction services, which handle raw files. The answer often differs between product lines within a single vendor, so record it per endpoint in your vendor inventory, alongside the region where processing happens and the date you last confirmed it. Terms change, and a quarterly check is a sensible default.

The trade-off: state has to live somewhere

An agent needs state. It has to remember what the user said earlier in the session, what it learned in previous sessions and which documents it has read. If the model provider keeps nothing, that state must be stored by you or by another service you trust, and sent back into the context window on each call. ZDR does not remove the need for memory; it moves the decision about where memory lives into your own architecture.

The common pattern is a stateless model behind a stateful layer you control. The LLM gateway or application server assembles context from a memory layer and a document store, calls the model under ZDR, and writes anything worth keeping back to that layer. The model provider never holds history. Your memory layer does, under your own retention rules, isolation model and deletion paths. Stateful vs stateless agents explains the distinction, and stateless AI is a design choice; it’s also a bad one argues why the state has to exist somewhere.

This pattern also changes the cost picture. Without server-side threads, each request carries whatever context you send. Sending the full conversation history every time is expensive and grows with session length. Retrieving only the relevant facts from agent memory keeps requests small, which is the approach described on the reduce token costs page.

A request under ZDR, step by step

Take a legal research assistant answering a question about a client contract. The application receives the question, retrieves the three clauses and two remembered facts that matter from its own store, and assembles a prompt of a few thousand tokens. The gateway sends it to a model deployment configured for ZDR. The provider processes the request in memory and returns an answer, and nothing is written to its logs. The application then decides what to keep: a new fact about the client’s preferred governing law goes into memory, the full prompt is discarded, and the trace records only latency and token counts. At the end of the request the only durable copies of client content sit in stores the firm controls, each with known retention and deletion paths.

Your own stack can undo ZDR

A provider’s ZDR promise covers the provider. It says nothing about the rest of your system, and the most common way teams lose the benefit is by logging prompts themselves. LLM observability tools, tracing platforms, error reporters and analytics pipelines frequently capture full prompts and completions by default. If those tools keep data for 30 or 90 days, sensitive content is retained regardless of what the model provider does.

Review every hop in the request path. Decide which tools may see content and which should receive only metadata such as latency, token counts and error codes. Redact or hash identifiers before they reach logs. Set explicit retention on the stores that do keep content, and record those decisions in an audit log or data map so a reviewer can follow them. Designing retention policies for agent data and the case against storing every conversation both argue for keeping less by default.

ZDR and memory services

A memory or storage service cannot offer zero retention in the same sense as an inference endpoint, because retaining data is its purpose. The equivalent questions for these services are about control: is the data stored only where you asked, is it isolated from other customers, can you delete it completely and promptly, is it excluded from model training, and are transient copies (extraction intermediates, caches, query logs) kept to a minimum and on a known schedule. Encryption at rest and in transit, along with clear answers on data residency, complete the picture.

How to verify a ZDR commitment

Ask for the commitment in writing, in the contract or data processing agreement, and confirm which endpoints, models and regions it covers. Check whether it applies by default or must be requested and approved for your account. Ask which features are disabled under ZDR, whether any sub-processors receive content, and what metadata is still kept. Then test your own path: send a request with a recognisable marker string and search your logs, traces and caches for it. If the marker appears anywhere you did not intend, the gap is in your stack.

Where Exabase fits

Exabase is the stateful layer in the pattern above: it stores memory, files and search indexes so the model call can stay stateless. Its job is to retain what you ask it to retain, so the relevant controls are isolation, deletion and short-lived intermediates. Each Base is an isolated environment, and deleting a Base permanently removes its files, memories, search index and history (deleting Bases). Individual memories can be deleted through the delete memory endpoint.

Several transient copies have defined lifetimes. Files submitted to Extract are retained for one day from job creation and then permanently deleted, after which the job state becomes cleaned (about extraction). Deep Search stores query history by default, and passing incognito: true prevents a query from being saved (searching resources). Link previews are cached for up to 24 hours. Data is encrypted with AES-256 at rest and SSL in transit, and Exabase is CASA certified. The Scale plan lists a zero data retention policy on the pricing page; check its terms for exactly what it covers before relying on it in a security review.

Frequently asked questions

What does zero data retention mean for LLM APIs?

It means the provider does not store your prompts or completions after processing the request, including for abuse monitoring. Only operational metadata such as token usage is kept.

Is zero data retention the same as not training on my data?

No. A no-training commitment means content is not used to improve models, but it may still be stored for a period. ZDR means content is not stored at all after processing.

Does ZDR work with every API feature?

Usually not. Stateful features such as stored threads, files, batch jobs and fine-tuning typically fall outside ZDR or are disabled for ZDR accounts. Check the provider’s list of eligible endpoints.

How do I get ZDR from a model provider?

Most providers grant it on request for business or enterprise accounts, often after review, and confirm it in the contract. Some cloud platforms offer it as a configuration on specific deployments.

Does ZDR make my application GDPR or HIPAA compliant?

No single setting does that. ZDR removes one set of copies, which helps with data minimisation and erasure, but compliance depends on your whole system and is determined by your own legal and security review.

If the model keeps nothing, how does my agent remember users?

Store state in a memory layer you control and retrieve the relevant facts into each request. The model stays stateless and your memory layer holds history under your own retention rules.

Does Exabase offer zero data retention?

The Scale plan lists a zero data retention policy on the pricing page; review its terms for scope. Separately, Exabase deletes Extract files after one day, supports incognito search and lets you delete memories or whole Bases permanently.

Related pages: Data retention, Right to be forgotten, GDPR for AI, HIPAA compliance, Stateful AI, Prompt caching, Agent memory solution, Exabase vs OpenAI memory, Legal agents, Banking

Cut your token spend and give your agent precise context.

Get started in minutes.

Cut your token spend and give your agent precise context.

Get started in minutes.