Patient data stays inside
Two years ago, the question in pharma was whether to use generative AI at all. Today it is which model to trust with patient data, and where that model should run. For most drug safety, clinical and regulatory work, I believe the answer will be a small language model: a focused model that a company runs on its own infrastructure, tunes on its own data and freezes for audit. Large language models will keep their place, but the work that touches patients, regulators and proprietary data will move to models a company owns.
A safety database holds some of the most sensitive data a company has: case narratives, diagnoses, ages, dates and free text written by patients and physicians. Health data is a special category under GDPR Article 9, and in the United States it may be protected health information under HIPAA. Every time that data crosses into a third-party API, a company takes on a new processor, a new contract and a new attack surface. IBM’s 2025 Cost of a Data Breach report puts the average healthcare breach at $7.42 million, the highest of any industry (HIPAA Journal). In 2023, Samsung engineers pasted confidential source code into a public chatbot, and the company restricted generative AI tools on work devices (The Register). Now imagine that paste was a serious adverse event narrative.
A small model changes the default. It runs inside the company’s own environment, so no question, case or answer has to leave it. Privacy becomes a property of the architecture, not a clause in a vendor contract.
A model you can freeze and rerun
Pharma lives on reproducibility. If an inspector asks how a signal was assessed in 2026, you need to rerun the same step and get the same answer in 2029. A hosted model makes that hard: the vendor updates the model behind the API, retires old versions and changes behavior on its own schedule. A model you own can be frozen, versioned and kept under change control like any other computerized system.
Regulators are asking for exactly this kind of evidence. FDA’s January 2025 draft guidance sets out a risk-based framework for showing a model is credible for its context of use. EMA’s reflection paper on AI across the medicinal product lifecycle covers the post-authorization phase, including pharmacovigilance. In January 2026, the two agencies published joint guiding principles of good AI practice in drug development. The common thread is simple: know your model, know your data and show your work.
Cost, accuracy and advantage
Large model costs grow with every question. Per-token pricing is cheap in a pilot and expensive in production, when thousands of users ask questions every day across years of case data. A small model flips that curve: it runs on a single GPU and answers in well under a second, so the next million questions cost little more than the hardware already in place. Gartner predicts that by 2027, organizations will use small, task-specific models at least three times more than general-purpose large models (Gartner).
Bigger is not automatically better. In our own work on FDA adverse event data, a tuned small model beat an untuned general-purpose model more than ten times its size on every hard test set we ran, and answered three times faster. The design matters as much as the size: the model should turn a question into a structured, checkable step, while open, deterministic code does every count and statistic.
Every pharma company can rent the same large model, so a rented model is table stakes, not an edge. The edge is what only you have: years of case processing decisions, coding conventions, signal assessments and the reasoning behind them. A small model tuned on that history keeps the know-how inside the company as people and vendors change, and the advantage compounds with every review and correction.
Where large models still fit
This is not a contest with one winner. Large models remain the better tool for open-ended work: drafting, summarizing literature, exploring an unfamiliar question or writing code. They are also the fastest way to prototype a workflow, and they can help build a small model by generating and checking training examples. The pattern I expect to win is a split: large models for broad, low-risk work that does not touch patient data, and owned small models for the repeatable, regulated tasks that need an audit trail.
To start, pick one narrow, high-volume task. Agree on a test set your safety experts sign off on before you train. Keep the numbers out of the model. Run it where your data lives, with the version frozen. Then compare it with a large model on the same tests, and choose on accuracy, speed, cost and audit trail. If you want to build a small model on your own safety database, send us a message.
