On-Premises LLM Deployment for HIPAA & GDPR Compliance
OCR collected $12.84M in HIPAA penalties in 2025 alone. This complete guide shows CTOs, architects, and compliance officers exactly how to deploy LLMs on-premises and satisfy both HIPAA and GDPR - from model selection to air-gapped setups and ROI.
Shubham Yadav
Machine Learning Researcher
On this page
- TL;DR
- Why On-Premises LLM Deployment Is Now a Compliance Imperative
- What Is On-Premises LLM Deployment? (And How It Differs from Cloud)
- HIPAA Compliance Requirements for On-Premises LLM Systems
- GDPR Compliance Requirements for On-Premises LLM Systems
- Which Open-Source LLMs Are Best for Regulated Industries?
- How to Deploy an On-Premises LLM: A Step-by-Step Framework
- Air-Gapped Deployment - When You Need Maximum Isolation
- Common Mistakes That Create Compliance Gaps
- The Business Case: On-Premises LLM ROI for Regulated Organizations
- Frequently Asked Questions
- Useful Sources
OCR collected $12.84 million in HIPAA penalties in 2025 alone - a record 22 investigations in a single year. Meanwhile, LinkedIn was fined €310M for AI behavioral profiling, and OpenAI was hit with €15M by Italian regulators for transparency failures. Every one of those cases had a common thread: data left a controlled perimeter and ended up somewhere it shouldn't have.
If you're running AI in healthcare, finance, or legal SaaS, that's not an abstract risk. It's a line item on your legal team's radar right now.
On-premises LLM deployment for HIPAA and GDPR compliance is the architecture that eliminates that exposure. This guide tells you exactly how to build it.
TL;DR
- Cloud LLMs are a compliance liability for regulated industries. Prompts containing PHI or personal data that hit a third-party API can trigger HIPAA violations and GDPR fines.
- On-premises deployment keeps all inference, logs, and data inside your perimeter - eliminating the need for a BAA with a model provider.
- Top models for regulated use: Llama 3.3, Mistral Small 3, Qwen 3.
- Best serving stack for production: vLLM (3.23x throughput vs Ollama; 35x higher RPS at peak load).
- INT4 quantization shrinks a 140GB FP16 70B model to 35GB - making on-prem viable on an RTX 4090 setup (~$2,000).
- ROI break-even: 3–6 months for a typical hardware setup.
- HIPAA Tier 4 fine: up to $2.19M per violation. A single breach in healthcare costs an average of $9.77M (IBM, 2024).
Why On-Premises LLM Deployment Is Now a Compliance Imperative
The short answer: every time a regulated prompt hits a cloud API, you're potentially creating a reportable incident.
That's not hyperbole. Here's what the enforcement data actually looks like.
The Regulatory Risk of Cloud LLMs
When you call OpenAI's API with a patient note, a financial record, or a legal document, that data leaves your network. It transits over the internet, gets processed on third-party infrastructure, and may be retained for model improvement. Even with a BAA in place, you're relying on a vendor's security posture - not your own.
The risk is real and growing:
- 22 OCR HIPAA investigations in 2025 - a record high, up from 18 in 2024.
- $12.84M in HIPAA civil penalties collected in 2025, with the average settlement at ~$611,000.
- Solara Medical Supplies fined $3M in 2024 for risk analysis failures and impermissible PHI disclosure.
- Warby Parker fined $1.5M in 2025 for a cybersecurity hacking incident involving ePHI.
The pattern is clear: OCR is accelerating enforcement, and AI systems are squarely in scope.
HIPAA: What PHI Means for AI Systems
Protected Health Information (PHI) is any data that can identify a patient and relates to their health, treatment, or payment. In an LLM context, that includes:
- Patient names, dates of birth, or addresses in a prompt
- Clinical notes passed as context to a model
- Outputs that reference specific patient conditions
- Training data derived from medical records
If your LLM touches any of this, it's a HIPAA-covered system. Full stop.
GDPR: Article 25 Data Protection by Design
GDPR Article 25 requires that privacy protections be built into your systems from the start - not bolted on afterward. For AI, that means your architecture itself must enforce data minimization, access controls, and purpose limitation.
The fines for getting this wrong are severe:
- LinkedIn: €310M (October 2024) - AI-driven behavioral profiling without transparent consent.
- Clearview AI: €30.5M (September 2024) - illegal biometric data collection via facial recognition AI.
- OpenAI: €15M (December 2024) - lack of transparency and inadequate access controls in ChatGPT.
Notice what these cases have in common: personal data was processed by AI systems without adequate controls or consent. On-premises deployment, by design, prevents your data from reaching any of those external systems.
What Is On-Premises LLM Deployment? (And How It Differs from Cloud)
On-premises LLM deployment means running the model inference entirely on hardware you control - inside your own data center or private network - with zero data leaving your perimeter.
No API calls to OpenAI. No prompts transiting AWS. No third-party model provider ever sees your data.
On-Prem vs. Cloud vs. Hybrid - Comparison Table
| Factor | On-Premises | Cloud LLM API | Hybrid (Private Cloud) |
|---|---|---|---|
| Data leaves perimeter | Never | Always | Depends on config |
| HIPAA BAA required | No (for model) | Yes | Yes (cloud provider) |
| GDPR data residency | Full control | Depends on region | Configurable |
| Latency | 100–300ms | 500–1,000ms | 200–600ms |
| Setup complexity | High | Low | Medium |
| Cost model | Fixed (hardware) | Variable (per-token) | Mixed |
| Audit log ownership | You own it | Vendor-managed | Shared |
| Air-gapped possible | Yes | No | No |
When On-Prem Is the Right Call
Use this checklist. If you check three or more boxes, on-premises is almost certainly your path:
- You process PHI, PII, or financial records in AI prompts
- You operate under HIPAA, GDPR, SOC 2, or FINRA
- You need data residency in a specific country or region
- You process 100,000+ tokens per day
- Your legal team has flagged cloud AI as a risk
- You need a full audit trail you own and control
- You serve EU customers with personal data in your product
HIPAA Compliance Requirements for On-Premises LLM Systems
HIPAA compliance for an LLM system comes down to four technical safeguards, documented policies, and a clear understanding of what counts as PHI in an AI context.
What Counts as PHI in an LLM Context?
This is where most teams get caught off guard. PHI in an AI system includes:
- Prompts containing patient names, dates, diagnoses, or treatment details
- Model outputs that reference identifiable patient information
- RAG context - documents retrieved and passed to the model as context
- Training data derived from patient records (even de-identified data can re-identify under certain conditions)
- Audit logs that capture prompt content
If any of these exist in your system, HIPAA applies.
The 4 Technical Safeguards You Must Implement
1. Encryption at Rest and in Transit
- All ePHI must be encrypted at rest using AES-256.
- All data in transit must use TLS 1.3 (TLS 1.2 is the minimum; disable SSL, TLS 1.0, and 1.1 explicitly).
- Encryption keys must be stored separately from the data they protect.
- Key rotation every 6–12 months is required.
2. Access Controls and Role-Based Permissions
- Unique user identification - no shared service accounts for PHI access.
- Multi-factor authentication (MFA) for all users and systems touching ePHI.
- Role-based access control (RBAC) aligned to the minimum necessary standard.
- Session timeouts for inactive connections.
3. Audit Logging and Monitoring
- Every LLM interaction involving PHI must generate a structured log entry.
- Log fields must include: timestamp, user identity, action performed, data accessed.
- Logs must be retained for a minimum of 6 years.
- Logs must be tamper-evident - use WORM (Write Once Read Many) storage.
- Real-time alerting for failed authentication attempts and unauthorized access.
4. Business Associate Agreements (BAAs)
Here's the key advantage of on-premises: when the model runs on your hardware, there's no third-party model provider to sign a BAA with. You eliminate an entire category of compliance risk.
If you use a cloud provider for infrastructure (AWS, Azure, GCP), you still need a BAA with them. But you don't need one for the model itself - because the model is yours.
HIPAA Penalty Tiers (2026 Inflation-Adjusted Figures)
| Tier | Description | Min per Violation | Max per Violation | Annual Cap |
|---|---|---|---|---|
| Tier 1 | Did not know | $145 | $73,011 | $2,190,294 |
| Tier 2 | Reasonable cause | $1,461 | $73,011 | $2,190,294 |
| Tier 3 | Willful neglect, corrected | $14,602 | $73,011 | $2,190,294 |
| Tier 4 | Willful neglect, not corrected | $73,011 | $2,190,294 | $2,190,294 |
These are per-violation figures, not per-incident. Multiple violations compound. A single data breach can trigger Tier 4 penalties across multiple violation categories simultaneously.
GDPR Compliance Requirements for On-Premises LLM Systems
GDPR compliance for AI systems isn't just about where data is stored - it's about how your architecture handles personal data by design.
Article 25: Data Protection by Design and by Default
GDPR Article 25 requires that privacy protections be embedded into your system's architecture from day one. For an LLM deployment, this means:
- Data minimization in prompts: Only include personal data that's strictly necessary for the task. Don't pass a full patient record when a structured summary suffices.
- Purpose limitation: The model should only process data for the documented purpose it was deployed for.
- Pseudonymization: Where possible, replace identifiers with tokens before they reach the model. Reconstruct them only within your controlled environment.
- Default privacy: The system's default state should be the most privacy-protective configuration - not the most permissive.
On-premises deployment satisfies Article 25 structurally. Data never crosses a jurisdictional boundary. Processing stays within your perimeter. You control retention.
Article 32: Security of Processing
Article 32 requires "appropriate technical and organisational measures" to ensure a level of security appropriate to the risk. For an LLM system, that means:
- Encryption at rest and in transit (same standards as HIPAA: AES-256, TLS 1.3)
- Regular testing and evaluation of security controls
- Ability to restore access to personal data after a technical incident
- Documented risk assessments
Data Minimization in LLM Prompts
This is one of the most overlooked GDPR requirements in AI systems. Every prompt is a data processing event. If you're passing more personal data than necessary, you're likely violating Article 5(1)(c).
Practical controls:
- Implement a prompt sanitization layer that strips unnecessary PII before inference
- Use structured data schemas instead of free-text records where possible
- Document what personal data categories each AI workflow processes
Right to Erasure - What It Means When PHI Is in Training Data
This is the hardest GDPR problem in AI. If you've fine-tuned a model on personal data, and a data subject requests erasure under Article 17, you can't simply delete a record - the data may be embedded in the model weights.
Your options:
- Don't fine-tune on personal data. Use RAG (Retrieval-Augmented Generation) instead, where the personal data lives in a retrievable database you can delete from.
- Differential privacy during training - adds mathematical noise to prevent individual data points from being extracted.
- Model retraining - the nuclear option, but sometimes required.
The cleanest architecture: keep personal data in a vector database or document store outside the model, and delete it there when erasure is requested.
Key GDPR AI Fines: The 2024 Enforcement Wave
- LinkedIn: €310M - behavioral AI profiling without valid legal basis (October 2024)
- Clearview AI: €30.5M - biometric data scraped without consent for facial recognition AI (September 2024)
- OpenAI: €15M - transparency failures and inadequate age verification in ChatGPT (December 2024)
Regulators are no longer treating AI systems as a special category exempt from GDPR. They're applying the same standards - and the fines are getting larger.
Which Open-Source LLMs Are Best for Regulated Industries?
For regulated industries in 2026, the leading options are Llama 3.3, Mistral Small 3, and Qwen 3. All three are open-weight, commercially licensable, and deployable entirely on-premises.
Model Comparison Table
| Model | Size | INT4 VRAM | License | Best Use Case | Regulated Industry Fit |
|---|---|---|---|---|---|
| Llama 3.3 | 70B | ~35GB | Meta Community License | Complex reasoning, clinical analysis, legal QA | ★★★★★ |
| Mistral Small 3 | 24B | ~12GB | Apache 2.0 | General-purpose, fast inference, production | ★★★★★ |
| Qwen 3 | 72B | ~36GB | Apache 2.0 | Multilingual, long context, international ops | ★★★★☆ |
| Llama 3.2 | 3B | ~2GB | Meta Community License | Edge deployment, low-resource environments | ★★★☆☆ |
Our recommendation for most regulated SaaS teams: Start with Mistral Small 3 for its Apache 2.0 license (no commercial restrictions), 24GB VRAM footprint, and strong performance on instruction-following tasks. Move to Llama 3.3 70B when you need deeper reasoning.
Quantization Explained Simply
Quantization reduces the numerical precision of model weights, shrinking VRAM requirements dramatically.
- FP16 (full precision): A 70B model requires ~140GB VRAM. Requires multiple A100s.
- INT8: ~70GB VRAM. Still needs enterprise hardware.
- INT4: ~35GB VRAM. Runs on two RTX 4090s or a single A100.
The practical impact: INT4 quantization delivers a 4x VRAM reduction with minimal quality loss for most production tasks. For healthcare document summarization or legal contract analysis, INT4 (specifically Q4_K_M format) is the right default.
Hardware Requirements by Workload
| Workload | Model Recommendation | GPU | Approx. Cost |
|---|---|---|---|
| Light (summarization, classification) | Llama 3.2 3B or Mistral 7B INT4 | RTX 4070 Ti (12GB) | ~$800 |
| Medium (document analysis, Q&A) | Mistral Small 3 24B INT4 | RTX 4090 (24GB) | ~$1,600 |
| Heavy (complex reasoning, multi-turn) | Llama 3.3 70B INT4 | 2× RTX 4090 or A100 | $3,200–$10K+ |
| Enterprise (multi-user production) | Llama 3.3 70B FP16 | 2× A100 80GB | $20K+ |
How to Deploy an On-Premises LLM: A Step-by-Step Framework
Here's the exact sequence we recommend for teams deploying their first compliant on-premises LLM. Follow it in order - skipping steps creates compliance gaps.
Step 1: Define Your Compliance Scope
Before touching hardware or code, answer these questions:
- Are you subject to HIPAA, GDPR, both, or other frameworks (SOC 2, FINRA)?
- What data categories will flow through the LLM? (PHI, PII, financial records?)
- Who are your data subjects, and what rights do they have?
- Do you need data residency in a specific country?
Document this. Your compliance team will need it, and so will your auditors.
Step 2: Choose Your Model and Quantization Level
Use the table above. For most teams starting out:
- Mistral Small 3 at INT4 is the right default - Apache 2.0 license, 24GB VRAM, strong instruction-following.
- Only go to Llama 3.3 70B if your use case genuinely requires it.
Validate model quality on your actual use cases before committing. Benchmark scores don't always translate to domain-specific performance.
Step 3: Select Your Deployment Stack
Three main options:
vLLM - Best for production, multi-user environments.
- 3.23x throughput vs Ollama; 35x higher RPS at peak load
- Built-in TLS support, enterprise access control integration
- Requires NVIDIA CUDA; setup takes hours, not minutes
- Use this for anything serving more than a handful of concurrent users
Ollama - Best for development and single-user prototyping.
- Setup in minutes; excellent for testing
- Supports air-gapped operation after initial model download
- Limited concurrent user support (4 by default)
- Don't use this in production for multi-user workloads
llama.cpp - Best for maximum control, edge deployment, or CPU-only environments.
- Minimal dependencies; compiles from source
- Excellent air-gapped support
- Manual setup for access controls and logging
- Right choice for classified or highly isolated environments
For a benchmark-backed breakdown of how these stacks compare, see our guide to serving frameworks for compliance.
Step 4: Implement the 4 Technical Safeguards
Refer to the HIPAA section above. These apply regardless of whether you're HIPAA-regulated:
- AES-256 encryption at rest; TLS 1.3 in transit
- MFA + RBAC; no shared service accounts
- Structured audit logging with 6-year retention in WORM storage
- BAA documentation (with your cloud provider if applicable)
Step 5: Set Up Audit Logging and Monitoring
Every inference request must generate a log entry. At minimum, capture:
{
"timestamp": "2026-06-26T14:32:01Z",
"user_id": "user_abc123",
"model": "mistral-small-3",
"request_id": "req_xyz789",
"data_category": "PHI",
"tokens_in": 412,
"tokens_out": 187,
"latency_ms": 243,
"policy_decision": "allowed"
}
Export logs to your SIEM (Splunk, Datadog, CloudWatch) via OpenTelemetry. Store raw logs in S3 with Object Lock (WORM) for HIPAA's 6-year retention requirement.
Step 6: Run a Compliance Validation Checklist Before Go-Live
- All data paths encrypted (AES-256 at rest, TLS 1.3 in transit)
- MFA enforced for all users with PHI/PII access
- RBAC configured and tested
- Audit logging active and writing to WORM storage
- BAA signed with infrastructure provider (if applicable)
- Data minimization controls in place for prompts
- DPIA completed (GDPR) or risk analysis documented (HIPAA)
- Model quality validated on domain-specific test cases
- Incident response plan updated to include LLM systems
- Staff training documented
Step 7: Establish an Ongoing Review Cadence
Compliance isn't a one-time event. Build in:
- Monthly: Review audit logs for anomalies; check for unauthorized access attempts
- Quarterly: Model performance review; re-validate against current use cases
- Annually: Full risk analysis update; encryption key rotation; staff training refresh
- On model update: Re-run compliance validation checklist before deploying new weights
Air-Gapped Deployment - When You Need Maximum Isolation
An air-gapped deployment means zero network connectivity - not even to your internal network. Data transfer happens only via physical media (encrypted USB, optical disk) after security scanning.
When Is Air-Gapped Required?
- Defense contractors or government classified networks
- Research institutions with highly sensitive clinical trial data
- Financial firms with strict regulatory requirements on data isolation
- Any environment where the threat model includes sophisticated network-based attacks
For most healthcare SaaS teams, a network-isolated VPC deployment is sufficient. Air-gapped is the nuclear option - it adds significant operational complexity.
4-Step Air-Gapped Setup Framework
Step 1: Model Acquisition
- Download model weights on a connected, hardened system
- Verify checksums (SHA-256) to confirm integrity
- Transfer via encrypted USB or optical media
- Scan media on the air-gapped system before mounting
Step 2: Hardware Setup
- Physically remove or disable network interface cards
- Use a Hardware Security Module (HSM) for encryption key storage
- Install self-encrypting drives (SEDs) for storage
- Enforce physical access controls - locked room, badge access, visitor log
Step 3: Software Installation
- Install Ollama or llama.cpp from offline packages
- Place model weights in the local model directory
- Configure for localhost-only access
- Verify zero network dependencies before first inference
Step 4: Ongoing Security
- Manual model updates via secure, scanned physical media
- Regular security audits with documented chain of custody
- Physical security verification on a defined schedule
- No remote access - ever
Trade-offs: Security vs. Operational Complexity
| Factor | Air-Gapped | Network-Isolated VPC |
|---|---|---|
| Data isolation | Absolute | Very high |
| Update process | Manual, slow | Automated |
| Incident response | Complex | Standard |
| Compliance overhead | Very high | Manageable |
| Right for most teams? | No | Yes |
Common Mistakes That Create Compliance Gaps
We've seen these patterns repeatedly. Each one looks like a minor oversight. Each one can trigger a reportable incident.
Mistake 1: Exposing the LLM API Without Authentication
What happens: You spin up vLLM on a server, bind it to 0.0.0.0:8000, and forget to add authentication. Anyone on the network - or the internet, if firewall rules are loose - can send requests.
The fix: Bind to localhost or an internal IP only. Use a reverse proxy (nginx, Caddy) with authentication for any remote access. Implement rate limiting. Never expose the inference endpoint directly to the internet.
Mistake 2: Skipping Audit Logs
What happens: The model is running, inference is fast, everything looks fine. But there's no record of who sent what prompt, when, or what the model returned.
The fix: Audit logging is non-negotiable under both HIPAA and GDPR. Implement it before your first production inference. Retroactive logging is not acceptable to auditors.
Mistake 3: Using Quantized Models Without Accuracy Validation
What happens: You quantize from FP16 to INT4 to hit your VRAM budget, deploy to production, and discover three months later that the model is hallucinating on your specific domain tasks.
The fix: Always validate quantized models on a representative test set from your actual use case before production deployment. INT4 is excellent for most tasks - but "most tasks" doesn't mean yours without testing.
Mistake 4: No BAA Review for Infrastructure Providers
What happens: You deploy on AWS, assume the BAA covers everything, and don't check which services are actually in scope. You use an S3 bucket in a region not covered by the BAA, or a logging service that isn't HIPAA-eligible.
The fix: Review your cloud provider's BAA carefully. AWS, Azure, and GCP all publish lists of HIPAA-eligible services. Only use in-scope services for any workload touching PHI.
Mistake 5: No Data Minimization in Prompts
What happens: Developers pass entire patient records or full financial documents to the model because it's easy. The model only needs a few fields, but the whole record is in the prompt - and the audit log.
The fix: Implement a prompt construction layer that extracts only the fields required for the specific task. Document what data categories each workflow processes. This satisfies both HIPAA's minimum necessary standard and GDPR's data minimization principle.
The Business Case: On-Premises LLM ROI for Regulated Organizations
The upfront cost of on-premises LLM infrastructure looks significant. The cost of not doing it is catastrophic.
Breach Cost Avoided
- Global average data breach cost (IBM 2024): $4.88M
- Healthcare sector average: $9.77M - the highest of any industry, for the 14th consecutive year
- Financial services: $6.08M
A single breach in a regulated environment costs more than most on-premises LLM setups will ever cost to build and operate.
Fine Avoidance
- HIPAA Tier 4: Up to $2.19M per violation - and violations compound
- GDPR: Up to 4% of global annual turnover (LinkedIn paid €310M)
- EU AI Act (full enforcement from August 2, 2026): Up to €35M or 7% of global turnover for serious violations
These aren't theoretical. They're the actual penalty schedule regulators are applying right now. (Fines are just one line item - the bigger picture sits in enterprise compliance requirements and the cost of serving at scale.)
Operational Efficiency Gains
On-premises deployment also delivers measurable performance benefits:
- Latency: 100–300ms on-premises vs. 500–1,000ms for cloud APIs
- No rate limits: Cloud APIs throttle at scale; your hardware doesn't
- Fixed costs: No per-token billing surprises at the end of the month
- No vendor lock-in: Swap models without changing your API layer
ROI Break-Even Analysis
| Setup | Hardware Cost | Break-Even |
|---|---|---|
| RTX 4090 workstation | ~$2,000 | 3–6 months |
| Mac Mini M4 Pro | ~$2,500 | 4–8 months |
| Dual RTX 4090 server | ~$5,000 | 6–12 months |
| Enterprise A100 cluster | $20K–$50K | 12–18 months |
The break-even calculation assumes you're replacing cloud API costs and factoring in breach risk reduction. At 100,000+ tokens per day, on-premises is almost always cheaper than cloud APIs within six months. (We model the full break-even math in our on-premises vs cloud cost comparison.)
Frequently Asked Questions
1. Can you use ChatGPT or GPT-4 in a HIPAA-compliant way?
Technically yes, but only under very specific conditions - and most teams don't meet them.
OpenAI offers a HIPAA BAA through its enterprise tier. But signing a BAA doesn't make any workflow automatically compliant. You still need to ensure that PHI is only used for permitted purposes, that access controls are in place, and that your use of the API meets the minimum necessary standard. More importantly, your prompts still leave your network and are processed on OpenAI's infrastructure. For many regulated organizations, that's an unacceptable risk regardless of the BAA. On-premises deployment eliminates this exposure entirely.
2. Does on-premises LLM deployment guarantee GDPR compliance?
No - but it removes the hardest architectural barriers.
On-premises deployment ensures personal data never leaves your perimeter, which satisfies GDPR's data residency and transfer restrictions. But compliance also requires lawful basis for processing (Article 6), data minimization (Article 5), transparency (Articles 13–14), and the ability to respond to data subject rights requests (Articles 15–22). Architecture is necessary but not sufficient. You still need documented policies, a DPIA for high-risk processing, and operational procedures.
3. What is the difference between on-premises and private cloud LLM deployment?
On-premises means hardware you physically own and operate. Private cloud means dedicated infrastructure in a cloud provider's data center, isolated from other tenants.
Both keep your data within a controlled perimeter. The key differences: on-premises gives you complete physical control (including air-gapped options), while private cloud is easier to scale and maintain. For GDPR, both can satisfy data residency requirements if the cloud region is in the correct jurisdiction. For HIPAA, both require a BAA with the infrastructure provider. The right choice depends on your team's operational capacity and your threat model.
4. Which open-source LLM is best for healthcare use cases?
Llama 3.3 70B is the strongest option for complex clinical reasoning. Mistral Small 3 is the best balance of performance and hardware efficiency for most teams.
Llama 3.3 excels at multi-step reasoning, which matters for clinical decision support and document analysis. Mistral Small 3 runs on a single RTX 4090 at INT4 quantization, making it accessible without enterprise GPU hardware. Both are commercially licensable and deployable entirely on-premises. Always validate on your specific clinical tasks - benchmark scores don't always translate to domain performance.
5. Do I need a Business Associate Agreement (BAA) for an on-premises LLM?
Not for the model itself - that's one of the key compliance advantages of on-premises deployment.
When the model runs on your hardware, there's no third-party model provider to sign a BAA with. You eliminate that entire compliance requirement. However, if you use cloud infrastructure (AWS, Azure, GCP) to host your on-premises deployment, you do need a BAA with that cloud provider. And if you use any third-party tools in your inference pipeline (logging services, vector databases, etc.) that touch PHI, each of those vendors requires a BAA.
6. How do I handle the GDPR right to erasure if PHI is in my LLM's training data?
This is genuinely hard, and the cleanest solution is architectural: don't put personal data in your model weights.
Use Retrieval-Augmented Generation (RAG) instead of fine-tuning on personal data. With RAG, personal data lives in a vector database or document store outside the model. When a data subject requests erasure, you delete the record from the database - the model weights are unaffected. If you've already fine-tuned on personal data, your options are differential privacy (adds noise during training to prevent extraction), model retraining without the subject's data, or demonstrating that the data is sufficiently anonymized that it no longer constitutes personal data under GDPR.
7. What hardware do I need for on-premises LLM deployment in a regulated environment?
It depends on your model size and concurrency requirements.
For a light workload (summarization, classification) with a 7B model at INT4: an RTX 4070 Ti (12GB VRAM, ~$800) is sufficient. For medium workloads with Mistral Small 3 (24B INT4): a single RTX 4090 (24GB, ~$1,600). For heavy workloads with Llama 3.3 70B at INT4: two RTX 4090s or a single A100 80GB. For enterprise multi-user production: dual A100s or H100s. Beyond GPU, ensure system RAM is at least 1.5× the model size, use NVMe SSDs for model loading speed, and implement TPM 2.0 and self-encrypting drives for hardware-level security. For orchestrating multi-node production fleets, see our guide to Kubernetes for regulated infrastructure.
Useful Sources
- HHS OCR HIPAA Enforcement Highlights - Official enforcement data and settlement records
- HIPAA Journal - HIPAA Violation Fines - Comprehensive penalty database
- GDPR Article 25 - Data Protection by Design - Full regulatory text
- GDPR Article 32 - Security of Processing - Full regulatory text
- GDPR Enforcement Tracker - Live database of all GDPR fines
- IBM Cost of a Data Breach Report 2024 - Industry breach cost data
- EU AI Act - Official Text - Full regulation text
- DLA Piper GDPR Fines and Data Breach Survey 2025 - Annual enforcement analysis
Have questions about your specific compliance architecture? Drop them in the comments below - we read and respond to every one. If you're building AI workflows into a regulated SaaS product and want to see how an AI agent platform handles the compliance layer end-to-end, that's exactly what we've built.
Keep reading
vLLM vs Ollama vs TGI: LLM Serving Framework Comparison
A data-backed comparison of vLLM, Ollama, and TGI - covering throughput benchmarks, concurrency behavior, quantization support, and a 3-question decision framework to pick the right LLM serving framework fast.
Run LLMs Locally vs OpenAI API: Real Cost Comparison
At 50M tokens/day, OpenAI costs $126,000/year. We model the full 36-month TCO across three usage tiers - hardware, electricity, ops labor - so you know exactly when self-hosting wins.
MCP Compliance: HIPAA and GDPR for AI Agents in Regulated Industries
Most MCP implementations don't log a single tool call - a direct HIPAA violation. Every compliance requirement your AI agents must meet.



