← AI strategy and governance // hipaa and local ai

AI for healthcare where PHI never leaves the building.

A local model runs on hardware you own. Patient information is never sent to an AI vendor, there is no per-token bill, and the system is covered by the same safeguards as every other system that holds patient records.

Most healthcare organizations want what AI offers: notes drafted, charts summarized, letters written, records searched. What stops them is the question of where the patient information goes. With a local model, the answer is simple. It goes nowhere. The model is a file on a machine you own, inside your network.

That solves the hardest part of the problem. It does not solve all of it, and anyone who tells you a model or a box is "HIPAA compliant" on its own is selling a label. This page explains what a local model changes, what the rules still ask of you, and which models are worth running.

Why a local model changes the HIPAA picture

When staff paste patient information into a cloud AI service, that vendor is handling protected health information on your behalf. It becomes a business associate, and you need a signed business associate agreement before the first prompt. Many AI products will not sign one, and those that do often exclude some of their features.

When you run open-weight model files on your own hardware, the company that published the model never receives anything. There is no third party in the path, so there is no agreement to negotiate, no vendor retention policy to audit, and no question about whether prompts are used for training.

Three things follow:

  • A simpler story for auditors, partners and patients. The data stays in systems you already control and already document.
  • A fixed cost. A local model has no per-token charge, which matters for work that runs all day, such as transcription and chart summarization.
  • Control over change. The model you validated is the model you keep running. Nobody updates it for you overnight.

One caution: this holds only while the hardware is yours. If the model runs in a data center or a cloud tenancy, the company hosting it can be a business associate, and it needs an agreement like any other.

What HIPAA still asks of a local AI system

A local AI system holds electronic protected health information in more places than people expect: the prompts, the answers, the logs, and any search index built from your records. The Security Rule applies to all of it, exactly as it applies to the EHR.

  • Risk analysis. The AI system belongs in your risk analysis, with the data it holds and the ways it could be exposed written down.
  • Access control. Each person signs in as themselves, with multi-factor authentication, and reaches only the patients and functions the job requires. Shared logins end the conversation with an auditor.
  • Audit controls. Every request is logged: who asked, when, and against which records. The logs themselves contain PHI and are protected and retained accordingly.
  • Minimum necessary. Search over records is filtered by who is asking. A front-desk account does not get clinical notes just because the model could read them.
  • Encryption. Disks are encrypted, and traffic between workstations and the model is encrypted, including inside the office network.
  • Backup and recovery. The system is in the contingency plan, with a restore that has been tested.
  • Workforce policy. Staff know which AI tools are approved for patient information, and which are not. The usual breach is not the approved system. It is someone using a personal chatbot account because nothing better was offered.
  • Physical safeguards and disposal. The box sits in a locked room, and its drives are wiped or destroyed when it is retired.

HHS proposed a major update to the Security Rule in January 2025 that would make encryption and multi-factor authentication mandatory and require a written inventory of systems. At the time of writing it has not been finalized. A system built to the list above is already close to what the proposal describes.

What local AI does well in a practice

These are the uses I would start with. In each one the model drafts and a person reviews, which is where current models are reliable.

  • Visit notes from dictation or recorded encounters. A transcription model turns speech into text, and a language model shapes it into the practice's note format for the clinician to correct and sign.
  • Chart summaries. A long record condensed before a visit, with the source passages attached so the summary can be checked.
  • Letters and forms. Prior authorization requests, referral letters and appeal letters drafted from the chart.
  • Replies to patient messages. A draft for staff to review, edit and send.
  • Search over your own documents. Policies, protocols, payer rules and past correspondence, answered in plain language with citations.
  • Scanned records. Faxes and paper charts turned into searchable text.

Diagnosis and treatment decisions stay with clinicians. Software that makes those decisions, rather than supporting the person who does, can fall under FDA rules for medical devices, and that is a different project from the one described here.

Which models to run

The model is chosen for the task, the license and the hardware. This is my current shortlist for healthcare work. The full list, with memory needs and speeds, is on open models by task.

JobModelsNotes
Medical text and recordsMedGemma 2 26B (Google, US)Released December 2026 and tuned for medical text, images and records. About 4B active parameters, up to 256K tokens of context. Licensed under Google's Health AI Developer Foundations terms, not Apache 2.0
General drafting and searchgpt-oss-120b (OpenAI, US), Gemma 4 31B (Google, US)Apache 2.0. gpt-oss-120b fits in a single 128GB machine
Small offices and laptopsMedGemma 2 E4B, Gemma 4 E4BSmall enough for a laptop, for single-user drafting
TranscriptionWhisper large-v3-turbo, NVIDIA ParakeetDictation and recorded encounters
Scanned documentsolmOCR 2Turns faxes and scans into text before the main model reads them
Search over recordsQwen3-Embedding, BGE-M3, with a rerankerThe retrieval half of any records search

Two notes on MedGemma 2. Google reports that the 26B model completed 86.3% of tasks on MedAgentBench, against 81.3% for the general Gemma 4 model it is built on (model card). That is the publisher's own figure, and a benchmark is not your charts. Google's terms also leave validation and any regulatory approval to whoever deploys it. It is a starting point for a system, not a cleared medical product.

I test the shortlist on a sample of your own documents before recommending one. A general model with good retrieval often beats a medical model without it.

What it runs on

A single practice can start with one workstation-class machine with 128GB of memory, which is a desktop-computer purchase and sits in the same locked room as the rest of the network equipment. A multi-location group or a company serving many users needs a GPU server. The local AI hardware guide covers the tiers and the measured speeds.

From the lab: on a 128GB AMD Strix Halo, one of my smaller test machines, a 35B-parameter model runs at 63 to 65 tokens per second on short prompts. The full setup, with every setting and the problems I hit, is written up in Running Qwen4-35B-A3B on an AMD Strix Halo.

A published example worth knowing

In late 2025, Cliniques Universitaires Saint-Luc in Brussels published how it runs a private assistant for clinicians: an open-weight model served on eight NVIDIA H200 GPUs inside the hospital, with access control in front of it and retrieval over its own clinical data. Over five months, 1,028 staff held almost 15,000 conversations, mostly retrieval, summarization and note drafting. The authors also note that a capable setup is possible for a fraction of their hardware budget. (PLOS Digital Health)

What I build

  1. Assessment. The work you want done, the systems the data lives in, and where the AI system sits in your risk analysis.
  2. Model selection. A bake-off on your own documents, with results in writing.
  3. The system. Hardware, model serving, sign-in tied to your existing accounts, per-user permissions, request logging and encrypted storage.
  4. Retrieval that respects access. Records indexed with their access rules, and every search filtered by who is asking.
  5. Documentation. The policies, the risk analysis entry, the backup and restore test, and staff training on what the system is and is not for.
  6. Operation. Monitoring, patching and model reviews, run by me or handed to your IT provider with a runbook.

I do not issue certifications, and no consultant can make a practice compliant with a document. What I do is build the system and the evidence. The wider security work is described on HIPAA security readiness in Phoenix and Scottsdale.

Why me

At SottoPelle Therapy, a multi-state hormone-therapy practice, I moved more than ten offices onto one managed network and built the custom medical records platform that replaced its paper charts. I am co-founder and chief technology officer of Pept.plus, a platform that connects licensed providers with compounding pharmacies, where patient information runs through software I am accountable for. And I test local models on my own hardware, from small desktop machines up, so the numbers I quote are ones I have measured.

Frequently asked questions

Is a local LLM HIPAA compliant?

No model is compliant or non-compliant on its own. HIPAA applies to how an organization protects patient information, so what matters is the system around the model: who can sign in, what is logged, how it is encrypted and backed up, and whether it is in your risk analysis. A local model makes that system far easier to defend, because no outside company handles the data.

Do we need a business associate agreement to use an open-weight model?

Not with the model's publisher, if you run the model on hardware you own. The publisher never receives patient information. You do need an agreement with any company that hosts or manages the system for you and could reach the data.

Can staff use ChatGPT, Claude or Copilot with patient information?

Only on a plan where the vendor has signed a business associate agreement with you, and only with the features that agreement covers. Consumer and free accounts do not qualify. Claude and ChatGPT Enterprise rollouts covers the cloud side, and many organizations run both: cloud tools for general work, a local model for anything with patient data.

Is MedGemma approved for clinical use?

No. It is an open model for developers to build on. Google's terms leave validation, and any regulatory approval the use requires, to the organization that deploys it. Used for drafting and summarizing with a clinician reviewing the result, it is a tool like any other.

What does a local AI system cost a practice?

The hardware for a single practice is a one-time desktop-computer purchase, plus the work to set it up and document it. There are no per-user or per-token fees afterwards. I size it from the real workload before you buy anything.

Do you work with healthcare organizations outside Arizona?

Yes. I am based in Scottsdale and work on site across the Phoenix area. Systems can be deployed and supported anywhere in the United States.

Reviewed 2026-12-05. Hardware, model and vendor details change fast; I re-check them every quarter.

Want AI in the practice without sending PHI out?

Start with a confidential conversation about the work, the data and the rules you operate under. I'll come back with a model shortlist, a hardware tier and the safeguards it needs.

Start a conversation → All services