Removing an Ollama model deletes a local model name and can free disk space when no other local name references the same layers. It is useful after testing temporary models, old tags, or failed imports.
Check the exact name before removal because tags can look similar. If a model was created or copied only for validation, remove that disposable name rather than a shared base model.
Use ollama list after removal as the proof surface. The absence of the target name matters more than the command's success text.
Related: How to list Ollama models
Related: How to copy an Ollama model
Related: How to back up and restore Ollama data
$ ollama list NAME ID SIZE example/gpt-oss-test 17052f91a42e 13 GB gpt-oss:20b 17052f91a42e 13 GB
$ ollama rm example/gpt-oss-test deleted 'example/gpt-oss-test'
$ ollama list
NAME ID SIZE
gpt-oss:20b 17052f91a42e 13 GB
$ du -sh ~/.ollama/models 13G /Users/example/.ollama/models
Shared layers may remain when another tag still uses them.
$ tar -czf ollama-models-backup.tar.gz ~/.ollama/models