Blog · 3 December 2026

Local LLM on a Mac mini: how to set one up

How to set up a local LLM on a Mac mini for a small office: the memory, one app and one model, your office network, the catch, and when not to bother.

By Andrei Satcau · Melbourne

An open laptop showing the Shutterdre logo on a shelf in daylight, a small network switch beside it with four short cables plugged in, plants at either side and two flat boxes on the shelf above

A local LLM is an AI model that runs on a computer you own, not on an AI company's servers. A Mac mini with enough memory, one app and one open model can be that machine for a small office. Set up as we would, it stays on all the time, for the computers on your office network rather than the internet, and LM Studio, the app we use, says requests to its server stay local.

Still choosing the machine? Start with our Mac mini for AI post and the best computer for local AI.

We run Shutterdre this way too: since 1 December 2026 our scheduled jobs run on a Mac mini, and this site's chat reads your question with an AI model on it, or with Claude, only to pick its set answer (what we run).

What you need

  • A Mac mini with enough memory. Apple's Australian spec page, as of 3 December 2026, lists the Mac mini with M6 with up to 32 GB of unified memory, and with M5 Pro at 24 GB, configurable to 48 GB or 64 GB. Apple calls the M5 Pro model ideal as an always-on desktop for AI agents or creative workflows.
  • A cable to your office network. Every Mac mini on that page has a 2.5Gb Ethernet port, configurable to 10Gb. If others will use it, we'd plug it in rather than rely on Wi-Fi.
  • LM Studio, an app for running AI models on your own computer, free at home and at work since July 2025. Its requirements list Apple Silicon (M1 to M4 by name) and macOS 14.0 or newer, and recommend 16 GB of memory or more, which every Mac mini on Apple's page has. Apple quotes LM Studio results for both new Mac minis.

Weighing NVIDIA's machine instead? See DGX Spark vs Mac.

How to set up a local LLM on a Mac mini

  1. Pick one model that fits the memory. Google's Gemma 4 is an open source LLM, in our words: its model card gives the Apache 2.0 licence, and Google says Gemma models permit responsible commercial use. In Google's table, Gemma 4 12B needs about 6.7 GB of GPU or TPU memory to load in 4-bit, and Gemma 4 31B about 17.5 GB in 4-bit or 34.9 GB in 8-bit. Google says memory use grows with the length of the prompt and the answer, and that its figures can change with the app and computer. Our starting point: 12B on a Mac mini with M6, and 31B in 4-bit on one with M5 Pro and 48 GB or 64 GB. There's no single best local LLM: change it only if it fails your first job.
  2. Install LM Studio, download the model and load it. In LM Studio's catalogue, as of 3 December 2026, Gemma 4 12B is a 7.40 GB download and Gemma 4 31B 19.00 GB.
  3. Switch the server on, for your network. Start it with the toggle at the top left of LM Studio's Developer page, then turn on Serve on Local Network, which lets other devices on the same local network use it.
  4. Require a token. LM Studio warns that this exposes the server beyond the Mac itself, recommends turning on authentication, and says only to do this if you know what you're doing. In Server Settings, switch on Require Authentication (LM Studio 0.4.0 or newer), then make tokens under Manage Tokens. We'd make one per computer, so one can be deleted alone. Copy each as it's made: LM Studio won't show it again.
  5. Turn on the Mac's firewall, in System Settings, under Network, then Firewall. When something tries to reach an app you haven't listed, macOS asks whether to allow or deny it: allow LM Studio.
  6. Keep it on. Apple's Energy settings list Prevent automatic sleeping when the display is off, and Start up automatically after a power failure: turn both on (Apple notes some options depend on the Mac). In LM Studio's settings, tick the box to run the LLM server on login; closing the window then leaves the server running in the background, LM Studio says.
  7. Give it a fixed address, and keep it off the internet. We'd ask whoever looks after your router to reserve one address for the Mac mini, so the other computers always find it. And we'd never forward its port to the internet. We'd count any way into the office network from outside, such as a VPN, as part of the office.
  8. Connect the other computers. Software built for OpenAI's API can use LM Studio's server by changing its server address (the "base URL") to the Mac mini's, LM Studio says, with the token in each request.

Ollama, another app for running models, listens only on the Mac itself by default; its FAQ shows how to open it to your network.

Diagram: a local LLM on a Mac mini. On it: LM Studio, Gemma 4 sized to its memory, the server on the local network, a token per computer, firewall on, no sleep. The office network: a cable, a fixed address, nothing forwarded to the internet. After a power cut, FileVault means a login.
Apple's, LM Studio's and Google's own pages, read 3 December 2026; the split is ours.

The catch: a power cut and the login

Apple's Energy setting starts the Mac mini again after a power failure. But the LM Studio setting in step 6 starts the server at login, and Apple says manual login is required when FileVault is turned on. FileVault, Apple says, adds an extra layer of security, keeping someone from getting at your data without your login password.

For a machine holding client documents, we'd keep FileVault on and accept the trade: after a power cut, someone logs in before the model answers again.

A first job, and how to tell it's working

What stays on the Mac mini. LM Studio says nothing you enter when chatting leaves your device, a document you drop in stays on your machine, and requests to its server stay local. It does go online for some jobs, among them downloading models and checking for app updates. Privacy law still applies: the OAIC, Australia's privacy regulator, says privacy obligations apply to any personal information put into an AI system.

A first job. The documents that shouldn't leave the building: a summary of a contract or a supplier's proposal, a first draft of a staff policy (our examples).

How to tell it's working:

  • From another office computer, ask the Mac mini's address for its model list (/v1/models), with a token: your model should be in it.
  • On the Mac mini, LM Studio's lms log stream command shows requests coming in.
  • Our test: from a phone on mobile data, off your network, the same address should get no answer. It shows one way in is shut, not every way.
  • Our other test: switch it off at the wall, back on, log in, and ask again.

What it won't do, and when not to bother

Google's model card says its models are not knowledge bases and may generate incorrect or outdated statements, that open-ended or highly complex tasks might be challenging, and that its pre-training data has a cutoff date of January 2025. Set up as above, it sees only what someone sends it, not your email, calendar or books. Claude, by contrast, can be connected to Xero, MYOB, Gmail and Outlook. So we'd use both: the Mac mini for what must stay in the building, Claude for research, long work and your connected tools.

We wouldn't bother if:

  • Nothing you handle needs to stay in the office. Claude or ChatGPT on a business plan is simpler.
  • You haven't tried a local model yet. Our guide to run AI locally uses one app and one small model on the computer you have.
  • Nobody will look after it. A Mac mini server needs updates, and someone to log in after a power cut.
  • You need it away from the office. We set this one up for the office network, not the internet.

Where to start

Our private AI set-up is two hours with Andrei, at your business or remotely, starting with a check of your computer. If it falls short, you hear that first.

Researched and drafted with AI, and checked line by line against its sources.

Questions people ask

Can a Mac mini run a local LLM?

Yes, with enough memory. LM Studio, an app for running AI models on your own computer, lists Apple Silicon Macs (M1 to M4 by name) with macOS 14.0 or newer, and recommends 16 GB of memory or more. Apple says the Mac mini with M5 Pro supports up to 64 GB of unified memory, enabling users to run even larger local AI models.

How much memory does a Mac mini need for a local LLM?

It depends on the model. In Google's table, Gemma 4 12B needs about 6.7 GB of GPU or TPU memory to load in 4-bit, and Gemma 4 31B about 17.5 GB in 4-bit or 34.9 GB in 8-bit. Google says memory use grows with the length of the prompt and the answer. Our starting point: 12B on a Mac mini with M6, and 31B in 4-bit on one with M5 Pro and 48 GB or 64 GB.

Can the whole office use one Mac mini's local LLM?

Yes, on the same network. LM Studio's Serve on Local Network setting lets other devices on the same local network use its server. LM Studio recommends turning on authentication, and says only to do this if you know what you're doing.

Does a local LLM send my data anywhere?

LM Studio says nothing you enter when chatting leaves your device, and requests to its server stay local. It does go online for some things, among them searching for and downloading models and checking for app updates. And the OAIC, Australia's privacy regulator, says privacy obligations apply to any personal information put into an AI system.

Want this worked out for your business?

Eight quick questions. A written plan reaches your inbox the same business day — checked by a person first.

GET YOUR FREE AI PLAN →

More from the blog