🚀 Use for Free · No credit card required · Start optimizing your LLM costs now
ADVANCED PROTECTION

PII/PHI
Protection

Automatically detect and mask sensitive data before it reaches LLMs—built directly into the gateway.

Sensitive Data Leaks Are Expensive

When users paste sensitive data into AI-powered apps, it goes straight to third-party LLMs

$4.45M

Average data breach cost

IBM Cost of a Data Breach Report 2023

$1.5M+

Data breach penalties

Per incident for major violations

277 days

Average breach detection

Time to identify and contain a breach

Real-Time Detection & Masking

Sensitive data is detected and masked in <5ms before reaching any LLM provider

User input (original)

"Process refund for patient John Smith, SSN: 123-45-6789, email john@email.com, card 4532-1234-5678-9010"

SSN DetectedCC DetectedEmail Detected
Masking in <5ms

Sent to LLM (masked)

"Process refund for patient [NAME], SSN: [SSN], email [EMAIL], card [CREDIT_CARD]"

Safe to send to LLM — no sensitive data exposed

Comprehensive Detection

Pre-built patterns for common PII/PHI types, plus custom patterns for enterprise

Social Security Numbers

***-**-****

Credit Card Numbers

****-****-****-****

Medical Record Numbers

[MRN]

Email Addresses

[EMAIL]

Phone Numbers

[PHONE]

Custom Patterns

Enterprise only

Built for Regulated Industries

🏥

Healthcare

PHI detection and masking. Protect patient data in AI-powered medical apps.

💳

Finance

Credit card masking. Secure financial AI assistants.

⚖️

Legal

Client confidentiality protection. Safe AI for legal document analysis.

🏛️

Government

Sensitive data protection. Secure AI for government applications.

Why Costbase Guardrails?

Real-Time Protection

Detection and masking happens inline, in under 5ms. No batch processing delays.

Zero Code Changes

Enable guardrails in your dashboard. Protection applies to all requests automatically.

Audit Trail

Full logging of detected PII/PHI for audits. Know what was protected and when.

Zero Additional Tooling

PII/PHI protection built directly into the gateway. No external services or complex setup required.

Available on Team+ Plans

PII/PHI Guardrails are included on Team ($299/mo) and Enterprise plans.

  • All standard PII patterns
  • PHI detection
  • Credit card masking
  • Custom patterns (Enterprise)
  • Audit logging
See Pricing

Protect Sensitive Data Today

Enable PII/PHI guardrails in minutes. Protection made simple.

Frequently Asked Questions