A Mac mini on a shelf draws little power, makes almost no noise, and runs local models well enough to be useful. Making it a server instead of a computer you sometimes remember to leave on is mostly a few settings.

1. Install a runner and a model

With Homebrew available, the CLI can do both for you:

tokmine install ollama

It installs Ollama and pulls a model that fits the machine. Memory is the limit on a Mac: the model has to fit with room left over, so a smaller model that responds quickly often beats a bigger one that swaps. See Install a local model.

2. Give it a name and a token

Log in once, with a token for the machine, and give the machine a name so you recognise it in the app:

tokmine login --name mac-mini

A logged-in machine gets a persistent URL with no 30-minute limit, and keeps the same URL when it reconnects.

3. Stop it falling asleep

This is the setting that decides whether it works at 3 a.m. In macOS system settings, look for the options that prevent automatic sleeping when the display is off, and for waking for network access. Turn the display off, not the machine. You can check or change this from a terminal with pmset.

If it does sleep anyway, the CLI reconnects automatically after network loss or sleep, with backoff between 1 and 30 seconds. So a nap is a gap in service, not a broken setup.

4. Start it after a reboot

Power cuts and updates restart the machine. Install tokmine as a background service and it starts when you log in and restarts if it crashes:

tokmine service install --endpoint home --now

On macOS this is a launch agent, so it starts at login. For a Mac mini with no keyboard, also turn on automatic login in System Settings. Check the result with tokmine service status, then restart the machine once to be sure. A rejected token or a deleted endpoint is not retried in a loop: the reason is in the log that status prints. Details are in the CLI docs.

5. Add it to a pool

Static endpoints are for paid accounts. Create one named home in the app and the mini joins it through the service above. Your laptop or a second box can join the same one, and requests go to whichever machine has headroom. See static endpoints.

Try it

Run it for a week. If it stays up and the model is fast enough, you have your first always-on provider. The quickstart shows the first connection.