How do I share one model with my household or office?
Pick the machine with the most memory and let it serve. Every other device, including phones and old laptops, connects to it over the network and gets the big model without the big hardware.
Serve on the local network
By default, runtimesRuntimeThe software that loads a model file and runs it.Read more listen only on localhost, so only the machine itself can reach them. To share, you tell the runtime to listen on the network as well.
launchctl setenv OLLAMA_HOST "0.0.0.0:11434"Then quit and reopen the Ollama app. The variable makes Ollama listen on every network interface instead of only localhost.
setx OLLAMA_HOST "0.0.0.0:11434"Quit Ollama from the system tray and start it again. setx saves the variable for future sessions.
sudo systemctl edit ollama.serviceAdd Environment="OLLAMA_HOST=0.0.0.0:11434" under a [Service] line, save, then run sudo systemctl restart ollama.
In LM Studio, open the Developer tab and turn on serving on the local network. For llama.cpp, start llama-server with --host 0.0.0.0.
Find the serving machine's local IP address in its network settings, then test from another device on the same network.
curl http://192.168.1.20:11434/v1/modelsReplace the address with your own. If the model list comes back, any app on that device can use the model with that base URL. Where else can I use a local model? shows how to enter it.
Ollama and llama-server have no login by default. Anyone on the network can use the model and see which models you have. That is fine on a home network you control, but on an office or café network, put a front end with accounts in front, and keep the runtime itself on localhost.
Give the serving machine a fixed address in your router, and plug it into Ethernet. A shared model that moves IP address or drops off Wi-Fi gets abandoned fast.
Multi-user front ends
A raw API is fine for apps, not for people. A web front end gives each person a login, their own chat history and a page they can open on any device.
Open WebUI is the usual choice. Run it on the same machine as the runtime with Docker.
docker run -d -p 3000:8080 \
--add-host=host.docker.internal:host-gateway \
-v open-webui:/app/backend/data \
--name open-webui --restart always \
ghcr.io/open-webui/open-webui:mainThis starts Open WebUI on port 3000 and keeps its data in a Docker volume. It finds Ollama on the host machine through host.docker.internal. Open http://192.168.1.20:3000 from any device, using your own address, and the first account you create becomes the admin.
- Phones and laptopsBrowser
- Front endOpen WebUI, with logins
- RuntimeOllama on localhost
- Serving machineThe one with the memory
Several people asking at once share the same memory bandwidthMemory bandwidthHow fast data moves out of memory, in GB per second. It sets decode speed.Read more, so each answer gets slower. A household rarely notices. For an office of twenty, read How do I set up a team server? and What changes when many people use one model? before buying anything.
AnythingLLM and LibreChat also offer multi-user modes. Which chat app should I use? compares the single-user options.
Shared-model features in desktop apps
Some desktop chat apps are adding a built-in way to do all of this, and the idea is always the same. One copy of the app runs the model and acts as the server. Copies on other machines on the same network find it and send their prompts to it, instead of loading a model of their own.
It is the same setup as this page, packaged behind a toggle, so the same questions apply. Check whether it needs a login to connect, whether it listens only on the local network, and who can see the chats. Do that before you turn it on at work.
Local, a Mac app from Base Compute, calls its version Office Mode. You run the big model on the most capable machine you own, and Local on every other Mac in the room uses it. The product page shows a Mac Studio, a Strix Halo box, a DGX Spark or an on-prem server in the serving role.
The page does not say how other copies connect or who is allowed to join, so we do not know yet. Put the questions above to the vendor before you rely on it. Which chat app should I use? covers the app itself.
Reaching it from outside
Do not forward a port on your router to the model server. Scanners sweep the internet for open model servers all the time, and most have no login to stop strangers using your hardware.
Use a private overlay network instead. Tailscale, ZeroTier and plain WireGuard each give your devices private addresses that only your devices can reach, wherever they are. You install it on the serving machine and on your phone or laptop, and connect to the server's overlay address as if you were at home.
An overlay network trusts every device on it. If you add a friend's laptop, they can reach the model and anything else that machine serves. Use the overlay's access rules to limit who reaches which port.
With the overlay running on both devices, turn off your phone's Wi-Fi and open the front end at the server's overlay address. If it loads over mobile data, outside access works without a single open port.
Go deeperThat's enough
Why 0.0.0.0
0.0.0.0 means "every network interface on this machine". That includes Wi-Fi, Ethernet, the overlay network and any VPN. If the machine has several networks, bind to one address instead, such as only the overlay address, which is what Is local AI actually private? recommends.
Keeping the model loaded
Runtimes unload a model after some idle minutes to free memory. On a shared server, the next person then waits while it loads again, which can take tens of seconds for a large model. Set a long keep-alive on the serving machine so the model stays resident. How do I use Ollama? shows the setting.
Sleep and power
A Mac or PC that sleeps is a server that vanishes. Turn off sleep on the serving machine, or set it to wake on network access. A desktop running all day costs electricity, and What does it cost to run? shows how much.