Own Weights

LLM data privacy: where your prompts go

LLM data privacy explained: where your prompts go, who can store them, and how to keep customer text inside your own cloud or your own building.

Updated

A hosted LLM API receives your prompt over the network, runs it on the provider’s servers, and sends back an answer. The prompt, any documents attached to it and the response all leave your network at the moment of the call. What happens to them after that depends on the provider’s terms, your account settings and every other place your own code copies the text.

What leaves your network on each call

An API call sends the full request body. That includes the system prompt, the user text, retrieved documents and tool definitions. Your app may add more than you expect. Take a contract review tool where a paralegal uploads a 40-page services agreement and asks for the termination clauses. The request body carries the whole agreement, the system prompt, the matter name pulled from your case database, and the signing partner’s direct email, which an old template added to every request. The model needed the clauses. The provider receives all of it.

Audit the body itself, not the code you think builds it. Log one real request from each feature and read it line by line.

Your own stack sees the prompt first. Logging middleware, performance monitoring agents, error trackers and analytics SDKs often record request bodies by default. A prompt can land in a server log before it reaches the provider at all, so check those defaults before you check the provider’s terms.

What the provider may keep

Providers differ in how long they keep request data, whether they keep it for abuse monitoring, and whether they use it to improve their models. The answer also changes by product tier and region, and it can depend on what you signed. Read the current data terms for the exact product you call, and get the retention and training answers in writing. A blog post, a sales call or a rule of thumb is not a contract.

Ask two more questions. Can a person at the provider read stored prompts during a safety review? Can you delete a stored prompt on request, and how would you prove it was deleted? If either answer is unclear, treat the prompt as shared with that provider.

A common mistake is reading the terms for the cheapest or newest product and assuming they cover the others. One company can offer a consumer chat product, a developer API and an enterprise contract under different rules. Check the one your code actually calls.

Where prompts get copied by accident

Most leaks are internal copies, not the API call itself:

  • Vector indexes that store the full text of every document you embedded.
  • Evaluation and prompt-tracking tools that save every input and output.
  • Support tickets and chat threads where someone pastes a failing prompt.
  • Crash reports and debug dumps that include the request body.
  • Backups of all of the above.

Each copy is another place to find and delete when a customer asks for their data back. Turning a document into an embedding does not remove its text, and many stores keep the chunk beside the vector, so the customer’s words sit in a second database with its own access rules. Map every copy before launch, not after the first request.

Three ways to keep prompts inside your walls

The first option is a hosted provider under a contract that fixes retention and training use. Send only the fields the task needs, and redact identifiers the model does not need to do its job. This is the fastest to start, but the prompt still crosses a third party’s boundary, so your protection is the paper you signed.

Redaction works best when the mapping stays inside your network. Before: “Send the renewal notice to Dana Ortiz at dortiz@example.com about invoice 4471.” After: “Send the renewal notice to CONTACT_1 about INVOICE_1.” Your own database keeps the mapping, and the model never sees the name or the address. Test that the placeholders survive the round trip and that your code restores the real values before anyone reads the result.

The second option is an open-weight model running in your own cloud account. Prompts stay inside a network you already control, under your identity, logging and key management. The third is the same kind of model on infrastructure in your building, where the network path is one your security team already audits.

The second and third options take more setup. The trade-off is that you now run uptime, capacity planning and model updates yourself. Which one fits depends on how sensitive the text is and what your existing contracts allow. The private LLM guide covers the trade-offs and the account setup.

How Own Weights fits in

Own Weights fine-tunes an open-weight model for one high-volume task that a company now sends to a frontier API. It tests the trained model against the current one on the company’s own data, then serves it in the customer’s cloud account or on-prem. The customer owns the weights. The model runs in the customer’s environment, so the prompt path stays under their own controls.

Our free audit follows the same rule. It runs on your machine, reads your code as text, makes no network calls while it reads, uploads nothing, and saves a PDF listing your AI calls and the models they use.

What to check before any prompt leaves your network

Before a prompt with customer text goes to any model, answer these questions in writing:

  • Which provider, product and region receive the request?
  • How long is the request stored, and who can read it?
  • Is the text used for training, now or later?
  • Which copies exist in logs, indexes, tickets and backups?
  • Can you delete all of them on request, and how would you show it?

If you cannot answer one of these, the prompt is not ready to leave your network. The on-prem LLM guide and the guide to owning your model weights cover the options when the answer has to be no.

If you want to see which AI calls your code makes, book a free audit. We map them from your code and invoices. The model assists the people who review its output and is not legal, medical, tax or financial advice. Running it in your own environment keeps the data path under your controls, but your own compliance review still decides what is acceptable.

Questions

Does a hosted AI API train on my prompts?

It depends on the provider, the product you call and the terms on your account. Policies differ by provider and plan, so the answer lives in the current terms, not in a general rule. Read them for the exact product you use and keep a copy.

Where is my data stored when I call an LLM API?

The provider processes the request on its servers and may keep it for a period set by its retention terms. Your own systems can keep copies too, in logs, vector indexes and support tickets. Map both places before you send customer text.

How do I keep LLM prompts private?

Send only the fields a task needs, redact identifiers the model does not need, and sign terms that fix retention and training use. For the strictest setup, run an open-weight model in your own cloud account or on infrastructure in your building.