Zero Data Retention (ZDR)
When ZDR routing is available, a ZDR request is served only by a provider labelled ZDR. If no seller of the model is
labelled, the request is refused with 404 zdr_unavailable before anything is charged. It never falls back to a seller
that is not labelled.
What the label means
A provider is labelled ZDR when its own published API terms say request inputs and outputs are not kept beyond processing, for every API account, with no enrolment needed, and when the account owner (the seller) has no setting that stores or exposes prompts, such as API call logging, a full-content telemetry export, project logs or inference logs.
Labels are taken from the providers' published terms and reviewed by Surplus. They are not a certification, and Surplus cannot inspect a provider's systems. Each label carries the terms it rests on and the date it was last reviewed. A label whose review date is more than 180 days old is flagged to Surplus for another review.
The label belongs to the provider, not to a seller: every seller of a labelled provider is ZDR-eligible, because the
request goes to that provider under the seller's account. Only trusted, direct providers are labelled. Aggregators
and mirrors are never labelled, because the provider that finally serves a request is chosen downstream of them. So a
ZDR request is always trusted-only, whatever allow_untrusted says.
Is it available?
ZDR routing is available when zdr_routing_available is true on GET /api/providers (or on
GET /v1/buyer/preferences). While it is false, ZDR is not enforced. Depending on the service, a ZDR request then
either answers a retryable 503 zdr_routing_unavailable, whatever form it takes, or is served as an ordinary request:
the header and body forms are not applied and a /zdr URL is not a route (404). A key set to ZDR answers 503 in
both cases. Don't rely on ZDR until zdr_routing_available is true.
Which providers are labelled, with the evidence:
curl -s https://api.surplusintelligence.ai/api/providers \
| jq '{zdr_routing_available, labelled: [.providers[] | select(.zdr == true) | {name, host, zdr_evidence_url, zdr_reviewed_on}]}'GET /v1/providers marks each provider zdr: true|false, and each offer in a model's order book carries zdr. These
fields are present only while ZDR routing is available. /api/markets carries best_zdr_offer_discount_pct per model
and zdr on each provider entry only while ZDR routing is available and the market summary is published from the live
provider policy; until then they are absent there.
Asking for ZDR
Four ways, and any one is enough. They combine: none can loosen another, and nothing in a request can turn off a key set to ZDR.
1. The URL. Add a zdr segment before /v1:
https://api.surplusintelligence.ai/zdr/v1
It stacks with a minimum discount in either order, and works after /anthropic for the
Messages API:
| Path | Means |
|---|---|
/zdr/v1/chat/completions | ZDR |
/min30/zdr/v1/chat/completions or /zdr/min30/v1/chat/completions | ZDR and at least 30% off |
/anthropic/zdr/v1/messages | ZDR on the Messages API |
/zdr/v1/embeddings | ZDR on embeddings (embeddings take no discount floor) |
/zdr/v1/chat/completionsMeans · ZDR/min30/zdr/v1/chat/completions or /zdr/min30/v1/chat/completionsMeans · ZDR and at least 30% off/anthropic/zdr/v1/messagesMeans · ZDR on the Messages API/zdr/v1/embeddingsMeans · ZDR on embeddings (embeddings take no discount floor)zdr must be lower-case and appear once: /zdr/zdr/... is 400 invalid_route_qualifier. A combined segment such as
/min30-zdr is not supported. /zdr/v1/models and /zdr/v1/prices answer as the plain routes, so an OpenAI SDK
pointed at the /zdr/v1 base URL works unchanged.
2. A header. X-SI-Require: data.zdr. Other ids in the same header are ignored on inference.
3. The request body. "provider": {"zdr": true} on /v1/completions, /anthropic/v1/messages, /v1/responses and
/v1/decisions. Chat completions has no body form; use the URL or the header there. A zdr that is not a boolean is
400 unsupported_parameter.
4. On a key. provider_trust: "zdr" on POST /v1/keys or PATCH /v1/keys/{id}, shown as ZDR providers only
in the dashboard. Every request on that key is ZDR. Choosing any other provider_trust turns it off. It can be set on
buyer keys only, and only while ZDR routing is available (400 invalid_provider_trust otherwise). Like a
trusted-only key, a ZDR key is a restricted key.
What still applies
A discount floor, a provider pin and providers_blocked apply on top of ZDR. A pin that names no
labelled provider gets 404 zdr_unavailable. Your own priority and fallback provider keys
(BYOK) are used only when their provider is labelled ZDR, and skipped otherwise.
Two request fields ask a provider to keep data, so they are refused on a ZDR request with
400 zdr_conflicting_parameter (param names the field): store: true, where the request would be sent with it,
and any prompt_cache_retention.
An Idempotency-Key still dedupes a ZDR request, but its answer is not kept: a repeat gets
409 idempotency_replay_unavailable, and the same key on a non-ZDR request is 422 idempotency_key_reused.
Responses
| Status | Code | When |
|---|---|---|
| 404 | zdr_unavailable | No labelled seller of the model (within your pin). Refused before any hold, 402 challenge or charge. |
| 503 | no_healthy_sellers | Labelled sellers exist, but none is healthy right now. Retry. |
| 503 | zdr_routing_unavailable | ZDR routing is not available right now. Retry. |
| 400 | zdr_unsupported_endpoint | ZDR on images, audio (speech and transcription), video or music. |
| 400 | zdr_conflicting_parameter | store: true or prompt_cache_retention on a ZDR request. |
| 400 | invalid_route_qualifier | zdr twice in the path. |
| 500 | zdr_egress_blocked | The request was about to go to a provider not labelled ZDR. Nothing was sent and the reserve was released. Report it with the request_id. |
zdr_unavailableWhen · No labelled seller of the model (within your pin). Refused before any hold, 402 challenge or charge.no_healthy_sellersWhen · Labelled sellers exist, but none is healthy right now. Retry.zdr_routing_unavailableWhen · ZDR routing is not available right now. Retry.zdr_unsupported_endpointWhen · ZDR on images, audio (speech and transcription), video or music.zdr_conflicting_parameterWhen · store: true or prompt_cache_retention on a ZDR request.invalid_route_qualifierWhen · zdr twice in the path.zdr_egress_blockedWhen · The request was about to go to a provider not labelled ZDR. Nothing was sent and the reserve was released. Report it with the request_id.A served ZDR request is marked zdr_required in its request detail
(GET /v1/requests/{requestId}).
Provider Market
On /v1/resources/*, data.zdr keeps its trait meaning: an offer whose seller verified ZDR on their own account, and
503 trait_unavailable when no offer does. A /zdr URL or a ZDR key adds data.zdr there too. A follow-up call on a
job already bound to a seller keeps that seller.
Example
curl https://api.surplusintelligence.ai/zdr/v1/chat/completions \ -H "Authorization: Bearer $SURPLUS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model": "<a model with ZDR supply>", "messages": [{"role": "user", "content": "Hello"}]}'