The LLM never sees PHI. But your users see the original names, dates, and identifiers in responses. Drop-in SDK with automatic token management.
from redact_proxy import OpenAI # Enable re-identification client = OpenAI(reidentify=True) # Your code stays exactly the same response = client.chat.completions.create( model="gpt-4", messages=[{"role": "user", "content": "Summarize the condition of John Smith, DOB 01/15/1980"}] ) # OpenAI sees: "Summarize the condition of [NAME_a1b2], DOB [DATE_c3d4]" # Response comes back with tokens: "[NAME_a1b2] has diabetes..." # You get: "John Smith has diabetes..." (automatically re-identified!)
PHI is tokenized, processed, and restored automatically.
Token mappings are encrypted and stored securely. The LLM never sees real PHI.
Tokens in LLM responses are automatically replaced with original PHI. No manual mapping.
Token mappings are AES-256 encrypted. Configurable retention periods. Audit logging included.
Tokens stay consistent across conversation turns. "The patient" always maps to the same person.
Add multiple clinical notes, labs, reports. Same patient = same tokens across all documents.
Works with OpenAI, Anthropic, and Gemini. Change one line of code to enable.
Full audit trail of de-identification and re-identification operations for compliance.
| Feature | DE-ID SDK (Free) | RE-ID SDK ($99/mo) |
|---|---|---|
| PHI Detection | ✓ 18+ types | ✓ 18+ types |
| De-Identification | ✓ Local processing | ✓ Local processing |
| Re-Identification | — | ✓ Automatic restore |
| Token Storage | — (tokens discarded) | ✓ Encrypted local storage |
| Multi-Turn Context | — | ✓ Consistent across turns |
| Runs Locally | ✓ 100% local | ✓ 100% local (API key validation only) |
| Usage Limits | Unlimited | Unlimited |
| Price | Free forever | $99/mo |
Need cloud-based de-identification or HIPAA Chat? See full platform pricing starting at $29/mo.
One plan. Unlimited RE-ID calls. No surprises.
De-identification only. No re-identification.
Full-cycle: de-identify + re-identify.
Need Cloud Workspace, HIPAA Chat, or BAA?
Explore the full Redact platform →Get unlimited RE-ID calls for $99/month. Your LLM never sees PHI.