Tool
RAM and VRAM calculator: What can my computer run?
Estimate local LLM memory requirements for your computer. Find models that fit, exact downloads, and the longest conversation each can hold.
Reading your settings…
Local LLM memory examples by computer
Open an example to see the strongest models that fit that computer. Each uses LM Studio, Q4, 4,096 tokens of context and one user; change any of them in the calculator.
Windows PC with an NVIDIA graphics card
Each example has 32 GiB of system RAM alongside the graphics card.
- 6 GiB VRAM model recommendations
- 8 GiB VRAM model recommendations
- 12 GiB VRAM model recommendations
- 16 GiB VRAM model recommendations
- 24 GiB VRAM model recommendations
- 32 GiB VRAM model recommendations
Apple silicon Mac
- 8 GiB unified memory model recommendations
- 16 GiB unified memory model recommendations
- 24 GiB unified memory model recommendations
- 32 GiB unified memory model recommendations
- 64 GiB unified memory model recommendations
- 128 GiB unified memory model recommendations
Shared-memory systems
The processor and graphics share one memory pool. The AMD example reserves 96 GiB for graphics, the maximum AMD allows on a 128 GiB Windows system.
- NVIDIA DGX Spark (GB10) with 128 GiB model recommendations
- NVIDIA RTX Spark with 128 GiB model recommendations
- AMD Ryzen AI Max with 128 GiB (96 GiB reserved for graphics) model recommendations
Need a particular model rather than a starting recommendation? Open One model and select its exact download. Compare models to see how changing the model changes the memory required while keeping your computer and run settings the same.
Start with the model weights, then add memory for the conversation, the runtime, and working buffers. Keep room for your operating system and other applications. A model download that fits on your disk can still be too large for the memory available when you load it.
How to use this tool
- Describe your computer once: Mac or PC, its chip or graphics card, and its memory. Pick your exact card or chip to get a speed estimate. Every tool on this site uses the same answers.
- Best for this computer lists the strongest models that fit, with the download to get. Below it, every model your app runs shows Fits, Close or Doesn't fit.
- Choose One model for its memory breakdown, every recorded download with the longest conversation each can hold, and the commands to run it. You can also check a GGUF file from your own computer.
- Change the run settings to match your app, compression, conversation length and number of people. Tick two to four models, or open Compare models, to see them side by side.
RAM, VRAM, and Apple unified memory
On an Apple Silicon Mac, the CPU and GPU share the same unified-memory pool. macOS lets the GPU use about two-thirds of it (three-quarters above 36 GB); a model above that limit is shown as Close. On a PC with a graphics card, the card's VRAM and the system RAM are separate. A model that spills from the card into system RAM runs, but more slowly.
Why conversation length changes the result
The model needs memory for the tokens it is processing as well as its weights. Longer conversations and more simultaneous users increase that allocation. Start with 4,096 tokens and raise it once the model runs.
Is 16 GB enough to run a local LLM?
Enter 16 GiB of system or unified memory. If you also have a dedicated graphics card, pick it as well. On 16 GB, 8B to 12B models at Q4 fit with room for a long conversation.
For the fuller explanation, read the local LLM RAM and VRAM requirements guide.
The model, conversation, and other programs all need memory. The calculation runs in your browser. Share or Copy link includes the current settings in a link; Copy results keeps the current answer with its inputs.
Memory calculation
- The model memory uses the size of the recorded download for the chosen compression. When no download is recorded, it calculates a size from total loaded parameters and weight compression. A MoE model still loads its total weights even when fewer parameters work on each token.
- Conversation memory depends on the model, how much text it can read at once, and how many people use it at the same time.
- Auto uses an FP16 conversation-memory allowance. Choosing Q4 model weights does not select a Q4 or Q8 conversation cache; the runner must support and enable that separately.
- Working memory while answering comes from llama.cpp measurements and grows a little with the model and the context. Each app or model runner adds a fixed amount of its own.
- The safety margin applies once, to the model’s own memory, not to the app’s fixed memory.
- Sliding-window layers: llama.cpp-based apps (Ollama, llama.cpp, Jan and Open WebUI with Ollama) keep these layers at their window only for model architectures whose llama.cpp support uses a window, plus 512 extra positions per window. Phi-3 and StarCoder2 use the full context in llama.cpp.
- Mac graphics memory: macOS normally lets the GPU use about two thirds of memory, or three quarters above 36 GiB. When a model needs more GPU memory than that, the answer is at most Close and says why. You can enter your Mac's real limit in Runtime settings.
- Operating-system reserve: the larger of 4 GiB (5 GiB from 32 GiB) and 22% of memory (18% on a Mac), but never more than half the memory of a small computer.
Inputs that change the answer
- Check the size of the actual download: two files for the same model can use different amounts of memory.
- Long context, document retrieval, images, and multiple users add working memory.
- Moving part of a model from graphics memory to ordinary computer memory lets it run and makes answers slower.
Quantization inputs
- FP16: 16 bits per weight plus format overhead. Highest memory use. Usually not practical on consumer hardware for larger models.
- Q8: 8 bits per weight plus format overhead. High quality, but still memory-heavy.
- Q6: 6 bits per weight plus format overhead. A quality-first quantization when memory allows.
- Q5: 5 bits per weight plus format overhead. A common balance for quality and memory use.
- Q4: 4 bits per weight plus format overhead. The default beginner estimate for fitting useful models locally.
- Q3: 3 bits per weight plus format overhead. Lower memory use with a visible quality tradeoff.
- Q2: 2 bits per weight plus format overhead. Only a fallback when the alternative is not running the model locally.
Is GPU memory more important than system RAM?
On a discrete-GPU system, dedicated GPU memory usually sets the ceiling for fast GPU-local inference. System RAM still holds the operating system, applications, downloads, indexes, and anything offloaded from the GPU.
Can a Mac run local AI models?
Yes. Apple Silicon uses unified memory shared by the CPU, GPU, macOS, context, and other applications. Metal reports a recommended working-set size for the device. The calculator cannot read that figure from your Mac; enter it in Runtime settings.
What does quantization change?
Quantization stores model weights with fewer bits. It reduces memory and storage demand, often at some quality cost. A common 4-bit build is the practical first attempt for many local text models.
Why can a model load but still be unusable?
A launch only means the runtime opened the model. Sustained swapping, low generation speed, context growth, document processing, and competition from other applications can still make the workflow impractical.
- What local LLM can my computer run?: Start from the machine and task.
- RAM and VRAM requirements: Understand the three memory pools.
- Unified Memory for Local LLMs: Compare a Mac’s shared memory with a PC’s dedicated graphics memory.
- Ollama vs LM Studio: Compare desktop chat, model controls, document features and API access.
- Fix an out-of-memory error: Check the model file, conversation, and app memory together.
- Fix a slow local LLM: Separate startup, first-token delay, and generation speed.
- Map the privacy boundary: Models, embeddings, storage, tools, and network exposure.
