Zero-retention RAG platform for trade secrets
Brands AI mentions
Also mentioned rarely: AWS, Meta AI, Milvus, Pinecone, Mistral, OpenAI API, Qdrant, Google Cloud Gemini Enterprise Agent Platform, vLLM, LlamaIndex, Google Cloud, Google Cloud Platform, LangChain, Ollama, Weaviate, pgvector, Claude · claude.ai, Gemini, OpenAI Platform, PostgreSQL, Scaleway Generative APIs, xAI, Fireworks.ai, I3K RAG Engine, Onyx, Cohere, TensorFlow, Google Store, FAISS, Google, Private Safety Processing, IONOS AI Model Hub, Salesforce Conversation Intelligence, Chroma, Amazonaws, Microsoft Learn, OVHcloud AI Endpoints, Claude · claude.com, PremAI, Datadog, Elasticsearch, LangSmith, Grafana, Hugging Face, Langfuse
- OpenAIChatGPTChatGPT 74%Google AI ModeGoogle AI Mode 88%
- AnthropicChatGPTChatGPT 49%Google AI ModeGoogle AI Mode 91%
- Amazon BedrockChatGPTChatGPT 46%Google AI ModeGoogle AI Mode 31%
- Azure OpenAI ServiceChatGPTChatGPT 11%Google AI ModeGoogle AI Mode 47%
- Microsoft AzureChatGPTChatGPT 17%Google AI ModeGoogle AI Mode 41%
Questions and answers
Google AI ModeNov 20, 2026
In a RAG architecture handling trade secrets, zero retention is a shared, layered responsibility.
No single entity—not your cloud provider, your vector database vendor, or your own engineering team—automatically "ensures" it out of the box.Achieving true zero retention requires explicit controls across three distinct boundaries:
1. The LLM Provider (The API / Model Layer)
- What they control: Whether the foundation model API stores, logs, or uses your prompts and retrieved context for training or abuse monitoring.
- Your mechanism: You must officially opt into a Zero Data Retention (ZDR) agreement or enterprise tier (e.g., via OpenAI Enterprise, Anthropic Commercial/Enterprise, or Azure OpenAI with disabled abuse monitoring).
- The catch: ZDR only applies to the model's transient processing window. If you use features like batch processing, file uploads, or built-in connectors, those may fall outside standard ZDR rules.
2. Your Enterprise & Application Layer (The Orchestrator & Logs)
- What you control: Your application backend, API gateways, vector databases, and logging pipelines.
- The vulnerability: This is where trade secrets most commonly leak. Even with a ZDR contract at the LLM layer, your own application logs, LangChain/LlamaIndex traces, vector cache, or APM tools (like Datadog or Grafana) might passively snapshot full text prompts, embeddings, and retrieved chunks.
- Your responsibility:
- Configure strict no-log / scrub policies for application payloads.
- Ensure vector databases (e.g., Pinecone, Milvus, Qdrant) are deployed in your own private VPC/cloud tenant with encryption at rest and in transit, and configure TTL (time-to-live) or deletion hooks if temporary staging is used.
- Isolate telemetry so logs record metadata (e.g., query ID, user role) rather than raw trade secret text.
3. Your Infrastructure / Cloud Host (AWS, Azure, GCP, or On-Prem)
- What they control: The physical/virtual storage, memory dumps, and ephemeral disk space where your vector search and LLM calls execute.
- Your responsibility: Utilizing private-instance hosting, Bring Your Own Key (BYOK) for encryption, and ensuring ephemeral storage volumes are scrubbed or non-persistent if running open-weight models locally (e.g., via vLLM or Ollama on your own GPU clusters).
Summary Checklist for Trade Secret RAG
Layer Primary Risk Who is Responsible? Required Action Model API Provider logging/training on data LLM Vendor + You Sign enterprise ZDR contract; verify opt-outs. Vector DB Storing raw trade secret chunks indefinitely Your Engineering Team Encrypt at rest, scope RBAC, set retention/purge rules. Application & Logs Caching prompts in APM / trace tools Your DevSecOps Team Strip PII/trade secrets from debug/error logs. Inference Host Ephemeral swap/disk persistence Your Cloud / Ops Team Enforce ephemeral-only or on-prem execution. Are you running proprietary external APIs (like OpenAI or Anthropic) or self-hosted open-source models (like Llama/Mistral) for your RAG pipeline? I can share specific configuration tips for whichever stack you're using.
ChatGPTNov 20, 2026
Zero Data Retention (ZDR) is primarily ensured by your AI infrastructure provider, backed by contractual commitments, technical enforcement, and independent compliance verification. However, responsibility is shared across your RAG architecture.
For a trade-secret RAG system, I would distinguish four parties:
1. Who is responsible for zero retention?
Party Responsibility LLM provider Guarantees contractual data-retention policies for prompts and outputs Cloud infrastructure provider Controls retention of inference requests, logs, and infrastructure data RAG platform team Prevents sensitive data from leaking into logs, caches, traces, and monitoring Your security/compliance team Verifies configurations, contracts, audit evidence, and access controls 2. Providers offering zero-retention controls
OpenAI
Offers Zero Data Retention for eligible API customers, subject to approval and endpoint limitations.
Official data retention documentation
Amazon Bedrock
Provides configurable zero-data-retention mode (
data_retention_mode: none) for supported models and APIs.AWS data retention documentation
Anthropic
Offers enterprise data-handling commitments. Verify the precise retention terms for your API or deployment route.
Important: No training on customer data does not automatically mean zero retention. These are different guarantees.
3. What must be covered in your RAG architecture?
For trade secrets, you need zero retention across the entire pipeline, not just the LLM.
Trade-secret documents
Source code, patents, formulas, internal documents
Embedding and vector database
Encryption, access control, deletion policies
Retrieval and context assembly
No unintended logging or persistent caching
LLM inference provider
Contractual ZDR and approved endpoints
Monitoring, observability and backups
Redaction, retention limits, secure deletion
4. What should you demand contractually?
I recommend requiring:
- Zero retention of prompts, retrieved passages, embeddings where applicable, and model outputs.
- No training on your confidential data.
- No human access except explicitly agreed, narrowly defined exceptions.
- No third-party subprocessors retaining your data.
- Explicit deletion and backup-retention commitments.
- Audit rights and independent security certifications.
- Disclosure of all temporary storage, abuse-monitoring, and caching exceptions.
Note that embeddings and vector databases require separate treatment: an LLM provider's ZDR commitment does not cover data stored in your own RAG infrastructure.
5. My recommendation
For trade secrets, I would favor a private-cloud or self-hosted RAG architecture, with:
- Customer-controlled encryption keys.
- Private networking.
- Self-managed vector database.
- Contractually enforced inference-provider ZDR.
- No sensitive payloads in application logs.
- Independent security audits.
One important question:
Are you building this RAG system using:
- A. OpenAI API
- B. AWS Bedrock
- C. Azure OpenAI
- D. Anthropic Claude
- E. Self-hosted LLM (Llama, etc.)
- F. A combination of providers
I can then identify exactly who guarantees zero retention, what contractual assurances to demand, and where trade-secret data could still be retained.
Pages cited in this answer 2
ChatGPTNov 29, 2026
As of November 28, 2026, several major AI infrastructure providers offer Zero Data Retention (ZDR) arrangements suitable for applications handling sensitive trade secrets.
However, there's an important distinction: not retaining data by default is different from contractually guaranteeing zero retention.
For your RAG application, I would evaluate providers based on whether they can guarantee that prompts, retrieved document chunks, embeddings, model outputs, and abuse-monitoring logs are not persistently retained.
1. Providers offering zero-data-retention options
Here is the shortlist I would investigate.
Provider Zero retention option How to obtain it Amazon Bedrock (Configurable) Set retention mode to nonefor eligible modelsOpenAI API (Available) Apply for Zero Data Retention approval Anthropic API (Available) Negotiate enterprise ZDR terms Google Vertex AI (Configurable) Configure retention, caching and logging controls Azure OpenAI (Available) Apply for Modified Abuse Monitoring Fireworks AI (Verify contract) Private inference arrangements Sources:
My assessment of the strongest candidates
1. Amazon Bedrock — particularly interesting for sensitive RAG
(First candidate to evaluate)
- Supports a
data_retention_mode: noneconfiguration for eligible models. - AWS states that Bedrock inputs and outputs are not used to train foundation models.
- You can use models from different providers through the AWS infrastructure.
- You can keep your RAG infrastructure within your own AWS environment.
Important: Not every model qualifies. Certain newer Anthropic models require retention for safety review. Verify model eligibility before deployment.
2. OpenAI API — good enterprise option
- Offers Zero Data Retention for approved organizations.
- ZDR eligibility is endpoint-specific.
- You must configure stateless API usage appropriately.
- Files, vector stores, conversations, batches and other stateful features can fall outside ZDR.
For your application, I would use your own retrieval infrastructure rather than OpenAI-hosted vector stores.
3. Anthropic — enterprise contractual option
- Offers enterprise ZDR arrangements.
- Requires approval and agreement with Anthropic.
- Standard API retention and ZDR are different arrangements.
- Certain newer covered models have a 30-day retention requirement, making them unsuitable if absolute zero retention is mandatory.
refusalrate.comaiprovidertrust.comopenagreements.orgwww.airefinery.cogetborg.com
4. Google Vertex AI
- Offers enterprise data governance and retention controls.
- Requires careful configuration of caching and request logging.
- Some features, including search grounding and Deep Research, have separate retention behavior.
I'd consider it if you're already using Google Cloud, but would require written confirmation of the exact configuration.
5. Azure OpenAI
- Supports Modified Abuse Monitoring for eligible customers.
- Requires an approval process.
- Stateful features still need separate treatment.
- Offers an attractive option for organizations already operating within Microsoft's enterprise environment.
refusalrate.comvdf.aiopenagreements.org
2. The important issue: your entire RAG pipeline
For trade secrets, choosing a zero-retention LLM is not sufficient.
Consider this architecture:
Your proprietary documents
Internal storage · encrypted · access controlled
Private embedding model
Prefer self-hosted embeddings
Private vector database
Encrypted storage · private network · controlled backups
Retrieval and context assembly
Run inside your infrastructure
ZDR-enabled LLM API
(Approved ZDR configuration)
Only necessary context is transmitted
Response returned to your application
You also need to examine these potential retention points:
Component What to verify Embedding provider No prompt or document retention Vector database Encryption, backups and deletion policies LLM provider ZDR covering prompts and outputs Observability No sensitive prompt or response logging Reranking API Same retention guarantees as the LLM Application infrastructure Logs, traces, caches and temporary files Backups Retention and verified deletion procedures 3. What I would require contractually
For trade secrets, I would make these requirements non-negotiable:
- Zero content retention: No persistent storage of prompts, completions, retrieved chunks or embeddings.
- No model training: Explicit prohibition on training or fine-tuning using your data.
- No human review: No human access to submitted content for routine abuse monitoring.
- Subprocessor guarantees: Equivalent obligations for infrastructure and model subcontractors.
- Deletion guarantees: Documented deletion procedures covering backups, caches and logs.
- Confidentiality and liability: Contractual confidentiality, breach notification and appropriate liability provisions.
- Auditability: Written evidence of ZDR configuration and independent security assurance.
One important qualification: even ZDR does not necessarily prevent transient processing, automated safety checks, legal retention or metadata collection. Get the exceptions explicitly documented.
4. My recommendation
For an application containing genuinely valuable trade secrets, I'd shortlist:
- AWS Bedrock: First choice to investigate for configurable zero-retention inference.
- OpenAI API: Strong alternative if you obtain approved ZDR and use eligible stateless endpoints.
- Self-hosted open-weight models: Strongest option if you want to avoid sending proprietary document contents to an external model provider altogether.
If the requirement is absolute confidentiality, self-hosting the embedding model, vector database and LLM inside your controlled infrastructure is worth serious consideration.
5. One question that changes my recommendation
Are you willing to send retrieved document chunks to an external LLM provider under a signed ZDR agreement, or must the trade secrets never leave your own infrastructure?
That distinction determines whether a managed API or a completely self-hosted architecture is the better choice.
I can also prepare a provider-by-provider security and contractual comparison for a production-grade confidential RAG architecture.
Compare AWS Bedrock, OpenAI and self-hosting
Pages cited in this answer 7
- refusalrate.comZero Data Retention LLM API: Which Providers Offer It? | Refusal Rate
- aiprovidertrust.comWhich AI providers offer zero data retention? · AI Provider Trust Registry
- openagreements.orgCross-provider zero-data-retention commitments
- vdf.aiZero Data Retention: OpenAI, Anthropic, Bedrock, Vertex AI
- airefinery.coZero Data Retention AI: What ZDR Covers and What It Misses
- getborg.comZero data retention
- getaight.aiZero data retention (ZDR) for LLM APIs: who keeps what
Google AI ModeNov 29, 2026
When handling trade secrets via a RAG application, Zero Data Retention (ZDR) is a critical contractual and technical requirement—not a default setting. Standard API tiers for
[Highlight start] major LLM providers [Highlight end]typically log prompts and completions for up to 30 days for abuse monitoring.To guarantee zero data retention, you must use enterprise-specific agreements, opt-in programs, or dedicated cloud deployment layers rather than standard developer keys.
Major Providers and How They Handle ZDR
Provider ZDR Mechanism / Offering Key Requirements & Caveats OpenAI (API) Zero Data Retention (ZDR) + Private Safety Processing (rolling out through 2026) Must be requested/enabled for eligible enterprise/API accounts. Does not use enterprise customer data for model training by default, and prompts/responses are not retained after processing. Microsoft Azure (Azure OpenAI Service) Zero Data Retention Mode (disables prompt logging and human review) Exclusively available to enterprise customers (Enterprise Agreement or Microsoft Customer Agreement, not Pay-As-You-Go) and must be explicitly requested per resource. Anthropic (Claude API via direct/Legacy ZDR or Enterprise Frontier Safeguards) Legacy ZDR / EFS ZDR (Beta) Does not store customer prompts or responses at rest after the API response returns. Requires coordinating with Anthropic sales or setting up designated enterprise arrangements. (Note: If using Claude via AWS Bedrock or Google Cloud, you fall under their native data policies instead). Amazon Web Services (Amazon Bedrock) AWS Data Privacy & Zero Training Promise Bedrock does not use customer inputs or outputs to train foundation models, and you can configure logs/storage to be completely disabled or routed exclusively inside your own VPC. Self-Hosted / Open-Source (e.g., Llama 3/3.1/3.3 via vLLM, Ollama, or TGI on AWS/GCP/Azure/on-prem) Complete Sovereign Control You own the hardware or isolated cloud VPC. Zero third-party retention is guaranteed because the data never leaves your infrastructure. Critical Traps to Avoid in RAG Architectures
Even if your LLM provider has an active ZDR contract, trade secret leaks often happen elsewhere in the RAG pipeline:
- The Vector Database / Embedding Layer:
- Where are you generating your embeddings? Standard embedding APIs (like OpenAI's
text-embedding-3) may log or retain text if you aren't using an enterprise ZDR-eligible tier or a self-hosted embedding model (e.g., BGE, E5, or local sentence-transformers). - Where are your vector chunks stored? If you use a managed vector DB (like Pinecone, Milvus Cloud, etc.), verify their at-rest encryption, BAA/SOC2 compliance, and data residency guarantees.
- Where are you generating your embeddings? Standard embedding APIs (like OpenAI's
- Abuse Monitoring / Safety Pipelines:
- Providers often intercept prompts for safety filters. OpenAI's Private Safety Processing and similar enterprise mechanisms attempt to run safety checks without human eyes or long-term storage, but you must audit how safety flags are logged.
- Implicit Context Caching:
- Some APIs or gateways cache prompt context to lower latency/cost. Ensure your client configuration disables prompt/context caching where sensitive trade secrets are involved.
Are you planning to use commercial managed APIs (OpenAI, Anthropic, Azure) with ZDR contracts, or are you exploring self-hosted open-source models (like Llama) to keep everything completely in-house?
Pages cited in this answer 4
- dev.toIs Your AI Agent Leaking Secrets? Why Zero Data Retention is the New Standard for Enterprise Trust - DEV Community
- learn.microsoft.comHow to opt-in for zero data retention with Azure OpenAI service? - Microsoft Q&A
- openai.comOffering Zero Data Retention for frontier models | OpenAI
- platform.claude.comAPI and data retention - Claude Platform Docs
- Supports a
Google AI ModeOct 13, 2026
When dealing with highly sensitive trade secrets, relying purely on cloud-vendor privacy policies ("we do not train on your data") is rarely enough to guarantee zero data retention. True zero retention and absolute data sovereignty require fully localized, on-premises, or air-gapped RAG architectures where the entire stack—the vector database, embedding models, orchestration layer, and LLM inference—runs on your own hardware. Because the data never leaves your infrastructure, no external third party can retain it.
The most suitable open-source and enterprise-grade RAG frameworks for this requirement, along with how to achieve a strict zero-retention guarantee, are outlined below.
To ensure that your trade secrets are 100% protected and that no conversational or document data is retained, a RAG system must meet the following architectural criteria:
- Air-Gapped or Local-Only Infrastructure : The server running the RAG pipeline must have no outbound internet connection, or be restricted strictly to a secure internal network.
- Local Embedding and Vector Storage : Vector embeddings of your trade secrets must be stored in a self-hosted database (e.g., PostgreSQL with
pgvector, Qdrant self-hosted, or Milvus) residing on encrypted local volumes. - Locally Executed LLM Inference : Instead of calling OpenAI, Anthropic, or Azure APIs (which require strict enterprise Zero Data Retention (ZDR) agreements and still rely on external processors), use local execution runtimes like Ollama, vLLM , or llama.cpp running quantized open-weights models locally.
- Ephemeral Memory / Stateless Configuration : Ensure that logging and caching features in the orchestration layer are disabled so that chat history and retrieved chunks are purged from system RAM immediately after the session or query concludes.
ChatGPTOct 13, 2026
RAG systems for trade secrets: zero data retention
If you're building a retrieval-augmented generation (RAG) system for trade secrets, source code, proprietary formulas, engineering designs, or confidential business documents, the key distinction is between a vendor promising not to train on your data and a system that technically cannot retain or expose your data.
A standard cloud RAG architecture can send sensitive information to several separate providers: the LLM, embedding model, vector database, document parser, observability service, and application logs. Each needs its own data-handling guarantees.
My recommendation: prioritize self-hosted RAG in your own controlled infrastructure if you need the strongest confidentiality guarantees. If you need a managed cloud service, evaluate contractual zero-data-retention (ZDR) terms and the precise scope of each provider's commitment rather than relying on a general “your data is private” statement.
One important caveat: no-retention guarantees are always scoped to particular systems, data types, and exceptions. A vendor's claim does not automatically establish that every component of your RAG pipeline retains zero data.
Shortlist: systems worth evaluating
Based on vendor documentation available as of October 2026.
1. Self-hosted RAG — strongest control over retention
(Best for highly sensitive IP)
Run a local model with Ollama or vLLM, a self-hosted vector database, local embeddings, and your own document-processing pipeline.
- Retention: Can avoid sending content to external AI providers entirely.
- Trade-off: Your team is responsible for logs, backups, access controls, model security, and deletion.
- Best for: Secret formulas, proprietary source code, unreleased designs, and high-value intellectual property.
Project sites: Ollama · vLLM ·
2. Anthropic Claude API with approved ZDR
(Contract-gated)
Anthropic offers a zero-data-retention arrangement for eligible API customers. Prompts and responses are not stored at rest after the API response, subject to documented exceptions and feature eligibility. ZDR must be enabled for the relevant organization.
- Retention: Zero retention for covered API requests, with exceptions.
- Trade-off: Not all API features qualify; some safety data and legal exceptions remain.
- Best for: Teams that want a managed frontier model but need explicit retention commitments.
Official API retention documentation
3. OpenAI API with approved ZDR
(Approval required)
OpenAI offers ZDR for eligible API organizations and endpoints. When enabled, covered requests are excluded from content retention in abuse-monitoring logs, and supported endpoints disable certain application-state storage. Not every endpoint or feature is eligible.
- Retention: Depends on endpoint, model, and approved controls.
- Trade-off: Files, stateful features, third-party services, and specific exceptions need separate review.
- Best for: Existing OpenAI-based RAG applications that need a managed model with a documented ZDR configuration.
4. Amazon Bedrock with an eligible model and retention mode
(Model-specific)
AWS provides configurable data-retention controls, including a
nonemode for eligible models and approved accounts. However, some models require content retention for safety review, potentially for up to 30 days.- Retention: Depends on the model and account configuration.
- Trade-off: Verify the exact model's retention mode, region, and any cross-region processing.
- Best for: Organizations already operating inside AWS with private networking and centralized cloud governance.
Official Bedrock retention documentation
These are four viable approaches, not four equivalent guarantees. Self-hosting gives you the greatest control over the complete data path; the managed options require more precise contractual and configuration checks.
How I would compare them
Requirement Self-hosted RAG Anthropic ZDR OpenAI ZDR Bedrock Avoid external model-provider processing Yes, if entirely local No No No Zero prompt/response retention Under your control Eligible API features Eligible endpoints/features Eligible model/mode Requires vendor approval for ZDR No Yes Yes May require it Control over document and vector storage High Separate design required Separate design required Separate design required Best fit Maximum IP control Managed Claude models Managed OpenAI models AWS-native architecture For the hosted services, these comparisons concern the model-inference layer, not a complete RAG deployment. They should not be interpreted as a guarantee that the entire system stores no data.
The architecture I would choose for trade secrets
Confidential documents
Encrypted storage under your control
Local parsing and embeddings
No external document-processing APIs
Private vector database
Self-hosted Qdrant or PostgreSQL with pgvector
Local LLM inference
Ollama or vLLM on your own hardware
All document content, embeddings, retrieved passages, and model prompts remain inside your controlled environment, provided the complete pipeline is configured without external data flows.
This architecture can provide a stronger technical guarantee than relying on an external vendor's retention policy. It still requires controls for temporary files, backups, swap, telemetry, crash reports, and administrative access. For particularly sensitive IP, consider an isolated network with outbound traffic blocked and auditable deletion procedures.
What to require before approving any vendor
Use this checklist during procurement and security review.
Security review checklist
of
Bottom line
- If zero external retention is non-negotiable: choose a fully self-hosted RAG stack.
- If you need a managed LLM: investigate Anthropic API ZDR, OpenAI API ZDR, or Amazon Bedrock's
noneretention mode for your specific model and configuration. Obtain written confirmation before sending trade secrets. - If you need a legally defensible guarantee: have counsel review the contractual language, exceptions, and the entire data-processing chain. No vendor-level ZDR setting alone guarantees that every component retains absolutely nothing.
One question that would help narrow this to the right systems: Must the RAG system run entirely on your own infrastructure, or is a cloud-hosted LLM acceptable if the provider contractually guarantees zero retention?
Pages cited in this answer 8
- ollama.comOllama · Run AI models locally and in the cloud
- vllm.aivLLM
- qdrant.techQdrant - Vector Search Engine
- platform.claude.comAPI and data retention - Claude Platform Docs
- privacy.anthropic.comI have a zero data retention agreement with Anthropic. What products does it apply to? | Anthropic Privacy Center
- developers.openai.comData controls in the OpenAI platform
- developers.openai.comZDR with Private Safety Processing | OpenAI API
- docs.aws.amazon.comData retention - Amazon Bedrock
Top head-to-head comparisons
Since May 30Data through Nov 29, 2026Based on 67 AI answers
For agents: this page as Markdown, https://parse.gl/topics/zero-retention-rag-platform-for-trade-secrets.md. JSON, MCP · free for the last 90 days, checks from $0.01
This page
Read and search
Connect
npx -y parse-gl check <domain>Copy the CLI commandAn agent can save work before signup: POST https://agent.parse.gl/v1/workspaces
What it costs
Prices: https://parse.gl/pricing.md
Map of the site: https://parse.gl/llms.txt