AI & Computing

A local AI model needs more memory than its download suggests

Estimate room for model weights, context and the applications you already use before buying hardware for offline AI.

7 min read

A laptop displaying code on a worktable

The smallest local AI trial can start with a laptop you already own, a few ordinary documents and an afternoon. It goes wrong when the shopping starts with the size of a model download. A file that fits easily on a solid-state drive can crowd the memory available to a processor when the model loads. A short chat may feel fast until a long attachment adds work. A laptop that behaves beautifully on mains power can become a different machine on a train.

In April 2026, Google introduced Gemma 4 with variants intended for local use, including on mobile and desktop hardware. Apple’s published research similarly describes a smaller model for devices and a separate design for servers. Those two projects illustrate a useful buying principle. A model arrives in a particular runtime, on hardware with several kinds of memory and a finite power budget. Choose the job first and treat the model name as one part of the system.

Pick the document you actually need to finish

A workable first experiment is extracting a deadline and a delivery address from a folder of nonconfidential sample notices. Another is assigning short meeting titles to notes you have permission to process. These jobs have outputs you can evaluate quickly. A broad request to prepare a market report invites judgement about research quality, citations and writing style at the same time, which makes it difficult to tell when a local model is ready.

Make a small collection with realistic mess. Include a notice where two times appear, a purchase order that leaves the delivery date blank, and a note where “next Tuesday” cannot be resolved without its authoring date. Write the expected outcome beside each item. It is worth ten minutes to agree that a missing address should come back as “missing.” Otherwise the smooth wrong answers become hard to see. Simulated examples protect private information while you learn which runtime settings store prompts, logs or histories.

Choose a representative long example, too. A multi-page agenda might contain an appendix whose footer repeats the meeting date. Give the model enough text that it has to separate decisions from background material. Keep a count of correct fields and of confident guesses. When a tool will eventually save time for a team, its error rate across recurring work matters more than whether one demonstration was impressive.

A rough estimate for weights

Parameters are learned numbers stored by the model. Download formats can represent those numbers at different numerical precision. A first-pass estimate for an eight billion parameter model at four bits per parameter is roughly four billion bytes just for parameter values. Each byte holds eight bits. Real files include metadata and may group or represent parts of the model differently, so measure the download and resident memory directly when possible. The calculation helps compare orders of magnitude. It leaves room for the parts that don't fit in a count of parameters.

Quantization uses less numerical precision, usually allowing a model to use less memory. The choice also affects output quality and depends on which operations the runtime supports efficiently. Test two quantization levels on the sample set before deciding. A mild reduction in prose quality may be acceptable for a room label. A change that damages part numbers in a parts inventory will cost time at review. Keep the reference outputs on the same computer and make the decision by comparing answered fields, missing fields and invented fields.

Some desktop systems have separate graphics memory on a graphics card. Others have a pool of unified memory shared by the CPU and GPU. The practical test is whether the runtime can keep the portions it needs on the accelerator without starving other software. Some runtimes can move work between processor and accelerator to get a large model to run. That option can preserve compatibility with limited resources, with a speed cost that an ordinary short chat may fail to reveal. Record the configuration you actually use when comparing results.

Context has a budget of its own

Text is broken into tokens, which can be chunks of words and punctuation. The model processes the prompt, then produces output token by token. During generation, many model designs store information from earlier tokens in a key-value cache to avoid repeating the same work. That cache can expand with context and consume memory on top of the weights. Model architecture, runtime choices and precision affect the size. A model that handles a short request comfortably may slow down or fail when receiving a long document plus conversation history.

Run a short input and a long input independently. Count time to first useful output and total elapsed time. A long, steady stream of words may hide a large delay before the first one arrives. Include the browser, spreadsheet or editor that you would leave open during ordinary work. Note whether switching to the other application remains responsive, and whether the system starts swapping data to storage. Adding a few extra minutes to measure memory pressure under normal multitasking can reveal a constraint that a clean benchmark misses.

A long context setting permits more input. It doesn't guarantee that a detail buried in an appendix stays prominent. Try supplying a shorter excerpt with an explicit instruction to quote its supporting line. Simple retrieval can narrow the request before it reaches the model. For example, search the source text for all mentions of “delivery,” then ask the model to label the candidate lines. Keep the original available for review. When a compact input gets the answer reliably, filling the entire advertised context window buys little.

Power and data travel along different paths

Download the model from a trusted distribution source, then check what happens with the network disconnected after installation. Some applications offer local drafts with optional web searches, updates, telemetry or accounts. Test the exact mode you want. A model that starts offline may still leave prompts in local history, project files or operating system backups. Check local access permissions, retention controls and whether the files are included in a sync folder. Privacy depends on the full path from import to export.

On a notebook, compare performance on mains and battery. Run the task several times across a realistic period, with the machine on a clear, ventilated surface. Fans, steady battery draw and speed after the first ten minutes tell you more about a repeated workflow than a single cold launch. If the notebook takes forty seconds to assemble one acceptable checklist, it may be a good choice for a weekly import and a poor choice for something you expect to happen after every keystroke. The right answer is specific to the cadence.

For a desk machine, include the start-up and model switching times. Someone extracting dates from fifty short forms may save more from batching them in one session than from chasing a modest speed gain on every generation. Starting a big model just to classify a subject line can also crowd out a work application. Keep a smaller model available if it handles the common case with equal reliability. A second tool should earn its place by making a clear exception easier to handle.

Add a file with a large table if tables are normal in your work. Text extraction can reorder the cells before the model sees them.

The useful hardware decision

Before ordering more memory, try reducing the context, substituting a smaller model and testing a less memory-intensive format. Compare the answer quality using the same examples. If the smaller configuration makes the workflow reliable, extra memory may change convenience more than capability. If results degrade quickly while the larger model succeeds, additional usable memory gives you something specific to buy. A colleague can repeat this decision when the model runtime updates, because the inputs and answer sheet stay the same.

Keep a one-page note on what worked. Include the model and format, runtime, context length, available memory under load and whether output reached the quality bar. Record the likely failure signal, such as long input causing heavy swap, or which field needs a person to check it. An organisation using the workflow can add a review owner and a place to put corrections. A household can simply keep the unprocessed files until it has verified the output. Both gain the ability to repeat the work without remembering last month's settings.

For a sample task such as building an index of appliance instructions, the correct end state is a set of entries with the model number and chapter title copied accurately from each manual. Read any item the tool marks uncertain. Keep the PDF and a link to its relevant page handy. If the output needs steady manual repair, the alternate process may be a conventional text search with a short spreadsheet. That result is still useful. It prevents a purchase from becoming a recurring maintenance obligation.

There will always be a larger model that fits in a product demonstration. The better question is whether the candidate hardware can complete one of your jobs while the rest of the computer remains usable. Answer that with an ordinary file, a longer file, an offline run and a careful check of the output. The download size can help you choose where to start. The work itself tells you where to stop.