OpenAI's open-weight model scrubs private data locally
OpenAI just released Privacy Filter, an open-weight model designed to detect and redact personally identifiable information in text. Built with 1.5B total and 50M active parameters, it supports up to 128,000 tokens of context and runs locally so sensitive data never leaves your device. It achieves a 97.43% F1 score across eight privacy categories.

OpenAI just released Privacy Filter, an open-weight model designed to spot and redact personally identifiable information (PII) right on your own machine. Instead of piping sensitive raw text to an external API for scrubbing, you can run this locally so your unfiltered data never leaves the device.
The model sits at 1.5B total parameters with only 50M active parameters. Despite its featherweight footprint, it handles massive context windows up to 128,000 tokens in a single fast pass.
What it does
Traditional redaction relies on rigid regex rules. They work fine for standard phone numbers or emails, but they routinely break down on messy, unstructured text where context decides what is actually private.
Privacy Filter uses deep language understanding across eight specific categories: private individuals, addresses, emails, phone numbers, URLs, private dates, account numbers (like credit cards and banking info), and secrets like passwords and API keys.
Because it looks at the broader context, it can distinguish between public entities that should stay visible and private details that need masking. It decodes spans with BIOES tags, keeping redaction boundaries clean rather than chopping words in half.
How it works and performance
Under the hood, Privacy Filter is a bidirectional token classifier adapted from an autoregressive base. Instead of generating output token by token like a chatbot, it scores the entire sequence in a single forward pass and decodes coherent spans via a constrained Viterbi procedure.
That architecture makes it blazing fast for high-throughput production pipelines like log scrubbing, indexing, or training data curation.
On the standard PII-Masking-300k benchmark, it clocks an F1 score of 96% (94.04% precision and 98.04% recall). When evaluated on OpenAI's corrected version of the benchmark, the F1 jumps to 97.43%, paired with 96.79% precision and 98.08% recall.
It also adapts quickly. OpenAI notes that fine-tuning on a small slice of domain-specific data boosted its F1 score from 54% to 96% on targeted benchmarks.
The weights and documentation are available now on Hugging Face and GitHub under the Apache 2.0 license, free for commercial deployment and customization. Keep in mind that OpenAI explicitly notes it is not an automated compliance badge; high-stakes medical, legal, or financial setups still need human review.
Why it matters
If you build RAG setups, handle customer support transcripts, or prep proprietary datasets for training, this is an immediate download. The standard dilemma has always been paying massive API bills to use frontier LLMs for redaction, or relying on fragile regex rules that miss nuanced leaks.
Privacy Filter solves that trade-off cleanly. By stripping the model down to 50M active parameters while retaining long-context understanding, OpenAI delivered an edge tool that is both cheap to run and genuinely accurate. It is a rare, hyper-practical open-source drop that fits straight into production stacks.
Sources (1)
- openai.com(opens in a new tab)Originalopenai.com