DevCleaner
Menu
Skip to content
Browse guides

How to List and Remove Ollama Models to Free Disk Space

List installed models with ollama list, then remove one you do not need with ollama rm. On a Mac the weights live in ~/.ollama/models. Do not delete blob files by hand.

On this page

Where Ollama keeps its models

On macOS, Ollama's FAQ says downloaded models are stored in ~/.ollama/models. Measure that folder on your machine:

du -sh ~/.ollama/models

Inside it, the weight files are content-addressed blobs, and a small manifest names which blobs belong to each model. DevCleaner reads that layout. Two models can reference the same blob. Deleting a manifest or a blob by hand is not how you remove a model.

LocationWhat it isIf you delete it by hand
~/.ollama/models/blobsWeight files, named by hashWARNING
~/.ollama/models/manifestsJSON that names the blobs for each modelWARNING
~/.ollama/logsServer logsSAFE
~/.ollama/id_ed25519.pubPublic half of the Ollama keypairDANGER

The FAQ lists that public key at ~/.ollama/id_ed25519.pub on macOS. Leave the keypair alone when you only want disk space back.

List models with ollama list

List the models installed on this machine with ollama list. The CLI reference shows the same action as ollama ls. ls is an alias of list:

ollama list

The listing includes a name and a size for each model. Use the name with ollama rm. The size is what Ollama reports for that model. It is not always the number of bytes you get back, because a blob another installed model still uses stays on disk.

Approximate download sizes

The table is the approximate download size as listed on ollama.com on 2026-11-03. A range is how that page printed the size. These are not a measurement of your disk after ollama pull, and not a promise of how much ollama rm frees. Gemma 4 is on the library. Cloud tags, MLX builds, and other quantizations are left out. Tags such as Qwen 3.5 are on the library too, and they are not in this table because their sizes were not copied for this update.

ModelTagApproximate download size
Gemma 4gemma4:e2b4.6 GB to 7.5 GB
Gemma 4gemma4:latest6.6 GB to 9.5 GB
Gemma 4gemma4:12b7.7 GB to 8.0 GB
Gemma 4gemma4:26b16 GB to 19 GB
Gemma 4gemma4:31b19 GB to 20 GB
Gemma 3gemma3:270m292 MB
Gemma 3gemma3:1b806 MB
Gemma 3gemma3:latest3.4 GB
Gemma 3gemma3:12b8.2 GB
Gemma 3gemma3:27b17 GB
Gemma 2gemma2:2b1.6 GB
Gemma 2gemma2:latest5.4 GB
Gemma 2gemma2:27b16 GB
Qwen 3qwen3:0.6b523 MB
Qwen 3qwen3:1.7b1.4 GB
Qwen 3qwen3:4b2.5 GB
Qwen 3qwen3:latest5.2 GB
Qwen 3qwen3:14b9.3 GB
Qwen 3qwen3:30b19 GB
Qwen 3qwen3:32b20 GB
Qwen 3qwen3:235b142 GB
Qwen 2.5qwen2.5:0.5b398 MB
Qwen 2.5qwen2.5:1.5b986 MB
Qwen 2.5qwen2.5:3b1.9 GB
Qwen 2.5qwen2.5:latest4.7 GB
Qwen 2.5qwen2.5:14b9.0 GB
Qwen 2.5qwen2.5:32b20 GB
Qwen 2.5qwen2.5:72b47 GB

Remove a model with ollama rm

Remove one model by a name from ollama list. The CLI reference uses this form:

ollama rm gemma4

Substitute your model name. Run the command again for the next model. To download that model later, the CLI reference uses:

ollama pull gemma4

Do not delete files inside ~/.ollama/models/blobs by hand. The manifests still point at those hashes. ollama rm removes the model record and the blobs nothing else needs.

Shared layers

Because a blob can be shared, ollama rm can free less than the size ollama list showed. DevCleaner counts each shared blob once. The space one model frees alone can be smaller than that model's listed size. Removing the other models that use the same blob is what frees the rest.

Optional: move the model store

To store models somewhere else, set OLLAMA_MODELS to that directory. On macOS, the FAQ says to set environment variables with launchctl setenv, then restart Ollama. That setting applies to apps launched afterward in the current login session. Set it again after you log in, or use your own launch configuration. Copy the existing store first if you want to keep models you already downloaded, then check ollama list before you remove the old copy:

launchctl setenv OLLAMA_MODELS /Volumes/AI/ollama-models

FAQ

How do I list Ollama models?
Run ollama list. ollama ls is an alias of the same command. Use a name from that list with ollama rm.
Is it safe to delete Ollama models?
Yes, if you remove them with ollama rm. ollama pull downloads that model again. Do not delete files in ~/.ollama/models/blobs by hand.
Does ollama rm free the whole listed size?
Not always. Shared layers stay until the last model that uses them is removed. The size in ollama list can be larger than the space you get back.
Where do Ollama models live on a Mac?
In ~/.ollama/models, unless you set OLLAMA_MODELS to another directory. The public key is ~/.ollama/id_ed25519.pub. Leave that keypair in place.

See Ollama next to other model stores

DevCleaner 1.17.1 lists each Ollama model as its own Warning row and does not select it. Data shared by several models is counted once. Model weights are not part of Quick Clean. On macOS 1.17.0 and later, Settings, General, Deletion defaults to By risk: Safe items are deleted permanently, and Warning and Danger items move to the Trash.

Download DevCleaner: free ↓
Safe cleanup free · macOS 14+
Developer ID signed · notarized by Apple

References and scope

Reviewed on November 3, 2026 against DevCleaner 1.17.1, the Ollama FAQ (model path, OLLAMA_MODELS, and the macOS public key path), the Ollama CLI reference (ollama rm, ollama ls, ollama pull), and the model pages linked in the table. The table is the approximate download size as listed on ollama.com on 2026-11-03. It is not your disk usage, and it is not the space ollama rm will free.

Featured on TryMacApps Featured on UsefulShelf Featured on Formac Listed on MacTools Pro Fazier badge