Quick Answer: How much unified memory do local AI models need 2027?
There is no single number, but practical planning ranges have settled into clear tiers: 16–32 GB of unified memory for small 1B–8B models, 64 GB for mid-sized 14B–30B work, and 96–128 GB for 70B-class models and large quantized releases. Most people buying a unified-memory machine for local AI should aim for 64 GB as a floor and 128 GB as the comfortable ceiling.
The key distinction is that unified memory is one shared pool for the CPU and GPU, so a model loads once instead of being copied into separate VRAM. That changes what fits, but it does not change how fast tokens come out.
Before buying, compare model file size after quantization, KV-cache growth from long context, memory bandwidth, backend support for the accelerator, and how much headroom the operating system and apps leave in the pool.
Why unified memory became the buying decision of 2027

Ask anyone who has tried to run a 70-billion-parameter model on a gaming desktop and you will hear the same story. The graphics card has 24 GB of VRAM. The model wants roughly 70 GB unquantised. The runtime starts shuffling layers between system RAM and VRAM, and generation speed collapses into a crawl.
Unified memory removes that wall. On machines like NVIDIA’s DGX Spark, 128 GB of LPDDR5X is shared coherently by the CPU and GPU, so there is no separate copy into VRAM. The model loads once and stays put. That is the whole appeal, and it is why the question shifted from “how much VRAM?” to “how much shared memory?” (Much money do you really need buy house)
But shared does not mean free. The operating system, your applications, the runtime itself, and the KV cache all draw from the same pool. A published 128 GB capacity figure is a system specification, not 128 GB of guaranteed model space. Treat it as a ceiling, not a promise.
The planning tiers that actually hold up
The clearest way to answer the memory question is by workload. The following ranges are planning heuristics, not benchmark guarantees. Always validate the exact model file, quantization, context length, backend, and concurrency on the machine you intend to buy.
| Workload | First constraint | Practical starting point | What to verify |
|---|---|---|---|
| 1B–8B chat, coding, light document Q&A | Low footprint, software compatibility | 8–16 GB VRAM or 16–32 GB unified memory | Quantization and context fit with headroom |
| 7B–14B at 4-bit | Model plus context must fit | 12–24 GB VRAM with 32 GB system RAM | Actual file size, KV-cache growth, driver support |
| 30B–70B quantized | Raw capacity | 24 GB-plus VRAM, multiple GPUs, or 64–128 GB unified | Whether the backend uses the accelerator at all |
| 70B at higher precision, 120B-class models | Capacity over speed | 96–128 GB unified | Bandwidth, token rate, full-session memory peak |
Notice the pattern. Below 32 GB, you are mostly fighting software compatibility. Above 64 GB, you are buying capacity and accepting a speed trade-off. Unified-memory systems in the 96–128 GB class support 70B models at four-bit quantization and GPT-OSS 120B, and they favour capacity over raw speed.
Real model sizes tell the story better than parameter counts
Parameter counts mislead. File sizes after quantization are what actually matter, and the numbers are striking.
A Llama 3.1 8B model at Q4_K_M downloads at about 4.9 GB and runs comfortably in roughly 6–8 GB of working memory, which means an 8 GB VRAM laptop can handle it. Phi-4 14B lands near 9.1 GB and wants about 11–12 GB, so a 16 GB card or a 64 GB shared-memory laptop is sensible. GPT-OSS 20B, with only 3.6B active parameters, downloads at 12–14 GB and needs roughly 13–16 GB.
Then the scale breaks. MiniMax-M2.7 carries 230B parameters with 10B active and a 200K context window. Unquantised bf16 requires 457 GB. Unsloth’s 4-bit GGUF with per-layer precision cuts that to 108 GB, a 60% reduction, which fits on a 128 GB unified-memory Mac at around 15+ tokens per second. The same quantization runs faster on a setup with a single 16 GB GPU and 96 GB of RAM, reaching 25+ tokens per second. Two-bit versions fit on a 96 GB device, while near-full precision at Q8_0 needs 243 GB and a 256 GB machine.
That single example explains the entire market. A 128 GB unified machine is not overkill for 2027 workloads. It is the entry ticket for a 230B model at four-bit.
Why more memory does not mean more speed
Here is the mistake almost everyone makes: buying RAM to make local AI faster. Memory capacity decides what loads. Memory bandwidth decides how fast it generates. They are different problems.
More memory helps a computer load larger models, but it does not automatically improve performance. For most users, 32 GB is a sensible starting point, while 64 GB or 128 GB suits heavier development and research workloads. Developers handling larger models, longer prompts, or several AI tools at once benefit from the bigger pool, but they should not expect the bigger pool alone to raise token rates.
If speed is your actual complaint, the bottleneck is usually elsewhere. The same logic applies to networking: people upgrade the wrong component all the time, which is why a realistic guide to internet speed is worth reading before you blame your hardware. Local inference has an equivalent trap, and it is almost always bandwidth, backend support, or context length rather than raw gigabytes.
The context tax nobody budgets for
Sizing from the weight file alone works for short chat sessions. Agents break that assumption completely.
An agent keeps a long transcript, tool outputs, retrieved documents, and scratchpad reasoning in the active context. Every one of those tokens occupies KV cache, and KV cache lives in the same memory pool as the weights. A model that fits neatly at 8K context can push past the pool at 128K.
This is the agentic tax: context is a second memory budget. If you plan to run multi-step agents, compare the total pool against the peak requirement of the complete session, rather than the model file alone. A 108 GB model on a 128 GB machine leaves roughly 20 GB for everything else, which is workable for chat and tight for a long-running agent with a 200K window.
The practical fix is unglamorous. Cap context where you can, clear sessions between tasks, and check actual memory use during a real session rather than trusting a spec sheet.
Matching memory to the machine you actually own
Unified memory is not one product category. It spans several architectures with different ceilings.
Apple’s unified-memory Macs are the most common entry point, and the 128 GB configuration is the one that keeps appearing in model documentation as a reference target. AMD Strix Halo machines can allocate up to 96 GB of system RAM to the GPU. GB10-based systems like the NVIDIA DGX Spark carry 128 GB of coherent memory. Workstation towers with RTX PRO 6000 cards offer 96 GB per card and up to 768 GB tested, which buys speed and capacity together: 70B models at high quantization with full context, 120B models with margin, or several models resident at once for multi-agent pipelines.
The catch with any unified platform is software. A large pool cannot compensate for a runtime that does not recognise the device. Before committing, confirm that your chosen backend supports the operating system and the accelerator path on that specific machine. This is where buyers get burned: the hardware is capable, the software is not ready, and the model falls back to CPU-only execution at a fraction of the speed.
If you are building a whole local stack rather than just picking memory, it helps to see which open models are genuinely practical offline and how the tooling around them compares.
Quantization is the real memory dial
If you want to run bigger models without buying bigger hardware, quantization is the lever. It stores weights with fewer bits, shrinking the file and the memory needed for inference, with a quality and sometimes speed trade-off.
The llama.cpp project documents integer formats from 1.5-bit through 8-bit, and behaviour depends on the model and runtime. Do not infer an exact requirement from “4-bit” or from parameter count alone, because different schemes carry different metadata overhead and different quality outcomes. Mixed-precision quantization, which keeps sensitive layers at higher precision, often beats a flat low-bit conversion at a similar size.
The working rule from model documentation is simple: make sure your total available memory, VRAM plus system memory, exceeds the size of the quantized file you are downloading. If it does not, llama.cpp can still offload to SSD or HDD, but inference gets slower. That fallback is a safety net, not a strategy.
There is a cost angle too. Spending on memory to run local models is one budget line; paying per-token for hosted tools is another. Anyone weighing both should look at what AI app builders actually charge before assuming local is automatically cheaper. (Best offline local ai tools 2027 run models without cloud)
Common mistakes and what actually works
The failures repeat in predictable ways.
Buying 32 GB and expecting 70B performance is the classic. It will load a small model beautifully and choke on anything large. Buying 128 GB and expecting fast tokens is the second. Capacity is not bandwidth. Ignoring context length is the third, and it bites hardest for agent users. Assuming unified memory means the GPU gets all of it is the fourth; the operating system and runtime take their share first.
What works is boring and reliable. Pick the model class first, then the quantization, then the memory tier, in that order. Leave 15–20% headroom in the pool. Test with your real prompts and your real context length before you trust any benchmark. And verify backend support before purchase, not after. (Much do ai app builders cost real pricing 2027)
Conclusion
The honest answer for 2027 is that unified memory needs cluster into three bands: 16–32 GB for small models and light document work, 64 GB for mid-sized models and comfortable multitasking, and 96–128 GB for 70B-class models, 120B releases, and 230B models at four-bit quantization. The 128 GB figure keeps showing up because it is the point where a genuinely large model loads once and stays resident, which is exactly what unified memory was built to do.
But memory is only half the purchase decision. Bandwidth decides speed, context decides whether agents fit, quantization decides what is realistic, and software support decides whether any of it works. Get those four right and the capacity question answers itself. Get them wrong and no amount of RAM will save the build.
FAQ
Is 64 GB of unified memory enough for 70B models?
At four-bit quantization, a 70B model needs roughly 35–40 GB of weights, so 64 GB can load it with limited context headroom. The catch is that KV cache and the operating system share the same pool, so long prompts or agent sessions will push against the ceiling. For comfortable 70B work with real context, 96–128 GB is the safer target.
Does unified memory make local AI run faster than a discrete GPU?
Not necessarily. Unified memory solves capacity, letting large models load without shuffling layers between RAM and VRAM. A discrete GPU with high bandwidth can still generate tokens faster for models that fit inside its VRAM. Unified systems favour capacity over speed, which is the right trade only if your models exceed what a graphics card can hold.
How much unified memory do I need for a 230B model like MiniMax-M2.7?
Unquantised bf16 needs 457 GB, which is out of reach for most buyers. Mixed-precision 4-bit quantization brings it to 108 GB, so a 128 GB unified-memory machine can run it at around 15+ tokens per second. Two-bit versions fit on a 96 GB device, and near-full precision at Q8_0 needs 243 GB and a 256 GB machine.
Why does my model use more memory than its download size?
Because the file size covers weights only. Once the model runs, the runtime allocates the KV cache, working buffers, and overhead, all from the same pool. A 5 GB model file can require noticeably more than 5 GB of working memory. Long context lengths make the gap much larger, since every token in the active window occupies cache.
Can I run local AI models with only 16 GB of unified memory?
Yes, for small models. A 1B–8B model at four-bit quantization typically needs 6–8 GB of working memory, which leaves room for the operating system and a browser. A 14B model at 4-bit wants around 11–12 GB, which gets tight. Above that class, 16 GB stops being practical.
Should I upgrade RAM or buy a bigger GPU for local AI?
It depends on what is limiting you. If models fail to load or spill to SSD, more memory helps. If models load but generate slowly, bandwidth and backend support are the likely culprits, and a bigger GPU may serve you better. Check actual memory use and token rates during a real session before spending on either.


