Loki's Preparedness logo — a carved wooden medallion: a raven holding the Algiz rune over a cabin in the spruce forest LOKI'S PREPAREDNESS

Local AI

On this page
Laptop, notebook and pen on a home desk

Local AI means running a language model on a machine you own — a phone, a laptop, a homestead server — instead of sending your words to a company's data centre and waiting for an answer to come back. The model itself is a file: billions of numbers, called weights, learned during training. Download the file, run it with free software, and the conversation never leaves your house. That is the practice behind half this operation's plumbing: the way Hermes runs in a phone's Termux, or a model serves a homestead server, answering to no cloud.

A word on words, because the marketing blurs them. Most downloadable models are open-weight: you get the finished weights, under whatever licence the maker chose. Open source is a stricter claim. The Open Source Initiative's Open Source AI Definition 1.0, published in October 2024, grants the label only when a system comes with the freedoms to use, study, modify, and share it — backed by the complete code used to train and run it and detailed information about its training data, not weights alone. In the OSI's own validation, some widely promoted "open" models did not meet the definition, while fully documented ones like AI2's OLMo and EleutherAI's Pythia did. ↗ The distinction matters here for a practical reason: the licence on the weights decides whether you may use a model in work you sell, and licences vary model by model. Read the one attached to yours.

The research field has matured into surveys now. A systematic review of on-device language models lays out the compression toolkit — quantisation, pruning, distillation — and its practical ordering: quantise first, for memory and time-to-first-token, and treat the KV cache as a first-class part of the system. ↗ At runtime, the surveyed strategies narrow to two: speculative decoding, where a small model drafts and a large one verifies, and offloading, where parts of the model live wherever there is room. ↗

This page documents the local builds: what runs, on what hardware, at what speed — and what a private, offline assistant is actually good for on a homestead, stated as plainly as the evidence allows.

Where the exploring goes

  • Why local at all: privacy, offline use, and no subscription
  • The honest capability picture — benchmarks, and what they hide
  • Hardware realities: memory, quantisation, and the KV cache
  • The free toolbox: llama.cpp, Ollama, LM Studio, and model licences
  • Homestead uses, energy costs, and the limits that matter

Part of Loki's Additional Interests.

Why run it yourself?

Padlock resting on a computer keyboard

Privacy that is architectural, not promised. A cloud assistant's privacy rests on a company's policy, which can change, be breached, or be compelled. A local model's privacy rests on physics: the text never crosses your network. That distinction is worth more than it might seem, because language models themselves are leaky vessels. Researchers demonstrated in 2021 that by querying GPT-2 they could extract hundreds of verbatim sequences from its training data — including names, phone numbers, and email addresses — some of which appeared in only a single training document. ↗ Two lessons follow. Never paste anything into any model — cloud or local — that you would not want repeated. And for the ordinary run of household questions, drafts, and half-formed thoughts, keeping the processing on your own hardware keeps your side of the conversation yours.

It works when the connection doesn't. Rural internet fails in exactly the weather when you most want a reference tool: storms, wildfire smoke season, a fibre cut two concessions over. A local model answers at line speed with the network cable pulled. For a preparedness practice, that is not a luxury feature; it is the whole point. The assistant degrades to exactly the capability you own, and no further.

No subscription, no meter, no rug-pull. Cloud AI is rented. Prices change, free tiers shrink, models are retired, and a service can be withdrawn from your region or your account. A downloaded model is a possession: it runs the same in five years as today, on hardware you already own, at the cost of the electricity it draws — which, as the energy section below shows, is small change for text. For a household that budgets in seasons, cost certainty is a feature.

The honest capability picture

Stylised brain formed over a computer circuit board

Photo by Steve A Johnson on Unsplash

Strip away the hype in both directions and a small local model is this: a tireless, well-read apprentice with an excellent memory for patterns, a shaky grip on facts, and no idea when it is wrong. The research supports each clause of that sentence.

Benchmarks measure something real, but less than the headlines claim. When the MMLU benchmark — 57 subjects from elementary mathematics to professional law — was introduced, the largest GPT-3 scored 43.9 percent against a 25 percent random baseline, with lopsided results: near 70 percent on its best subject, near-random on several others, and confidence that could be off from its actual accuracy by up to 24 percentage points. ↗ Frontier cloud models have since climbed far up that particular hill; small local models sit lower on it. What they offer is breadth and fluency, not expertise.

And some of the drama in benchmark graphs is an artefact of the ruler. Schaeffer, Miranda, and Koyejo showed at NeurIPS 2023 that many celebrated "emergent abilities" — sudden leaps in capability as models grow — appear when a task is scored with an all-or-nothing metric, and dissolve into smooth, gradual improvement when the same outputs are scored continuously. ↗ For the homestead buyer this is good news disguised as a debunking: capability grows gradually, so a model one size down from the biggest is usually a little worse, not useless — and next year's small model quietly inherits much of this year's large one.

The deepest caution comes from Bender, Gebru, and colleagues, whose 2021 paper named the mechanism plainly: a language model stitches together sequences of linguistic forms it has observed, according to probabilities, without reference to meaning — a "stochastic parrot." Fluency is the product, not evidence of understanding, and the training data's biases and gaps ride along in the output. ↗ Treat the apprentice accordingly: wonderful at drafting, summarising, rephrasing, and brainstorming; never the final authority on anything that matters.

Hardware realities: memory is the wall

Close-up of a printed circuit board and its components

Running a model is mostly an exercise in fitting it into memory. The arithmetic is simple and unforgiving. A model's weights take roughly one byte per parameter at 8-bit precision, two bytes at the 16-bit precision models are usually trained in, and about half a byte at 4-bit. So an 8-billion-parameter model needs roughly 16 GB at full precision, 8 GB at 8-bit, or a little over 4 GB at 4-bit — plus working room on top: the KV cache, which stores the conversation so far and grows with every token, is a first-class part of the memory budget, not an afterthought. ↗ That is why the honest specification for local AI is not processor speed but memory: system RAM for CPU running, video RAM (VRAM) for GPU running. A model that does not fit does not run slowly; it does not run.

Quantisation — storing weights at lower precision — is what makes home hardware viable, and the evidence says the trade is a good one down to a point. Across more than 35,000 experiments spanning models from 19 million to 176 billion parameters, Dettmers and Zettlemoyer found 4-bit precision almost universally optimal for total model bits against zero-shot accuracy: for a fixed memory budget, a bigger model at 4-bit beats a smaller one at higher precision — until 3-bit, where the relationship reverses and quality falls off. ↗ In practice: the 4-bit (and 5-bit) quantised builds are the sweet spot for a homestead machine, 8-bit is a luxury for those with memory to spare, and anything below 4-bit is a parlour trick.

Speed follows from fit. A model held entirely in a GPU's VRAM answers briskly; one spilled partly into system RAM — offloading, in the survey's terms — answers at the speed of the connection between the two; one run purely on CPU answers at a pace fine for drafting and reference, slow for long generations. ↗ Even a phone is a legitimate tier: small models in the 1–4 billion parameter range, quantised to 4-bit, fit in a modern handset's memory and run entirely offline — which is how an assistant can live in a pocket, in a Termux, on a farm with no signal.

The free toolbox

Lines of code on a computer screen

Everything named here is free of charge; where a tool is not open source, that is said out loud.

llama.cpp is the engine under most of the local-AI world: a C/C++ inference program, MIT-licensed, that runs quantised models in the GGUF format it defined, on CPUs and GPUs from nearly every maker. It is the maximum-control option and the one that runs on the oddest hardware.

Ollama wraps that engine in a friendly service — pull a model by name, run it, and it serves an API on your own machine that other programs can call. It is MIT-licensed open source throughout, which makes it the easiest tool here to recommend without reservation, including for work you charge for.

LM Studio is the polished desktop option: a graphical app for finding, downloading, and chatting with models, with a local server built in. Honesty requires the fine print: the app is proprietary, not open source. Since July 2025 it has been free to use at work as well as at home, with no commercial licence needed for internal use — but its terms do not permit offering it as a hosted service to others. ↗ For a household desktop, it is a kind on-ramp; for anything customer-facing, Ollama or llama.cpp are the cleaner foundations.

The models themselves carry their own licences, separate from the tools. Some are permissive (Apache 2.0, MIT); some popular "open" releases are open-weight only, with conditions on commercial use or redistribution, and several did not meet the OSI's Open Source AI Definition when tested against it. ↗ The rule on this homestead: before a model earns its keep in any paid work, its licence gets read, the same as any other contract.

What a homestead actually uses it for

Interior of a rustic cottage kitchen with shelves and a window

Offline reference — with a leash. The strongest pattern is not asking the model to recall facts but asking it to work on documents you hand it: summarise this manual, pull the steps out of this PDF, compare these two specification sheets. The source is on your desk, so the apprentice's inventions are easy to spot. Loaded with your own canning records, equipment manuals, and show notes, a local model becomes a searchable, talkative index to your own library — no signal required.

Drafting and correspondence. First drafts of letters, listings, show descriptions, and the hundredth variation of "thank you for your enquiry" — work where fluency is the whole job and a human edits before anything is sent. This is where the hours actually come back.

Translation and plain-language help. Draft translation between the languages a household and its neighbours actually speak, and rephrasing official documents into plain words — with the standing rule that anything legal, medical, or financial gets checked by a qualified human before it is acted on.

Code and configuration help. Writing the small scripts that glue a homestead's systems together, explaining an error message at midnight, drafting a backup job. Code has a virtue prose lacks: it either runs or it doesn't, so the apprentice's confidence is tested by the machine, free of charge.

A second set of eyes. Summarising a long article before deciding whether it deserves a full read; turning rambling voice notes into a tidy list; rehearsing an explanation of a hard topic before recording it. Bounded tasks, human in charge, evidence attached where it counts.

Energy: the meter is honest

Electrical meter measuring power consumption

AI's energy reputation was earned by its biggest systems, and the measured picture is more specific than the headlines. In the first systematic comparison of inference costs, Luccioni, Jernite, and Strubell measured 88 models across ten tasks and found that general-purpose generative models cost orders of magnitude more energy per task than small task-specific ones — and that the task matters more than almost anything: a thousand text classifications used about 0.002 kWh in their measurements, while a thousand image generations used about 2.9 kWh, a difference of more than a thousand-fold. Their largest text model tested, a 7-billion-parameter system, drew on the order of a ten-thousandth of a kilowatt-hour per query. ↗

Scale that to a homestead. A small local model answering text questions on an ordinary computer draws, while it thinks, roughly what the computer draws — tens of watts, for seconds at a time. The arithmetic is plain multiplication, and it lands in fractions of a cent per conversation. On a solar-charged battery bank the same logic holds with sharper edges: text is cheap enough to be a rounding error; image generation is the splurge you schedule for when the sun is on the panels. Local AI's energy story, honestly told, is that running a modest model at home is one of the smallest electrical decisions a household makes — the training of the model was the expensive part, and that bill was paid once, by someone else, before you downloaded the file.

The limits, stated plainly

Autumn forest path disappearing into fog

It makes things up, fluently. Hallucination is not a bug that a patch has retired; it is a documented, surveyed property of how these systems generate text — output that is plausible, confident, and unfaithful to any source. ↗ The sharpest demonstration is also the most relevant to a research-minded household: when Walters and Wilder checked 636 citations from literature reviews written by ChatGPT, 55 percent of the GPT-3.5 citations and 18 percent of the GPT-4 citations were fabricated — real-sounding papers that do not exist — and among the citations that were real, 43 and 24 percent respectively carried substantive errors. ↗ That study is exactly why every source on this page was opened and checked by hand. A model may suggest where to look; it may never be the citation.

It does not know when it is wrong. The calibration finding from the MMLU research — confidence drifting far from accuracy — has held up as a practical rule: the model's tone tells you nothing about its correctness. ↗ The wrong answer arrives in the same voice as the right one.

So the house rules are: never take a dosage, a canning time, a wiring instruction, a legal deadline, or a medical judgement from a model — those come from primary sources and qualified people, every time. Verify any fact that will leave the house. Keep the human's name on the work. Used inside those fences, the apprentice is genuinely useful. Used outside them, it is a liability with good grammar.

Sources

The claims on this page rest on the sources below. They will grow as the exploring does.

Get the weekly letter

One email every Tuesday at 10 AM Alberta time — the week's episode, the Alberta weather, and what's new on the site. The podcast is free; the letter is how you keep up with it. Subscribe to the newsletter.