Comparison
OpenAnonymizer vs ai4privacy
Both ran on the same 80,575 test items of PIIMark v1, in 34 languages, each with its default settings and all its entity types on.
Side by side
| Tool | RecallStructured recallhigher is better | False pos.False positiveslower is better | All cat.All categoriesrecall, every category | Time, msTimeMedian timeper text, same server |
|---|---|---|---|---|
| ai4privacy (OpenPII model) | 36.5% | 74.2% | 18.5% | 42.542.5 ms |
| OpenAnonymizer OA Fast | 90.6% | 8.6% | 58.0% | 0.100.10 ms |
| OpenAnonymizer OA Full | 91.8% | 13.0% | 71.5% | 5.85.8 ms |
Fast finds names only by rules in labelled contexts: form fields, letters, signatures and chat speakers; names in running prose stay as written. Full’s model also finds them in running text. Quasi-identifiers and special categories are off by default in both modes, so tools that tag them find more on all categories.
Where each one is ahead
Read from the numbers above, metric by metric.
Structured recall
ai4privacy (OpenPII model) 36.5%; Fast 90.6%, Full 91.8%.
Both of our modes find more structured personal data than ai4privacy (OpenPII model).
False positives
ai4privacy (OpenPII model) 74.2%; Fast 8.6%, Full 13.0%.
Both of our modes mask fewer harmless items than ai4privacy (OpenPII model).
All categories
ai4privacy (OpenPII model) 18.5%; Fast 58.0%, Full 71.5%.
Both of our modes score higher on all categories than ai4privacy (OpenPII model).
Median time
ai4privacy (OpenPII model) 42.5 ms; Fast 0.10 ms, Full 5.8 ms.
At the median, both of our modes take less time per text than ai4privacy (OpenPII model) on the same setup. This compares medians only. The PIIMark page lists our slower texts (p95 and p99).
What the numbers mean
- Structured recall
- Share of structured personal data found: IDs, document and company numbers, phones, emails, cards, IBANs, addresses, dates of birth, IPs, device IDs and secrets. A value counts only when every required character is masked.
- False positives
- Share of harmless items where the tool masked anything at all. A tool that masks places, organisations or dates by design is counted the same way.
- All categories
- Recall with names, quasi-identifiers (age, gender, job, city) and special categories (health, religion, politics) added. For the last two, any overlapping mask counts.
- Median time
- Median time per text, one call per text, on one server CPU with the same harness for every timed tool. Our two modes run the full engine, the model included in Full.
- How it was run
- PIIMark v1: the same 80,575 test items for every tool, the whole test split, across 34 languages, synthetic personal data and harmless look-alikes. Each tool ran with its default settings and all its entity types on, and was scored on every language, including any it was not built for. The whole method on the PIIMark page.
About ai4privacy (OpenPII model)
From its official source, checked 2026-12-03: huggingface.co/ai4privacy
- What it is
- Ai4Privacy's anonymiser models, trained on its OpenPII data to redact personal data in text.
- Licence
- MIT
- How it runs
- Token-classification models fine-tuned from ModernBERT-base, run with Hugging Face Transformers.
About OpenAnonymizer
- Licence
- Source-available under the Business Source License 1.1 (BUSL-1.1). Production use is free while your organisation has both under USD 5M in revenue and under USD 5M in funding; above either, a commercial licence applies. Licence details.
- Packages
- Every package ships every detector. The WebAssembly package runs Fast only.
- Where it runs
- On a CPU, with no GPU and no API calls.
- The model
- Full adds a small local model that confirms or rejects the numbers, codes and street names the rules left open, and finds people’s names and organisations in running text. Fast is rules only. The model is on Hugging Face as openanonymizer/openanonymizer-model; the synthetic data we wrote to train it and the full training recipe are public there too, under CC BY 4.0.
- Names
- Fast finds them by rules in labelled contexts (form fields, letters, signatures, chat speakers); names in running prose stay as written. Full’s model also finds them in running text.
Try it on your own text
Install the library and run it on a sample of your data, or send us a dataset and we clean it for you.