modelmap -- Find, Map and Remove Local LLM Models
See every language-model file on a machine, how much space each one takes, and remove the ones you no longer need.
modelmap reads the stores of Hugging Face, Ollama, oMLX, LM Studio, llama.cpp, GPT4All, Jan and Whisper, follows the settings and symlinks that move them, and sweeps your home folder for loose GGUF, safetensors and checkpoint files. It reads file headers for parameter counts and quantization, counts each file once however many names point at it, and draws everything as a map you can open down to the individual files.
Status: pre-alpha, not yet released. It runs on macOS and Linux with Python 3.10 or later and needs nothing beyond the standard library.
Install
From a clone:
pip install .
Use
modelmap map --open # the map, opened in your browser
modelmap scan # totals by store
modelmap list # every model, largest first
modelmap providers # where each store is looked for
modelmap rm ollama:qwen3:4b # remove a model, after showing what goes and asking
On the map, click a tile to open the model; the square is redrawn as its
files, with each file's path and the modelmap rm command beside it.
Escape goes back up.
modelmap rm removes Ollama models with ollama rm, Hugging Face cache
repositories with hf cache rm, and moves anything else to the Trash. It
shows every file or command first, asks, and refuses caches and files
that another model also uses.
To map a machine you cannot reach, ask its owner for an inventory:
modelmap scan --json --redact > inventory.json # on their machine
modelmap map --from-json inventory.json --open # on yours
Documentation
- Guide: what is scanned, how sizes are counted, the map, removing models, and the limits.
- Command reference: every command and option.
- Cheat sheet: one page.
Development
poetry install --with dev
.venv/bin/pytest
Citation
If you use modelmap in your research or project, please cite it:
Suchanek, E. G. (2026). modelmap: Find, Map and Remove Local LLM Models (Version 0.1.0) [Software]. Flux-Frontiers. https://doi.org/10.5281/zenodo.24520428
@software{suchanek_modelmap,
author = {Suchanek, Eric G.},
title = {{modelmap}: Find, Map and Remove Local LLM Models},
version = {0.1.0},
year = {2026},
publisher = {Flux-Frontiers},
url = {https://github.com/Flux-Frontiers/modelmap},
doi = {10.5281/zenodo.24520428},
}
The DOI is the Zenodo concept DOI, which always resolves to the newest archived release. The citation metadata is also in CITATION.cff. See the changelog for release history.
License
BSD-3-Clause. See LICENSE.
Metadata
Release files for modelmap 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| modelmap-0.1.0.tar.gz | 60.3 kB | Without provenance | Details for modelmap-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| modelmap-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for modelmap-0.1.0-py3-none-any.whl |
Total release size: 130.6 kB
Release files / modelmap-0.1.0.tar.gz
| Download URL | modelmap-0.1.0.tar.gz |
|---|---|
| Size | 60.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9512d02a37733b8ea4c5acd20ab81c8ac6c1b1b31237134f5c6bc8946c922069
|
|
BLAKE2b-256 checksum How to use checksums |
c66a0d2cebed2a1bc9a0b4dc83528bdee9367eb7b287e6bd6ea535265d538cb9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.3 CPython/3.12.16 Darwin/27.3.0
|
Release files / modelmap-0.1.0-py3-none-any.whl
| Download URL | modelmap-0.1.0-py3-none-any.whl |
|---|---|
| Size | 70.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c6a6a4829996359383c9c4fe03f5edcc2353b6d2e0ddb083a3af7fad6ac4b374
|
|
BLAKE2b-256 checksum How to use checksums |
4b52e596c290745b020b3d4d37b2647aab8dc676cb21823372129f830c10d1cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.3 CPython/3.12.16 Darwin/27.3.0
|
Security for modelmap 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.