Self-hosted AI medical scribe: on-premise, local LLM and sovereign options
DocBrain · Last updated: · 10 minute read
Short answer: A self-hosted AI medical scribe runs its three stages on servers you control: speech-to-text, de-identification of names and ID numbers, and the language model that writes the note. You can host all three in a hospital (on-premise), host only the first two and send de-identified text to a cloud model (hybrid), or have a vendor run everything inside your country (country-sovereign). Full on-premise gives the most control and needs data-centre GPUs; the largest cloud models still tend to write better notes.
What runs where in an AI scribe?
Every AI scribe runs three stages, and "self-hosted" means deciding where each stage runs. The audio is the most sensitive artefact, the identifiers are the legal trigger, and the language model is the most expensive part to host.
- Speech-to-text (STT)Turns consultation audio into a transcript and separates speakers. Open models such as Whisper large-v3 run on one GPU. Medical vocabulary in the local language is where most errors start.
- De-identification (NER masking)A named-entity recognition step finds names, national ID numbers, phone numbers and dates and replaces them with placeholders. It is small, runs on CPU or a small GPU, and is the step that decides whether the model ever sees who the patient is.
- Language model (LLM)Reads the transcript and drafts the note: history, findings, assessment, plan, codes. This is where model size, GPU memory and note quality all meet.
A fourth, quieter component is storage: audio files, transcripts, drafts and signed notes, each with its own retention rule. Where these sit matters as much as where the models run; see the AI scribe data residency guide.
Four architectures: cloud, hybrid, on-premise, sovereign
There are four common ways to deploy an AI scribe, and they differ in which of the three stages leave your control.
| Architecture | STT | Masking | LLM |
|---|---|---|---|
| Cloud SaaS | Vendor cloud | Often none | Vendor or LLM provider |
| Hybrid | Local or in-country | Local or in-country | Cloud, de-identified text |
| On-premise | Hospital | Hospital | Hospital, open weights |
| Country-sovereign | In-country DC | In-country DC | In-country DC |
Cloud SaaS
The common model for products such as Heidi, Nabla, Freed and Abridge. The vendor runs everything, usually on a hyperscaler, sometimes with regional hosting (EU, UK, Australia). Compliance rests on contracts: a data processing agreement, sub-processor lists and, in the US, a HIPAA business associate agreement. Quality is high and setup takes minutes.
Hybrid
Audio and identity stay local; only masked clinical text reaches the model. This removes the most sensitive data from the transfer while keeping a strong model. Its weak point is the masking step: an unusual name pronunciation or a name inside a sentence can slip through, so a good hybrid system adds a second rule telling the model never to write names.
On-premise
Everything runs inside the hospital network, with open-weights models. Nothing leaves the building, which suits hospitals with strict network policies or no permitted external connection. The hospital now owns GPU procurement, model updates, monitoring and uptime.
Country-sovereign
A vendor operates the whole stack, but servers and GPUs are inside the country, under its law. For a single clinic this gives most of the control of on-premise without running hardware. For a ministry or a hospital group it can be the basis for a national deployment.
What hardware does a self-hosted scribe need?
Transcription and masking are light; the language model decides the hardware. The arithmetic is simple: each model parameter takes 2 bytes in 16-bit precision, 1 byte in 8-bit and about half a byte in 4-bit, plus memory for the context of the conversation (the KV cache).
| Model size | Weights, 16-bit | Weights, 8-bit | Typical fit |
|---|---|---|---|
| ~8B parameters | ~16 GB | ~8 GB | One GPU, room to spare |
| ~30B parameters | ~60 GB | ~30 GB | One 80 GB GPU |
| ~70B parameters | ~140 GB | ~70 GB | Two H100 (16-bit) or one card (8-bit) |
For reference, NVIDIA's H100 has 80 GB of HBM3 memory (94 GB in the NVL version) and the H200 has 141 GB of HBM3e. A 70B model in 16-bit does not fit on one H100 but leaves little room on one H200; quantised to 8 bits it fits on either. Whisper large-v3, with about 1.55 billion parameters, is small next to these.
Public on-demand list prices on 18 October 2026, per GPU-hour: H100 SXM at $4.29 for a single GPU on Lambda; H100 SXM at $3.99 and H200 SXM at $5.29 on RunPod Secure Cloud; about $6.16 (H100) and $6.31 (H200) per GPU in 8-GPU nodes on CoreWeave; and $6.88 for a single-H100 p5.4xlarge in AWS us-east-1 (AWS on-demand pricing). Prices change often and differ by region; for health data you also need the provider to have a data centre in the right country, which narrows the list.
Buying instead of renting changes the shape of the cost, not its size: the card, a server built for it, power, cooling, spares and someone on call. Hospitals with an existing data centre and IT team are in a different position from a private clinic.
Worked example: sizing a six-physician clinic
The clinic below is invented, to show the arithmetic. "Example Heart Clinic" has six cardiologists, each seeing 25 patients a day, with consultations averaging 12 minutes of audio.
- Audio per day: 6 × 25 × 12 = 1,800 minutes, or 30 hours of speech.
- Transcription: modern open STT models on a data-centre GPU transcribe far faster than real time, so 30 hours a day fits on one GPU with headroom for peaks at 10:00 and 15:00.
- Notes per day: 150. Each note is a few thousand tokens of input (the transcript) and a few hundred tokens of output.
- Language model: a 70B model quantised to 8 bits on one 80 GB card, or 16-bit on two cards. A smaller model would be cheaper but should be tested on the clinic's own transcripts first.
- Masking: runs on CPU alongside the STT service.
At Lambda's single-H100 list price of $4.29 an hour, one GPU running all month (720 hours) costs about $3,089; two GPUs, one for transcription and one for the language model, about $6,178. The same single H100 on AWS at $6.88 an hour is about $4,954 a month. These are list prices from US regions, before storage, networking, backups and staff time, and an in-country provider for health data may price differently.
The bigger question is not the bill but the note. Before choosing a self-hosted model, run 20 de-identified real transcripts through it and through a cloud model, and have the physicians blind-rate both drafts.
Trade-offs: quality versus control
Self-hosting buys control at the cost of quality, effort or both. The honest version:
- Note quality. The strongest proprietary models are generally not available as weights you can host. Open-weights models are close on many tasks, but medical summarisation in languages other than English is where the gap tends to show.
- Language. STT accuracy in your language matters more than model choice. A hospital in Türkiye or Germany should test drug names in its own consultations. Our notes on why Turkish is hard for speech recognition apply to other agglutinative languages too.
- Operations. Model updates, security patches, monitoring and a fallback when a GPU fails. A cloud vendor does this for you; on-premise, your team does.
- Compliance. Local hosting removes international transfers and model sub-processors, the hardest parts of GDPR Chapter V and KVKK Article 9. It does not remove the need for consent or a legal basis, a DPIA, access control and retention rules.
- Clinical safety. In the UK, the deploying organisation still owes a DCB0160 clinical safety case; see AI scribes for UK GPs.
Is there an open source AI medical scribe?
The components are open; a finished, clinically tested scribe usually is not. Whisper's code and weights are released under the MIT licence according to OpenAI's repository, and several strong language models have open weights. Gluing them into a demo takes a weekend. Making it safe takes the rest: speaker separation in noisy rooms, a masking step that does not miss names, note templates per specialty, a way for the physician to see the source sentence of every line, audit logs, and someone accountable when it is wrong. If you build it yourself, your organisation becomes the party responsible for that safety work.
DocBrain's model: per-country deployment
DocBrain uses a sovereign, hybrid design. Today the audio is transcribed on our server in Türkiye and stays there, encrypted with a key specific to the physician's account. The patient's name, national ID number and phone number are masked on that server before any text reaches the model, and age becomes a range. The model that writes the note never hears the audio and never sees who the patient is.
For a country or a hospital that needs it, DocBrain is deployed per country on request: servers and GPUs inside that country, audio that never leaves it, masking before the model. This is at pilot stage; DocBrain does not ship a downloadable on-premise installer. It is a digital assistant, not a medical device, and the physician reviews and signs every note. Product details are on Privacy and in What is an AI medical scribe?; the Turkish data path is on Hasta verisi güvenliği.
Frequently asked questions
Can an AI medical scribe run on-premise?
Yes. Speech-to-text, de-identification and the language model can all run on servers inside a hospital or a national data centre, using open-weights models. The cost is GPU hardware, operations staff and usually some loss of note quality compared with the largest cloud models.
What hardware does a self-hosted AI scribe need?
Transcription runs on a single data-centre GPU. The language model drives sizing: a 70-billion-parameter model needs about 140 GB of GPU memory for its weights in 16-bit precision, plus room for context, so two 80 GB H100 cards, or one card if the model is quantised to 8 bits. Models of around 8 billion parameters fit easily on one card.
Is there an open source AI medical scribe?
The building blocks are open: Whisper for speech recognition is MIT-licensed, and several capable language models have open weights. A complete open-source scribe still needs de-identification, note templates, clinical safety testing and someone accountable for running it, which is where most of the work is.
Does a local LLM make an AI scribe GDPR or KVKK compliant?
Not by itself. Running models locally removes international transfers and third-party model providers, which simplifies compliance a lot. You still need a legal basis, patient information, security measures, retention rules and a data protection impact assessment.
What is a hybrid AI scribe architecture?
Audio is transcribed and identifiers are masked on a server in the country or hospital, and only de-identified clinical text goes to a language model. It keeps audio and identity local while using a stronger model than most hospitals can host.
Does DocBrain offer an on-premise installer?
Not as a downloadable product. DocBrain is deployed per country or per hospital on request, with servers and GPUs inside that country, at pilot stage. Today the audio is transcribed on our server in Türkiye and names are masked before text reaches the model.
Sources: openai/whisper (MIT licence) · Whisper large-v3 model card · NVIDIA H100 · NVIDIA H200 · GDPR · KVKK (Law No. 6698). GPU prices were read from the providers' pricing pages on 18 October 2026.
Need the scribe inside your country?
Tell us about your hospital or country. Physicians can also create an account now.
Create an account