What is ~/.ollama/models, and how do you remove models safely?

The ~/.ollama/models folder stores every AI model you pulled with Ollama, so remove ones you no longer use with ollama rm instead of deleting files by hand.

Shiva ChandraMaker of Clean House · · 2 min read
Short answer

~/.ollama/models stores the AI models you pulled with Ollama, each often several gigabytes. Look first, because you will have to download any model again. Remove the ones you do not use with ollama rm followed by the model name. Do not delete blob files by hand, as models share them.

Path
~/.ollama/models
What it is
Model weights and manifests for models pulled with Ollama
Typical size
Each model is typically several gigabytes; large ones run to tens of gigabytes
Made by
Ollama
Safe to delete?
Look first
Comes back?
Yes, if you pull the model again with ollama pull, which means downloading it again

What is in this folder?

Ollama keeps weight files as hashed blobs in ~/.ollama/models/blobs and a small manifest per model in manifests. Different models and tags can share the same blob, which is why file names look meaningless. The Ollama FAQ gives ~/.ollama/models as the macOS location.

Custom models you built with a Modelfile are stored here as manifests that reference the base model's blobs.

Is it safe to delete?

Safe in the sense that nothing is lost for good: public models can be pulled again. It is not "Safe to clear" because the re-download is large and slow, and custom models or fine-tunes you created exist only here.

The risk of deleting by hand is breaking a model that shares a blob with one you keep.

How do I clear it by hand?

  1. List the models you have.
  2. Remove each one you do not need by name.
  3. Check the space with du -sh ~/.ollama/models.
ollama list
ollama rm <model>
ollama pull <model>
Last command is for getting a model back. Quit the Ollama app first if you plan to delete files by hand, though ollama rm is safer.

How do I stop it growing?

Keep one or two models you use daily and remove experiments. Ollama does not remove models on its own.

How Clean House handles it

Clean House reads Ollama's manifests to name each model, so a blob shows as "llama3" rather than a hash. It rates the folder Look first, explains that Ollama has to download the model again, and suggests ollama rm so the shared files stay consistent.

Questions

Where does Ollama store models on Mac?

In ~/.ollama/models, according to the Ollama FAQ.

How do I delete an Ollama model?

Run ollama rm followed by the model name. Use ollama list to see names.

Can I delete the blobs folder?

Not by hand. Models share blobs, so deleting individual files can break other models. Use ollama rm.

Sources

  1. Ollama Docs: FAQ
  2. Ollama Docs: macOS