Local AI models on Mac
Where Ollama, LM Studio and Hugging Face keep models on a Mac, how to measure them, and whether a model will fit your disk and memory.
Questions
Why does the same model take space twice?
Ollama, LM Studio and Hugging Face each keep their own copy in their own folder, and they do not share downloads.
How accurate is the memory estimate?
It counts the weights and the context (KV) cache, which are the two big parts. Apps add their own overhead and macOS may not give the GPU all of your memory, so a narrow fit is likely a no.
Where do the bits per weight come from?
From the block layouts in llama.cpp. Q4_0, for example, stores 32 weights in 18 bytes, which is 4.5 bits per weight.