raipii detects and removes PHI before it reaches any language model. Replace real patient data with realistic synthetic values — then restore original values after the model responds.
Plus contextual entities in free-form clinical notes
Send the clinical note or patient query to raipii. PHI is replaced with synthetic equivalents. Your LLM never sees real patient data.
The model receives realistic synthetic data and produces a natural response. Clinical context is preserved — only the identifiers are changed.
Pass the model response to raipii's restore endpoint. Real patient values are swapped back in before the result reaches your application.
When enabled, all detection runs entirely within your region. No data is sent to external services. Available on Business tier.
We provide a Business Associate Agreement for covered entities and business associates. Contact us to execute a BAA.
Remove specific patient identifiers from all active sessions surgically, or erase all account data with a single API call.
Every API call produces an immutable audit record — entity types, counts, timestamps. No PHI values stored, ever.
Free tier includes 2M characters/month. No credit card required.