Home / Latent / Local LLMs
05Local LLMsRent the model or own it.
Every AI tool you use runs on a model someone hosts. You can keep renting it by the word, or run your own on hardware you control. Here's how to choose.
On this page
- 01The choice, in one example
- 02What local actually means
- 03When owning pays off
- 04Most businesses end up with both
- 05Models worth knowing
- 06Hardware, sized honestly
- 07Connect your documents first
- 08Measure quality before and after
- 09The setup, layer by layer
- 10Security and compliance
- 11Cost: renting vs owning
- 12A first project, start to finish
- 13Common mistakes
- ?Frequently asked questions
The choice, in one example
A 20-person accounting firm wants an assistant that answers staff questions. It should use the firm's own procedures, past memos and tax notes.
Option one: send those files to a hosted AI service and pay for every question. Option two: run an AI model on a server the firm controls, so the files never leave.
Both work. The first is faster to start. The second keeps client data in-house and trades a monthly usage bill for a fixed hardware cost.
The right choice depends on three things. How private the data is, how much staff will use it and who will look after it.
What local actually means
LLM stands for large language model, the kind of AI behind tools like ChatGPT. Running one locally means downloading a model and running it on hardware you control.
That might be a computer under a desk, a server in a closet or a private account with a cloud provider.
It doesn't mean building a model. Training a strong model from scratch costs millions. Instead, companies like Alibaba, Google, Meta, Mistral and OpenAI release models anyone can download.
These are called open-weight models. You start from one of them.
Open-weight doesn't always mean free for any use. Some licenses allow any business use. Others add limits. Read the license before you build on a model.
When owning pays off
Owning a model makes sense when at least one of these is true:
- Data can't leave. Client records, health data, legal files or contracts that must stay in-house.
- Use is high and steady. Thousands of questions a day. Usage bills grow with every question, but hardware costs stay flat.
- You need control. A model that doesn't change without warning, no outages from a provider and no usage limits.
- It must work offline or respond instantly, like on a factory floor.
Renting is better when use is light or hard to predict. It's also better when you need the most capable models, or when nobody can own the setup.
A model server needs updates, monitoring and someone to call when it's down.
Rent to learn what you need. Own once you know.
Most businesses end up with both
Owning or renting is rarely all or nothing. A common setup sends each request to the right place.
- Private or high-volume work stays local. Questions about internal documents, client file summaries and routine drafts.
- Hard, occasional work goes to a hosted model. Complex analysis and anything where top quality matters more than cost.
- A simple rule decides. For example: "Anything with client data stays local."
Most local tools speak the same language as hosted AI services. So one app can use both. Moving a task from one to the other becomes a settings change, not a rebuild.
Models worth knowing
New open-weight models come out every few months. These families were the common starting points as of mid-2026:
| Family | From | Sizes | License |
|---|---|---|---|
| Qwen3 | Alibaba | Small to very large | Apache 2.0, open for business use |
| gpt-oss | OpenAI | 20B and 120B | Apache 2.0 |
| Llama | Meta | 1B up to very large | Community license with limits |
| Gemma 3 | Under 1B up to 27B | Gemma terms, with use limits | |
| Mistral | Mistral AI | 7B to 24B and up | Mostly Apache 2.0 |
| Phi-4 | Microsoft | 3.8B and 14B | MIT |
The "B" means billions of parameters, a rough measure of a model's size. Bigger models are usually smarter, but they need more memory and run slower.
Don't pick a model from a ranking site alone. Test three models on 50 real questions from your work. Choose the smallest one that answers well enough.
Hardware, sized honestly
Memory is the main limit. The model has to fit in the graphics card's memory to run at a useful speed. On Apple Silicon Macs, it uses shared memory.
Most local setups shrink models with a method called 4-bit quantization. It cuts the size to about a quarter with only a small loss in quality.
A simple rule: plan for about 0.5 to 0.6 GB of memory per billion parameters, plus 20 to 30 percent extra.
- 7B to 8B5 to 8 GB · Recent laptop
- 14B8 to 16 GB · 16 GB graphics card
- 30B to 34B20 to 24 GB · 24 GB graphics card
- 70B35 to 48 GB · Two cards or a 64 GB Mac
For one person testing, a recent laptop is enough. For a team of 20 sharing one model, plan for a dedicated server or a private cloud machine. That way several people can get answers at once.
Connect your documents first
A model out of the box doesn't know your business. There are two ways to fix that, and the order matters.
The first is called retrieval, or RAG. The model stays the same. When someone asks a question, the system searches your documents and hands the best passages to the model with the question.
- 01QuestionA staff member asks something
- 02SearchThe system searches your documents
- 03PassagesThe best few passages are picked
- 04ModelThe model writes from those passages
- 05AnswerWith links to the documents it used
The model answers from what it was given and can show which document it used. Update a document, and the next answer reflects it.
The second is called fine-tuning. It retrains the model on your examples so it learns a style or format.
That helps with things like summaries in your house format. It's a poor way to teach facts, though. Facts change, and the model would need retraining each time.
A staff member asks, "What's our process for an amended return when the client moved states?" The model answers in three steps and links the two procedure documents it used.
Start with retrieval. Only try fine-tuning when answers are right but the format or tone still isn't.
Measure quality before and after
"It seems pretty good" isn't a standard you can manage. Before launch, build a test set of 50 to 100 real questions.
Include the answer your best person would give and the document it comes from. Then check four things:
- Correct. Is the answer right?
- Grounded. Did it come from your documents, or did the model guess?
- Found. Did the search step find the right document? Many bad answers are really bad searches.
- Honest. When the answer isn't in your documents, does it say so?
Rerun the test whenever you change the model, the search settings or the documents. It's the only way to know an upgrade is really better.
The setup, layer by layer
A working local setup has four layers. Each has solid, mostly free options.
- Model runner. Ollama and LM Studio make it easy to run a model on one computer. For many users at once, vLLM is a common choice.
- Connection. Most runners use the same connection format as OpenAI. Tools built for hosted AI can point at your model by changing one address.
- Document search. A system that splits your files into passages, indexes them and finds the best ones for each question.
- The app. A chat window for staff, an add-on to a tool they already use or an agent that takes actions.
Add access controls from day one. If any employee can pull any document, that's a data leak waiting to happen.
Security and compliance
Running a model on your own hardware removes one risk: sending data to someone else. It doesn't make the system safe by default.
- Permissions follow the person. The search step should only use documents the person asking is allowed to see.
- Keep the server private. Put it behind your network or a login. An open model server on the internet will be found.
- Treat logs as private data. Questions and answers can hold the same private details as the documents.
- Track the license. Record which model you use and check that your use fits its terms.
- Document regulated data. For health, financial or legal records, write down where data lives and who can reach it.
Cost: renting vs owning
The comparison is a fixed cost against a cost that grows with use.
| Rent | Own | |
|---|---|---|
| Upfront | None | Hardware or a reserved cloud machine, plus setup |
| Monthly | Grows with every question | Mostly flat: power, hosting and upkeep |
| Quality | The best available | Strong, usually a step behind the best |
| Where data lives | The provider's servers | Yours |
| Who maintains it | The provider | You or your vendor |
upfront cost / (monthly rental bill - monthly cost to own)
Start by renting for a month or two to measure real use. That number tells you if owning pays off in one year, three years or never.
If the data can't leave your walls, the math is already settled.
A first project, start to finish
A sensible first project takes about six to eight weeks. It usually follows this path.
- Pick one use and one team. "Answer staff questions from our procedures" is a good start.
- Clean up the documents. Remove old versions. The search step will find whatever you give it, including the wrong policy from 2019.
- Test with a rented model first. Prove the idea and build your test set before buying hardware.
- Choose the model and hardware from your test results and real use.
- Launch to the pilot team with a thumbs up or down on every answer.
- Review after 30 days. Check use, answer quality and time saved, then decide whether to expand.
Common mistakes
- Buying hardware before measuring use. Rent first. Real numbers beat guesses.
- Picking the biggest model that fits. A smaller model with good document search is often faster and just as accurate.
- Retraining to teach facts. Facts belong in document search, where you can update them in minutes.
- Loading every document. Old drafts and outdated policies lead to confident, wrong answers.
- No owner. Models, documents and permissions need care. Name the person in charge before launch.
Frequently asked questions
Is a local LLM as good as ChatGPT?
The best hosted models still lead on the hardest tasks. For focused work, like answering from your documents or drafting in a set format, a well-chosen local model is often good enough.
Can a local LLM run on a laptop?
Yes. Smaller models run on many recent laptops, especially Macs with 16 GB of memory or more. A laptop works for one person. A team needs a shared server.
Is a local model really private?
The model itself doesn't send data anywhere. Privacy then depends on your setup: where the server runs, who can reach it and who can see which documents.
How much does a private LLM setup cost?
It ranges from a few hundred dollars of hardware for one person to tens of thousands for a team server. Renting first for a month or two is the best way to size it.
Filed under Local LLMsMore in this category