1. Home
  2. How Opami Protect compares
  3. Build it yourself or use Opami Protect

Build it yourself or use Opami Protect

A pattern finds a card number. It does not find a diagnosis

You have a pattern for card numbers and another for tax numbers, and they work.

  1. Fixed formats Patterns catch them well Your patterns still fit internal IDs
  2. Names and free text A model, and the model needs upkeep A trained model
  3. Each new language A model and recognizers for each 52 languages, no setup
  4. Upkeep Yours to tune and keep current In our cloud, nothing to tune or patch
Opami Protect next to Your own build, point by point. Fixed formats: Your own build, Patterns catch them well (covered). Opami Protect, Your patterns still fit internal IDs (you build or set it up). Names and free text: Your own build, A model, and the model needs upkeep (you build or set it up). Opami Protect, A trained model (covered). Each new language: Your own build, A model and recognizers for each (you build or set it up). Opami Protect, 52 languages, no setup (covered). Upkeep: Your own build, Yours to tune and keep current (you build or set it up). Opami Protect, In our cloud, nothing to tune or patch (covered).

Then a text arrives with a diagnosis, a street and the name of a client's lawyer in plain sentences, and no pattern notices.

Building it yourself is a fair route, and some teams should take it. Here is where the line sits.

This page compares building your own detector, with patterns or an open-source library, with using Opami Protect: where the line sits, when building is the right call and what changes with Opami Protect.

What changes with Opami Protect

  • Names and free text. Patterns catch formats. A name or an address inside a sentence needs a model, and the model needs maintenance.
  • Languages. Each language you add needs its own model and recognizers. Opami Protect handles 52.
  • Who is who. A home-made loop has to keep one person on one placeholder, and put each detail back in the right place. Opami Protect gives each person a badge such as [PERSON_1] inside a request.
  • Upkeep. In our cloud, Opami Protect has no recognizers to tune, no servers to patch and no list to keep current. A detector that no one updates misses new formats without raising an error.
  • Speed. About 14 ms per 1,000 characters.
  • Realistic fake data. Opami Protect can put realistic fake data in place of the private details, in 7 languages.
You write

Client Nora HaasPerson 1Full nameNora Haas pays by card 4417 1234 5678 9010Finance 1Card number4417 1234 5678 9010. Her diagnosis is type 2 diabetesHealth 1Conditiontype 2 diabetes, and her lawyer is Tom ReedPerson 2Full nameTom Reed.

The AI reads, with Opami Protect

Client Nora HaasPerson 1Full nameNora Haas pays by card 4417 1234 5678 9010Finance 1Card number4417 1234 5678 9010. Her diagnosis is type 2 diabetesHealth 1Conditiontype 2 diabetes, and her lawyer is Tom ReedPerson 2Full nameTom Reed.

You get back

Ask Tom ReedPerson 2Full nameTom Reed to call Nora HaasPerson 1Full nameNora Haas. Her card 4417 1234 5678 9010Finance 1Card number4417 1234 5678 9010 is on file, and the type 2 diabetesHealth 1Conditiontype 2 diabetes claim is open.

A made-up example. Opami Protect does not catch everything, and we say how much it misses.

The do-it-yourself route, in plain terms

Many teams start with regular expressions for fixed formats (card numbers, tax numbers, emails) and add an open-source detector such as Presidio or a small model for names and addresses. Then they write code to swap each item for a placeholder and put it back after the AI answers. It works, and you own all of it. Cloud tools also take custom patterns, for example Bedrock Guardrails regular expressions, which are free to use, and Google's custom detectors.

Read the public facts for yourself

PointOpami ProtectYour own build
What it isA model and API for private and sensitive data in textPatterns plus an open-source detector plus your own code
Languages52 languagesPresidio ships English by default. Each other language needs a model and recognizersmicrosoft.github.iochecked 13 Nov 2026
SpeedAbout 14 ms per 1,000 charactersDepends on your code and your servers
Where it runsOpami's EU cloud, or your own serversWherever you deploy it
Puts the real details backThe application puts the real details back. Inside one request, one person keeps one badge, such as [PERSON_1]Your code
Text and detections keptNo text and no detections keptYou decide
Price€2.00 down to €0.20 per million characters, by monthly volumeNo licence fee for Presidio (MIT). Servers and engineering time are yoursgithub.comchecked 13 Nov 2026
Getting startedRegister at console.opami.ai, no sales callInstall, configure, write the loop
Fake-data replacementYes, in 7 languagesYour code

Our facts come from Opami. Theirs come from the pages named in the table.

Let your own text settle it

The full method →

  1. 1

    Pull 200 to 500 real texts from your own work. Remove nothing yet.

  2. 2

    Mark each private or sensitive item by hand, with its type. Two people mark, and you settle the differences.

  3. 3

    Run Opami Protect and your own build on the same texts.

  4. 4

    Count what each tool misses, and what it hides by mistake.

  5. 5

    Send the hidden texts to your AI and compare the answers with the answers on the original texts.

  6. 6

    Check where the text goes while each tool runs.

When building it yourself is the right call

Questions

Is regex enough to hide personal data before AI?
Regex alone is not enough for text that holds names, addresses or anything written in free text. Patterns catch fixed formats well, and they miss formats you did not think of. Measure on a labelled sample to see the gap.
How much does it cost to build and maintain my own?
Building your own costs the engineers who tune it, add languages, fix the restore step and keep it current. The software itself can be free. Count that time against the price of a service at your volume.
Can I combine my own patterns with Opami Protect?
Yes, you can combine your own patterns with Opami Protect. Run your own patterns for internal identifiers before or after Opami Protect. Nothing stops you.

More comparisons

Try it on your own data

Opami Protect is in private beta. Register at the console, run a sample of your own text, and see what it hides. No sales call.

One vision, four products

Hides the private and sensitive data in a text before the AI reads it. For the people who build with AI.

Opami Protect

Work with the best AI models, with nothing private reaching them.

Opami Chat

The confidential and proactive AI assistant. It connects to your apps and inboxes, knows you and how you work, reminds you and prepares the work for your approval.

Opami Bot

Your personal or company AI memory system without a single private or sensitive detail.

Opami Brain