Run a Local Model on a Work Laptop, practitioner guidance from TheAICommand
← Learning Hub
Tutorialadvanced

Run a Local Model on a Work Laptop

Running an open-weight model on your own laptop is a memory problem before it is anything else. Here is the arithmetic that decides which model fits, the second memory bill nobody budgets for, what quantisation costs, and the two licences you have to read.

Quick answer

Memory decides it. A model needs roughly its parameter count multiplied by its bits per weight, divided by eight, in bytes, and the context you allocate is a second bill on top. On a 16 GB laptop that means a seven to fourteen billion parameter model at four bits. Check both licences and prove nothing reaches a cloud.

Before reading this

  • privacy-safe-ai-for-regulated-work
  • reading-an-ai-tool-safety-card

What you'll learn

  • Calculate whether a given open-weight model fits the memory you actually have, before you download it
  • Explain what quantisation buys and what it costs, and design a measurement that answers the question for your own task
  • Check both the model licence and the runtime licence, and prove the model is running on your machine rather than in a vendor cloud

The model that fits on your laptop is not the model at the top of the leaderboard.

Before reading this. You can install software on your own machine, you know roughly what a model parameter is, and you have read Privacy-Safe AI for Regulated Work. This is the advanced end of the learning hub.
After reading this article, you will be able to. Calculate whether an open-weight model fits the memory you have, design a test that measures what quantisation costs on your own work, and check both the model licence and the runtime licence before anything sensitive goes near either.

Two pieces here cover the neighbouring ground, so name the boundary first. On-Device AI at Work covers models the vendor shipped inside the device. Small Models, Edge AI and the Next Governance Blind Spot is the governance case for models embedded in software you bought. Neither is this. This is a model you chose, downloaded and installed yourself, which makes you the deployer and puts the hardware, the licence and the verification on you.

What actually constrains a model on a work laptop?

Memory, not the processor. Everything else follows from that.

The published floors are modest. As at 26 September 2026, LM Studio asks for Apple Silicon and "16GB+ RAM recommended" on macOS, adding that 8GB Macs may still work but "stick to smaller models and modest context sizes". On Windows the recommendations are "At least 16GB of RAM" and "at least 4GB of dedicated VRAM".

Those are application requirements. The model question decides everything else. A model's weights occupy its parameter count multiplied by its bits per weight, divided by eight, in bytes. Unquantised weights ship at 16 bits, so a 27 billion parameter model is about 54 GB of weights. No corporate laptop issued in the last five years holds that.

Quantisation closes the gap, and the Hugging Face documentation for the GGUF format publishes the exact figures. Q5_K stores weights at 5.5 bits per weight, Q4_K at 4.5, Q2_K at 2.625, and the most aggressive community builds run down to 1.56 on IQ1_S.

Run that same 27 billion parameter model down the ladder. At 4.5 bits it is about 15.2 GB. At 2.625 bits it is about 8.9 GB.

One large figure showing 15.2 gigabytes as the memory a 27 billion parameter model needs at four and a half bits per weight
A 27 billion parameter model at 4.5 bits per weight occupies about 15.2 GB before anything else loads.

Now put 15.2 GB against a 16 GB laptop. The weights alone take almost the whole machine, and the weights are the floor, not the total.

The second bill is context, and almost nobody budgets for it. Ollama's documentation is plain about it: "Setting a larger context length will increase the amount of memory required to run a model." As at 26 September 2026 it sets the default by video memory: under 24 GiB of VRAM the default is 4k, from 24 GiB it is 32k, and from 48 GiB it is 256k. A standard corporate laptop sits in the first band, so the model you just installed is thinking with about 4,000 tokens, roughly 3,000 words, whatever the card advertises. Paste a long document into that, watch it lose the beginning, and blame the model.

One command settles both questions. Run ollama ps and read the PROCESSOR column, which reports 100% GPU, 100% CPU, or a split such as 48%/52% CPU/GPU. Anything short of full GPU means part of the model spilled into system memory, which works and is slow. The same output shows the context actually allocated.

The honest band on a 16 GB machine is a seven to fourteen billion parameter model at roughly four bits, about 4 to 8 GB of weights, leaving room for context and an operating system. A 27 billion parameter model wants 32 GB or more.

What does quantisation cost you?

Two very different things get called quantisation, and conflating them is the most common error here.

The first is a build the lab made itself. Alibaba publishes Qwen/Qwen3.8-27B-FP8 beside the unquantised checkpoint under the same Apache 2.0 licence, and its card describes the eight-bit method as "fine-grained fp8 quantization with block size of 128, and its performance metrics are nearly identical to those of the original model". Hugging Face recorded 5,509,853 downloads of that build against 6,652,309 for the original on 26 September 2026, so the quantised artefact is in heavy use beside it.

The second kind is what you will actually download. Alibaba's own lowest published build of Qwen3.8-27B is that eight-bit one. The four-bit and lower builds that fit a laptop are made by third parties from the released weights.

Here is the part the guides skip. No lab publishes a quality figure for a community four-bit build measured on your task. That number does not exist. Every claim you read about a particular quantisation being good enough is someone else's judgement about someone else's work.

So measure it. Take twenty real examples, run them through the local model and through whatever you use now, and compare. That is the discipline in Build a Golden Test Set Before You Trust an AI Workflow, applied to a new question.

Prompt
You are comparing two drafts of the same task for quality, not style.

TASK DESCRIPTION: [WHAT THE OUTPUT IS FOR]
SOURCE MATERIAL: [THE DE-IDENTIFIED INPUT]
OUTPUT A: [LOCAL MODEL OUTPUT]
OUTPUT B: [REFERENCE OUTPUT]

For each output, list separately:
1. Factual claims present in the source material that the output states correctly.
2. Factual claims in the output that are NOT in the source material.
3. Required elements of the task that the output omitted.

Then state which output has fewer items in categories 2 and 3.

Do not rank on tone, fluency or length.
Do not treat a more confident output as a more accurate one.
Do not fill any gap from your own knowledge.

Twenty examples gives you your own answer, at the quantisation level you actually installed. Nothing else will.

The capability you can actually expect

Do not read a leaderboard result and assume it describes the file on your disk.

On the Artificial Analysis Intelligence Index, as at 26 September 2026, GLM-5.3 scores 45 and Kimi K3 44 at max effort, three and four points behind GPT-6 Sol at max on 48 and eight and nine behind Claude Fable 5.1 at max on 53. That is close, and it comes from one independent evaluator running one method across every vendor, not from the labs.

Then look at what those two models are. Kimi K3 is a 2.8 trillion parameter model. GLM-5.3 ships as 141 weight shards, and even its smaller sibling GLM-5.3-Flash ships as 62. Neither goes on a laptop, and no quantisation changes that.

A vast facility on one side and a single small lit room on the other, as a metaphor for the gap between a datacentre-scale open model and the checkpoint that fits a laptop
The open-weight models near the top of the independent leaderboards are not the ones that fit on a laptop.

The checkpoint you can actually run is nowhere in that top 25. Alibaba's own comparison puts Qwen3.8-27B at 79.5 on IFBench against Claude Opus 4.6 Max at 62.5, a real instruction-following result published by the lab that built the model, on a narrow measure.

So set the expectation honestly. For classification, extraction, reformatting, redaction rehearsal and short drafting on material that must not leave the machine, a seven to fourteen billion parameter model at four bits is genuinely useful. For sustained reasoning across a document set it is not the frontier, and treating it as though it were costs more in review than it saved in transit. It holds one advantage the frontier cannot match: a checkpoint on your disk has no retirement date, the exposure in Every Model You Rely On Has a Retirement Date. Ollama says as much of its own cloud retirements: "Downloaded local models are not affected."

The licence question, and why the flagship is usually the problem

There are two licences here and they are separate documents.

The first is the model licence. Open weights is not open source, and the terms differ sharply inside a single lab's range. Every DeepSeek V4 checkpoint is MIT and Qwen3.8-27B is Apache 2.0, while Kimi K3, the GLM-5.3 flagship and two further Qwen checkpoints each carry different bespoke terms, all as recorded against the Hugging Face API on 26 September 2026.

The pattern runs the opposite way to the assumption. Within one family the flagship is often the restricted model and the smaller sibling the permissive one. GLM-5.3 is the clearest case: the flagship carries a bespoke licence while GLM-5.3-Flash is MIT. So the model small enough to interest you frequently has the cleaner terms.

Two contrasting halves, a restricted flagship licence on one side and a permissive smaller sibling licence on the other
Inside one model family the flagship often carries bespoke conditions while the smaller sibling ships under MIT or Apache 2.0.

The second is the runtime licence, and it is the one nobody reads. LM Studio's terms of service grant "a non-exclusive, non-transferable license to use the Software solely for Your personal and / or internal business purposes", and separately prohibit any move to "sublicense, distribute, sell, use for service bureau use, as an application service provider, or a software-as-a-service". Internal business use sits inside that grant. Wrapping it and selling it on does not. Ollama publishes its own repository under the MIT licence. Both checked 26 September 2026.

Neither licence answers your employer's question, which is a third one: whether an unmanaged inference runtime is permitted on a managed device at all. Installed quietly, a local model is exactly the pattern in Shadow AI Is Already Changing the Work. Ask first. The privacy argument for running locally is a good one and it does not survive being made in secret.

How do you prove it is running locally?

The most expensive assumption in this exercise is that a local tool is local.

Ollama's documentation is direct about it. Its cloud page offers to "Run models in Ollama's cloud from your apps or terminal", the same app and command line you installed for local work. Running one needs an account and an ollama signin, and the tag carries a cloud suffix, as in gemma4:cloud. There is a second tell, because cloud models "are set to their maximum context length by default" while a local model on a laptop defaults to 4k. A context that suddenly became enormous is not local.

Ollama's own position is that it does not see prompts run locally, and that for cloud models it processes them but does "not store or log that content and never train on it". Treat that as a vendor statement, then remove the need to rely on it.

There is a documented switch. Set disable_ollama_cloud to true in ~/.ollama/server.json, or set OLLAMA_NO_CLOUD=1, restart, and the logs report Ollama cloud disabled: true. That also disables web search, another route off the machine and an easy one to forget. LM Studio, separately, states it "can operate entirely offline, just make sure to get some model files first."

Then verify rather than trust. Disconnect the network and run your real task. If it answers, it is local. If it fails, it was not, and everything you sent before that moment went somewhere. Do that on install day and after any update that changes the model list. A runtime that gained a cloud path in a version bump will not announce it.

Try this

Pick one task you currently send to a cloud assistant and would rather not. Calculate the memory a candidate model needs, install a runtime, download a four-bit build that fits, and raise the context deliberately rather than accepting the default. Run twenty real examples through both tools, then disconnect the network and run one more. An hour tells you whether local inference solves your problem.

Where to go next

Bottom line

Running a model locally is a memory calculation before it is anything else, and the calculation is unforgiving: parameters multiplied by bits per weight, divided by eight, with the operating system and a context window paid out of the same pool. Quantisation makes it possible and its cost is unpublished, so the only honest quality figure is one you measure on your own work. The open models topping the leaderboards are enormous, so the artefact you can run is a smaller thing that stays useful inside its band. Read the model licence, read the runtime licence, ask your employer the third question, and close the cloud path rather than assuming it is shut. Do the arithmetic before the download.

Do this Monday

  • Multiply your candidate model's parameter count by its bits per weight, divide by eight, and compare that against your free memory before downloading anything.
  • Run the runtime's status command after loading a model and confirm the processor split and the context actually allocated.
  • Open the model's licence file and record whether it is MIT, Apache 2.0 or bespoke, because the flagship and the smaller sibling often differ.
  • Read the runtime's terms of service and confirm your intended use sits inside the grant, particularly if anything you build reaches people outside the business.
  • Ask whoever owns endpoint policy whether an inference runtime is permitted on your managed device, in writing, before you install it.

References

  1. LM Studio. System Requirements. https://lmstudio.ai/docs/app/system-requirements
  2. LM Studio. Terms of Service. https://lmstudio.ai/terms
  3. Ollama. Cloud. https://docs.ollama.com/cloud
  4. Ollama. Context length. https://docs.ollama.com/context-length
  5. Ollama. FAQ. https://docs.ollama.com/faq
  6. Hugging Face. GGUF. https://huggingface.co/docs/hub/en/gguf
  7. Alibaba. Qwen3.8-27B-FP8 model card. https://huggingface.co/Qwen/Qwen3.8-27B-FP8
  8. Moonshot AI. Kimi K3 model card. https://huggingface.co/moonshotai/Kimi-K3
  9. Z.ai. GLM-5.3-Flash model card. https://huggingface.co/zai-org/GLM-5.3-Flash
  10. Artificial Analysis. Models leaderboard. https://artificialanalysis.ai/leaderboards/models

TheAICommand. Intelligence, At Your Command.

Frequently asked questions

How much memory does a local model actually need?
Multiply the parameter count by the bits per weight and divide by eight to get bytes of weights. A 27 billion parameter model at 4.5 bits per weight is about 15.2 GB. That is the floor, not the total, because the context you allocate costs memory as well. LM Studio recommends at least 16 GB of system RAM, so a 15.2 GB model on a 16 GB machine leaves nothing over.
Why does my local model forget the start of a long document?
Probably because the context window is far smaller than the model card suggests. Ollama sets its default by available video memory, and under 24 GiB of VRAM that default is 4k tokens, roughly 3,000 words. A standard corporate laptop sits in that band. Raise it deliberately and watch the memory cost, because a larger context needs more memory to run.
Does quantisation make the model worse?
It depends on how far you take it and who did it. Alibaba publishes its own eight-bit build of Qwen3.8-27B and states its performance metrics are nearly identical to the original. The four-bit and lower builds that actually fit a laptop are usually made by third parties, and no lab publishes a quality figure for those against your task. Measure it.
Is an open-weight model as good as ChatGPT or Claude?
Some open-weight models are close on independent leaderboards, but they are not the ones that fit on a laptop. GLM-5.3 and Kimi K3 sit three and four points behind GPT-6 Sol at max effort on the Artificial Analysis Intelligence Index as at 26 September 2026, and both are datacentre artefacts. The checkpoint you can run locally is a much smaller and less capable thing.
Can I legally run an open-weight model at work?
There are two licences to read and they are separate. The model weights carry their own licence, ranging from MIT and Apache 2.0 to bespoke conditional terms that vary within a single model family. The runtime carries another. Neither answers whether your employer permits an unmanaged inference runtime on a managed device, which is a third question.

Try this

Take the parameter count of any open-weight model you are considering, multiply it by 4.5, divide by 8, and compare the answer in gigabytes against the free memory on your laptop right now. If the number is larger than your free memory, stop there. That one calculation saves an evening.

Glossary

Open weights
A model whose trained parameters are published for download. It is not the same as open source. The weights come with a licence, and that licence may carry conditions on commercial use, field of use or attribution.
Quantisation
Storing each model weight at lower numerical precision so the model occupies less memory. Unquantised weights are typically 16 bits per weight. Common local builds run at four to eight bits, and the more aggressive the reduction the greater the risk to output quality.
Bits per weight
The average number of bits used to store one parameter. It is the number that decides file size. Multiply the parameter count by bits per weight and divide by eight to get bytes.
GGUF
A binary file format built for fast loading and inference, developed by the author of llama.cpp. Hugging Face documents its use with llama.cpp, LM Studio, GPT4All and Ollama, and it carries both the tensors and a standard set of metadata.
Open WeightsLocal AIModel LicensingData ResidencyAdvanced
← Learning Hub