Local LLM guide

LLM on Mac: Which Models Can Your Apple Silicon Run?

Running an LLM on Mac is one of the strongest reasons for developers to choose Apple Silicon. The CPU and GPU share unified memory, but the chip name alone does not tell you which model will run well. This guide compares every row in the supplied Apple Silicon chart and explains how memory, quantization, and context affect the result.

LLM on Mac compatibility table

The following table estimates which Q4-quantized model sizes can run on each chip. It follows the supplied chart and assumes the highest unified-memory configuration associated with each chip. A lower-memory Mac using the same chip may need to move one or more columns to the left. The rows cover the chips listed in that chart rather than Apple's full current lineup, so a chip released after the chart was compiled may be missing; apply the same memory-first reasoning to it.

Apple Silicon7B13B30B70B110B+
A18 ProTightNoNoNoNo
M1YesTightNoNoNo
M2YesYesTightNoNo
M3YesYesTightNoNo
M4YesYesYesNoNo
M5YesYesYesNoNo
M1 ProYesYesYesNoNo
M2 ProYesYesYesNoNo
M3 ProYesYesYesNoNo
M4 ProYesYesYesYesNo
M5 ProYesYesYesYesNo
M1 MaxYesYesYesYesNo
M2 MaxYesYesYesYesTight
M3 MaxYesYesYesYesYes
M4 MaxYesYesYesYesYes
M5 MaxYesYesYesYesYes
M1 UltraYesYesYesYesYes
M2 UltraYesYesYesYesYes
M3 UltraYesYesYesYesYes
Yes: comfortable capacityTight: limited headroomNo: unlikely to fit reliably

This is a capacity guide, not a performance benchmark. “Yes” means the model should fit with reasonable memory headroom. “Tight” means it may load, but context length, multitasking, or generation speed can be constrained. Always confirm the exact unified memory of the Mac you own or intend to buy.

Why Apple Silicon is good for local LLMs

Traditional computers divide memory between system RAM and dedicated GPU VRAM. Apple Silicon instead gives the CPU and GPU access to the same unified memory pool, reducing the need to copy large model weights between separate memory systems.

For local inference, that shared pool lets a well-configured Mac expose much more memory to its GPU than a typical laptop GPU. It also allows prompts, code, and documents to remain on the local machine. Unified memory does not make every model fast: memory bandwidth, GPU configuration, architecture, context length, and inference software still affect performance.

How much unified memory does an LLM need?

Parameter count is only the starting point. At 16-bit precision, each parameter commonly requires about two bytes. Quantization reduces that requirement by representing weights at lower precision. A Q4 model uses roughly four bits per weight, but the model file and runtime also need memory for metadata, quantization tables, buffers, and the KV cache.

Model sizeApproximate Q4 sizeRecommended available memory
7B–8B4–6 GB8–12 GB
13B–14B8–10 GB16–24 GB
30B–32B18–22 GB32–48 GB
70B40–50 GB64–96 GB
110B+65–80+ GB96–128+ GB

A practical planning rule is to provide around 1.5 times the loaded model size in available memory. That leaves room for macOS, the inference runtime, the context cache, and other applications. These are estimates rather than guarantees because model architectures and runtimes differ.

Why context length changes memory use

Model weights are not the only data kept in memory. During inference, the runtime maintains a KV cache representing the conversation context. Longer prompts and conversations require a larger cache, and the increase can be substantial for large models. Multimodal models may require still more memory for image encoders and related components.

A 70B model that loads with a short prompt can therefore run out of memory during a long document-analysis session. Check the model parameter count, quantization, context setting, KV-cache precision, and background memory use before calling a configuration comfortable.

Which Apple Silicon configuration should you choose?

Base M-series: best for 7B and 13B models

Base Apple Silicon Macs are the lowest-cost entry point for local inference. A 16 GB configuration is a sensible minimum for regular use with many 7B or 8B quantized models. For 13B-class models, 24 GB is safer because it preserves room for context and development tools.

Pro chips: the balanced development option

Pro-tier Macs combine higher memory ceilings and bandwidth with portable form factors. A 36 GB or 48 GB configuration is a useful middle ground for 13B models and 30B-class experiments while an IDE, browser, and containers remain open.

Max chips: practical 70B inference

Max-tier chips pair larger memory configurations with greater bandwidth. For a comfortable 70B workflow, target at least 96 GB. A 64 GB configuration may load some Q4 models but leaves much less headroom for context and other applications.

Ultra chips: workstation-class local AI

Ultra systems can run 70B models with more headroom and provide a path toward 110B+, mixture-of-experts, and multi-model workflows. Compare their hardware cost with hosted inference before buying one for occasional use.

The chip name can be misleading

Each chip family may be sold with several memory configurations. Two Macs using the same processor can therefore have very different local AI capabilities, while an older Max system with more memory may run a larger model than a newer base system.

Compare Macs in this order:

  1. Unified memory capacity
  2. Memory bandwidth
  3. GPU configuration
  4. Storage capacity
  5. Chip generation

Memory capacity determines whether the model fits. Bandwidth and GPU performance largely determine how quickly it generates tokens after loading.

What does “Tight” mean?

A tight result means the model may technically load but leaves too little memory for a dependable everyday workflow. Symptoms include heavy memory compression, SSD swap usage, a shorter usable context, slow prompt processing, and out-of-memory errors during long conversations.

SSD swap may prevent an immediate failure, but it is not a substitute for unified memory. Choose a model that leaves several gigabytes free instead of using the largest model that loads once.

Tools for running an LLM on Mac

Ollama: the easiest command-line starting point

Ollama provides a straightforward way to download and run local models and exposes a local API for development tools and agents.

ollama run qwen3:8b

LM Studio: the easiest desktop interface

LM Studio provides a graphical interface for discovering, downloading, and testing local models. It can also expose an API to applications on the same machine.

MLX LM: optimized for Apple Silicon

MLX LM uses Apple’s MLX framework for text generation and fine-tuning on Apple Silicon. It supports model loading from Hugging Face and quantized workflows.

pip install mlx-lm
mlx_lm.generate --model mlx-community/Qwen3-8B-4bit \
  --prompt "Explain unified memory in one paragraph."

llama.cpp: maximum runtime control

llama.cpp is a C/C++ inference runtime for GGUF models with detailed control over quantization, context size, GPU offloading, caching, and server configuration.

brew install llama.cpp
llama-cli -m /path/to/model.gguf \
  -p "What size LLM can this Mac run?"

Hugging Face: finding compatible models

Hugging Face hosts model weights and quantized variants. Look for GGUF models for llama.cpp and MLX-converted models for MLX LM. Review the publisher, license, architecture, quantization, and file size before downloading.

A simple local LLM setup

  1. Check unified memory under Apple menu → About This Mac.
  2. Install Ollama or LM Studio.
  3. Start with a 7B or 8B instruct model using Q4 quantization.
  4. Watch memory pressure in Activity Monitor.
  5. Test the context length required by your real workload.
  6. Move to a larger model only when the system retains comfortable headroom.

A smaller, responsive model is often more useful than a larger model that makes every interaction slow.

Is running an LLM on Mac worth it?

Local inference is attractive when you value private processing, offline access, predictable availability, no per-token inference fee, and direct integration with local files. It is less attractive when you need frontier-scale quality, maximum generation speed, large concurrent workloads, or easy horizontal scaling.

The most economical architecture is often hybrid: use a compact local model for frequent private tasks and call a hosted model when the task requires more capacity.

LLM on Mac FAQ

Can an 8 GB Mac run an LLM?

Yes, but it is best suited to small 3B to 7B quantized models. Limited memory also reduces the context and applications you can use alongside the model.

Is 16 GB enough for local LLMs?

Yes. A 16 GB Mac is a practical entry point for 7B and 8B models. Some 13B models may load with aggressive quantization, but 24 GB provides more headroom.

Can a MacBook run a 70B model?

Only configurations with enough unified memory can do so effectively. A 64 GB Mac may load some Q4 variants tightly, while 96 GB or more is a more practical target.

Does a newer M-series chip support larger models?

Not automatically. A newer chip may run inference faster, but the maximum usable model size depends primarily on the machine’s unified memory configuration.

Final recommendation

For most developers who want to run an LLM on Mac, the best value is not necessarily the newest chip with the smallest memory configuration. Choose unified memory based on the models you expect to use:

Buy enough unified memory first. Storage can be expanded externally, and cloud inference remains available when a local model is too large. Unified memory cannot be upgraded after purchase.

Pair local LLMs with low-cost media APIs

Local LLMs can handle chat, coding, documents, and agent orchestration. When your application also needs affordable image, video, or audio generation, browse the Cheap.dev model catalog and connect the right media endpoint.