Prune

AI models

LM Studio models are eating your disk: where they live and how to remove them

Last checked Applies to LM Studio on macOS and Windows 5 min read

Short answer

LM Studio stores every downloaded model in the models folder inside .lmstudio in your user folder, on both Mac and Windows. Run lms ls to see each model's size, then delete the folders you no longer use, or change the models directory in the My Models tab to put them on another drive. A deleted model is only gone until you download it again.

Path on Mac
~/.lmstudio/models
Path on Windows
C:\Users\<you>\.lmstudio\models
Typical size
≈ 30 GB (typical for a handful of 7B to 30B models; one model is about 1 to 20 GB)
Safe to delete?
Yes, one model at a time. You can download it again.
Command
lms ls

Where LM Studio stores models

LM Studio keeps everything under one hidden folder in your user profile, .lmstudio. Downloaded models sit in its models subfolder. LM Studio's import docs show the layout: one folder per publisher, one folder per model inside it, and the model files, usually .gguf, inside that. For example, models/lmstudio-community/some-model/some-model-Q4_K_M.gguf.

Unlike Ollama, there's no layer sharing to worry about. A model is a folder of files you can see. Your chats are stored separately, in .lmstudio/conversations, so they aren't in the models folder.

The default location can be changed. LM Studio's docs say you do this from the My Models tab, so if the folders below are empty, your models may be on another drive. Check the path shown there first.

Check how much space the models use:

du -sh ~/.lmstudio/models
"{0:N1} GB" -f ((Get-ChildItem "$env:USERPROFILE\.lmstudio\models" -Recurse -File |
  Measure-Object Length -Sum).Sum / 1GB)

How much space models take

Size depends on the model and its quantization. LM Studio's docs describe quantization as compressing a model while giving up some quality, and list options named Q3_K_S, Q8 and so on. In practice, a small model at 4-bit is a few GB (LM Studio's own lms ls example lists an 8B model at 4.92 GB and a 1B model at 1.32 GB), while larger models and higher-precision files run to tens of GB each.

That adds up fast. The same docs page shows an example library of 47 models taking 160.78 GB. Treat that as an illustration of how quickly a collection grows, not as a typical figure. lms ls prints your own total on its first line.

Remove models you no longer use

  1. See what you have

    lms ls

    The lms command line tool ships with LM Studio. It lists every downloaded model with its size and prints your total disk use at the top. lms ls --detailed adds more information per model.

  2. Pick what to remove

    Look for older versions you replaced, several quantizations of one model where you only use one, and large models you haven't opened in months. Eject any model that's currently loaded first, and close LM Studio before you delete files.

  3. Delete the model folder

    Delete the model's own folder inside models/<publisher>, or only the single file for the quantization you don't want. Use Trash on Mac and the Recycle Bin on Windows so you can undo a mistake.

    open ~/.lmstudio/models
    explorer "$env:USERPROFILE\.lmstudio\models"

    Deleting a model removes only that model. You get it back by downloading it again from the Discover tab, which means the full download again.

  4. Check the result

    Reopen LM Studio and run lms ls again, then repeat the size check above. Empty publisher folders left behind are harmless.

SafeDeleting a model you can download again. Your chats live in a different folder and are untouched.

CarefulAny preset, script or local server request that names the model will fail until you download it again. Large files can take a long time on a slow connection.

Do notdelete the whole .lmstudio folder to save space. It also holds your chats and the lms tool, not only models.

Move models to another drive

If your system drive is short on space, you don't have to delete anything. Open the My Models tab in LM Studio and change the models directory there, as LM Studio's docs describe. Pick a folder on a bigger drive.

Move the existing model folders into the new location yourself, keeping the publisher/model layout, because LM Studio expects that structure. Then restart LM Studio and run lms ls to confirm it still sees every model. Keep the files on a drive that's always connected, or LM Studio will show the models as missing until you reconnect it.

Models you already have from elsewhere can be added with lms import <path/to/model.gguf>, which the docs mark as experimental.

See exact GB per folder with Prune

Models are one of several things that fill a disk when you work with local AI. Prune is a disk cleaner for Mac and Windows that shows what is using your disk, including AI model and developer caches. If you also use Hugging Face tools, see where the Hugging Face cache lives.

The scan is free and shows the exact GB for each item before anything is deleted. Nothing is deleted blind: you review each path first.

FAQ

Will deleting a model delete my LM Studio chats?

No. Chats are stored in the conversations folder inside .lmstudio, not in the models folder. Deleting a model removes only that model's files.

Can I change where LM Studio saves models?

Yes. Open the My Models tab and change the models directory. On both Mac and Windows, move your existing model folders to the new location so LM Studio can find them.

Is it safe to delete the .lmstudio folder?

No. It holds your chats and the lms command line tool as well as models. Delete individual model folders instead.

How do I get a deleted model back?

Download it again from the Discover tab in LM Studio. It's a full download, so it takes as long as the first time.