What Allternit stores
The Cloud API (https://api.allternit.com, cmd/allternit-cloud-api) does not store prompts or completions. For each request it records the model, the token counts and the cost in inference_usage, so credits can be billed. The open-lane hard-line filter records only the blocked category, never the prompt (see Open lane and refusal handoff).
No-retention routing to OpenRouter
Every chat completion sent to OpenRouter carries:zdr: trueroutes only to endpoints with a Zero Data Retention policy.data_collection: "deny"excludes providers that collect or train on request data.- Other
providerkeys a caller sends (for exampleorderorsort) are kept. These two keys are always set by the Cloud API, so a request cannot turn them off. - When no endpoint qualifies for a model, OpenRouter returns an error. The Cloud API does not fall back to a provider that keeps data.
- This covers moderation calls for the open lane too, because they go through the same adapter.
enforce_no_retention in cmd/allternit-cloud-api/src/model_router/openrouter.rs. Setting OPENROUTER_NO_RETENTION=off turns it off. Use it only in an emergency: the privacy promise depends on it being on.