All Models
Privacy Filter logo

Privacy Filter

pii-filter

PII span detection and redaction inside a secure enclave.

Model Details

OpenAI's Privacy Filter is a 1.5B parameter token-classification model (50M active), served without a system prompt. POST /redact on pii-filter.tinfoil.sh accepts text and returns the upstream model's detected spans and redacted text. It is a custom API, not Chat Completions or Responses. Each successful API inference is billed at $0.80 per 1M input tokens plus $0.0002 per request, whether or not PII is detected; inputs up to 80,000 tokens are accepted. Web search also calls this endpoint when pii_check_options is enabled and applies its own removal policy to the returned spans; the filter fee is independent of the search outcome.

Parameters

1.5 billion (50M active)

Context Window

80k tokens

Recommended Use

Detect and redact PII through the attested /redact endpoint, or enable pii_check_options on web search requests.

Supported Languages

Primarily English; performance varies on other languages

Pricing

$0.80 per 1M input tokens $0 per 1M output tokens + $0.0002 per request

Usage Examples

    Privacy Filter (pii-filter) | Tinfoil