Model reference · open weights
Merlin is an open-weight image model from stanfordmimi. Merlin (BF16) weighs 28.5 GB; the smallest configuration that runs it is L40S 48 GB.
For self-hosting, compare this build's requirements below with the GPU you plan to rent.
Summary of the stanfordmimi/Merlin model card, 2026-10-01
What it is
| Released by | stanfordmimi |
|---|---|
| Released | 2024-07-18 |
| VRAM | 28.5 GB for the weights |
What it runs on
| Card | One image | Memory |
|---|---|---|
| RTX 3060 12 GB … RTX 5090 32 GB | does not fit | |
| L40S 48 GB | fits | 44.0 GB |
| A100 80 GB | fits | 78.2 GB |
| H100 80 GB | fits | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | fits | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | fits | 107 GB |
| H200 141 GB | fits | 138 GB |
| B200 180 GB | fits | 176 GB |
From the model card
Merlin is a 3D VLM for computed tomography that leverages both structured electronic health records (EHR) and unstructured radiology reports for pretraining. The huggingface repository here provides the model weights and an example image file (Nature 2026).
To install Merlin, you can simply run:
pip install merlin-vlm
For an editable installation, use the following commands to clone and install this repository.
git clone https://github.com/StanfordMIMI/Merlin.git
cd Merlin
pip install -e .
For usage instructions, please visit the github repository.
.
├── README.md
├── i3_resnet_clinical_longformer_best_clip_04-02-2024_23-21-36_epoch_99.pt
├── image1.nii.gz
├── resnet_gpt2_best_stanford_report_generation_average.pt
├── resnet_clinical_longformer_five_year_disease_prediction
├── nnUNetTrainerMerlin__nnUNetPlans__3d_fullres
If you find this repository useful for your work, please cite the cite the Nature paper:
@article{blankemeier_kumar2026merlin,
author = {Blankemeier, Louis and Kumar, Ashwin and Cohen, Joseph Paul and Liu, Jiaming and Liu, Longchao and Van Veen, Dave and Gardezi, Syed Jamal Safdar and Yu, Hongkun and Paschali, Magdalini and Chen, Zhihong and Delbrouck, Jean-Benoit and Reis, Eduardo and Holland, Robbie and Truyts, Cesar and Bluethgen, Christian and Wu, Yufu and Lian, Long and Jensen, Malte Engmann Kjeldskov and Ostmeier, Sophie and Varma, Maya and Valanarasu, Jeya Maria Jose and Fang, Zhongnan and Huo, Zepeng and Nabulsi, Zaid and Ardila, Diego and Weng, Wei-Hung and Amaro Junior, Edson and Ahuja, Neera and Fries, Jason and Shah, Nigam H. and Zaharchuk, Greg and Willis, Marc and Yala, Adam and Johnston, Andrew and Boutin, Robert D. and Wentland, Andrew and Langlotz, Curtis P. and Hom, Jason and Gatidis, Sergios and Chaudhari, Akshay S.},
title = {Merlin: a computed tomography vision-language foundation model and dataset},
journal = {Nature},
year = {2026},
doi = {10.1038/s41586-026-10181-8},
url = {https://doi.org/10.1038/s41586-026-10181-8}
}
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.
How it works
Running it yourself
Rent a machine by the hour. How to run this model is on its model card.