{"course":{"slug":"ai-and-you","title":"AI, Safety and What Goes Wrong","url":"https://addaly.com/learn/ai-and-you","level":"beginner","track":"start"},"lesson":{"slug":"running-it-on-your-own-machine","title":"Keeping the data on your own machine","url":"https://addaly.com/learn/ai-and-you/running-it-on-your-own-machine","position":31,"of":73,"minutes":9,"answer":"A small quantised model can run locally on a suitable laptop. Verify that the selected mode, files and logs stay where you expect before using sensitive records.","keyIdea":"A small quantised model can run locally on a suitable laptop. Verify that the selected mode, files and logs stay where you expect before using sensitive records."},"body":{"format":"markdown","text":"## What stays on your device\n\nA downloaded model can process a document on your device without sending it to a remote model. Check the selected mode, cloud features, local logs and where the app saves its files. A synced folder or backup can copy a saved file elsewhere. Test with a made-up document and the network off before using confidential material.\n\nIt is worth being precise about what \"ordinary\" means, because vague claims here waste people's evenings.\n\n## What actually runs on what\n\nModels are distributed as files of weights, and the file size is the constraint. A model's parameter count times the bytes per parameter gives roughly the memory needed. **Quantisation** (storing each number in 4 bits instead of 16) cuts that by roughly four times for a modest quality loss, and it is the reason any of this is possible on a laptop.\n\nA rough guide, for 4-bit quantised models:\n\n- **A 1 to 3 billion parameter model** needs about 1 to 2 GB. Runs on a phone or any laptop from the last decade. Good for summarising, extraction, classification, simple rewriting. Not good at reasoning or long documents.\n- **A 7 to 9 billion parameter model** needs about 4 to 6 GB. Runs comfortably on a machine with 8 GB of RAM, and well on 16 GB. This is the useful floor for general work: drafting, translation, answering questions about a document you supply.\n- **A 13 to 14 billion parameter model** needs about 8 to 10 GB. Wants 16 GB of RAM.\n- **A 30 billion parameter model and above** needs a machine with a good discrete GPU or an Apple Silicon Mac with plenty of unified memory.\n\nApple Silicon Macs are unusually good at this because the processor and graphics share memory, so a Mac with 16 GB can hold models that would need a dedicated graphics card on a PC. On Windows and Linux, VRAM on the graphics card is the number that matters; system RAM works but is several times slower.\n\n> Figure: Memory a 4-bit quantised model needs. Bars (GB of memory): 1 to 3 billion parameters 1.5; 7 to 9 billion parameters 5; 13 to 14 billion parameters 9; 30 billion parameters and above 18. Parameters times bytes per parameter, with 4 bits in place of 16. The 7 to 9 billion class is the useful floor for general work and fits an ordinary 8 GB laptop; above 30 billion you need a discrete GPU or a Mac with plenty of unified memory.\n\nSpeed on a mid-range laptop without a GPU is roughly five to fifteen words per second for a 7B model. Slower than a commercial service, fast enough to read along with.\n\n## The free software\n\nAll of the following are free, and none require a subscription or an account.\n\n- **Ollama**: the simplest starting point. Install, then `ollama run llama3.2` and you are talking to a model. Command line, with a local API on port 11434 that other tools can use.\n- **LM Studio**: a graphical application for people who would rather not use a terminal. Browse models, download, chat.\n- **llama.cpp**: the C++ engine most of the others are built on. Worth knowing the name; it is why this works on a phone at all.\n- **GPT4All** and **Jan**: desktop applications with document-chat built in.\n- **Open WebUI**: a browser interface resembling the commercial products, pointed at your local Ollama.\n\nFor models, look for the instruction-tuned variants of Llama, Qwen, Gemma, Mistral and Phi. Check the licence: several are permissive, some carry conditions such as a user-count threshold or use restrictions.\n\n## What you give up\n\nA 7B model is noticeably weaker than a frontier commercial model at complex reasoning, long-context work, code and unusual languages. It hallucinates more. It has an older knowledge cutoff. It will not browse the web unless you add that yourself. Long documents may exceed its context window.\n\nWhat it is good at is the large category of ordinary tasks: summarising a document you supply, extracting fields, rewriting, classifying, drafting a first version, answering questions about text in front of it.\n\n## When it is the right call\n\nFor identifiable health, legal, employment or financial records, use a setup approved for that material. Check access, storage, logging, backups and retention as well as inference. The same care applies to confidential work under a contract and material that could identify a journalistic source.\n\nAnd one situation people underrate: a laptop on a plane, on a train, or in a village with intermittent connectivity. A local model works with the network off, which is a practical advantage before it is a privacy one."},"check":{"question":"A small legal practice wants to summarise client documents without sending them to any external service, on standard office laptops with 16 GB of RAM and no dedicated graphics card. What is a realistic setup?","options":[{"text":"Not feasible: useful models need a server with dedicated GPUs, not office laptops","correct":false,"tempting":"Was true a few years ago. 4-bit quantisation brought capable models under 6 GB and onto ordinary machines."},{"text":"A commercial API with zero retention, since local models are too weak for legal text","correct":false,"tempting":"Reasonable if sending data were acceptable, but the requirement was that nothing leaves the machine, and summarising is within local reach."},{"text":"A 70B model quantised to 4 bits, since legal work needs the strongest reasoning","correct":false,"tempting":"Wants more capability but ignores the memory arithmetic. A 4-bit 70B model needs around 40 GB and will not load in 16 GB."},{"text":"A downloaded small model in a verified local-only setup, with cloud features off and files outside synced folders.","correct":true}],"why":"A small quantised model can summarise supplied text on suitable hardware. A local-only configuration and local storage address the stated requirement."},"prev":{"slug":"anonymous-is-harder-than-it-looks","title":"Why removing the name is not anonymity","url":"https://addaly.com/learn/ai-and-you/anonymous-is-harder-than-it-looks"},"next":{"slug":"shadow-ai-at-work","title":"The tools nobody approved","url":"https://addaly.com/learn/ai-and-you/shadow-ai-at-work"},"authorship":"Founder and series editor: Dr Mustafa Mun. Written by AI models to a written standard. Source and assessment review continues. Academic review invited.","review":{"status":"Draft, open for academic review"},"cite":"Addaly (2026) 'Keeping the data on your own machine', in AI, Safety and What Goes Wrong. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/ai-and-you/running-it-on-your-own-machine (Accessed: 29 November 2026).","licence":{"name":"CC BY-NC-SA 4.0","url":"https://creativecommons.org/licenses/by-nc-sa/4.0/"},"reader":{"schema":1,"title":"Keeping the data on your own machine","courseTitle":"AI, Safety and What Goes Wrong","module":{"index":4,"slug":"data-and-privacy","title":"Your data, and who ends up with it"},"answer":null,"keyIdea":"A small quantised model can run locally on a suitable laptop. Verify that the selected mode, files and logs stay where you expect before using sensitive records.","hero":{"kind":"figure","figure":{"t":"figure","label":"Figure","figure":{"caption":"Parameters times bytes per parameter, with 4 bits in place of 16. The 7 to 9 billion class is the useful floor for general work and fits an ordinary 8 GB laptop; above 30 billion you need a discrete GPU or a Mac with plenty of unified memory.","series":[{"label":"1 to 3 billion parameters","value":1.5},{"highlight":true,"label":"7 to 9 billion parameters","value":5},{"label":"13 to 14 billion parameters","value":9},{"label":"30 billion parameters and above","value":18}],"title":"Memory a 4-bit quantised model needs","type":"bars","unit":"GB of memory"},"alt":"Figure: Memory a 4-bit quantised model needs. Bars (GB of memory): 1 to 3 billion parameters 1.5; 7 to 9 billion parameters 5; 13 to 14 billion parameters 9; 30 billion parameters and above 18. Parameters times bytes per parameter, with 4 bits in place of 16. The 7 to 9 billion class is the useful floor for general work and fits an ordinary 8 GB laptop; above 30 billion you need a discrete GPU or a Mac with plenty of unified memory."}},"blocks":[{"t":"h2","id":"what-stays-on-your-device","runs":[{"text":"What stays on your device"}]},{"t":"p","runs":[{"text":"A downloaded model can process a document on your device without sending it to a remote model. Check the selected mode, cloud features, local logs and where the app saves its files. A synced folder or backup can copy a saved file elsewhere. Test with a made-up document and the network off before using confidential material."}]},{"t":"p","runs":[{"text":"It is worth being precise about what “ordinary” means, because vague claims here waste people’s evenings."}]},{"t":"h2","id":"what-actually-runs-on-what","runs":[{"text":"What actually runs on what"}]},{"t":"p","runs":[{"text":"Models are distributed as files of weights, and the file size is the constraint. A model’s parameter count times the bytes per parameter gives roughly the memory needed. "},{"text":"Quantisation","b":true},{"text":" (storing each number in 4 bits instead of 16) cuts that by roughly four times for a modest quality loss, and it is the reason any of this is possible on a laptop."}]},{"t":"p","runs":[{"text":"A rough guide, for 4-bit quantised models:"}]},{"t":"ul","items":[[{"text":"A 1 to 3 billion parameter model","b":true},{"text":" needs about 1 to 2 GB. Runs on a phone or any laptop from the last decade. Good for summarising, extraction, classification, simple rewriting. Not good at reasoning or long documents."}],[{"text":"A 7 to 9 billion parameter model","b":true},{"text":" needs about 4 to 6 GB. Runs comfortably on a machine with 8 GB of RAM, and well on 16 GB. This is the useful floor for general work: drafting, translation, answering questions about a document you supply."}],[{"text":"A 13 to 14 billion parameter model","b":true},{"text":" needs about 8 to 10 GB. Wants 16 GB of RAM."}],[{"text":"A 30 billion parameter model and above","b":true},{"text":" needs a machine with a good discrete GPU or an Apple Silicon Mac with plenty of unified memory."}]]},{"t":"p","runs":[{"text":"Apple Silicon Macs are unusually good at this because the processor and graphics share memory, so a Mac with 16 GB can hold models that would need a dedicated graphics card on a PC. On Windows and Linux, VRAM on the graphics card is the number that matters; system RAM works but is several times slower."}]},{"t":"p","runs":[{"text":"Speed on a mid-range laptop without a GPU is roughly five to fifteen words per second for a 7B model. Slower than a commercial service, fast enough to read along with."}]},{"t":"h2","id":"the-free-software","runs":[{"text":"The free software"}]},{"t":"p","runs":[{"text":"All of the following are free, and none require a subscription or an account."}]},{"t":"ul","items":[[{"text":"Ollama","b":true},{"text":": the simplest starting point. Install, then "},{"text":"ollama run llama3.2","code":true},{"text":" and you are talking to a model. Command line, with a local API on port 11434 that other tools can use."}],[{"text":"LM Studio","b":true},{"text":": a graphical application for people who would rather not use a terminal. Browse models, download, chat."}],[{"text":"llama.cpp","b":true},{"text":": the C++ engine most of the others are built on. Worth knowing the name; it is why this works on a phone at all."}],[{"text":"GPT4All","b":true},{"text":" and "},{"text":"Jan","b":true},{"text":": desktop applications with document-chat built in."}],[{"text":"Open WebUI","b":true},{"text":": a browser interface resembling the commercial products, pointed at your local Ollama."}]]},{"t":"p","runs":[{"text":"For models, look for the instruction-tuned variants of Llama, Qwen, Gemma, Mistral and Phi. Check the licence: several are permissive, some carry conditions such as a user-count threshold or use restrictions."}]},{"t":"h2","id":"what-you-give-up","runs":[{"text":"What you give up"}]},{"t":"p","runs":[{"text":"A 7B model is noticeably weaker than a frontier commercial model at complex reasoning, long-context work, code and unusual languages. It hallucinates more. It has an older knowledge cutoff. It will not browse the web unless you add that yourself. Long documents may exceed its context window."}]},{"t":"p","runs":[{"text":"What it is good at is the large category of ordinary tasks: summarising a document you supply, extracting fields, rewriting, classifying, drafting a first version, answering questions about text in front of it."}]},{"t":"h2","id":"when-it-is-the-right-call","runs":[{"text":"When it is the right call"}]},{"t":"p","runs":[{"text":"For identifiable health, legal, employment or financial records, use a setup approved for that material. Check access, storage, logging, backups and retention as well as inference. The same care applies to confidential work under a contract and material that could identify a journalistic source."}]},{"t":"p","runs":[{"text":"And one situation people underrate: a laptop on a plane, on a train, or in a village with intermittent connectivity. A local model works with the network off, which is a practical advantage before it is a privacy one."}]}],"check":{"question":[{"text":"A small legal practice wants to summarise client documents without sending them to any external service, on standard office laptops with 16 GB of RAM and no dedicated graphics card. What is a realistic setup?"}],"options":[{"text":[{"text":"Not feasible: useful models need a server with dedicated GPUs, not office laptops"}],"correct":false,"tempting":[{"text":"Was true a few years ago. 4-bit quantisation brought capable models under 6 GB and onto ordinary machines."}]},{"text":[{"text":"A commercial API with zero retention, since local models are too weak for legal text"}],"correct":false,"tempting":[{"text":"Reasonable if sending data were acceptable, but the requirement was that nothing leaves the machine, and summarising is within local reach."}]},{"text":[{"text":"A 70B model quantised to 4 bits, since legal work needs the strongest reasoning"}],"correct":false,"tempting":[{"text":"Wants more capability but ignores the memory arithmetic. A 4-bit 70B model needs around 40 GB and will not load in 16 GB."}]},{"text":[{"text":"A downloaded small model in a verified local-only setup, with cloud features off and files outside synced folders."}],"correct":true,"tempting":null}],"order":[2,1,3,0],"why":[{"text":"A small quantised model can summarise supplied text on suitable hardware. A local-only configuration and local storage address the stated requirement."}]},"prev":{"slug":"anonymous-is-harder-than-it-looks","title":"Why removing the name is not anonymity","minutes":9},"next":{"slug":"shadow-ai-at-work","title":"The tools nobody approved","minutes":8}}}