Developer storage

Where Ollama stores models on macOS and how to delete them

Ollama stores downloaded models in ~/.ollama/models on macOS and Linux. List them with ollama list, delete one with ollama rm <model>, and change the location by setting the OLLAMA_MODELS environment variable before the server starts. Local models often take several gigabytes each, so they are a common cause of a full disk.

Updated 2026-10-27

Key points

  • The default path is ~/.ollama/models, with blobs and manifests subdirectories.
  • Use ollama list to see what is installed and ollama ps to see what is loaded in memory.
  • Delete models with ollama rm <model> rather than deleting files from the blobs directory.
  • Setting OLLAMA_MODELS moves future downloads but does not relocate models you already have.
  • Hugging Face libraries store a separate cache in ~/.cache/huggingface that also needs attention.

Ollama stores every downloaded model in one directory: ~/.ollama/models on macOS and Linux. You can see what is there with ollama list, delete a model with ollama rm <model>, and point future downloads somewhere else with the OLLAMA_MODELS environment variable. Because each model is several gigabytes, this folder is often the biggest surprise on an AI developer’s disk.

The default model directory

The path is hidden at the root of your home folder, not inside ~/Library:

~/.ollama/models

It contains two subdirectories. manifests holds per-model metadata, and blobs holds the actual weight files, addressed by content digest. Because blobs are shared by digest, two tags of the same model often share layers — which is why deleting one tag does not always free its full listed size.

Measure the folder before deleting anything:

du -sh ~/.ollama/models
du -sh ~/.ollama/models/blobs

To inspect the folder in Finder, press Shift-Command-G and paste the path; hidden folders at the root of your home directory are not shown by default.

Moving models with OLLAMA_MODELS

If your internal drive is small, the models can live on an external volume:

export OLLAMA_MODELS=/Volumes/External/ollama

The variable must be set before the Ollama server starts. On macOS, apps launched from the Dock do not inherit exports from your shell, so launchctl setenv OLLAMA_MODELS /Volumes/External/ollama followed by logging out and back in is the reliable route for the menu bar app. Starting ollama serve from a shell that already has the variable set works for CLI use.

Changing the variable does not move existing files. Ollama simply looks in the new location, so models you already downloaded must be moved manually while the server is stopped, or pulled again.

See which models you have

ollama list
ollama ps

ollama list shows the model name, ID, size on disk and modification time. ollama ps shows models currently loaded in memory, how much memory each occupies, and whether it is running on GPU or CPU. A loaded model uses RAM as well as disk; those are separate numbers.

Delete a model

ollama rm llama3.2:3b

Use the exact name from ollama list. The command removes the manifest and any blobs no other model references. If the model is loaded, unload it first with ollama stop <model> or by restarting the server. Run ollama list again to confirm the model is gone.

Deleting a model means pulling it again later, which on a slow connection can take a long time. Remove models you have genuinely stopped using rather than clearing the whole folder.

How much disk space models take

Size depends on parameter count and quantization. A 7B model quantized to 4-bit typically lands in the 3–5 GB range, 13B models in the 7–9 GB range, and 70B models can exceed 40 GB. Embedding models are far smaller, usually well under a gigabyte.

Running several models for different projects adds up quickly. ollama list reports per-model size, so you can decide which ones earn their place.

The Hugging Face cache is separate

Tools built on Hugging Face libraries keep their own downloads in:

~/.cache/huggingface

This is independent of Ollama and can grow large if you use transformers, diffusers or evaluation scripts. Check it with du -sh ~/.cache/huggingface, then remove model folders you no longer need. If huggingface-cli is installed, huggingface-cli delete-cache offers an interactive cleanup.

What not to do

  • Do not delete ~/.ollama/models/blobs by hand. Manifests will point to missing layers and models will fail to load with errors that are hard to interpret.
  • Do not remove the directory while the Ollama server is running.
  • Do not assume uninstalling the Ollama app removes the models — it usually does not, and the folder stays behind.

How Maclean handles local AI models

Maclean’s developer-cache scan includes local AI model storage such as ~/.ollama/models and the Hugging Face cache, alongside Xcode, Docker, Kubernetes and other toolchain caches — more than 60 categories in the free CLI.

Each item is labeled as regenerable or needs a re-download, so it is clear that removing a model means pulling it again later. In the app, large items move to the Trash and can be restored; the CLI deletes model blobs permanently, so run --dry-run first if you are unsure. Protected applications are excluded. The CLI supports --dry-run, JSON output and scheduled scans, and runs on macOS and Windows under Apache-2.0.

Everything is processed locally: Maclean does not upload file names or paths. For the rest of the developer picture, see Xcode Derived Data, Mac System Data and what is taking up space on a Mac.

Bottom line

Ollama’s models live in ~/.ollama/models, are listed with ollama list, and are removed with ollama rm <model>. Move them with OLLAMA_MODELS when the internal disk is tight, and leave the blobs directory to Ollama rather than deleting files by hand.

FAQ

Frequently asked questions

Where are Ollama models stored on a Mac?

They are stored in ~/.ollama/models, a hidden folder at the root of your home directory rather than inside ~/Library. Inside it, blobs holds the weight files and manifests holds per-model metadata.

How do I delete an Ollama model?

Run ollama rm <model> with the exact name shown by ollama list. This removes the manifest and any blobs that no other model references. Deleting files from the blobs folder manually can break other models that share layers.

Does deleting a model free its full size?

Not always. Models with different tags often share blob layers, so removing one tag frees only the layers used exclusively by that model. ollama list reports per-model size on disk as a guide.

Can I move Ollama models to an external drive?

Yes. Set OLLAMA_MODELS to a folder on the external volume before the server starts. Ollama then uses that directory for future downloads; models already in the default location are not moved automatically.

Why do Ollama models take so much space?

Each model is a set of large weight files. A 7B model quantized to 4-bit typically lands in the 3 to 5 GB range, 13B models in the 7 to 9 GB range, and 70B models can exceed 40 GB. Running several models across projects adds up quickly.

Preview first, then clean safely

Maclean breaks down caches, app data, large files and APFS snapshots, and labels the risk of every item before deletion.

Download for Mac→