Cloud vs. on-premise large language models for urgent patient-portal message screening: a comparative evaluation
Valdery Moura Junior V, Susanna Gallani, Lara Basovic, Majed Alomar, Jason C. You, Lipika Samal, Elyse R. Park, Louisa G. Sylvia,
Key points
From the paper's conclusion- We evaluated six LLMs (GPT-4o, GPT-5, GPT-5 Mini, Llama 4 Scout, GPT-OSS 20B, Gemma 3 27B) against a physician reference standard in three cohorts: 500 primary care messages enriched for urgent cases, 503 epilepsy clinic messages from the same health system, and 300 patient-authored messages from public platforms outside it.
Abstract
Patient portal messaging carries a substantial share of outpatient communication, and rising message volume has slowed clinical response to urgent concerns embedded in routine traffic. Whether large language models (LLMs) can triage these messages, and whether locally hosted open-weight models can match cloud-hosted ones, remains unclear. We evaluated six LLMs (GPT-4o, GPT-5, GPT-5 Mini, Llama 4 Scout, GPT-OSS 20B, Gemma 3 27B) against a physician reference standard in three cohorts: 500 primary care messages enriched for urgent cases, 503 epilepsy clinic messages from the same health system, and 300 patient-authored messages from public platforms outside it. Under Majority adjudication in primary care, GPT-5 missed no urgent message, and four of six models, including one deployable on-premises, reached sensitivity 0.97 or higher and negative predictive value 0.98 or higher. Rank ordering held across cohorts. Both cloud-hosted and on-premise LLMs can rule out urgent messages with high sensitivity, though specificity remained limited.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- From non-agentic large language models to multi-agent systems in emergency medicine: a scoping reviewClinical and Experimental Emergency Medicine · 2026
- Development and Internal Validation of a Large Language Model Pipeline for Multi-Label Classification of Patient Portal MessagesmedRxiv · 2026
- Are Frontier Large Language Models Safer Than Government-Backed Symptom Checkers for Clinical Self-Triage? A Standardised Vignette EvaluationmedRxiv · 2026
- Evidence, use cases, and implementation safeguards of large language models in primary care.Communications medicine · 2026
- PortalEvent: An Event-Based Ontology for Patient-Initiated Portal CommunicationmedRxiv · 2026
- Clinical accuracy, safety, triage, and test-retest consistency of general-purpose large language models for patient-centred respiratory questions: a blinded paired benchmarking study.Frontiers in medicine · 2026