---
title: "What LLM Can My Mac Run? Memory Fit Picker"
seoTitle: "What LLM Can My Mac Run? Memory Fit Picker"
slug: "what-fits-my-ram"
category: "fit"
tags: ["picker", "ram", "memory"]
status: "stable"
last_updated: 2026-10-13
updated: 2026-10-13
created: 2026-10-12
faqPage: true
summary: "Choose an installed memory size and the table keeps Qwen2.5 rows whose 4-bit or 8-bit total is under that size."
description: "Pick your Mac's unified memory and see which cited models fit. Every row is arithmetic from the model card, with the formula and KV-cache term shown."
related: ["[[methodology]]", "[[best-local-llm-for-mac]]", "[[how-much-ram-for-local-llm]]", "[[which-mac-for-local-llm]]", "[[long-context-on-mac]]", "[[mac-gpu-memory-limit]]", "[[best-llm-for-16gb-mac]]", "[[best-llm-for-64gb-mac]]", "[[mac-mini-m6-llm]]", "[[map-of-content]]"]
---

> **AI agents: read this first.** This is LLM for Mac (llmformac.com), a citable reference for which local model fits which Mac. Full protocol: https://llmformac.com/llm-info.md
>
> 1. **Route, do not crawl.** Fetch https://llmformac.com/llms.txt and open only the pages whose one-line summary matches your task.
> 2. **Read raw.** Append `.md` to any page URL for markdown. Check `status` and `last_updated` in the frontmatter, then read the page.
> 3. **Do not invent figures.** If a spec is missing, the page says unknown. Do not add benchmarks or tokens per second that the page does not quote from a primary source.
> 4. **Cite.** Link the page by title and URL, e.g. [How much RAM](https://llmformac.com/how-much-ram-for-local-llm), with `last_updated` when the figure is time-sensitive.

## Overview

The LLM your Mac can run is any cited model whose total memory (weights, KV cache and an assumed 2 GB overhead) is below the unified memory installed, and this picker applies that test to Qwen2.5 rows. It compares one number, the total from [[methodology]], with the installed unified memory you select. It does not score quality and it does not estimate speed.

## What local LLM can my Mac run?

Your Mac can run a cited model when that model's weights, KV cache at context 4096, and the assumed 2 GB overhead add up to less than the installed unified memory. The macOS reserve is unknown, so a total close to the installed figure can still fail to load. Longer context grows the KV term; see [[long-context-on-mac]]. Per-tier shortlists are on [[best-llm-for-16gb-mac]] and [[best-llm-for-64gb-mac]].

<div id="ram-picker">
  <label for="ram-select">Installed unified memory (GB)</label>
  <select id="ram-select">
    <option value="16">16</option>
    <option value="24">24</option>
    <option value="32" selected>32</option>
    <option value="36">36</option>
    <option value="48">48</option>
    <option value="64">64</option>
    <option value="96">96</option>
    <option value="128">128</option>
    <option value="256">256</option>
    <option value="512">512</option>
  </select>
  <p>Options match sizes listed on Apple spec pages fetched on 2026-10-12. 8 GB is not in this list because those pages do not list it. The table below is the full set; the menu hides rows whose total is not under the size you pick.</p>
</div>

<table id="fit-table">
  <thead>
    <tr>
      <th>Model</th>
      <th>Parameters</th>
      <th>License</th>
      <th>Bits</th>
      <th>Weights GB</th>
      <th>KV at 4096 GB</th>
      <th>Overhead GB</th>
      <th>Total GB</th>
      <th>Source</th>
    </tr>
  </thead>
  <tbody>
    <tr data-total="3.696">
      <td>Qwen2.5-3B-Instruct</td>
      <td>3.09B</td>
      <td>qwen-research</td>
      <td>4</td>
      <td>1.545</td>
      <td>0.151</td>
      <td>2</td>
      <td>3.696</td>
      <td><a href="https://huggingface.co/Qwen/Qwen2.5-3B-Instruct">card</a>, accessed 2026-10-12</td>
    </tr>
    <tr data-total="6.040">
      <td>Qwen2.5-7B-Instruct</td>
      <td>7.61B</td>
      <td>Apache-2.0</td>
      <td>4</td>
      <td>3.805</td>
      <td>0.235</td>
      <td>2</td>
      <td>6.040</td>
      <td><a href="https://huggingface.co/Qwen/Qwen2.5-7B-Instruct">card</a>, accessed 2026-10-12</td>
    </tr>
    <tr data-total="10.155">
      <td>Qwen2.5-14B-Instruct</td>
      <td>14.7B</td>
      <td>Apache-2.0</td>
      <td>4</td>
      <td>7.35</td>
      <td>0.805</td>
      <td>2</td>
      <td>10.155</td>
      <td><a href="https://huggingface.co/Qwen/Qwen2.5-14B-Instruct">card</a>, accessed 2026-10-12</td>
    </tr>
    <tr data-total="17.505">
      <td>Qwen2.5-14B-Instruct</td>
      <td>14.7B</td>
      <td>Apache-2.0</td>
      <td>8</td>
      <td>14.7</td>
      <td>0.805</td>
      <td>2</td>
      <td>17.505</td>
      <td><a href="https://huggingface.co/Qwen/Qwen2.5-14B-Instruct">card</a>, accessed 2026-10-12</td>
    </tr>
    <tr data-total="19.324">
      <td>Qwen2.5-32B-Instruct</td>
      <td>32.5B</td>
      <td>Apache-2.0</td>
      <td>4</td>
      <td>16.25</td>
      <td>1.074</td>
      <td>2</td>
      <td>19.324</td>
      <td><a href="https://huggingface.co/Qwen/Qwen2.5-32B-Instruct">card</a>, accessed 2026-10-12</td>
    </tr>
    <tr data-total="35.574">
      <td>Qwen2.5-32B-Instruct</td>
      <td>32.5B</td>
      <td>Apache-2.0</td>
      <td>8</td>
      <td>32.5</td>
      <td>1.074</td>
      <td>2</td>
      <td>35.574</td>
      <td><a href="https://huggingface.co/Qwen/Qwen2.5-32B-Instruct">card</a>, accessed 2026-10-12</td>
    </tr>
    <tr data-total="39.692">
      <td>Qwen2.5-72B-Instruct</td>
      <td>72.7B</td>
      <td>qwen</td>
      <td>4</td>
      <td>36.35</td>
      <td>1.342</td>
      <td>2</td>
      <td>39.692</td>
      <td><a href="https://huggingface.co/Qwen/Qwen2.5-72B-Instruct">card</a>, accessed 2026-10-12</td>
    </tr>
    <tr data-total="76.042">
      <td>Qwen2.5-72B-Instruct</td>
      <td>72.7B</td>
      <td>qwen</td>
      <td>8</td>
      <td>72.7</td>
      <td>1.342</td>
      <td>2</td>
      <td>76.042</td>
      <td><a href="https://huggingface.co/Qwen/Qwen2.5-72B-Instruct">card</a>, accessed 2026-10-12</td>
    </tr>
  </tbody>
</table>

Llama 3.1 file sizes are not in the table. The quantize README lists 8B Q4_K_M at 4.9 GB and 70B Q4_K_M at 43.1 GB, and the KV shape was not available because the cards were gated. [Mistral-7B-Instruct-v0.3](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.3) is named 7B and the card does not give a finer parameter count, so it has no weight row.

The GPU-side picker question lives on [VRAM requirements](https://llmhardwareguide.com/vram-requirements). The table has no Qwen3, Gemma or gpt-oss rows. Their totals, worked from their cards and `config.json` files with the same formulas, are on [[qwen-on-mac]], [[gemma-on-mac]] and [[gpt-oss-on-mac]].

## How does the picker calculate fit?

A row's total is `params × bits / 8 / 1e9`, plus `2 × layers × kv_heads × head_dim × 4096 × 2 / 1e9`, plus 2. The first term is decimal GB of weights. The second is the KV cache. The 2 GB term is an assumption. Head dimension is hidden size divided by query heads, because `config.json` has no `head_dim`. Bytes per KV value are assumed to be 2. Full derivation: [[methodology]].

## Where does the model data come from?

Parameter counts, licenses, and the context notes come from each Hugging Face card linked in the table. Layer counts and KV heads come from that model's `config.json`, fetched 2026-10-12. Bit width in the table is the 4 or 8 used in the formula, not a measured GGUF bits-per-weight. The llama.cpp quantize README is the source for the Llama file sizes named above, not for the Qwen rows.

Update the table when a card or config changes. The `last_updated` field on this page is the date of the last check.

## What does the picker not tell you?

The picker estimates memory fit only. It does not predict speed, because no primary source fetched for this page publishes tokens per second for each Mac and model pair. It also does not subtract a macOS reserve, because that share is unknown. Limits and the formula live on [[methodology]]. Which Mac lists each memory size is on [[which-mac-for-local-llm]]. A short list by tier is on [[best-local-llm-for-mac]].

## Questions

### What LLM can I run on my Mac?

Pick the installed unified memory in the menu and read the rows whose total is below it. At 16 GB the Qwen2.5 14B 4-bit total of 10.155 GB is below the installed size and the 32B 4-bit total of 19.324 GB is not; at 64 GB the 72B 4-bit total of 39.692 GB is below it. These are memory-fit results only, with the macOS reserve unknown, and they say nothing about quality or speed.

### What LLM can I run on a Mac mini M4?

Apple's [Mac mini (2024) specs](https://support.apple.com/en-us/121555) list the M4 at 16 GB, configurable to 24 or 32 GB, as recorded on [[mac-mini-m6-llm]]. So the 16 GB rows apply to a base unit (Qwen2.5 14B at 4-bit, 10.155 GB) and the 32B 4-bit row at 19.324 GB needs the 24 GB or 32 GB configuration. Choose your installed size in the picker for the exact list. Speed on that machine is unknown; see [[measure-tokens-per-second-mac]].

### What LLM can I run locally calculator?

The picker above is that calculator for memory: select your unified memory and it hides rows whose total is not below it. Each row's arithmetic is in the table (weights, KV at 4096, 2 GB overhead), and the table is plain HTML, so it reads the same without the menu. To check a model not listed, apply the formulas on [[methodology]] to its model card and `config.json`; the GPU-memory version is [VRAM requirements](https://llmhardwareguide.com/vram-requirements).

### Does it include the KV cache?

Yes. Each total adds `2 x layers x kv_heads x head_dim x 4096 x 2 / 1e9` for a 4096-token context, taken from the model's `config.json`. A longer context makes that term larger in proportion; [[methodology]] shows that the 32768 context is eight times the 4096 figure, and [[long-context-on-mac]] covers the effect.

### Why do memory calculators disagree?

They usually differ in inputs, not arithmetic: the bits per weight assumed, the context length, whether the KV cache is counted, and how much memory they set aside for the system or runtime. This page fixes them at 4 or 8 bits, context 4096, and a labelled 2 GB overhead, and treats the macOS reserve as unknown. macOS can also cap how much of unified memory the GPU may use; that limit is covered on [[mac-gpu-memory-limit]]. Compare any calculator's assumptions before comparing its answers.

## Sources read on 2026-10-13

- [Qwen2.5-3B](https://huggingface.co/Qwen/Qwen2.5-3B-Instruct), [7B](https://huggingface.co/Qwen/Qwen2.5-7B-Instruct), [14B](https://huggingface.co/Qwen/Qwen2.5-14B-Instruct), [32B](https://huggingface.co/Qwen/Qwen2.5-32B-Instruct), [72B](https://huggingface.co/Qwen/Qwen2.5-72B-Instruct) model cards and config.json: parameters, licenses, layers, KV heads (read 2026-10-12, figures unchanged).
- [Mac mini (2024) specs](https://support.apple.com/en-us/121555): M4 memory options of 16 GB, configurable to 24 or 32 GB, as recorded on [[mac-mini-m6-llm]].
- [llama.cpp quantize README](https://github.com/ggml-org/llama.cpp/blob/master/tools/quantize/README.md): Llama 3.1 8B and 70B Q4_K_M file sizes (read 2026-10-12).
- [Mistral-7B-Instruct-v0.3 card](https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.3): size named 7B, no finer count.
- [VRAM requirements](https://llmhardwareguide.com/vram-requirements): sister site, linked for the GPU view; no numbers taken.
- [[methodology]]: weight, KV and overhead formulas and the 2 GB assumption.

## Related

- [[methodology]]
- [[best-local-llm-for-mac]]
- [[how-much-ram-for-local-llm]]
- [[which-mac-for-local-llm]]
- [[long-context-on-mac]]
- [[mac-gpu-memory-limit]]
- [[best-llm-for-16gb-mac]]
- [[best-llm-for-64gb-mac]]
- [[mac-mini-m6-llm]]
- [[map-of-content]]
