Software v2026-05-03.1

OpenAI Privacy Filter Guide

A practical guide to who should use OpenAI Privacy Filter, where it fits, what hardware it can run on, and how much trust to place in it.

OpenAI Privacy Filter is a strong local PII and secret redaction component for AI, logging, RAG, training, and review pipelines. It is credible in the browser, on Apple Silicon machines such as a Mac mini, and on GPU servers, but it is not anonymization, compliance, or a complete DLP system by itself.

Model shape 1.5B / 50M active Sparse MoE token classifier with 8 transformer blocks.
Context 128k tokens Long input support for documents, chats, logs, and tickets.
Browser artifact 809-917 MB Official ONNX q4f16/q4 data files for WebGPU/Transformers.js use.
Apple Silicon 790 MB 4-bit MLX community 4-bit package; 8-bit package is 1.49 GB.

The job

Redact before text moves.

Privacy Filter is strongest as a local preprocessing layer before LLM calls, RAG indexing, traces, training data, support exports, or human review.

The hardware

Browser and Mac mini are real targets.

ONNX plus Transformers.js enables WebGPU browser use, while MLX community conversions make Apple Silicon a practical local sidecar path.

The limit

It is not anonymization.

Use it as one component with deterministic recognizers, secret scanners, in-domain evals, and human review for high-risk work.

Bottom line

Use it as a local redaction layer, not as a privacy program.

OpenAI Privacy Filter is for teams that need to mask PII and secrets before text enters an LLM, vector index, training set, logging system, support export, review queue, or public data-sharing workflow. It looks genuinely useful: the official numbers are strong, the architecture matches the job, and the deployment paths cover browser, laptop, Apple Silicon, CPU, and GPU/server use. The hard boundary is that it is not anonymization, legal compliance, or DLP on its own.

Audience

Who this is for

AudienceWhy it fitsWhat to watch
AI platform teamsRedact user text before LLM calls, eval storage, traces, and RAG indexing.Preserve enough context for downstream task quality.
Data and ML teamsSanitize corpora before training, fine-tuning, labeling, or external review.Benchmarks do not prove your domain is safe.
Security and infra teamsDetect secrets and personal identifiers in logs, tickets, dumps, and code-adjacent text.Secret span F1 is materially lower than token recall; pair with dedicated secret scanners.
Support and ops teamsMask PII in support tickets, exports, transcripts, and debugging bundles.False positives remove needed context; false negatives leak customer data.
Local-first app buildersRun redaction on a laptop, browser/WebGPU app, Mac mini sidecar, or on-prem service before upload.Extraction, OCR, review UI, and caching matter as much as the model call.
Compliance and privacy teamsUse as one technical control in a privacy-by-design program.It is not a compliance certification or anonymization guarantee.

Use-cases

Where it fits best

Use-caseFitReason
Pre-send LLM prompt filteringStrongLocal redaction before content leaves the machine or tenant.
RAG and document ingestionStrong128k context makes long documents less awkward than chunk-only approaches.
Support-ticket and CRM export scrubbingStrongThe native taxonomy covers names, addresses, phones, emails, URLs, dates, account numbers, and secrets.
Log and trace scrubbingGoodUseful for observability pipelines, especially with deterministic patterns for known internal formats.
Agent egress filteringGoodCan sit before external tools, MCP calls, browser posting, ticket creation, Slack, or GitHub issue writes.
Codebase secret discoveryGood but incompleteCredential recall is strong, but exact span scores are weaker; use GitHub secret scanning, gitleaks, trufflehog, or vendor DLP too.
Screenshot or image redactionConditionalWorks only after OCR/text extraction; Hugging Face demos show the pattern but the model itself is text-only.
Fully automated legal, medical, or finance redactionRiskyHigh-stakes domains need in-domain eval, fine-tuning, deterministic rules, audit, and human review.

Hardware

Browser, Mac mini, laptop, CPU, and GPU fit

RuntimeWill it run?Practical expectationRecommendation
Browser / WebGPUYes. Official examples use Transformers.js with WebGPU and q4; official ONNX q4/q4f16 artifacts exist.The quantized files are still around 809-917 MB, so first load is heavy but private repeated use is credible.Good for browser extensions, paste boxes, and local web apps where text should not leave the browser.
Mac mini M4 / Apple Silicon desktopYes by official laptop positioning plus MLX conversion support.A base M4 Mac mini should run 4-bit inference; 24 GB+ unified memory is the safer floor for a local sidecar service.Best local always-on target for vault, repo, support, or agent-log redaction.
MacBook Air / ProYes. OpenAI positions the model for laptop use and MLX packages exist.Good for local scripts, interactive review, and private document scrubbing; Pro/Max chips should be better for batch throughput.Good developer-workstation target; benchmark before continuous background scanning.
CPU-only machineYes. The GitHub CLI exposes a CPU flag.Fine for correctness checks, low-volume scripts, CI smoke tests, and fallback.Do not choose CPU-only for high-throughput corpus cleanup unless latency does not matter.
NVIDIA/CUDA serverYes through the Python/Transformers path and the repo's GPU-default CLI behavior.Best fit for a central redaction service, bulk data cleanup, batching, and fine-tuning.Use when throughput and organization-wide pipelines matter.
MobileNot a primary first-party target in this source pass.Plausible with community/mobile runtimes, but not the main supported path today.Treat as experimental unless adopting a maintained port and benchmark.

Footprint

Model size is manageable, but not tiny

ArtifactSize / shapeWhat it implies
Base safetensors2.8 GB plus a 27.9 MB tokenizerManageable on laptops and servers; too heavy for casual browser delivery.
ONNX q4917 MB data fileBrowser-capable but big; caching and load UX matter.
ONNX q4f16809 MB data fileBetter-looking browser delivery target if quality and runtime check out.
MLX 4-bit790 MB packageBest-looking Apple Silicon target for lightweight local inference.
MLX 8-bit1.49 GB packageLarger Apple Silicon target if 4-bit quality or boundaries are not acceptable.
Architecture1.5B total / 50M active, 8 layers, sparse MoEMuch smaller active compute than a normal dense 1.5B model, but not a regex replacement.

Performance

No public chars/sec headline, but the architecture is right for throughput

I did not find first-party tokens/sec or chars/sec numbers. The useful signal is that Privacy Filter labels all tokens in one forward pass, has only 50M active parameters, uses banded local attention, and already has browser ONNX and Apple Silicon MLX formats.

WorkloadFitWhy
Interactive paste redactionStrongLoad once, redact many snippets locally.
Browser extension / private web appStrong if model caching is acceptablePrivacy story is excellent, but the first model load is a real product constraint.
Vault or repo snapshot scrubber on a Mac miniStrongText-only batch job, local data, enough memory, and easy sidecar deployment.
Continuous log firehose on CPUWeakIt will run, but CPU is not the high-throughput target.
Enterprise batch sanitizationStrong on GPUUse CUDA/server deployment and evaluate on real documents.
Fine-tuningServer or GPU preferredFine-tuning is supported, but not a browser or tiny-edge-box workflow.

Quality

It is good enough to pilot, not good enough to blindly trust

SignalWhat it saysRead
PII-Masking-300kOpenAI reports token F1 0.960 baseline and 0.974 corrected; span F1 0.926 baseline and 0.942 corrected.Strong headline, but corrected labels depend partly on OpenAI's adjudication process.
CredData secret detectionCorrected token recall is 0.965, token F1 is 0.844, and span F1 is 0.624.Good as a layer, not a standalone secret scanner.
Domain fine-tuningSPY benchmark moved from 0.545 F1 to 0.962 after training on 10 percent of the training set.Suggests strong adaptation if you can label examples.
Multilingual evalsStrong on common PII-Masking-300k languages, lower but usable synthetic results across more languages.Do not assume equal quality across scripts, countries, and naming conventions.
Independent GLiNER comparisonA small public repo reports boundary F1 wins over GLiNER large-v2.1 on 400 English and 200 multilingual samples.Encouraging but small, synthetic, self-published, and not a production-domain corpus.
Stress testsOne-hop reasoning, odd formatting, line breaks, phonetic alphabet, and clue-free identifiers degrade.Real pipelines need adversarial tests from local data.

Alternatives

Nearest-neighbor ladder

OptionUse whenTradeoff
Regex-only filtersYou only need emails, phone numbers, SSNs, credit cards, or known deterministic patterns.Fast and explainable, weak on ambiguous unstructured text.
Microsoft PresidioYou need a mature recognizer framework, country-specific IDs, custom recognizers, and structured anonymization operators.More rules/configuration work; context understanding depends on recognizers and NLP backends.
GLiNER-style PII modelsYou want flexible entity labels and smaller NER-oriented models.Label flexibility can be useful, but Privacy Filter looks stronger in early boundary-style comparison.
OpenAI Privacy FilterYou need local, context-aware text PII masking with long context, browser/laptop/on-prem deployment, and fine-tuning.Static label policy unless fine-tuned; not compliance/anonymization; stress cases remain.
Hosted DLP/privacy APIsYou need managed support, dashboards, policy packs, and enterprise procurement.Sensitive text may leave your environment; cost and lock-in rise.

Implementation

How I would deploy it

  • Run it before outbound LLM calls, RAG indexing, log export, and human review shares.
  • Pair it with deterministic recognizers for high-value IDs and known internal formats.
  • Pair it with a dedicated secret scanner for credentials.
  • Build a local eval set from 100-300 representative examples before trusting it.
  • Tune operating points by workflow: high recall for external sharing, higher precision for internal review where context matters.
  • For a Mac mini sidecar, start with MLX 4-bit, benchmark a representative file bundle, then test 8-bit if quality or boundary errors are unacceptable.
  • For a browser tool, design around model caching and visible load state; the first model load is part of the UX.
  • Keep human review for legal, medical, finance, HR, education, government, and public-release workflows.

Failure modes

Test these before production

Failure modeWhy it matters
Private identifiers with no category clueAddresses, dates, phone numbers, and secrets can be harder without surrounding context.
Long-range alias referencesThe model card says recall drops as the alias definition gets farther away.
Weird formattingLine breaks, spacing, at/dot obfuscation, phonetic alphabet, and symbol substitutions can distort spans.
Domain-specific IDsCustomer IDs, medical record numbers, policy numbers, or internal identifiers may need fine-tuning.
Non-English and non-Latin textOpenAI reports multilingual results, but also warns performance can drop by language, script, and naming convention.
Public vs private entitiesThe base policy preserves some context by design; your organization may want stricter or broader redaction.

Receipts

Claim table

WhereClaimConfidenceSourceCaveat
Bottom lineOpenAI Privacy Filter is an open-weight text model for PII detection and masking, released under Apache 2.0.HighOpenAILicense and repository metadata can change in future versions.
FootprintThe model is a bidirectional token classifier with constrained span decoding, 1.5B total parameters, 50M active parameters, and 128k context.HighHugging Face / OpenAIRuntime performance still depends on implementation, precision, text length, and hardware.
HardwareBrowser deployment is credible because the official model card includes Transformers.js WebGPU usage and the Hugging Face repository includes ONNX q4/q4f16 artifacts.HighHugging Face / OpenAIFirst-load size is large and browser WebGPU support must be tested per target browser.
FootprintOfficial ONNX q4/q4f16 data artifacts are roughly 809-917 MB.HighHugging Face / OpenAIHugging Face file sizes may change with future revisions.
HardwareCommunity MLX conversions provide Apple Silicon packages, including a 790 MB 4-bit package and a 1.49 GB 8-bit package.MediumHugging Face / MLX CommunityCommunity conversions need independent quality and performance validation before production use.
HardwareA base M4 Mac mini should be able to run 4-bit inference, while 24 GB+ unified memory is the safer floor for an always-on local service.MediumHugging Face / MLX CommunityThis is inferred from model/package size and Apple Silicon runtime support; no local Mac mini benchmark was run in this pass.
HardwareThe official CLI supports CPU execution through a CPU device flag.HighGitHub / OpenAICPU execution is not the preferred path for high-throughput production.
QualityOpenAI reports strong benchmark performance on PII-Masking-300k, including corrected token F1 of 0.974 and corrected span F1 of 0.942.MediumOpenAICorrected benchmark scores depend partly on model-assisted adjudication and should not replace local evaluation.
QualityOpenAI reports high corrected token recall on CredData secret detection but much lower corrected span F1.MediumOpenAIUse a dedicated secret scanner alongside Privacy Filter.
Bottom lineOpenAI says Privacy Filter is not anonymization, compliance, or a safety guarantee.HighOpenAIHigh-risk workflows need in-domain evaluation and human review.
QualityA small independent comparison reported better boundary F1 for Privacy Filter than GLiNER large-v2.1 on sampled English and multilingual synthetic data.MediumGaurav Vij / GitHubSmall sample, synthetic data, and self-published methodology; treat as directional only.

Sources

How this was built

PublisherSourceTypeAccessed
OpenAIIntroducing OpenAI Privacy FilterOfficial2026-05-03
Hugging Face / OpenAIopenai/privacy-filter model cardOfficial2026-05-03
GitHub / OpenAIopenai/privacy-filter GitHub repositoryOfficial2026-05-03
OpenAIOpenAI Privacy Filter Model CardOfficial2026-05-03
Hugging FaceOpenAI Privacy Filter Transformers documentationOfficial2026-05-03
Hugging Face / OpenAIopenai/privacy-filter ONNX filesOfficial2026-05-03
Hugging FaceRunning models on WebGPUOfficial2026-05-03
Hugging Face / MLX Communitymlx-community/openai-privacy-filter-4bitCommunity2026-05-03
Hugging Face / MLX Communitymlx-community/openai-privacy-filter-8bitCommunity2026-05-03
Hugging FaceHow to build scalable web apps with OpenAI's Privacy FilterOfficial2026-05-03
Gaurav Vij / GitHubGLiNER large-v2.1 vs openai/privacy-filter PII detection evaluationCommunity2026-05-03
Microsoft PresidioPII entities supported by PresidioOfficial2026-05-03
arXivPIIBench: A Unified Multi-Source Benchmark Corpus for Personally Identifiable Information DetectionLab2026-05-03