
AI Data Privacy: What Happens to Data During LLM Inference?
When someone in your organisation sends a prompt to an AI service, the answer usually comes back within seconds. In that time, the request has passed through several systems run by the provider, been decrypted, and, depending on the service, been copied into caches and logs that can be kept for weeks.
Most AI privacy policies explain how your data is protected on the way to the provider. If you handle regulated data, what matters more is what happens to it after it arrives.
AI data privacy during inference depends on where your prompt can be read, and by whom. On most AI services, the provider decrypts your prompt when it arrives, processes it as plain text, and may keep copies in caches and logs for minutes, days or longer. Encryption protects your data on the way to the provider, not after it gets there.
This article follows a single prompt through that process, stop by stop.
What happens to a prompt after you send it?
A prompt passes through six stops, and only the first and last are visible to you.
1. The trip. Your prompt travels to the provider encrypted. This part was solved years ago.
2. The front door. The provider decrypts the request to route it, meter it and pass it to the model. From here on, it’s plain text on someone else’s machine.
3. The logbook. Copies are kept for debugging, billing and abuse monitoring. OpenAI, for example, may keep API inputs and outputs for up to 30 days to identify abuse.
4. The model’s short-term memory. To answer you, the model builds working notes on your prompt, known as the KV cache. Many providers keep those notes on their servers after you’ve had your answer, to speed up similar requests later. That means a working copy of your contract or patient note can stay in memory you can’t see, and some providers share that memory across customers, your competitors included.
5. The answer leaves. The response is encrypted again for the trip back.
6. The afterlife. The conversation may be stored, sent for human review if flagged, or held under a legal requirement. OpenAI removes deleted enterprise conversations within 30 days “unless legally required”.

A zero data retention agreement, where the provider contractually promises not to store your prompts or responses, only covers stops three and six: what is kept after the request finishes. It does nothing for stops two and four, where your prompt is readable while it’s processed.
The agreement can also change. On 9 June 2026, Anthropic began retaining prompts and outputs from its most capable models for 30 days on every platform where they’re offered, including Amazon Bedrock, Google Cloud and Microsoft. Organisations with zero retention agreements now have to switch retention on to use those models at all. If your compliance case rested on that promise, it no longer holds. (Our guide to private LLMs compares retention agreements with the other ways to run a model privately.)
What does private inference look like instead?
Confidential AI inference rebuilds the journey so the provider never handles your prompt as plain text. The model runs inside sealed hardware the machine’s own operator can’t look into, in four steps.
Check. Before anything is sent, the software on your side asks the sealed hardware to prove what it’s running, and compares the signed answer with a description you approved in advance. This is remote attestation. If the answer doesn’t match, nothing leaves your device.
Lock. Your prompt is encrypted on your own device and arrives at the front door still locked. The provider sees who sent it and which model it’s for, but not what it says.
Run. The prompt is unlocked only inside the sealed hardware, and the model’s short-term memory from stop four stays inside that same sealed hardware.
Open. The answer is locked again before it leaves the sealed hardware, and unlocked on your device.
The logbook shrinks to usage metadata for billing, and the afterlife moves to your side of the line. Our guide to confidential AI explains the sealed hardware in more depth.
What should you ask before putting regulated data into an AI model?
Five questions, one for each stop where your prompt can be read or kept.
- Where is my prompt unlocked? If it’s on their servers, everything after depends on trust.
- What gets logged, and for how long? Ask for each log’s retention period in days.
- Is the model’s short-term memory shared between customers, and how long does it live?
- Who can review my data, and what could make you keep it longer? Human review, abuse flags and legal holds all stretch the afterlife.
- Can I check any of this myself? A policy is a statement. Remote attestation is a check your own software runs before any data moves.
Where Liquify Enclave fits
Liquify Enclave is a managed platform for confidential AI inference, built for regulated industry like financial services, legal, healthcare and insurance. You connect your applications through a standard API and choose your open model, while Liquify runs the hardware, security and scaling underneath.
Every request follows Check, Lock, Run, Open. Your data remains fully end to end encrypted, with only you able to view the plain text input and output. Liquify logs only usage metadata for billing, never prompts or content, and your prompts and responses are stored encrypted on your own device by default.
Enclave runs on the bare-metal infrastructure Liquify has operated since 2021, Liquify is certified to ISO/IEC 27001:2022, and Enclave is in private beta. See the full request flow.
What actually changes
Go back to the moment that prompt was sent.
On most AI services, the honest answer to “where are my words now?” is several places, for a while. With confidential AI inference, it’s your own device and a sealed box you checked before sending anything.
That’s the gap between being told your data is safe and being able to check for yourself. If you’re working out what it means for a regulated workload, talk to the Enclave team.
Frequently asked questions
Is ChatGPT Enterprise private enough for client or patient data?
It’s more private than the consumer version, but it doesn’t change where your data is read. OpenAI doesn’t train on business data by default and lets admins set retention, yet your prompts are still processed as plain text on its infrastructure, and authorised staff can access stored data for support, abuse investigations and legal compliance. For privileged legal work or patient records, the question is whether a contract is enough, or whether you need a provider that is technically unable to read the data during processing. That second category is confidential AI inference.
Which AI tools don’t store your prompts?
Several, at different levels. Enterprise APIs from OpenAI and others offer zero data retention to eligible customers, which stops storage but not processing in readable form. Confidential AI inference also keeps prompts unreadable to the operator during processing: Azure’s confidential GPU virtual machines and Google Cloud Confidential VMs are building blocks you assemble yourself, while Fortanix, Phala, Tinfoil and Liquify Enclave offer it as a managed service. Enclave is in private beta, so if you need production capacity this quarter, an established option may suit you better.
Is it safe to use Claude or GPT models through AWS Bedrock or Azure for regulated data?
It’s safer than a consumer app, but the operator can still read your prompt. Running a model through your cloud provider keeps traffic inside that cloud, under its contracts and compliance certifications, and the major clouds don’t train on your prompts. Your prompt is still processed as plain text on infrastructure you don’t control, and the model maker’s terms can apply on top: Anthropic’s 30-day retention for its most capable models covers Bedrock, Google Cloud and Microsoft alike. If you need the operator to be technically unable to read your prompts, look at confidential AI inference, where the model runs in sealed hardware you can verify before sending any data.


