Este artigo está disponível apenas em inglês.

By UNST33R

Open weights don't make your prompts private: what hosted LLM endpoints can log, and the canary tests that catch the visible parts

A November 24 post began compiling a list of privacy-focused AI routers, the demand signal for a question this market has avoided answering precisely: what does a hosted endpoint actually see? The three largest API providers publish their own answers. OpenAI may retain API inputs and outputs for up to 30 days to identify abuse, Microsoft evaluates Azure OpenAI prompts in real time for harmful content, and Anthropic's commercial terms tie monitoring to Usage Policy compliance. The layer model of where a prompt is readable, four surveillance surfaces in an inference stack, a five-probe canary protocol for the client-side observable signals, the honest list of what no probe can detect, and the procurement checklist that covers the rest.

On November 24, a security practitioner began compiling a list of privacy-focused AI routers "given the recent" events, five views at our 15:08 UTC capture and the first instance of the axis in our monitoring. Small spark, real signal: buyers in the reduced-refusal and open-weights market have started asking what a hosted endpoint does with the prompt body, and the market's answers so far have been mostly adjectives. This piece takes the question literally. What can each layer of an inference stack see, what do the largest providers admit in their own policy documents, which surveillance surfaces have client-side observable signatures, and what belongs on a procurement checklist because no probe can ever detect it from outside.

The layer model: where your prompt is readable

TLS ends at the first server that terminates it. Everything after that point reads plaintext.

LayerCan read the prompt body?Notes
Your clientYesYour machine, your logs, your egress
CDN or edge proxyYes, post-TLSWhoever terminates TLS unwraps the request; a second corporate jurisdiction often enters here
Router or gatewayYesAggregators see every field you send, plus account identity, key, and IP
Inference workerYesThe process generating tokens consumes the full prompt
Provider operationsYes, subject to internal policyAbuse review, incident response, legal-process handling
Legal processWhatever exists and was retainedRetention windows define the seizable surface

Open weights change one column of this table: the model's provenance. You can verify that a hosted build descends from a published artifact, a procedure the provenance verification guide covers. The request path is untouched. A model with immaculate open-weights lineage still arrives at the inference worker through a TLS termination, a gateway, and an ops organization, each of which reads the body. The claim "open weights, therefore private" skips four rows of the table.

What the large providers publish, verified November 25

The most useful sources on endpoint surveillance are the policy documents of the three largest API providers, because they are specific, dated, and written by legal teams rather than marketing.

ProviderPublished positionSource
OpenAI"OpenAI may securely retain API inputs and outputs for up to 30 days to provide the services and to identify abuse. After 30 days, API inputs and outputs are removed from our systems, unless we are legally required to retain them. You can also request zero data retention (ZDR) for eligible endpoints if you have a qualifying use-case."Enterprise privacy FAQ
Microsoft (Azure OpenAI)"Prompts and completions are evaluated in real time for harmful content and for patterns suggesting the use of the service in a manner that violates the Code of Conduct." Prompts and completions are excluded from model training. Modified Abuse Monitoring was available on approval; "on or after November 1, 2026, Modified Abuse Monitoring will no longer be available, beginning on a future date to be announced."Data privacy terms
Anthropic"Anthropic may not train models on Customer Content from Services." Data is processed under the DPA; customers "must cooperate with reasonable requests for information from Anthropic to support compliance with its Usage Policy, including to verify Customer's identity and use of the Services."Commercial terms

Three observations fall out of that table. Monitoring is standard practice at the top of the market, disclosed in writing, with defined windows. Training exclusion is the easiest promise to make and the weakest privacy signal, since it says nothing about logging, as the claim taxonomy in the zero-data-retention jurisdiction audit breaks down. And the Microsoft sunsetting of Modified Abuse Monitoring as of November 1, 2026 shows this surface is actively moving, which is a reason to date-stamp any vendor claim you rely on.

Four surveillance surfaces, and which are observable

An inference stack can intervene on your traffic in four distinct ways, and they have different detectability.

SurfaceWhat it doesClient-side observable?
Content filteringClassifies prompts or completions pre- or post-generation, blocks, rewrites, or truncatesPartially: latency deltas, refusal morphology, truncation patterns
Logging and retentionWrites prompt bodies to storage for a windowNo, in the silent case
Training reuseFeeds your prompts into future weightsSometimes: cross-session recall probes, months later
Server-side generation interventionsPrefills, stop strings, sampling overrides applied at serving timeYes: behavioral diff against local weights

The honest asymmetry: the surface red teams most fear, silent logging, is the one no client-side test can rule out. A provider that stores everything and intervenes in nothing looks identical from the API to a provider that stores nothing. Contract, jurisdiction, and transparency reporting are the only levers there. What probes can do is catch interventions, and interventions are the surfaces that corrupt your test data and your engagement opsec in the short term, so the probe kit earns its keep regardless.

The five-probe canary protocol

This extends the model-swap canary harness from fingerprinting what an endpoint serves to fingerprinting what an endpoint does to your traffic. All probes run client-side against any OpenAI-compatible endpoint.

Probe 1: paired-prompt latency profiling. Build matched pairs: one benign prompt and one flag-adjacent prompt, equal token counts, same temperature 0, drawn from your authorized scope. A content classifier on the prompt path adds processing time on the flagged member of the pair. Run 100 pairs, record time-to-first-token per request, and compare the distributions. The measurement contract, including TTFT capture and p50/p99 reporting, is the same harness documented in the refusal-reduced route throughput benchmark. A distribution shift on the flagged arm is evidence of a pre-generation filter. A null result is evidence of nothing, which is why the probe set is five deep.

Probe 2: refusal morphology. Filter-generated refusals and model-generated refusals have different shapes. A pre-generation block often returns before any token is generated, at a first-token latency indistinguishable from a cache hit, with a short template message and no partial output. A model-generated refusal streams tokens at normal generation speed. Collect refusal responses from a dual-use probe set inside your scope, measure first-token latency and response length, and look for bimodality. The canary harness article's refusal probe set is the starting corpus.

Probe 3: cross-session nonce recall. Inject a unique high-entropy nonce plus a distinctive pseudofact ("the engagement codename is ZXQ-7741") into prompts this month. In later months, ask the endpoint open-ended questions designed to elicit the nonce. A positive recall is direct evidence of cross-session persistence or training reuse. A negative result is weak evidence, since recall depends on training cadence and sampling. Treat this as a tripwire you arm and forget, with a calendar reminder to test.

Probe 4: hosted-versus-local behavioral diff. Download the published weights the endpoint claims to serve, run the identical probe file locally, and diff outputs. Divergence in refusal behavior, completion shape, or tokenizer counts on the same claimed artifact indicates a serving-time intervention: a prefill, a stop string, a sampling override. This is exactly the configuration documented in the Vocab Surgery artifact audit, where a repository named OBLITERATED shipped stock weights plus a five-word prefill and fifteen stop strings at inference time. That intervention class is what this probe catches, and the caching economics that make local replication cheap are covered in the recompute crossover analysis.

Probe 5: path audit. Certificate chains, ASN data, and traceroute expose who terminates TLS and which corporate entities sit on the request path. The jurisdiction audit walks the infrastructure checks: anycast ranges, CDN fingerprints, and what each additional intermediary adds to the compelled-disclosure surface.

A paired-latency canary you can run today

import json, statistics, time
from openai import OpenAI

client = OpenAI(base_url="https://api.unst33r.si/v1", api_key="YOUR_KEY")
MODEL = "unst33r-deepseek"   # $0.15/M input, $0.5625/M output

pairs = json.load(open("paired_canaries.json"))
# 100 pairs, each: {"benign": [...], "flagged": [...]}
# equal token counts, authorized-scope dual-use material in "flagged"

def ttft(messages):
    t0 = time.perf_counter()
    stream = client.chat.completions.create(
        model=MODEL, messages=messages, temperature=0,
        max_tokens=16, stream=True)
    for _ in stream:
        return time.perf_counter() - t0

def arm(name, key):
    return [ttft(p[key]) for p in pairs]

benign, flagged = arm("benign", "benign"), arm("flagged", "flagged")
print(json.dumps({
    "benign_ttft_p50_s": round(statistics.median(benign), 3),
    "flagged_ttft_p50_s": round(statistics.median(flagged), 3),
    "delta_ms": round((statistics.median(flagged)
                       - statistics.median(benign)) * 1000, 1),
}, indent=2))

At list price, 200 requests of roughly 100 input and 16 output tokens apiece costs about $0.04. The harness's job is to turn "I feel like the endpoint watches me" into a number with a date attached. The scan-cost methodology covers the arithmetic when you scale the pair count up.

The parts no probe covers, and the checklist that does

Silent logging, human review scope, subprocessor access, and legal-process exposure are contract questions. Ten asks, each answerable in writing by a provider that has thought about any of this.

#AskWhat a good answer contains
1Retention window for prompt bodiesA number of days, plus what is exempt
2Who can read stored promptsNamed roles, automated-only flags, approval requirements
3Abuse-monitoring scopeAutomated classifier, human review, or both, and on which traffic class
4Training-use positionIn the terms, with carve-outs listed
5ZDR availability and eligibilityWhich endpoints, what approval, what is excluded
6Subprocessor listWho else touches request bodies
7TLS termination pointsCDN, gateway, and the jurisdictions they add
8Lawful-access regime and transparency reportingJurisdiction, published request counts
9Deletion mechanicsAPI or SLA, and what survives in backups
10Breach disclosure historyDated incidents or a dated statement of none

Our own position is published and short: prompts and completions are processed transiently to route requests and are not stored by default, and payloads are never used for model training, per the privacy policy, with requests forwarded to upstream model providers under their own policies. Hold it to the same ten questions you would hold anyone else, including the rows about upstream forwarding.

Routing by data class, the actual workflow

Probes and contracts both serve the same operational decision: what material may enter a prompt at all. The class table in the jurisdiction audit defines the classes. The tier layer then picks the tool for each class.

ClassTier for the workloadWhy that tier
Public or synthetic corporaunst33r-deepseek, $0.15 / $0.5625 per 1M, 1M contextBulk sweeps and log analysis at floor cost, $0.03125 cached input on repeats
Pseudonymized findingsunst33r-flash, $0.50 / $1.50 per 1MInteractive triage where minimization has already removed the sensitive identifiers
Engagement-critical chains, minimized and smallunst33r-pro, $2.50 / $4.50 per 1MHighest reasoning tier, reserved for the final composition passes, where volume is naturally low

The privacy lever is the class discipline, applied before any API call. Tier choice optimizes cost and capability within a class. Sending client-identifying material to any tier, hosted or otherwise, without minimization is the failure mode the whole stack of probes, contracts, and routing exists to prevent, and the acceptable-use scope bounds the workloads this applies to.

The question the privacy-router list is compiling will be answered by documentation and probes, in that order. Providers that publish dated, specific answers to the ten asks earn a row. Providers that answer with adjectives, or with a claim that open weights make the question moot, have answered a different question than the one you asked, and the canary harness is how you find that out before your engagement data does.