# Pick a model size for your memory

Match your GPU memory or Mac unified memory to a size class of open-weight models, with the arithmetic shown.

Updated 2026-12-02. Also on the [web page](https://localmodels.fyi/guides/pick-a-model-size-for-your-memory).

A local model has to fit in memory. Start there, then choose a model.

## The arithmetic

Weights in gigabytes are about parameters in billions times bits per weight divided by 8. At 16 bits, 8 billion parameters need about 16 GB. At about 4.8 bits, the same model needs about 4.8 GB. Add memory for the context cache and the runtime. The VRAM calculator on the tools page does this sum.

## Size classes in this directory

- Small models: under 4 billion parameters. They suit laptops and phones.
- Mid-size models: 4 to 15 billion parameters. They suit a single consumer GPU or an Apple Silicon Mac.
- Large models: 15 to 80 billion parameters. They suit workstation GPUs or high-memory Macs.
- Frontier open models: over 80 billion parameters. They are often mixture-of-experts models and suit multi-GPU servers.

## Steps

1. Write down your GPU memory, or your Mac's unified memory.
2. Keep a reserve for the system and other apps.
3. Open a category page and compare each listing's estimated 4-bit size with your free memory.
4. Leave room for the context. A long conversation uses more.
5. Load the model and read the memory your runtime reports.

For a mixture-of-experts model, use the total parameter count. All experts must be in memory.

## Check the licence

Memory is only half of the choice. Read the licence on the model page before you use a model in a product. Some models are gated and ask you to accept terms before you download.

## Questions

### How do I estimate the size of a model file?

Multiply parameters in billions by bits per weight, then divide by 8. The result is gigabytes. An 8 billion parameter model at 16 bits is about 16 GB.

### Is the 4-bit size on a listing exact?

No. It is an estimate at 0.6 bytes per parameter. Check the file size on the download page.
