Running 32B LLMs Locally on Apple Silicon Macs: Memory and Performance Guide
This guide explains how unified memory affects local LLM feasibility on Apple silicon Macs, estimates memory requirements for 32B models at different quantization levels, explains why swap can load a model without making it usable, compares model-size tiers, and provides a practical checklist and deployment workflow for judging whether a Mac can run a 32B model at acceptable speed.
1. Memory Capacity Is the Primary Constraint
When deploying a large language model locally, many users first focus on the chip model: core counts, graphics capability, and the neural acceleration unit. For models up to 70B parameters, however, the key factor that determines whether a model can run is often not the chip generation but the amount of memory available to the model.
Apple silicon Macs use a unified memory architecture. The CPU, GPU, and other compute units share the same memory pool, so the traditional Windows distinction between system memory and video memory does not apply in the same way. After a model is loaded, its weights typically occupy unified memory. Inference caches, temporary tensors, system processes, and the application itself also consume memory.
Therefore, whether a Mac can run a given model should not be judged only by the size of the downloaded model file. Consider the following factors:
- Model parameter scale;
- Quantization precision;
- Inference context length;
- Memory overhead of the inference framework;
- Operating system and other application usage;
- Whether swap is enabled.
2. How Much Memory Does a 32B Model Need?
Model size is usually expressed in B, where 1B represents roughly one billion parameters. The actual file size depends on how many bits are used to store each parameter.
Common estimates are:
- A 16-bit model uses about 2 bytes per parameter;
- An 8-bit quantized model uses about 1 byte per parameter;
- A 4-bit quantized model uses about 0.5 bytes per parameter.
Thus, a 32B model using 4-bit quantization has theoretical weights of about 16 GB; at 8-bit quantization, the theoretical size is close to 32 GB. Real files usually also contain quantization metadata, grouping information, and other structures, and runtime requires additional cache and temporary space.
This means that even with lower-bit quantization, a 32B model is not suitable for a normal experience on a 16 GB device. A 16 GB Mac may be able to load the model through swap, but the system will frequently move data between memory and the SSD. Inference speed will drop significantly, and users may see long periods of unresponsiveness, application crashes, or processes being terminated by the system.
More practical guidance:
- 16 GB: suitable for 3B, 7B, and 8B models; some 14B models may run;
- 24 GB: can attempt 14B models and some low-quantization 32B models with reasonable stability;
- 32 GB: better suited to 32B models, with room for context cache;
- 64 GB: can run 32B models more comfortably and attempt larger models;
- 96 GB and above: suitable for exploring higher-precision 32B models and some 70B models.
“Suitable” here does not mean every workload will reach the same speed. Longer contexts and higher concurrency increase memory consumption.
3. Why a 16 GB Device Can Load a 32B Model but Still Not Be Suitable
Swap is a mechanism that lets the operating system temporarily write some data to the SSD. When physical memory is insufficient, the system can move data that is not currently needed out of memory and read it back later.
With swap, a 16 GB device can sometimes load a larger model. But this only shows that the model did not fail to load immediately; it does not mean the device has usable inference capability.
During LLM inference, model weights are accessed repeatedly. If most data remains in physical memory, compute units can keep working. If data is constantly exchanged between memory and the SSD, the processor spends a large amount of time waiting for data. Even a capable GPU may remain underutilized because data cannot be supplied quickly enough.
Common symptoms include:
- Very long initial load time;
- Long waits to output a single character or word;
- Sustained increases in heat, fan activity, or power consumption;
- General system sluggishness;
- Further speed drops during long text generation;
- Memory pressure and application exits during operation.
Swap is better used for short tests or emergency situations, not as the main memory source for long-term large-model operation. For continuous conversation, code generation, or document analysis, physical unified memory capacity matters more than swap.
4. Model Size, Memory Capacity, and Inference Speed
Training and inference are very different workloads.
Training requires forward computation, backpropagation, gradient storage, and parameter updates. It usually demands very high compute capability and large amounts of memory. Inference only uses already trained parameters to generate output and does not need to store full gradients, so its resource requirements are much lower.
But “lower resource requirements” does not mean “CPU alone is enough.” Inference still requires repeated reads of large numbers of parameters and matrix operations. As parameter scale grows, data movement and computation usually increase as well.
A simplified inference process looks like this:
- Load model weights into an accessible memory region;
- Build context from the input text;
- Compute over the context;
- Generate the next token;
- Repeat computation until the answer is complete.
For large models, step 1 determines whether the model can start. Steps 2 and 3 are affected by context length. Steps 4 and 5 directly affect the output speed perceived by the user.
Under a unified memory architecture, the CPU and GPU share data, which can reduce some data copying. However, if memory capacity is insufficient or the quantization format is not well suited to hardware acceleration, inference may still fall back to CPU-heavy data processing and become very slow.
5. Practical Positioning by Model Size
3B to 8B Models
These models have relatively low hardware requirements and are suitable for everyday use on 16 GB devices. They can handle basic Q&A, simple summarization, lightweight code completion, and text rewriting.
Their advantages are fast loading and good response speed. Their disadvantages are typically weaker complex reasoning, long-text understanding, and specialized knowledge accuracy compared with larger models.
14B Models
14B is a balanced size for local deployment. After reasonable quantization, model files may range from several GB to the low tens of GB. A 16 GB unified memory device usually has a chance to run them, but other high-memory applications should be closed and context length should be controlled.
With 24 GB or more memory, 14B models run more comfortably. For personal development, offline Q&A, and code assistance, this tier often provides good practical value.
32B Models
32B models generally have advantages in logical reasoning, code analysis, and complex instruction following, but they place significantly higher demands on memory.
For a 16 GB device, a 32B model is more “possible to attempt loading” than “suitable for long-term use.” A 24 GB device can try low-quantization versions. Devices with 32 GB or more are better suited to serving as a daily inference environment.
If using long contexts, such as analyzing a large codebase, a long report, or multiple documents at once, extra space is needed for context cache beyond model weights. Avoid sizing device memory just barely above the model file size.
70B Models
70B models have very large weight footprints. Even with 4-bit quantization, they usually require tens of GB of memory. For ordinary 16 GB or 24 GB devices, running these models is often not practically usable.
If swap is forced, the system may complete loading, but generation speed and stability will usually be insufficient for normal use. Running 70B-class models typically requires a workstation with more memory, a remote inference service, or enterprise compute nodes.
6. How to Evaluate Whether Your Mac Can Run a 32B Model
Use the following steps.
Step 1: Confirm Unified Memory Capacity
Check the device’s total memory, not just the processor name. Within the same chip family, different memory configurations can produce completely different results.
Step 2: Confirm the Model Quantization Format
Do not look only at the “32B” parameter scale. Check whether the model is 16-bit, 8-bit, or 4-bit quantized. At the same parameter scale, different precisions can require more than twice as much memory.
Step 3: Reserve System Headroom
If a device has 32 GB total memory, do not allocate all 32 GB to the model. The operating system, inference program, input text, context cache, and other applications all need space. In practice, reserve at least several GB to more than 10 GB for system operation.
Step 4: Start with a Short Context
For initial testing, use a shorter context length and close high-memory applications such as browsers, editors, and virtual machines. After confirming stable operation, increase context gradually.
Step 5: Monitor Memory Pressure and Generation Speed
If memory pressure remains high, swap keeps growing, and generation speed drops noticeably, the current configuration has exceeded its comfortable range. Lowering quantization precision, shortening context, or switching to a smaller model is usually more effective than waiting.
7. General Local Deployment Workflow
Local LLM deployment no longer requires a complex compilation process. A common approach is to install a local model runtime that supports macOS, Linux, and Windows, then use a terminal or graphical interface to download, load, and chat with models.
A general workflow:
- Obtain the appropriate system version from the runtime’s official website;
- Complete installation and confirm that the background service starts correctly;
- Select an appropriate parameter size and quantization version in the model directory;
- Download the model file to local storage;
- Start the model and run a simple Q&A test;
- Adjust configuration based on memory pressure, time to first token, and sustained generation speed.
Pay attention to disk space. Model files are only the base footprint. Downloading multiple quantization versions, keeping caches, and saving conversation records will increase actual disk requirements. Reserve sufficient space for the model directory and avoid filling the system disk for long periods.
8. Final Recommendations
If you only want to explore local LLMs, a 16 GB device is more reasonable with 3B, 7B, 8B, or some 14B models. If you want to use 32B models long term, prefer a unified memory configuration of 32 GB or more. If the goal is 70B models, consider devices with 64 GB, 96 GB, or more memory, or use remote compute resources.
Overall, Apple silicon Macs offer advantages in unified memory architecture, relatively low power consumption, and a straightforward local deployment process. But the chip model does not replace memory capacity. To judge whether a 32B model can truly “run,” consider quantization size, system headroom, context length, and actual generation speed together.
Loading is only the first step. Stable, continuous inference with acceptable response speed is what makes the setup genuinely usable.
