# Section 05: Local language models

*AI Prompt Library section overview • Sarah & Kiffer*

---

**Sarah:** Hello, I'm Sarah.

**Kiffer:** And I'm Kiffer. This episode is about the fifth section, on local language models.

**Sarah:** Let's start with the basic difference. Most AI tools people use for academic work are cloud services.

**Kiffer:** Right. When you use a cloud service, your prompts and anything you paste or upload go to the provider and are processed on its servers. With a local model, you download an open-weight model once, and each conversation is processed on your own device. The text doesn't need to leave your computer, and the tool works without an internet connection.

**Sarah:** Which reduces some of the privacy risks we talked about in the ethics section.

**Kiffer:** Some of them, yes. It also gives people who work with sensitive material, or who'd prefer not to share unpublished drafts with a commercial provider, another way to get AI support.

**Sarah:** I like that this section is practical. You don't need to be a programmer.

**Kiffer:** That's worth stressing, because local models are sometimes presented as something for people with technical backgrounds only. Several free applications make them accessible. Jan AI is an open-source desktop app, released under the Apache 2.0 licence, for Windows, macOS and Linux. It describes itself as an alternative to ChatGPT that runs entirely offline, and you can use it to download open models such as Llama, Gemma and Qwen. LM Studio and Ollama also let you download open models and run them on your own computer.

**Sarah:** Now the trade-offs, because there are several.

**Kiffer:** The first is capability. Models small enough to run on a typical laptop are generally less capable than the largest cloud models, and they may produce more errors and more fabricated content. That makes the verification practices in the library more important.

**Sarah:** The second is hardware.

**Kiffer:** Even a compressed, or quantised, model of moderate size needs a lot of memory. LM Studio recommends at least 16 gigabytes of RAM on Apple Silicon computers, and at least 16 gigabytes of RAM with 4 gigabytes of dedicated video memory on Windows.

**Sarah:** The third surprised me. Some of these local apps can also connect to the cloud.

**Kiffer:** They can. Jan AI supports hosted models from providers such as OpenAI and Anthropic, and LM Studio and Ollama both offer cloud models alongside local ones. So if privacy is your reason for going local, confirm that the model you've selected is running on your device and that no cloud connection is in use.

**Sarah:** And the fourth is licensing.

**Kiffer:** Open-weight models are released under a range of licences, and some restrict particular uses. Get models and applications from official sources and keep them up to date.

**Sarah:** The section ends with an important caution. Running a model locally leaves your other obligations in place.

**Kiffer:** Research data are still governed by the study's ethics approval, consent documents and data agreements, which may say where and how data can be processed. SFU's guidelines direct instructors to use approved tools that have been through the necessary reviews, such as a privacy impact assessment. So graduate students should check with their supervisor, and with the research ethics office when participant data are involved, before using a particular local tool. Disclosure applies to local and cloud tools alike.

**Sarah:** And for data analysis, the most cautious option is built into Prompt 3.

**Kiffer:** In Prompt 3, the AI tool never sees the data. You describe the structure of the dataset, run every line of code yourself in R, and share only aggregate output.

**Sarah:** I find this section encouraging. It shows that privacy-conscious AI use is within reach of many students, given a reasonably capable computer and some patience.

**Kiffer:** With the caveats we've just covered, I agree. Lesson three of HSCI 488 covers how to classify data before using it with any tool, and Lesson ten covers governance and environmental costs.
