{
  "guide": {
    "slug": "openai-privacy-filter",
    "title": "OpenAI Privacy Filter Guide",
    "subtitle": "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.",
    "summary": "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.",
    "category": {
      "slug": "software",
      "name": "Software",
      "description": "Fact sheets for developer tools, AI systems, software platforms, and technical buying or adoption decisions."
    },
    "tags": [
      "ai-tools",
      "privacy",
      "pii",
      "redaction",
      "security",
      "local-ai",
      "openai",
      "browser-ai",
      "apple-silicon"
    ],
    "version": "2026-10-18.1",
    "publishedAt": "2026-10-18",
    "updatedAt": "2026-10-18",
    "freshness": "Checked 2026-10-18 against the cited sources. Official product claims, independent review/community signals, and evidence limits are reported; no hands-on benchmark, installation test, or privacy audit is claimed.",
    "heroLabel": "PII redaction guide",
    "vaultPath": "Research/Technology/Software Development/AI Tools/OpenAI Privacy Filter Guide.md",
    "r2JsonKey": "guides/openai-privacy-filter/2026-10-18.1.json",
    "thesisCards": [
      {
        "label": "The job",
        "title": "Redact before text moves.",
        "body": "Privacy Filter is strongest as a local preprocessing layer before LLM calls, RAG indexing, traces, training data, support exports, or human review."
      },
      {
        "label": "The hardware",
        "title": "Browser and Mac mini are real targets.",
        "body": "ONNX plus Transformers.js enables WebGPU browser use, while MLX community conversions make Apple Silicon a practical local sidecar path."
      },
      {
        "label": "The limit",
        "title": "It is not anonymization.",
        "body": "Use it as one component with deterministic recognizers, secret scanners, in-domain evals, and human review for high-risk work."
      }
    ],
    "stats": [],
    "sections": [
      {
        "id": "bottom-line",
        "eyebrow": "Bottom line",
        "title": "Use it as a local redaction layer, not as a privacy program.",
        "body": "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."
      },
      {
        "id": "who-for",
        "eyebrow": "Audience",
        "title": "Who this is for",
        "table": {
          "columns": [
            "Audience",
            "Why it fits",
            "What to watch"
          ],
          "rows": [
            [
              "AI platform teams",
              "Redact user text before LLM calls, eval storage, traces, and RAG indexing.",
              "Preserve enough context for downstream task quality."
            ],
            [
              "Data and ML teams",
              "Sanitize corpora before training, fine-tuning, labeling, or external review.",
              "Benchmarks do not prove your domain is safe."
            ],
            [
              "Security and infra teams",
              "Detect 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 teams",
              "Mask PII in support tickets, exports, transcripts, and debugging bundles.",
              "False positives remove needed context; false negatives leak customer data."
            ],
            [
              "Local-first app builders",
              "Run 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 teams",
              "Use as one technical control in a privacy-by-design program.",
              "It is not a compliance certification or anonymization guarantee."
            ]
          ]
        }
      },
      {
        "id": "best-use-cases",
        "eyebrow": "Use-cases",
        "title": "Where it fits best",
        "table": {
          "columns": [
            "Use-case",
            "Fit",
            "Reason"
          ],
          "rows": [
            [
              "Pre-send LLM prompt filtering",
              "Strong",
              "Local redaction before content leaves the machine or tenant."
            ],
            [
              "RAG and document ingestion",
              "Strong",
              "128k context makes long documents less awkward than chunk-only approaches."
            ],
            [
              "Support-ticket and CRM export scrubbing",
              "Strong",
              "The native taxonomy covers names, addresses, phones, emails, URLs, dates, account numbers, and secrets."
            ],
            [
              "Log and trace scrubbing",
              "Good",
              "Useful for observability pipelines, especially with deterministic patterns for known internal formats."
            ],
            [
              "Agent egress filtering",
              "Good",
              "Can sit before external tools, MCP calls, browser posting, ticket creation, Slack, or GitHub issue writes."
            ],
            [
              "Codebase secret discovery",
              "Good but incomplete",
              "Credential recall is strong, but exact span scores are weaker; use GitHub secret scanning, gitleaks, trufflehog, or vendor DLP too."
            ],
            [
              "Screenshot or image redaction",
              "Conditional",
              "Works only after OCR/text extraction; Hugging Face demos show the pattern but the model itself is text-only."
            ],
            [
              "Fully automated legal, medical, or finance redaction",
              "Risky",
              "High-stakes domains need in-domain eval, fine-tuning, deterministic rules, audit, and human review."
            ]
          ]
        }
      },
      {
        "id": "hardware",
        "eyebrow": "Hardware",
        "title": "Browser, Mac mini, laptop, CPU, and GPU fit",
        "table": {
          "columns": [
            "Runtime",
            "Will it run?",
            "Practical expectation",
            "Recommendation"
          ],
          "rows": [
            [
              "Browser / WebGPU",
              "Yes. 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 desktop",
              "Yes 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 / Pro",
              "Yes. 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 machine",
              "Yes. 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 server",
              "Yes 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."
            ],
            [
              "Mobile",
              "Not 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."
            ]
          ]
        }
      },
      {
        "id": "model-footprint",
        "eyebrow": "Footprint",
        "title": "Model size is manageable, but not tiny",
        "table": {
          "columns": [
            "Artifact",
            "Size / shape",
            "What it implies"
          ],
          "rows": [
            [
              "Base safetensors",
              "2.8 GB plus a 27.9 MB tokenizer",
              "Manageable on laptops and servers; too heavy for casual browser delivery."
            ],
            [
              "ONNX q4",
              "917 MB data file",
              "Browser-capable but big; caching and load UX matter."
            ],
            [
              "ONNX q4f16",
              "809 MB data file",
              "Better-looking browser delivery target if quality and runtime check out."
            ],
            [
              "MLX 4-bit",
              "790 MB package",
              "Best-looking Apple Silicon target for lightweight local inference."
            ],
            [
              "MLX 8-bit",
              "1.49 GB package",
              "Larger Apple Silicon target if 4-bit quality or boundaries are not acceptable."
            ],
            [
              "Architecture",
              "1.5B total / 50M active, 8 layers, sparse MoE",
              "Much smaller active compute than a normal dense 1.5B model, but not a regex replacement."
            ]
          ]
        }
      },
      {
        "id": "performance-read",
        "eyebrow": "Performance",
        "title": "No public chars/sec headline, but the architecture is right for throughput",
        "body": "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.",
        "table": {
          "columns": [
            "Workload",
            "Fit",
            "Why"
          ],
          "rows": [
            [
              "Interactive paste redaction",
              "Strong",
              "Load once, redact many snippets locally."
            ],
            [
              "Browser extension / private web app",
              "Strong if model caching is acceptable",
              "Privacy story is excellent, but the first model load is a real product constraint."
            ],
            [
              "Vault or repo snapshot scrubber on a Mac mini",
              "Strong",
              "Text-only batch job, local data, enough memory, and easy sidecar deployment."
            ],
            [
              "Continuous log firehose on CPU",
              "Weak",
              "It will run, but CPU is not the high-throughput target."
            ],
            [
              "Enterprise batch sanitization",
              "Strong on GPU",
              "Use CUDA/server deployment and evaluate on real documents."
            ],
            [
              "Fine-tuning",
              "Server or GPU preferred",
              "Fine-tuning is supported, but not a browser or tiny-edge-box workflow."
            ]
          ]
        }
      },
      {
        "id": "quality",
        "eyebrow": "Quality",
        "title": "It is good enough to pilot, not good enough to blindly trust",
        "table": {
          "columns": [
            "Signal",
            "What it says",
            "Read"
          ],
          "rows": [
            [
              "PII-Masking-300k",
              "OpenAI 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 detection",
              "Corrected 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-tuning",
              "SPY 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 evals",
              "Strong 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 comparison",
              "A 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 tests",
              "One-hop reasoning, odd formatting, line breaks, phonetic alphabet, and clue-free identifiers degrade.",
              "Real pipelines need adversarial tests from local data."
            ]
          ]
        }
      },
      {
        "id": "comparison-ladder",
        "eyebrow": "Alternatives",
        "title": "Nearest-neighbor ladder",
        "table": {
          "columns": [
            "Option",
            "Use when",
            "Tradeoff"
          ],
          "rows": [
            [
              "Regex-only filters",
              "You only need emails, phone numbers, SSNs, credit cards, or known deterministic patterns.",
              "Fast and explainable, weak on ambiguous unstructured text."
            ],
            [
              "Microsoft Presidio",
              "You 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 models",
              "You 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 Filter",
              "You 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 APIs",
              "You need managed support, dashboards, policy packs, and enterprise procurement.",
              "Sensitive text may leave your environment; cost and lock-in rise."
            ]
          ]
        }
      },
      {
        "id": "implementation",
        "eyebrow": "Implementation",
        "title": "How I would deploy it",
        "bullets": [
          "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."
        ]
      },
      {
        "id": "failure-modes",
        "eyebrow": "Failure modes",
        "title": "Test these before production",
        "table": {
          "columns": [
            "Failure mode",
            "Why it matters"
          ],
          "rows": [
            [
              "Private identifiers with no category clue",
              "Addresses, dates, phone numbers, and secrets can be harder without surrounding context."
            ],
            [
              "Long-range alias references",
              "The model card says recall drops as the alias definition gets farther away."
            ],
            [
              "Weird formatting",
              "Line breaks, spacing, at/dot obfuscation, phonetic alphabet, and symbol substitutions can distort spans."
            ],
            [
              "Domain-specific IDs",
              "Customer IDs, medical record numbers, policy numbers, or internal identifiers may need fine-tuning."
            ],
            [
              "Non-English and non-Latin text",
              "OpenAI reports multilingual results, but also warns performance can drop by language, script, and naming convention."
            ],
            [
              "Public vs private entities",
              "The base policy preserves some context by design; your organization may want stricter or broader redaction."
            ]
          ]
        }
      },
      {
        "id": "packet-decision",
        "eyebrow": "Decision",
        "title": "Choose OpenAI Privacy Filter when its documented boundary matches the job.",
        "body": "OpenAI Privacy Filter is a locally runnable model and CLI baseline for contextual text redaction. The cited sources describe it as a locally deployable redaction option. Choose it when contextual local redaction is the job. Validate detection on the target corpus because community scores vary with matching criteria."
      },
      {
        "id": "packet-setup",
        "eyebrow": "Setup",
        "title": "Start by confirming deployment and the data path.",
        "body": "Confirm this setup detail before you build a routine: Local CPU or GPU; checkpoints downloaded if absent. Then verify the processing boundary — Token classification with span decoding — and keep the first sample low-risk until the account, device, or runtime behavior matches the source description."
      },
      {
        "id": "packet-workflow",
        "eyebrow": "Workflow",
        "title": "Workflow: model-based text redaction with a local CLI and Python API.",
        "body": "Use OpenAI Privacy Filter for model-based text redaction with a local CLI and Python API. Customization is described as runtime precision/recall presets, evaluation and fine-tuning commands. Keep the workflow small enough to review its output and control settings; the cited sources do not establish a universal quality or speed result."
      },
      {
        "id": "packet-comparison",
        "eyebrow": "Alternatives",
        "title": "Compare OpenAI Privacy Filter by the constraint that decides the work.",
        "body": "The five-guide table retains the current guide and four siblings in the locally deployable text redaction group. Values come from the cited source cells; an Unknown cell means the sources did not support a stronger statement.",
        "table": {
          "columns": [
            "Guide",
            "Workflow",
            "Deployment",
            "Input",
            "Entry cost",
            "Method",
            "Customization",
            "Limitation"
          ],
          "rows": [
            [
              "OpenAI Privacy Filter",
              "Model-based text redaction with a local CLI and Python API.",
              "Local CPU or GPU; checkpoints downloaded if absent.",
              "Text strings, files and pipes.",
              "Open repository; compute and operational costs remain.",
              "Token classification with span decoding.",
              "Runtime precision/recall presets, evaluation and fine-tuning commands.",
              "Validate detection on the target corpus; community scores change with matching criteria."
            ],
            [
              "Presidio",
              "PII identification followed by configurable anonymization.",
              "Python module or self-hosted HTTP service/container.",
              "Text and detected entity spans.",
              "Open-source deployment; self-hosting/integration cost separate.",
              "Analyzer plus separate anonymizer operators.",
              "Replace, mask, redact or encrypt; reversible operators need corresponding metadata and keys.",
              "Anonymizer acts on supplied detections; missing detections are not repaired by replacement."
            ],
            [
              "scrubadub",
              "Replace personally identifiable spans in free text.",
              "Python package invoked inside local scripts.",
              "Free-text strings.",
              "Apache-2.0 software; dependency and operation costs separate.",
              "Detectors identify spans; postprocessors control replacement.",
              "Optional address, spaCy and Stanford detector packages; locale configuration.",
              "Extra detector dependencies are needed for some entity types."
            ],
            [
              "Limina on-premises",
              "Detect and de-identify sensitive data; this comparison covers text.",
              "Container in customer on-premises environment or VPC.",
              "Text; product also supports documents, images and audio.",
              "Enterprise custom pricing; free hosted Starter is not the local-deployment price.",
              "Commercial entity detection and de-identification engine.",
              "Enterprise model-version pinning and guided integration/tuning.",
              "Local availability and commercial terms require vendor agreement."
            ],
            [
              "Philter UCSF",
              "Remove protected health information from clinical plain text.",
              "Local Python command-line package.",
              "Plain-text file or directory of clinical notes.",
              "BSD-3-Clause software; integration and compute separate.",
              "Configurable filtering pipeline with optional evaluation annotations.",
              "Filter configuration and input/output paths.",
              "Clinical-domain focus; general chat/email quality is not established."
            ]
          ]
        }
      },
      {
        "id": "packet-review-signal",
        "eyebrow": "Review signal",
        "title": "Independent context for OpenAI Privacy Filter is bounded.",
        "body": "Gaurav Vij / GitHub (GLiNER large-v2.1 vs Privacy Filter case study) reports: Case study shows sensitivity to entity-span matching conventions. Limit: Community-produced experiment; different GLiNER variant; not rerun. These signals add context, but they do not establish comparative performance.",
        "bullets": [
          "Gaurav Vij / GitHub: Case study shows sensitivity to entity-span matching conventions. (Community-produced experiment; different GLiNER variant; not rerun.)"
        ]
      },
      {
        "id": "packet-caveats",
        "eyebrow": "Caveats",
        "title": "Keep the source boundary visible while you decide.",
        "body": "The current cited cost statement is: Open repository; compute and operational costs remain. Privacy or processing control is described as: Privacy controls are not fully described in the cited sources. The principal product boundary is: Validate detection on the target corpus; community scores change with matching criteria. These are source-qualified statements, not an installation result, benchmark, security audit, or retention guarantee.",
        "bullets": [
          "Community evaluation is community-produced and uses GLiNER large-v2.1, not the separate multi-PII model.",
          "No model load, inference or benchmark was performed."
        ]
      },
      {
        "id": "packet-decision-surface",
        "eyebrow": "First check",
        "title": "Make the first adoption check specific to OpenAI Privacy Filter.",
        "body": "Run a labeled sample from the target corpus through detection and replacement, then inspect misses, over-redaction, and logs before sending real data through the pipeline."
      }
    ],
    "claims": [
      {
        "id": "claim-open-weight-release",
        "claim": "OpenAI Privacy Filter is an open-weight text model for PII detection and masking, released under Apache 2.0.",
        "sourceId": "openai-release",
        "evidenceType": "official",
        "confidence": "high",
        "caveat": "License and repository metadata can change in future versions.",
        "guideLocation": "Bottom line",
        "sectionId": "bottom-line"
      },
      {
        "id": "claim-architecture",
        "claim": "The model is a bidirectional token classifier with constrained span decoding, 1.5B total parameters, 50M active parameters, and 128k context.",
        "sourceId": "hf-model-card",
        "evidenceType": "official",
        "confidence": "high",
        "caveat": "Runtime performance still depends on implementation, precision, text length, and hardware.",
        "guideLocation": "Model footprint",
        "sectionId": "model-footprint"
      },
      {
        "id": "claim-browser",
        "claim": "Browser deployment is credible because the official model card includes Transformers.js WebGPU usage and the Hugging Face repository includes ONNX q4/q4f16 artifacts.",
        "sourceId": "hf-onnx",
        "evidenceType": "official",
        "confidence": "high",
        "caveat": "First-load size is large and browser WebGPU support must be tested per target browser.",
        "guideLocation": "Hardware",
        "sectionId": "hardware"
      },
      {
        "id": "claim-browser-size",
        "claim": "Official ONNX q4/q4f16 data artifacts are roughly 809-917 MB.",
        "sourceId": "hf-onnx",
        "evidenceType": "official",
        "confidence": "high",
        "caveat": "Hugging Face file sizes may change with future revisions.",
        "guideLocation": "Model footprint",
        "sectionId": "model-footprint"
      },
      {
        "id": "claim-mlx",
        "claim": "Community MLX conversions provide Apple Silicon packages, including a 790 MB 4-bit package and a 1.49 GB 8-bit package.",
        "sourceId": "mlx-4bit",
        "evidenceType": "community",
        "confidence": "medium",
        "caveat": "Community conversions need independent quality and performance validation before production use.",
        "guideLocation": "Hardware",
        "sectionId": "hardware"
      },
      {
        "id": "claim-mac-mini",
        "claim": "A 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.",
        "sourceId": "mlx-4bit",
        "evidenceType": "inference",
        "confidence": "medium",
        "caveat": "This is inferred from model/package size and Apple Silicon runtime support; no local Mac mini benchmark was run in this pass.",
        "guideLocation": "Hardware",
        "sectionId": "hardware"
      },
      {
        "id": "claim-cpu",
        "claim": "The official CLI supports CPU execution through a CPU device flag.",
        "sourceId": "github-repo",
        "evidenceType": "official",
        "confidence": "high",
        "caveat": "CPU execution is not the preferred path for high-throughput production.",
        "guideLocation": "Hardware",
        "sectionId": "hardware"
      },
      {
        "id": "claim-quality",
        "claim": "OpenAI reports strong benchmark performance on PII-Masking-300k, including corrected token F1 of 0.974 and corrected span F1 of 0.942.",
        "sourceId": "model-card-pdf",
        "evidenceType": "official",
        "confidence": "medium",
        "caveat": "Corrected benchmark scores depend partly on model-assisted adjudication and should not replace local evaluation.",
        "guideLocation": "Quality",
        "sectionId": "quality"
      },
      {
        "id": "claim-secret",
        "claim": "OpenAI reports high corrected token recall on CredData secret detection but much lower corrected span F1.",
        "sourceId": "model-card-pdf",
        "evidenceType": "official",
        "confidence": "medium",
        "caveat": "Use a dedicated secret scanner alongside Privacy Filter.",
        "guideLocation": "Quality",
        "sectionId": "quality"
      },
      {
        "id": "claim-not-anonymization",
        "claim": "OpenAI says Privacy Filter is not anonymization, compliance, or a safety guarantee.",
        "sourceId": "model-card-pdf",
        "evidenceType": "official",
        "confidence": "high",
        "caveat": "High-risk workflows need in-domain evaluation and human review.",
        "guideLocation": "Bottom line",
        "sectionId": "bottom-line"
      },
      {
        "id": "claim-independent-eval",
        "claim": "A small independent comparison reported better boundary F1 for Privacy Filter than GLiNER large-v2.1 on sampled English and multilingual synthetic data.",
        "sourceId": "independent-eval",
        "evidenceType": "community",
        "confidence": "medium",
        "caveat": "Small sample, synthetic data, and self-published methodology; treat as directional only.",
        "guideLocation": "Quality",
        "sectionId": "quality"
      },
      {
        "id": "research-openai-privacy-filter-openai-privacy-filter-workflow",
        "claim": "Model-based text redaction with a local CLI and Python API.",
        "sourceId": "opf-repo",
        "evidenceType": "official",
        "confidence": "high",
        "caveat": "Source-qualified product description; no independent performance test was run.",
        "guideLocation": "Workflow: model-based text redaction with a local CLI and Python API.",
        "sectionId": "packet-workflow"
      },
      {
        "id": "research-openai-privacy-filter-openai-privacy-filter-deployment",
        "claim": "Local CPU or GPU; checkpoints downloaded if absent.",
        "sourceId": "opf-repo",
        "evidenceType": "official",
        "confidence": "high",
        "caveat": "Source-qualified product description; no independent performance test was run.",
        "guideLocation": "Start by confirming deployment and the data path.",
        "sectionId": "packet-setup"
      },
      {
        "id": "research-openai-privacy-filter-openai-privacy-filter-input",
        "claim": "Text strings, files and pipes.",
        "sourceId": "opf-repo",
        "evidenceType": "official",
        "confidence": "high",
        "caveat": "Source-qualified product description; no independent performance test was run.",
        "guideLocation": "Start by confirming deployment and the data path.",
        "sectionId": "packet-setup"
      },
      {
        "id": "research-openai-privacy-filter-openai-privacy-filter-entryCost",
        "claim": "Open repository; compute and operational costs remain.",
        "sourceId": "opf-repo",
        "evidenceType": "official",
        "confidence": "high",
        "caveat": "Exact licensing should be read before redistribution; no hosted usage price asserted.",
        "guideLocation": "Choose OpenAI Privacy Filter when its documented boundary matches the job.",
        "sectionId": "packet-decision"
      },
      {
        "id": "research-openai-privacy-filter-openai-privacy-filter-method",
        "claim": "Token classification with span decoding.",
        "sourceId": "opf-repo",
        "evidenceType": "official",
        "confidence": "high",
        "caveat": "Source-qualified product description; no independent performance test was run.",
        "guideLocation": "Workflow: model-based text redaction with a local CLI and Python API.",
        "sectionId": "packet-workflow"
      },
      {
        "id": "research-openai-privacy-filter-openai-privacy-filter-customization",
        "claim": "Runtime precision/recall presets, evaluation and fine-tuning commands.",
        "sourceId": "opf-repo",
        "evidenceType": "official",
        "confidence": "high",
        "caveat": "Source-qualified product description; no independent performance test was run.",
        "guideLocation": "Workflow: model-based text redaction with a local CLI and Python API.",
        "sectionId": "packet-workflow"
      },
      {
        "id": "research-openai-privacy-filter-openai-privacy-filter-limitation",
        "claim": "Validate detection on the target corpus; community scores change with matching criteria.",
        "sourceId": "opf-community-eval",
        "evidenceType": "inference",
        "confidence": "medium",
        "caveat": "Community evaluation was not rerun; no universal accuracy ranking.",
        "guideLocation": "Keep the source boundary visible while you decide.",
        "sectionId": "packet-caveats"
      },
      {
        "id": "research-openai-privacy-filter-signal-opf-community-eval",
        "claim": "Gaurav Vij / GitHub reports: Case study shows sensitivity to entity-span matching conventions.",
        "sourceId": "opf-community-eval",
        "evidenceType": "community",
        "confidence": "medium",
        "caveat": "Community-produced experiment; different GLiNER variant; not rerun.",
        "guideLocation": "Independent context for OpenAI Privacy Filter is bounded.",
        "sectionId": "packet-review-signal"
      }
    ],
    "sources": [
      {
        "id": "openai-release",
        "title": "Introducing OpenAI Privacy Filter",
        "publisher": "OpenAI",
        "url": "https://openai.com/index/introducing-openai-privacy-filter/",
        "accessedAt": "2026-05-03",
        "sourceType": "official"
      },
      {
        "id": "hf-model-card",
        "title": "openai/privacy-filter model card",
        "publisher": "Hugging Face / OpenAI",
        "url": "https://huggingface.co/openai/privacy-filter",
        "accessedAt": "2026-05-03",
        "sourceType": "official"
      },
      {
        "id": "github-repo",
        "title": "openai/privacy-filter GitHub repository",
        "publisher": "GitHub / OpenAI",
        "url": "https://github.com/openai/privacy-filter",
        "accessedAt": "2026-05-03",
        "sourceType": "official"
      },
      {
        "id": "model-card-pdf",
        "title": "OpenAI Privacy Filter Model Card",
        "publisher": "OpenAI",
        "url": "https://cdn.openai.com/pdf/c66281ed-b638-456a-8ce1-97e9f5264a90/OpenAI-Privacy-Filter-Model-Card.pdf",
        "accessedAt": "2026-05-03",
        "sourceType": "official"
      },
      {
        "id": "hf-transformers-docs",
        "title": "OpenAI Privacy Filter Transformers documentation",
        "publisher": "Hugging Face",
        "url": "https://huggingface.co/docs/transformers/model_doc/openai_privacy_filter",
        "accessedAt": "2026-05-03",
        "sourceType": "official"
      },
      {
        "id": "hf-onnx",
        "title": "openai/privacy-filter ONNX files",
        "publisher": "Hugging Face / OpenAI",
        "url": "https://huggingface.co/openai/privacy-filter/tree/main/onnx",
        "accessedAt": "2026-05-03",
        "sourceType": "official"
      },
      {
        "id": "transformers-webgpu",
        "title": "Running models on WebGPU",
        "publisher": "Hugging Face",
        "url": "https://huggingface.co/docs/transformers.js/main/guides/webgpu",
        "accessedAt": "2026-05-03",
        "sourceType": "official"
      },
      {
        "id": "mlx-4bit",
        "title": "mlx-community/openai-privacy-filter-4bit",
        "publisher": "Hugging Face / MLX Community",
        "url": "https://huggingface.co/mlx-community/openai-privacy-filter-4bit",
        "accessedAt": "2026-05-03",
        "sourceType": "community"
      },
      {
        "id": "mlx-8bit",
        "title": "mlx-community/openai-privacy-filter-8bit",
        "publisher": "Hugging Face / MLX Community",
        "url": "https://huggingface.co/mlx-community/openai-privacy-filter-8bit",
        "accessedAt": "2026-05-03",
        "sourceType": "community"
      },
      {
        "id": "hf-webapps",
        "title": "How to build scalable web apps with OpenAI's Privacy Filter",
        "publisher": "Hugging Face",
        "url": "https://huggingface.co/blog/openai-privacy-filter-web-apps",
        "accessedAt": "2026-05-03",
        "sourceType": "official"
      },
      {
        "id": "independent-eval",
        "title": "GLiNER large-v2.1 vs openai/privacy-filter PII detection evaluation",
        "publisher": "Gaurav Vij / GitHub",
        "url": "https://github.com/gauravvij/pii-filter-model-eval",
        "accessedAt": "2026-05-03",
        "sourceType": "community"
      },
      {
        "id": "presidio",
        "title": "PII entities supported by Presidio",
        "publisher": "Microsoft Presidio",
        "url": "https://microsoft.github.io/presidio/supported_entities/",
        "accessedAt": "2026-05-03",
        "sourceType": "official"
      },
      {
        "id": "piibench",
        "title": "PIIBench: A Unified Multi-Source Benchmark Corpus for Personally Identifiable Information Detection",
        "publisher": "arXiv",
        "url": "https://arxiv.org/abs/2604.15776",
        "accessedAt": "2026-05-03",
        "sourceType": "lab"
      },
      {
        "id": "opf-repo",
        "title": "Privacy Filter repository and CLI",
        "publisher": "OpenAI",
        "url": "https://github.com/openai/privacy-filter",
        "sourceType": "official",
        "accessedAt": "2026-10-18"
      },
      {
        "id": "presidio-home",
        "title": "Presidio overview",
        "publisher": "Data Privacy Stack",
        "url": "https://presidio.dataprivacystack.org/",
        "sourceType": "official",
        "accessedAt": "2026-10-18"
      },
      {
        "id": "presidio-anonymizer",
        "title": "Presidio Anonymizer",
        "publisher": "Data Privacy Stack",
        "url": "https://presidio.dataprivacystack.org/anonymizer/",
        "sourceType": "official",
        "accessedAt": "2026-10-18"
      },
      {
        "id": "scrubadub-repo",
        "title": "scrubadub README and license",
        "publisher": "LeapBeyond",
        "url": "https://github.com/LeapBeyond/scrubadub",
        "sourceType": "official",
        "accessedAt": "2026-10-18"
      },
      {
        "id": "scrubadub-docs",
        "title": "scrubadub stable documentation",
        "publisher": "scrubadub maintainers",
        "url": "https://scrubadub.readthedocs.io/en/stable/",
        "sourceType": "official",
        "accessedAt": "2026-10-18"
      },
      {
        "id": "limina-plans",
        "title": "Pricing and deployment FAQ",
        "publisher": "Limina",
        "url": "https://www.getlimina.ai/en/pricing",
        "sourceType": "official",
        "accessedAt": "2026-10-18"
      },
      {
        "id": "philter-repo",
        "title": "Philter UCSF README",
        "publisher": "UCSF / BCHSI",
        "url": "https://github.com/BCHSI/philter-ucsf",
        "sourceType": "official",
        "accessedAt": "2026-10-18"
      },
      {
        "id": "opf-community-eval",
        "title": "GLiNER large-v2.1 vs Privacy Filter case study",
        "publisher": "Gaurav Vij / GitHub",
        "url": "https://github.com/gauravvij/pii-filter-model-eval",
        "sourceType": "community",
        "accessedAt": "2026-10-18"
      },
      {
        "id": "philter-paper",
        "title": "A certified de-identification system for all clinical text documents",
        "publisher": "UCSF authors / JAMIA Open",
        "url": "https://pmc.ncbi.nlm.nih.gov/articles/PMC10320112/",
        "sourceType": "review",
        "accessedAt": "2026-10-18"
      }
    ],
    "revisions": [
      {
        "version": "2026-05-03.1",
        "date": "2026-05-03",
        "summary": "Initial public guide covering audience, use-cases, hardware/runtime fit, quality evidence, and deployment recommendations."
      },
      {
        "version": "2026-10-18.1",
        "date": "2026-10-18",
        "note": "Updated with 2026-10-18 software workflow evidence, reciprocal alternatives, comparison cells, and explicit evidence limits."
      }
    ],
    "archetype": "comparison",
    "relatedGuides": [
      {
        "slug": "presidio-text-redaction",
        "role": "alternative",
        "rank": 2,
        "reason": "A local integration toolkit when the evaluator needs configurable recognizers and multiple replacement operators."
      },
      {
        "slug": "scrubadub-text-redaction",
        "role": "alternative",
        "rank": 3,
        "reason": "A locally embedded Python option for relatively simple text-cleaning pipelines with configurable detectors."
      },
      {
        "slug": "limina-local-redaction",
        "role": "alternative",
        "rank": 4,
        "reason": "The commercial local-deployment option for organizations that want vendor-supported de-identification."
      },
      {
        "slug": "philter-ucsf",
        "role": "alternative",
        "rank": 5,
        "reason": "Eligible for the clinical-note subset of local text de-identification; a specialized alternative, not a general-language drop-in."
      }
    ],
    "comparison": {
      "title": "Locally deployable text redaction alternatives",
      "intro": "This table keeps openai-privacy-filter beside four listed alternatives using source-qualified workflow, platform, processing, cost, control, and limitation notes. It is an editorial fit map, not a performance test or market ranking.",
      "alternatives": [
        "presidio-text-redaction",
        "scrubadub-text-redaction",
        "limina-local-redaction",
        "philter-ucsf"
      ],
      "includeCurrent": true,
      "dimensions": [
        {
          "id": "workflow",
          "label": "workflow",
          "values": {
            "openai-privacy-filter": "Model-based text redaction with a local CLI and Python API.",
            "presidio-text-redaction": "PII identification followed by configurable anonymization.",
            "scrubadub-text-redaction": "Replace personally identifiable spans in free text.",
            "limina-local-redaction": "Detect and de-identify sensitive data; this comparison covers text.",
            "philter-ucsf": "Remove protected health information from clinical plain text."
          }
        },
        {
          "id": "deployment",
          "label": "deployment",
          "values": {
            "openai-privacy-filter": "Local CPU or GPU; checkpoints downloaded if absent.",
            "presidio-text-redaction": "Python module or self-hosted HTTP service/container.",
            "scrubadub-text-redaction": "Python package invoked inside local scripts.",
            "limina-local-redaction": "Container in customer on-premises environment or VPC.",
            "philter-ucsf": "Local Python command-line package."
          }
        },
        {
          "id": "input",
          "label": "input",
          "values": {
            "openai-privacy-filter": "Text strings, files and pipes.",
            "presidio-text-redaction": "Text and detected entity spans.",
            "scrubadub-text-redaction": "Free-text strings.",
            "limina-local-redaction": "Text; product also supports documents, images and audio.",
            "philter-ucsf": "Plain-text file or directory of clinical notes."
          }
        },
        {
          "id": "entry-cost",
          "label": "entry cost",
          "values": {
            "openai-privacy-filter": "Open repository; compute and operational costs remain.",
            "presidio-text-redaction": "Open-source deployment; self-hosting/integration cost separate.",
            "scrubadub-text-redaction": "Apache-2.0 software; dependency and operation costs separate.",
            "limina-local-redaction": "Enterprise custom pricing; free hosted Starter is not the local-deployment price.",
            "philter-ucsf": "BSD-3-Clause software; integration and compute separate."
          }
        },
        {
          "id": "method",
          "label": "method",
          "values": {
            "openai-privacy-filter": "Token classification with span decoding.",
            "presidio-text-redaction": "Analyzer plus separate anonymizer operators.",
            "scrubadub-text-redaction": "Detectors identify spans; postprocessors control replacement.",
            "limina-local-redaction": "Commercial entity detection and de-identification engine.",
            "philter-ucsf": "Configurable filtering pipeline with optional evaluation annotations."
          }
        },
        {
          "id": "customization",
          "label": "customization",
          "values": {
            "openai-privacy-filter": "Runtime precision/recall presets, evaluation and fine-tuning commands.",
            "presidio-text-redaction": "Replace, mask, redact or encrypt; reversible operators need corresponding metadata and keys.",
            "scrubadub-text-redaction": "Optional address, spaCy and Stanford detector packages; locale configuration.",
            "limina-local-redaction": "Enterprise model-version pinning and guided integration/tuning.",
            "philter-ucsf": "Filter configuration and input/output paths."
          }
        },
        {
          "id": "limitation",
          "label": "limitation",
          "values": {
            "openai-privacy-filter": "Validate detection on the target corpus; community scores change with matching criteria.",
            "presidio-text-redaction": "Anonymizer acts on supplied detections; missing detections are not repaired by replacement.",
            "scrubadub-text-redaction": "Extra detector dependencies are needed for some entity types.",
            "limina-local-redaction": "Local availability and commercial terms require vendor agreement.",
            "philter-ucsf": "Clinical-domain focus; general chat/email quality is not established."
          }
        }
      ]
    }
  },
  "publicUrl": "https://fieldguides.co/g/openai-privacy-filter"
}