Skip to main content
. 2026 Aug 21;9:e94764. doi: 10.2196/94764

Table 2. When to prefer locally hosted versus cloud-based large language model deployment in dermatology.

Scenarios Prefer locally hosted Consider cloud-based (with BAAa)
Routine documentation and encounter summarization Yes; sensitive content remains on premises [6] Acceptable if BAA is in place and audited [6]
Stigmatized conditions (eg, sexual health and psychodermatology) Strongly preferred [8] Avoid unless clearly justified
Frontier diagnostic reasoning queries Possible with ≥32 billion parameters and MoEb if hardware permits Often preferable; cloud frontier models still lead
Burst capacity (mass triage and public health surge) Limited by fixed local hardware Cloud elasticity advantageous
Practice without on-site IT support Risk of unmaintained models and drift Vendor-managed cloud may be more reliable
Cross-border (GDPRc and European Union AI Act) workflows Helps with data localization obligations [34] Requires careful data processing agreements [34]
a

BAA: Business Associate Agreement.

b

MoE: mixture-of-experts.

c

GDPR: General Data Protection Regulation.