Every time an application calls an LLM API, it sends text to a model provider. When that text comes from support tickets or claim files, it carries names and account numbers along with it, and those identifiers land on infrastructure your team doesn't run.
Enigma Vault built NoPII for exactly that moment. NoPII is a PII-tokenizing reverse proxy for LLM APIs: your application sends its model requests through NoPII, which replaces recognized personal data with tokens before the request reaches a provider such as OpenAI or Anthropic. When the answer comes back, NoPII swaps the tokens for the original values. Your application works with real data, while the provider handles tokens in place of every value NoPII recognizes.
This article walks through each part of that definition. It follows a real request through NoPII, lists the identifiers it detects, explains how one proxy covers every major provider and shows where it matters most by industry. It also covers what NoPII leaves to other controls.
What Is NoPII and What Does a PII-Tokenizing Reverse Proxy Do
NoPII is an application-level reverse proxy built by Enigma Vault. It sits between your app and your LLM provider, swaps recognized personal data for vault tokens before each request leaves, then puts the original values back in the response.
Reverse Proxy
A reverse proxy is a server that stands in front of another service and receives requests on its behalf. Your application talks to the proxy as if it were the destination, and the proxy forwards each request onward.
For NoPII, the destination is your model provider. You point your LLM client's base URL at the NoPII endpoint, and nothing else about your code has to change:
| Request stage | Calling the provider directly | Calling through NoPII |
|---|---|---|
| Where your app sends the request | The provider's API | The NoPII endpoint |
| What the provider receives | Your text with every identifier intact | Your text with recognized PII replaced by tokens |
| What your app gets back | The provider's raw answer | The same answer with real values restored |
PII Tokenizing
Tokenizing means replacing a sensitive value with a stand-in that means nothing to anyone without access to the vault. In NoPII, the process has four parts:
- Detection: NoPII inspects the request text and finds the entity types you have configured.
- Replacement: each value becomes a token such as [NAME: Ry0Ixd1], which keeps the type label and drops the content.
- Storage: the original value is held in Enigma Data Vault, linked to its token inside your account.
- Restoration: tokens in the model's answer are matched back to their values on the return trip.
Tokens are deterministic, which means the same name always maps to the same token. That consistency is what separates tokenization from blanking values out, because the model can still follow one person through a long conversation.
For LLM APIs
NoPII protects the calls your applications make to model endpoints. It covers chat and function-calling requests across nine providers, along with embeddings and streamed responses.
Its scope is the route you integrate. A customer support app pointed at the NoPII endpoint is covered. Someone typing into a chatbot website in their browser is not, because that traffic never touches your application.
Why LLM API Calls Need a Privacy Layer Between Your App and the Provider
Every LLM API call hands your text to a provider whose logging and retention you don't control. Personal data can enter that request from several places, so a layer at the API boundary catches it before it leaves your environment.
An LLM feature is rarely one database and one model. It is a chain: the interface, the application server, retrieval from a vector store, the model API, tool calls, tracing and wherever the output gets saved. Personal data can slip in at almost any link:
| Risk | How it happens |
|---|---|
| Unnecessary disclosure | An agent copies a whole customer profile into a chat to ask about one order |
| Provider exposure | The model API receives names, SSNs, emails or account numbers |
| Logging and observability | Request and response bodies end up in traces or error logs |
| Retrieval overreach | The application pulls an entire customer profile into the context |
| Tool-call leakage | The model passes sensitive arguments into a connector or third-party tool |
| Output reproduction | Personal data reappears in summaries and tickets that flow into other systems |
All of these routes meet at one point, the moment the request leaves for the provider. A proxy at that boundary inspects whatever the request picked up along the way. You can't control every source of personal data in a growing AI feature, so controlling the boundary is the practical approach behind PII protection for LLM applications.
How NoPII Works on Every LLM API Call From Request to Restored Response
NoPII detects personal data in each request, tokenizes it through Enigma Data Vault, rewrites revealing labels, forwards the request, then restores real values in the reply. A failed tokenization blocks the request and logs it.
Here is one billing request as it moves through NoPII.
- Application builds the request: a billing assistant asks the model to summarize a dispute.
Summarize the chargeback dispute from Maria Lopez, SSN 987-65-4321, contact maria.lopez@example.com
- Detection and tokenization: NoPII recognizes all three identifiers and swaps each one for a vault token.
- Label neutralization: the letters SSN would tell the model exactly what sat behind the token, so NoPII rewrites the label to ID number. The provider receives:
Summarize the chargeback dispute from [NAME: Wq5Ty7b], ID number [IDENTIFIER: Zp3Lk9], contact [EMAIL: Gm8Vr2c]
- Provider answers: the model writes its summary using the tokens. Because each token is stable, it can still tie the dispute and the ID number to one customer and one contact address.
- Values restored: on the way back, each token is replaced with the original value. Your billing team reads Maria Lopez's real name in the summary and never sees a token.
- Failures stay closed: had detection or tokenization failed at step 2, NoPII would have blocked the request and logged the decision, so no raw customer data would have left for the provider.
A real LLM API call carries more than one message, and NoPII inspects every part that travels to the provider:
| Part of the call | What NoPII does with it |
|---|---|
| User and assistant messages | Scans each message, including earlier turns your app resends as history |
| System prompt field | Scans account context your app loads in before the conversation starts |
| Tool call arguments | Tokenizes customer details the model passes when it calls a function |
| Tool results | Tokenizes the records your systems return before they go back to the model |
| Streamed responses | Restores real values chunk by chunk as server-sent events arrive, and waits for each streamed tool call to finish before releasing its arguments |
| Embedding requests | Tokenizes each text before the embedding model sees it, and returns the vectors unchanged |
Which Identifiers NoPII Detects and Tokenizes in LLM API Requests
NoPII detects 11 identifier types by default, including names, emails, phone numbers and payment cards. You can switch on more than 25 regional IDs, and 14 families of secrets such as API keys are covered from the start.
Identifiers Detected by Default
These types are detected in every workspace without any setup. The right-hand column shows where each one tends to turn up in LLM traffic:
| Identifier | Where it often appears in LLM requests |
|---|---|
| Person names | Support tickets and case notes |
| Email addresses | Contact details pasted into chats and CRM exports |
| Phone numbers | Call transcripts and callback requests |
| Street addresses | Delivery questions and change-of-address requests |
| Credit and debit cards | Billing disputes and refund conversations |
| IBAN | Payment instructions and supplier records |
| IP addresses | Error logs and login troubleshooting |
| URLs | Links that carry account or session references |
| Dates | Birth dates and appointment records |
| Crypto wallet addresses | Payout and transfer requests |
| API keys and connection strings | Developer tickets and pasted configuration |
Regional Identifiers You Switch On
Beyond the defaults, each workspace can turn on more than 25 identifiers tied to particular countries. US coverage takes in SSNs and US passport numbers, plus driver's licenses, bank accounts, tax IDs and Medicare Beneficiary Identifiers. India adds Aadhaar and PAN, the United Kingdom adds National Insurance and NHS numbers, and further types cover Spain, Italy, Poland, Finland, Australia and Singapore, several of them in beta.
A few regional numbers need a label like TFN or NRIC in front of them before NoPII treats them as identifiers, because bare digits pass check-digit rules too often. Phone numbers without a country code are recognized for eight countries, the United States and India among them. Pattern-based types work across most languages, and name and place detection covers English, with Hindi in Devanagari script in beta.
Secrets That Slip Into Customer Text
Customer text often carries credentials nobody meant to share. New accounts get detection for 14 families of secrets from day one, and they fall into a few groups:
- Cloud credentials: access keys a customer copies from a console while asking for help.
- Model provider keys: LLM API keys that show up in developer tickets.
- Platform tokens: payment and code-hosting tokens pasted into troubleshooting threads.
- Database strings: connection strings shared while debugging an integration.
- Private keys and auth tokens: values that end up in logs attached to a support case.
Each detected secret is replaced with a vault token and restored in the response, and every detection is logged.
Labels That Give Away a Value
A token can still leak meaning through the words next to it. NoPII rewrites those labels into neutral ones before the request leaves:
| Label in your text | What the model sees |
|---|---|
| Social security number | ID number |
| Credit card number | Account number |
| Date of birth | Date |
| Passport number | Document number |
This step also matters for answer quality, because labels left beside tokens can make a model refuse the request. The list of personal data types a business handles is usually longer than any detector's defaults, so check your own records against these categories and switch on the regional types your customers need.
How One NoPII Proxy Works Across Every LLM Provider and Framework
One NoPII endpoint serves nine LLM providers, among them OpenAI, Anthropic, Gemini and Groq. The same tokenization and audit trail apply whichever model you call, so switching or adding providers doesn't mean rebuilding your privacy controls.
Few production teams use a single model forever. One model may sort incoming tickets while another writes customer-facing replies, and a new provider can arrive with next year's contract. NoPII supports Anthropic, OpenAI, Google Gemini, Mistral, xAI, DeepSeek, Groq, Fireworks and Together behind one endpoint.
Coverage also extends across the API formats those providers use:
| API format | NoPII support |
|---|---|
| OpenAI Chat Completions | Messages and tool calls tokenized and restored, system prompt included |
| OpenAI Responses API | Served alongside Chat Completions |
| Anthropic Messages | Tool use and tool results sanitized inside the endpoint |
| Embeddings | Available on OpenAI, Mistral, Together, Fireworks and Gemini |
| Streaming | Server-sent event responses restored in flight |
A few design choices keep the multi-provider setup simple:
Provider keys: NoPII doesn't issue a key of its own or ask for a custom header. Each provider key is added once in the console, and NoPII recognizes your account from the key on each request without ever storing it.
One audit log: requests to every provider land in one shared audit trail, which gives a privacy reviewer a single place to check.
Frameworks: LangChain and LangGraph work with NoPII, as do the Vercel AI SDK, LiteLLM and LlamaIndex, because each lets you set a custom base URL.
Separate tenants: workspaces give every tenant separate provider keys and detection settings, plus a separate audit log, which suits platforms serving several clients.
How a PII-Tokenizing Reverse Proxy Compares With Other Ways to Protect LLM Data
A PII library or masking gateway removes data you can't get back, whereas a tokenizing reverse proxy swaps it for reversible tokens at one boundary. Provider retention terms and endpoint DLP protect different things and work alongside a proxy.
Teams usually weigh NoPII against a handful of other approaches. Each protects something real, and each has a gap:
| Approach | What it protects | Where it falls short for LLM traffic |
|---|---|---|
| PII detection library in your code | Text that passes through the code paths where you added it | Each new feature or provider needs its own integration and upkeep |
| Provider data retention terms | How long the provider keeps what it receives | The provider still receives the real identifiers |
| Endpoint DLP | What employees paste into consumer chatbots and websites | Application API traffic sits outside its view |
| Masking or redaction gateway | Identifiers removed before the request leaves | Removed values can't be restored, and separate people collapse into one placeholder |
| NoPII tokenizing reverse proxy | Recognized PII in every request routed through it, with values restored in the reply | Only covers routed text traffic, and depends on detection coverage |
Two of these pair naturally with NoPII. Endpoint DLP covers employee use of consumer chatbots, which NoPII never sees. Provider terms still matter, because they govern whatever reaches the provider, including any identifier detection misses.
For application traffic, the real decision sits between removing data and tokenizing it. Teams weighing data redaction for AI against tokenization are deciding whether the model, and later your users, need to keep track of who is who.
What NoPII Testing Revealed About Tokenized Requests and LLM Output Quality
Enigma's tests on three major models found tokenized requests gave answers close to the raw-data baseline, while masked placeholders left models unable to tell people apart. Labels beside tokens caused refusals, now neutralized.
A privacy layer is only useful if the model's answers survive it. Enigma ran 109 test prompts to measure that, and the setup looked like this:
- Models: GPT-4o, Claude 3.5 Sonnet and Gemini 1.5 Pro
- Task types: HR summaries, financial transactions, medical records, customer support transcripts and legal document review
- Versions of each prompt: one with raw PII, one with generic masked placeholders such as [PERSON], and one with deterministic tokens
- Scoring: factual accuracy, consistency in tracking each person, reasoning coherence and practical usability
Masking did worst once a prompt involved more than one person. Two different customers both became [PERSON], so the model could no longer say who did what, and the damage grew as prompts got more complex. Single-person prompts held up under either method.
Tokenized prompts stayed close to the raw baseline. Each person kept a distinct token, so the model's reasoning about relationships and responsibilities carried through. Tokenization had one failure of its own. When a label such as SSN or passport number sat next to a token, models sometimes refused to continue. That finding is why NoPII rewrites those labels before forwarding the request.
Enigma ran these tests on its own engine and published the results, so treat them as a reference point and repeat the comparison with your own data. They also show why simple PII masking for LLMs tends to hold up on short prompts and break on long multi-person ones.
Where NoPII Becomes Critical Across Industries That Send Customer Data to LLMs
NoPII matters most where apps send identifiable customer text to LLM APIs at volume, such as healthcare administration, financial services, insurance, legal technology, contact centers and recruiting, all sectors with strict data rules.
The common thread is an application your company controls that calls a model with customer records in the request. Every sector below adds its own regulations on top of the technical fit, so check the requirements for your industry alongside the use cases.
Healthcare and Health Administration
Scheduling assistants and patient messaging apps routinely send patient names and insurance numbers to models. NoPII can tokenize those recognized identifiers at the model boundary while the application keeps working normally. Typical places it fits:
- Drafting appointment reminders and follow-up messages
- Summarizing intake notes for administrative staff
- Answering billing and insurance questions in a patient portal
Two cautions apply. Removing a patient's name does not remove the medical meaning in a note, and NoPII is not a complete HIPAA control set. Contracts and a BAA where required stay with the organization, along with clinical safety review.
Financial Services and Fintech
Banks and payment apps hold some of the most sensitive identifiers a customer has. Account numbers, identity documents, income details and credit information all appear in the text that LLM features handle:
| Use case | Identifiers in the request |
|---|---|
| Dispute and chargeback summaries | Card numbers and transaction references |
| Loan application assistants | Income details and tax IDs |
| Account servicing chat | Account numbers and home addresses |
| Payment operations support | IBANs and supplier contacts |
Tokens keep those values off the provider's servers while each customer stays distinct across a long thread, which matters when a model is reasoning about who paid whom.
Insurance Claims and Member Services
Claims teams copy the same member identifier across many systems, and claim files often blend contact details with health or property history. An LLM that summarizes a claim or drafts a member reply only needs to know which member is involved. The policy number itself adds nothing to the summary.
NoPII can protect the member identifier in each model call and restore it inside the claims system. It detects recognized PII, though, and may not remove the sensitive medical meaning in a claim narrative. Insurers should also plan how tokens are used across systems so they don't turn into a new universal identifier.
Legal Technology
Drafting and document review tools send client names and matter details to models every day. NoPII reduces the direct identifiers in those calls:
- Client and counterparty names in contracts under review
- Contact and bank details in correspondence drafts
- Identity details in intake summaries for new matters
Tokenizing names does not protect privilege on its own, and the confidential facts of a matter can still reach the model. Firms need to assess that confidential context separately.
Contact Centers and Customer Support
Support platforms send raw tickets and call transcripts to models for summaries and agent assist. Ticket summarization shows the pattern clearly:
- Raw ticket arrives with the customer's name and account references.
- NoPII tokenizes those values before the summarization request reaches the model.
- Model returns a summary built on tokens.
- Support agent sees the normal summary with real details restored.
Voice transcripts deserve their own testing, because spoken numbers and names often come through in formats that differ from typed text.
HR and Recruiting
Screening and communication tools send candidate names and employment histories to models. Recruiters want the model to compare candidates and draft outreach, which works well with tokens, since each candidate keeps a distinct identity in the request. Test the job-specific formats your applications handle, such as license numbers or national IDs from different countries, and switch on the regional types those formats need.
What NoPII Does Not Cover and Which Other Controls Fill Each Gap
NoPII protects text your applications route through it. Consumer chatbot use, images, audio, unrouted providers and undetected values sit outside it, so each gap needs a matching control such as endpoint DLP or data minimization.
Enigma positions NoPII as a strong control at the model boundary, and it is clear that NoPII is not an organization-wide filter. Here is how the gaps line up with the controls that close them:
| Gap | Why NoPII doesn't see it | Control that fills it |
|---|---|---|
| Employees pasting data into consumer chatbots | The browser talks to the chatbot directly | Endpoint DLP plus an approved AI tool policy |
| A second or third provider called directly | Only routed calls pass through the proxy | Routing every provider through the proxy, with network rules that block direct calls |
| PII inside images or audio files | Detection works on text | Converting content to text first, or keeping those files away from the model |
| Identifiers the detector misses | Detection coverage is not perfect | Sending only the fields a task needs, plus regular testing on real records |
| Regulatory obligations | Tokenization supports compliance work without completing it | Provider review, contracts, retention settings and a BAA where required |
Some tasks also lose value when the model sees tokens, because the job depends on the literal value:
- Sorting or calculating on an identifier: ordering SSNs numerically needs the real digits.
- Matching similar spellings of a name: J. Smith and John Smith become different tokens, so match and deduplicate names in your own systems first.
- Work with no personal data at all: code or math tasks gain nothing from the proxy and add a step to the request.
When your application uses AI agents: an agent does more than call a model. It retrieves records and can hold card data or files. It also takes actions such as sending messages or making payments. NoPII covers the model call inside that chain. For the rest, Enigma AI Vault extends the same approach to agents by scoping what each agent can access and governing when protected data is released. It also checks outputs before they become decisions.
How to Start Protecting Your LLM API Calls With Enigma NoPII
It doesn't matter which LLM provider or framework your team builds on. NoPII works at the API boundary, and Enigma Vault is the underlying infrastructure behind every token it issues. The same protection follows your requests whether they go to OpenAI, Anthropic, Gemini, xAI, DeepSeek, Mistral, Groq, Together or Fireworks.
Getting from sign-up to protected traffic follows a short path:
- Create an account at app.nopii.co, with no credit card needed.
- Add the provider key you already use in the console. NoPII needs no API key of its own.
- Set base_url="https://api.nopii.co" on your LLM client. For most teams, that is the only code change.
- Paste sample customer text into the live chat playground to see what the model receives beside the reply your users get.
- Switch on the regional identifier types your customers need.
- Watch the dashboard and audit log as real traffic flows, checking detections by entity type and provider.
Teams that need the proxy and vault inside their own environment can run NoPII self-hosted under an Enterprise license, with the same detection and fail-closed behavior as the managed service. Either way, NoPII runs on Enigma Vault infrastructure that holds PCI DSS Level 1 and SOC 2 Type II, with AES-256 keys held per customer, and a BAA is available for healthcare teams.
One million protected tokens a month are free, and the NoPII pricing page sets out what each plan adds. Create a free account to get started with NoPII, or try the live demo to see exactly what your provider would receive.