# Will it fit?

Enter the model file size and your memory. The tool says whether the model fits, is tight, needs offload, or is too big.

Use the tool on the [web page](https://localmodels.fyi/tools/will-it-fit). It works without JavaScript.

## How to use it

1. Enter model file size in gb.
2. Enter context memory in gb.
3. Enter your gpu memory or unified memory in gb.
4. Enter memory to keep for the system in gb.
5. Enter free system ram for offload in gb.
6. Read the result.

## How it works

The tool compares the model size plus context memory with your memory minus the reserve you enter. A model that uses 90 percent or less of your free memory is a fit. Up to 100 percent is tight.

The 90 percent margin and the 2 GB reserve are example rules of thumb. They are not measured figures. Runtimes differ in their overhead.

If you enter free system RAM, the tool adds it to the free memory to test for offload.

> A rule of thumb, not a guarantee. Load the model and read your runtime's memory report.

## Questions

### Where do I find the model size?

Use the file size of the weights you plan to download. Each model page in this directory lists a 16-bit size and an estimated 4-bit size in gigabytes.

### What counts as memory?

For a discrete GPU, use its video memory. For an Apple Silicon Mac, use unified memory. For CPU-only use, use free system RAM.

### What does offload mean?

Some layers stay in system RAM while the GPU runs the rest. It works, but generation is usually much slower.
