How to Run AI Locally on a Laptop Offline in Uganda
Install LM Studio or Ollama, download a small model of roughly 2 to 5GB while you are on Wi-Fi or a bundle, then chat with it. LM Studio's docs say it can operate entirely offline once you have model files, and that what you type does not leave your device. You need internet once for the download, and an 8GB laptop is about the entry point.
Running a model on your own laptop means your prompts are handled on the machine instead of a server abroad. The download is the only part that really needs data.
A note on how I wrote this: I have not run these steps myself for this article. It is built from the tool makers’ docs and a few third-party guides, and I say which is which.
Does local AI really work with no internet?
Mostly yes. LM Studio’s docs say it “can operate entirely offline, just make sure to get some model files first”. They also say nothing you enter when chatting leaves your device.
The catch: model search, model downloads, the Discover tab, runtime downloads and in-app updates all need internet, per the same page. Models can also be sideloaded from elsewhere, for example from a colleague’s flash disk.
Chatting with your own documents in LM Studio is processed locally too, and its local server requests “stay local”.
Ollama or LM Studio: which should I pick?
- LM Studio is a desktop app with a model search tab and a chat window. If the command line is not your thing, start here.
- Ollama is driven by commands, and its README gives a local API at
http://localhost:11434/api/chat. It suits IT staff who want to connect it to other tools.
I did not verify pricing or licence terms for either app, so check both on their websites.
One warning on Ollama. Its README says models can be accessed “locally or in the cloud”. A cloud model sends your prompts off the device, which defeats the purpose here. I could not confirm how the cloud option is set up. If client data is involved, use only models you downloaded and run on the laptop.
I also found no official Ollama statement that it runs fully offline. Test it yourself (step 4 below).
How much RAM does my laptop need?
There is no single official number, so here is what the sources say.
LM Studio’s system requirements recommend 16GB or more RAM on Windows and Mac, with no hard minimum. 8GB Macs “may work with smaller models and modest context sizes”. Macs must be Apple Silicon on macOS 14 or later, so Intel Macs are out.
On Windows you need an x64 CPU with AVX2, or an ARM chip such as Snapdragon X Elite. At least 4GB of dedicated VRAM is recommended. That is a recommendation, not a wall.
Ollama’s README gives no RAM guidance. Third-party guides, undated and unofficial, fill the gap:
- Q4_K_M file sizes are roughly 2GB for Llama 3.2 3B and 4.9GB for Llama 3.1 8B, per Hostinger and ZimaSpace.
- One guide calls 8GB a beginner tier for 3 to 4B models and suggests 16GB for regular use.
- The guides disagree on headroom. One says free RAM should be at least twice the file size. Another says file size plus room for the OS.
- Longer context uses more memory.
My opinion, not a sourced rule: if you have an 8GB laptop, close your browser and try a 3B model first. If you are buying, aim for 16GB. I did not research laptop prices in UGX, so I will not quote any.
Which small model should I try first?
Of the two sizes the guides list, Llama 3.2 3B (about 2GB) is the smaller, so it is the cheaper download and fits the 3 to 4B beginner tier for 8GB machines. In LM Studio, search for it in the Discover tab.
For Ollama, the README’s own example is:
ollama run gemma4
The full list is at ollama.com/library. I did not check the size of that model, so look at its page before you run it. Ollama downloads on first run, and you do not want a surprise 10GB on a bundle.
If you have 16GB, Llama 3.1 8B (about 4.9GB) is the next step. I did not check any model licences, so read the model page before using one for business work.
How do I set it up step by step?
- Check your machine. Look at RAM and CPU. On Windows x64, confirm the CPU supports AVX2.
- Install while on Wi-Fi or a bundle. For LM Studio, use the installer from lmstudio.ai. For Ollama on Windows, download OllamaSetup.exe. The README also lists a PowerShell one-liner and, for macOS and Linux,
curl -fsSL https://ollama.com/install.sh | sh. I have not audited those scripts. They run code from the internet without you reading it, so I would use the plain installer where one exists. - Download a small model. Use the Discover tab in LM Studio, or
ollama run <model>in Ollama. Check the file size first. - Switch off Wi-Fi and mobile data, then chat. If it replies, the model works offline. That is all this proves. It does not prove nothing is sent while you are connected.
- Optional: use the local API. Ollama’s README gives
http://localhost:11434/api/chatfor other tools on the same laptop.
What will the download cost me in data?
Plan it, because the download is the one real data cost. These are best-case figures, not a price list.
- An MTN notice says the UGX 6,500 monthly bundle now gives 2GB instead of 1.5GB (August 2026).
- Pulse reports 4GB for UGX 10,000 and 20GB for UGX 26,000 (2026). It is a news report, not MTN’s own price list.
What does that mean for a model? The 2GB model only fits in the 2GB bundle if you spend the entire bundle on that one download, and the bundle is monthly. The 4.9GB model will not fit the 4GB bundle at all. You would need a bigger one, such as the 20GB bundle, and then the UGX 26,000 buys you the whole month’s data, not just one model. As of December 2026 I could not confirm current MTN or Airtel prices from the operators’ own pages, so check before you buy.
If you can, download on office or home Wi-Fi. After the download, chatting should not need a bundle, though I have not tested that myself.
What about client data and the law?
This is general information, not legal advice. I have read only summaries of Uganda’s Data Protection and Privacy Act 2019, not the text.
Summaries from DLA Piper and Securiti say Section 19 restricts processing or storing personal data outside Uganda. The destination needs adequate protection, or the data subject’s consent is needed. A DLA Piper alert (August 2025) says that in July 2025 the Personal Data Protection Office found Google in breach for failing to show adequate safeguards on cross-border transfers. It also says the cross-border rules apply only to controllers established or resident in Uganda, and notes that reading may conflict with the Act’s wider reach.
So the position is not simple. Keeping text on your laptop may reduce what you send abroad, but I would not treat it as proof you comply. The Act has other duties, such as security safeguards, which I did not verify. If you handle sensitive client data, ask a lawyer or the PDPO.
Common mistakes
- Thinking “local” means no internet ever. You need it for the first download and for updates.
- Picking a model that barely fits. If it eats nearly all your RAM it may crawl, and longer chats need more memory.
- Treating third-party RAM tables as official. They disagree with each other.
- Assuming the offline test proves privacy. It only proves the chat works without a connection.
- Forgetting about power. I found no sources on load-shedding or battery draw, so I can’t give numbers. A local chat does not need the network, but it does need the laptop to stay on, so charge before long sessions.
Frequently asked questions
Can I run AI on my laptop with no internet at all?
After the first download, yes for LM Studio, whose docs say it can operate entirely offline once you have model files. You still need internet to get the app and model. I found no official offline statement for Ollama, so test it with the network off.
How much RAM do I need to run a local AI model?
LM Studio recommends 16GB or more on Windows and Mac but sets no hard minimum. One third-party guide calls 8GB a beginner tier for 3 to 4B models. Ollama publishes no single minimum.
How much data will a model download use?
Roughly 2GB for Llama 3.2 3B and 4.9GB for Llama 3.1 8B, per third-party guides. Bundles are monthly and sizes differ, so a one-off download does not have a simple per-GB price. As of December 2026 I could not confirm current official prices, so check with your operator.
Does running AI locally satisfy Uganda's data protection law?
Not automatically, and I can't say it does. Summaries say Section 19 restricts processing personal data outside Uganda, but the Act has other duties, such as security safeguards, that I did not verify. Ask a lawyer or the PDPO about sensitive client data.
Is Bel the same as running a local model?
I would not assume so. Its page says chat history stays on the device, but it does not say the model runs locally or offline.