Downloaded models are the expensive part of an LM Studio setup: each one is gigabytes, and re-downloading them all after a disk failure takes hours. The models are just files in one folder, so backing them up is a file copy — no export tool needed. Do it before you need it.
Related guide: How to Check Disk Space for LM Studio Models
Copy the models folder
Find the folder first: ~/.lmstudio/models on macOS and Linux, or C:\Users\YourName\.lmstudio\models on Windows. If you changed the location in My Models, use the folder you set — lms ls reflects the current models directory. Close LM Studio so no download is in progress, then copy the whole folder to the external drive:
cp -r ~/.lmstudio/models /Volumes/Backup/lm-studio-models
On Windows, copy the folder in File Explorer or with robocopy. Keep the folder structure exactly as it is — LM Studio organises models by publisher and name, and the structure is part of how it finds them.
Check the backup, and know how to restore it
After the copy, compare the size of the backup with the original and list a few model files inside it to confirm they copied fully — a half-copied multi-gigabyte file is worse than no backup, because it fails when you need it. To restore, copy the folder back to the models location (or point LM Studio at the backup folder from My Models) and run lms ls to confirm the models appear. Back up again after you download a new model, or the backup goes stale.
Expected result. We checked the LM Studio CLI docs for the models directory setting and the linked guides for the default locations on macOS, Linux and Windows. We did not run this software ourselves for this guide, so no output here is a recorded result; steps marked UNTESTED were checked against the sources below, not run.
Limits
A backup of the models folder does not back up your chats, presets or settings — those live elsewhere, so back them up separately if you need them. Copying while LM Studio is downloading can produce a corrupt copy, so close the app first. We did not perform a backup ourselves; the steps are from the docs, marked UNTESTED on this machine.
Sources
- LM Studio CLI docs — lms ls reflects the current LM Studio models directory, which you set in the My Models tab in the app
- LM Studio guide — models are stored in ~/.lmstudio/models on macOS/Linux and C:\Users\YourName\.lmstudio\models on Windows
- How to use LM Studio — the folder where model files are stored can be changed from My Models
Checked 2026-11-28.
