Running AI models on your own computer
You do not need a data centre to run a capable AI model. Many open-weight models, whose files are published for anyone to download under a licence, run on an ordinary laptop or desktop. Nothing you type leaves your machine, there is no bill per request, and the model works without an internet connection.
There are trade-offs. The models that fit on home hardware are smaller than the largest hosted ones, setting up takes some effort, and speed depends heavily on your hardware. This guide explains what you need and how to start.
Why run a model locally?
- Privacy. Text and files stay on your computer, as long as the software itself does not send them anywhere.
- Cost. Once you have the hardware, there is nothing to pay per request, which suits large amounts of simple work.
- Control. You choose the exact model and version, and it does not change unless you change it.
- Offline use. It works on a plane, in a basement, or when an online service is down.
And the reasons not to: the largest hosted models still do better on hard reasoning and long, complex tasks; a fast setup may mean buying hardware; and keeping things up to date is your job.
Memory is the number that matters most
A model's size is given in parameters, usually in billions: an "8B" model has around eight billion. To run, the model's weights have to fit in memory, ideally in the graphics card's own memory (VRAM).
How much memory a model needs depends on how precisely each parameter is stored. Models are usually published at 16 bits per parameter, and are often quantised (compressed) to 8 or 4 bits, which shrinks them at the cost of a little quality. Four-bit versions are a popular middle ground.
The arithmetic is simple: the number of parameters times the bytes per parameter. At 16 bits that is 2 bytes each, at 8 bits 1 byte, and at 4 bits about half a byte, plus a little extra for the way the compression is stored.
| Model size | 16-bit | 8-bit | 4-bit (approx.) |
|---|---|---|---|
| 3B | 6 GB | 3 GB | 2 GB |
| 8B | 16 GB | 8 GB | 5 GB |
| 14B | 28 GB | 14 GB | 8 GB |
| 32B | 64 GB | 32 GB | 18 GB |
| 70B | 140 GB | 70 GB | 40 GB |
These figures are for the weights alone. The model also needs working memory for the conversation, which grows with the context length you set, and your operating system and other programs need room too. Leave a few gigabytes spare.
Where the memory comes from
- A dedicated graphics card. The fastest option, if the whole model fits in its VRAM. NVIDIA cards have the broadest software support; many tools work with AMD and Intel cards too.
- An Apple Silicon Mac. The processor and the graphics share one pool of unified memory, so a Mac with plenty of memory can run models that would not fit on a typical graphics card.
- Ordinary memory and the processor. This works on any modern computer, but it is much slower. It is fine for small models and short answers.
Many tools can split a model between the graphics card and ordinary memory when it does not quite fit. It runs, but more slowly.
What different machines can handle
Rough guidance, for models at 4 bits:
- A laptop with 16 GB of memory and no dedicated graphics card: models up to about 8B, at a usable but unhurried pace. Good for drafting, summarising and simple help with code.
- A graphics card with 8 to 12 GB of VRAM: 8B models run quickly; models around 14B fit, but tightly.
- A graphics card with 16 to 24 GB of VRAM: models from 14B up to around 32B, the larger ones on 24 GB.
- 64 GB or more of unified memory, or several graphics cards: models of around 70B.
Plan for disk space as well. Each model is several gigabytes, and you will probably try a few. A solid-state drive makes loading them much faster.
The software
Three widely used free tools:
- Ollama runs models from the command line and offers a local API for other programs. You download a model by name with one command.
- LM Studio is a desktop app with a model browser, a chat window and a local server. It is the easiest start if you would rather not use a terminal.
- llama.cpp is the open-source engine underneath many local tools. It uses model files in the GGUF format, and gives the most control over settings.
Each runs on Windows, macOS and Linux; check each project's own site for its current requirements. Many local tools offer an API in the same chat-completions format that hosted services use, so editors, scripts and coding assistants that accept a custom address can use your local model instead.
Models that make pictures use different tools, but the same rule holds: the graphics card's memory decides what fits.
Your first local model, step by step
- Check your memory. On Windows, open Task Manager, then Performance, and look at your graphics card's dedicated memory and your total memory. On a Mac, open About This Mac. On Linux with an NVIDIA card, run
nvidia-smi. - Install one tool. LM Studio if you want a window to click around in, Ollama if you are comfortable in a terminal.
- Start small. Choose an instruction-tuned (chat) model at 4 bits that fits with room to spare: around 3B to 8B for most machines.
- Try your real tasks. Use the kind of work you actually want help with, not trivia. Note how quickly it answers; most tools show the tokens per second.
- Step up if you need to. If the quality falls short and memory allows, try the next size up. If it is too slow, try a smaller model.
- Connect your other tools. Point any editor, script or assistant that accepts a custom address at the tool's local server.
A worked example
You have a laptop with 16 GB of unified memory and want a private assistant for drafting and summarising work documents. The operating system and your usual apps take several gigabytes, which leaves perhaps 10 GB in practice.
An 8B model at 4 bits needs about 5 GB for its weights, leaving room for a reasonably long document in the conversation. A 14B model at about 8 GB might load, but with little room left for the document and the rest of your work, it would probably be slow and cramped. Start with the 8B model, and judge it on your own documents.
Read the licence
Open-weight models come with licences, and they differ. Some allow almost any use; others restrict commercial use, require you to credit the maker, or set conditions above a certain number of users. Read the licence on the model's page before you build anything on it.
Local does not automatically mean private
The model runs on your machine, but the app around it may check for updates, download models or send usage statistics. Look through its settings, and if it matters, check with your firewall what it connects to.
Get model files from the tool's own catalogue or the publisher's official page. Prefer formats such as GGUF and safetensors, which hold only data; some older formats can run code when they are loaded. Keeping your data private when using AI covers the wider picture.
Is it worth it?
If your work is private, repetitive or high in volume, a local model can be the better choice. If you need the strongest reasoning available, or work with very long documents, a hosted model will usually do better. Many people use both. How to choose the right AI model explains how to compare them on your own tasks, and tokens explained shows how to estimate what the hosted route would cost.
Where Noetic Suite fits
If you would rather not manage hardware at all, Noetic Suite works in your browser and as a desktop app, with a free plan of tokens every 5 hours and every week. See the pricing page.