Guide · Local AI

How much memory do you need for local AI?

Hardware advice reviewed 2026-10-04 · Methodology

Choose an exact model and runtime before choosing a memory tier. Model weights, context, concurrent requests, and temporary working memory must fit together. A download fitting on disk does not establish that it fits in GPU memory.

Start with the weights, then add headroom

A useful lower-bound calculation is parameter count × bits per weight ÷ 8. An idealized 8-billion-parameter model at 4 bits uses 4GB for weights; 32B uses 16GB; 70B uses 35GB. These are arithmetic examples, not measured requirements. Real formats include scales, metadata and tensors stored at different precisions. GB is decimal; GiB is binary, so compare the same units.

Check the exact artifact size and runtime documentation next. Reserve additional memory for the KV cache, temporary buffers, image encoders and any draft model. Longer context and more simultaneous requests can change a setup that fits into one that runs out of memory. Training adds gradients and optimizer state; inference estimates do not size a training machine.

Hugging Face explains quantization and its backend requirements. A label such as “4-bit” describes storage precision, not universal hardware compatibility or a fixed quality level.

MoE: active parameters are not the download size

Qwen3-30B-A3B lists 30.5B total parameters but 3.3B active per token. Budget resident weights using the full model artifact, not just the active count. Expert offloading is a separate runtime choice with its own memory and speed tradeoffs. See the Qwen model card.

Use memory tiers to narrow the shortlist

Shared memory and multiple GPUs

On a Mac, the operating system and applications share unified memory with the model. Installed memory is not all available to inference. Two GPUs also do not automatically become one larger card: the runtime must split the workload, and communication, cache placement and per-device limits matter.

A practical acceptance check

  1. Record the model revision, artifact, runtime version and backend.
  2. Set the context and concurrency you will actually use.
  3. Run a representative long prompt and generation; check peak memory and whether layers spill to CPU.
  4. Measure prompt processing and generation separately. If testing before purchase is impossible, find a reproducible report matching that configuration and buy with suitable return terms.

FAQ

Is 24GB enough for local AI?

For some workloads, yes. Check the exact model artifact, context, runtime and concurrency. There is no universal parameter-count cutoff for a 24GB card.

Sources and review

Hardware advice reviewed October 4, 2026. These are documentation-based recommendations; we have not benchmarked these configurations.

Compare GPU prices · Estimate memory needs · Compare Mac and GPU builds