Every laptop now advertises local AI, and every model page brags about how well it runs on consumer hardware, but almost none of them tell you the two numbers that actually decide whether a model runs on your machine: how much memory it needs and how fast it will generate text. The good news is you do not need to guess or download twenty gigabytes to find out. A handful of simple formulas turn a model's size, its quantization, and your context length into a memory figure, and a second formula turns your machine's memory bandwidth into a realistic tokens-per-second range. This guide walks through those formulas, hands you the spreadsheet columns to build, and shows worked examples across real 2026 laptops so you can size a model before you download it.
The post Local LLM on a Laptop: A 2026 Spreadsheet to Estimate RAM/VRAM, Token Speed, and ‘Can It Run Offline’ first appeared on VentureLab.
Every laptop now advertises local AI, and every model page brags about how well it runs on consumer hardware, but almost none of them tell you the two numbers that actually decide whether a model runs on your machine: how much memory it needs, and how fast it will produce text. The good news is you do not need to guess, and you certainly do not need to download twenty gigabytes just to find out it stalls. A handful of simple formulas turn a model’s size, its quantization, and your context length into a memory figure, and a second formula turns your machine’s memory bandwidth into a realistic tokens-per-second range. This guide walks through those formulas, hands you the spreadsheet columns to build, and shows worked examples across real 2026 laptops, so you can size a model before you commit the download.
First, What Actually Fits in Your Memory: Running a model locally comes down to two questions in order. Does it fit, and if it fits, is it fast enough to be worth using? Fit is memory. A model’s weights take up roughly its parameter count times the bytes each parameter uses after quantization, plus a working buffer for the context window, and that total has to sit inside your VRAM on a discrete GPU or your unified memory on Apple Silicon. Speed is bandwidth. Because generating each token means reading the whole model out of memory, your rough tokens-per-second is your memory bandwidth divided by the size the model occupies. Get those two estimates first, and every “will it run” question answers itself before you install anything.
Why “will it run” is the wrong first questionThe honest reason people end up disappointed with local models is that “can my laptop run it” has two very different failure modes, and marketing only ever addresses one. A model can technically load and still be useless because it crawls at one token per second, or it can be plenty fast but silently spill into slow system memory the moment you paste a long document. So the useful question is not “will it run” but “will it fit, and will it stay fast at the context length I actually use.” Community threads make this concrete: people report 24GB cards running a 27B model beautifully until they hit a real coding task and run out of context mid-session. If you are still deciding whether to run anything locally at all, our local LLM versus cloud AI checklist is the step before this one. Once you have decided to try local, the rest of this guide is about predicting both fit and speed with arithmetic instead of trial and error.
The formula that predicts memory before you downloadStart with the weights, because they are the biggest and most predictable cost. A model’s weight memory is close to its parameter count multiplied by the bytes each parameter takes after quantization. A 7-billion-parameter model at 4-bit quantization uses roughly four gigabytes for weights, an 8B lands near five, and a 70B at the same 4-bit setting needs somewhere around forty. On top of the weights you add a working buffer for activations and overhead, commonly a gigabyte or two, plus the context memory covered in a moment. A widely used shortcut is that one billion parameters costs about 0.6 gigabytes at 4-bit, which lets you eyeball any model in your head. The tooling most local runners sit on, whether that is Ollama or LM Studio, is built on the llama.cpp engine, and it reports these memory figures when a model loads, so you can check your estimate against reality.
Quantization: what Q4, Q8, and FP16 cost youQuantization is the single biggest lever you control, because it sets the bytes-per-parameter in that formula. Full 16-bit weights use two bytes per parameter, 8-bit uses about one, and the popular 4-bit formats use roughly half a byte, with the common Q4_K_M variant landing near 0.57 bytes and Q5_K_M near 0.68. In plain terms, moving a 13B model from 16-bit to 4-bit takes it from around twenty-six gigabytes to under eight, which is the difference between needing a workstation and fitting on a laptop. The quality cost of 4-bit is real but usually modest for everyday use, and it is the setting most people run day to day. These weights ship in the GGUF format that local tools expect, and Hugging Face documents how GGUF files package a quantized model, including how the quantization type is named in the filename so you know what you are downloading.
Context length: the KV cache nobody budgets forHere is the cost that ambushes people. The context window, the amount of text the model holds in view, is stored in a key-value cache that grows with both the model and the length of the conversation, and it sits in the same memory as the weights. For a 7B model, a 4,000-token context adds only a few hundred megabytes, but a 32,000-token context can add a couple of gigabytes, and a 128,000-token context can demand ten gigabytes or more on its own. That is why a model that loads fine can fall over the moment you feed it a long file: the weights fit, but the weights plus a large context do not. When you build your estimate, treat context as a real line item, not a rounding error, and size it for the longest prompt you actually plan to use. Hugging Face’s guide to optimizing LLM inference explains why the KV cache grows the way it does and what reduces it.
Token speed is a bandwidth problem, not a compute oneOnce a model fits, speed is what decides whether you keep using it, and the surprise is that raw processing power barely matters for text generation. Producing each token requires reading the entire active model out of memory, so your ceiling is memory bandwidth divided by the size the model occupies. A useful back-of-envelope version circulating in local AI communities: typical DDR5 system memory moves around eighty gigabytes per second, so an 80B model quantized to 8-bit running from system RAM tops out near one token per second, because eighty divided by eighty is one. Graphics memory is far faster, from a couple hundred gigabytes per second on modest cards to well over a thousand on high-end ones, which is exactly why a model that fits entirely in VRAM feels quick while the same model spilling into system RAM feels broken. A 70B model kept fully in a large GPU can generate thirty tokens a second or more, while the same model offloading part of itself to the processor and system memory drops to single digits.
The spreadsheet: columns that answer “fits and runs”Now assemble the estimate. Build one row per model you are considering, with these columns, and the last three tell you everything.
| Column | What goes in it | How to fill it |
|---|---|---|
| Parameters (B) | The model’s size, like 7, 13, or 70 | From the model card |
| Bytes per parameter | Your quantization cost | 2.0 for 16-bit, 1.0 for Q8, ~0.57 for Q4_K_M |
| Weight memory (GB) | The bulk of the requirement | Parameters times bytes per parameter |
| Context tokens | Your longest realistic prompt | 4k, 32k, 128k, whatever you use |
| KV cache (GB) | Context cost | ~0.3 at 4k, ~2.5 at 32k, ~10 at 128k for a 7B |
| Total need (GB) | What must fit in memory | Weights + KV cache + ~2 overhead |
| Your usable memory (GB) | Your VRAM or unified RAM | From your hardware spec |
| Fits? | The gate | Yes if total need is under usable memory |
| Est. tokens/sec | Whether it is worth using | Memory bandwidth divided by total need |
If “Fits?” says no, either raise the quantization to a smaller format, shorten your context, or pick a smaller model. If it fits but the speed estimate is low, the model is spilling out of fast memory, and the fix is the same set of levers.
Three laptops, three verdictsThe formulas get real when you drop in actual machines. Here is how a few common 2026 setups shake out, using the arithmetic above and the numbers people report running these configurations.
| Setup | Usable memory | Runs comfortably | Rough speed |
|---|---|---|---|
| Windows laptop, 8GB discrete GPU | 8GB VRAM + system RAM | 7B to 8B at Q4 in VRAM | Fast in VRAM; big models spill and slow |
| Apple Silicon, 16GB unified | ~11GB usable for models | 7B to 8B at Q4 comfortably | Smooth for small models |
| Apple Silicon, 32GB unified | ~24GB usable | 14B at Q4, 32B possible but slower | Good, drops at long context |
| Desktop-class 24GB GPU | 24GB VRAM | 27B to 32B at Q4 | 30+ tokens/sec until context fills |
| 64 to 128GB system RAM, small GPU | Mostly slow RAM | 70B at Q4, or a MoE model | 1 to 3 tokens/sec dense; far faster MoE |
If those numbers are steering a hardware purchase, our checklist for buying an NPU laptop and our Copilot+ PC versus regular laptop guide cover which specs matter, and our business laptop features checklist lists the rest of what to weigh beyond memory.
The MoE shortcut: big models that fit small machinesOne class of model breaks the tidy rules above in your favor, and it is worth knowing because it changes what a modest laptop can do. Mixture-of-experts models have a large total parameter count but only activate a small fraction of it per token. A 30B mixture model might use only about three billion parameters for any given token, so while you still need the memory to hold the whole thing, the speed formula uses the small active size, not the large total. In practice people report a 30B mixture model running at thirty tokens a second or more on a machine with only eight gigabytes of VRAM helped by system RAM, and someone even reported a 35B model reaching nearly eighteen tokens per second on a plain processor with no graphics card in the loop. If your memory is generous but your bandwidth is ordinary, a mixture model is often the way to run something genuinely capable at usable speed. Just remember the fit rule still applies: you need room for the full parameter count, even though only a slice runs each step.
The offline reality check: what “runs offline” really meansThe last column of your mental spreadsheet is the one the specs never mention: does it actually run without a connection. The honest answer is yes, with one asterisk. Once the model file is downloaded, a local runner like LM Studio, Ollama, or a raw llama.cpp build executes entirely on your machine with the network switched off, which is the whole point for privacy and travel. The asterisk is that anything wrapped around the model may still reach out: a browser front end, a plugin that fetches web pages, a voice layer, or an app that phones home for updates. So whether something is truly offline depends on your whole setup, not the model alone. If your reason for going local is keeping data on the device, verify it by pulling the network cable and watching the model still answer, and read our note on local versus cloud AI and writing privacy before you trust any tool with sensitive text. A model that fits, runs fast, and truly stays on the device is the trifecta worth aiming for.
Frequently Asked Questions How much VRAM do I need to run a local LLM?For a solid general-purpose model, 8GB of VRAM comfortably runs 7B to 8B models at 4-bit, 16GB opens up 13B to 14B, and 24GB reaches into the 27B to 32B range. Below 8GB you are limited to small models or heavy quantization, and long context can push any of these over their limit.
Is system RAM a substitute for VRAM?Partly. A model can run from system RAM when it does not fit in VRAM, but system memory bandwidth is far lower, so speed drops sharply, often to a few tokens per second for a large dense model. Extra RAM helps you load bigger models and is genuinely useful for mixture-of-experts models, but it does not match the speed of fitting everything in graphics memory.
Why is my local model so slow even though it loaded?Almost always because part of it is running from slow system memory instead of fast graphics memory, or because a long context has ballooned the KV cache. Check whether the whole model plus your context fits inside VRAM or unified memory, and if not, drop to a smaller quantization or a shorter context.
What quantization should I start with?A 4-bit format such as Q4_K_M is the usual starting point, because it roughly halves memory against 8-bit with a modest quality cost. If you have memory to spare and want a little more accuracy, Q5 or Q8 are reasonable steps up. Go below 4-bit only when you must fit a model that otherwise will not.
Can a laptop really run a 70B model?It can load one if you have enough combined memory, often 48GB or more, but on a typical laptop it will run from system RAM at only a few tokens per second, which most people find too slow for real work. A capable mixture-of-experts model usually gives a far better experience on the same hardware.
Your Fits-and-Runs ChecklistRunning AI on your own laptop stopped being exotic in 2026, but the marketing still hides the two numbers that decide whether it is a good experience or a frustrating one. Weight memory plus context has to fit, and memory bandwidth divided by that footprint has to clear the speed you can tolerate. Put those into a few spreadsheet cells, drop in the model you are eyeing and the machine you own, and you will know the answer before the download bar finishes, which is a far better use of an afternoon than watching a model load only to crawl. Size it first, then run it, and local AI becomes something you plan rather than something you gamble on.
| # | Наименование новости | Тональность | Информативность | Дата публикации |
|---|---|---|---|---|
| 1 | Собственная облачная LLM на 16 ГБ VRAM — часть 1: базовая сборка, tools и MCP | -1 | 14.47 | 09-03-2026 |
| 2 | Lokale KI auf dem Laptop: So gut funktioniert LM Studio im Alltag | 0 | 5 | 04-07-2026 |
| 3 | В чём реальная проблема ЛЛМ | -5 | 7 | 03-07-2026 |
| 4 | Я устал писать одноразовые скрипты для бенчмарков LLM и собрал харнесс, который сам считает Pareto-front | 0 | 7 | 27-06-2026 |
| 5 | Hardware-aware framework accelerates large language models without additional training | 0 | 8.57 | 06-08-2026 |
| 6 | Fine-tuning LLM в 2026: гид по LoRA, QLoRA и полному дообучению | 0 | 7 | 25-06-2026 |
| 7 | Как оптимизировать инференс LLM: кеширование, время ответа и GPU-ресурсы | 0 | 11.5 | 08-07-2026 |
| 8 | vLLM vs LMDeploy vs Triton: обзор бэкендов для инференса LLM | 0 | 7 | 18-07-2026 |
| 9 | Copilot+ PC NPU: How to Tell If It’s Actually Helping You | 0 | 7.83 | 26-07-2026 |
| 10 | https://dzen.ru/a/anBP3WTg8Wn46JCl Народ часто спрашивает: «А на чём всё это крутить?». ... | 0 | 12.9 | 06-08-2026 |