Вход на сайт

Просмотр новости

Найдите то, что Вас интересует

Local LLM on a Laptop: A 2026 Spreadsheet to Estimate RAM/VRAM, Token Speed, and ‘Can It Run Offline’

Дата публикации: 27-07-2026 09:52:00

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 question

The 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 download

Start 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 you

Quantization 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 for

Here 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 one

Once 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.

ColumnWhat goes in itHow to fill it
Parameters (B)The model’s size, like 7, 13, or 70From the model card
Bytes per parameterYour quantization cost2.0 for 16-bit, 1.0 for Q8, ~0.57 for Q4_K_M
Weight memory (GB)The bulk of the requirementParameters times bytes per parameter
Context tokensYour longest realistic prompt4k, 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 memoryWeights + KV cache + ~2 overhead
Your usable memory (GB)Your VRAM or unified RAMFrom your hardware spec
Fits?The gateYes if total need is under usable memory
Est. tokens/secWhether it is worth usingMemory 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 verdicts

The 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.

SetupUsable memoryRuns comfortablyRough speed
Windows laptop, 8GB discrete GPU8GB VRAM + system RAM7B to 8B at Q4 in VRAMFast in VRAM; big models spill and slow
Apple Silicon, 16GB unified~11GB usable for models7B to 8B at Q4 comfortablySmooth for small models
Apple Silicon, 32GB unified~24GB usable14B at Q4, 32B possible but slowerGood, drops at long context
Desktop-class 24GB GPU24GB VRAM27B to 32B at Q430+ tokens/sec until context fills
64 to 128GB system RAM, small GPUMostly slow RAM70B at Q4, or a MoE model1 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 machines

One 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 means

The 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 Checklist
  • Estimate weight memory as parameters times bytes per parameter: about 0.57 bytes at Q4_K_M, 1.0 at Q8, 2.0 at 16-bit.
  • Add a working buffer of a gigabyte or two, then add the KV cache for the longest context you actually use.
  • Confirm the total fits inside your VRAM or unified memory before you download anything.
  • Estimate speed as memory bandwidth divided by the memory the model occupies, and expect a steep drop when a model spills into system RAM.
  • Treat context length as a real memory cost, since a long prompt can add several gigabytes on its own.
  • Consider a mixture-of-experts model when your memory is large but your bandwidth is ordinary.
  • Verify “offline” by disconnecting the network and checking the model still answers, and watch for wrappers that phone home.
Size the Model Before You Download It

Running 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-114.4709-03-2026
2Lokale KI auf dem Laptop: So gut funktioniert LM Studio im Alltag0504-07-2026
3В чём реальная проблема ЛЛМ-5703-07-2026
4Я устал писать одноразовые скрипты для бенчмарков LLM и собрал харнесс, который сам считает Pareto-front0727-06-2026
5Hardware-aware framework accelerates large language models without additional training08.5706-08-2026
6Fine-tuning LLM в 2026: гид по LoRA, QLoRA и полному дообучению0725-06-2026
7Как оптимизировать инференс LLM: кеширование, время ответа и GPU-ресурсы011.508-07-2026
8vLLM vs LMDeploy vs Triton: обзор бэкендов для инференса LLM0718-07-2026
9Copilot+ PC NPU: How to Tell If It’s Actually Helping You07.8326-07-2026
10https://dzen.ru/a/anBP3WTg8Wn46JCl Народ часто спрашивает: «А на чём всё это крутить?». ...012.906-08-2026

Классификация: Наука. Схожих патентов: 0. Схожих новостей: 10. Тональность: 0. Информативность: 6.54. Источник: venture-lab.org.