Running Ollama on Apple silicon Macs: when a Mac is the right host
A team that already owns Macs with Apple silicon can run Ollama on them without buying new hardware. Ollama is an open source runtime under the MIT license, and it runs on macOS as well as Linux, Windows and Docker. On a Mac it serves a REST API on port 11434, and it stores downloaded models in ~/.ollama/models by default. The point of this section is to decide whether a Mac is the right host at all before anyone configures it. A Mac fits well for a single user, a developer group or a small team with light, intermittent use, where the machines already exist and the workload is modest. A Linux GPU server is usually the better choice when several people send requests at once, when models must stay loaded, or when the team needs a controlled service with dedicated capacity, monitoring and a planned upgrade path.
The default binding matters before any sharing begins. Ollama listens on 127.0.0.1 port 11434 by default, so only software on the same Mac can reach it. The local API has no authentication, which means a Mac that is opened to the network without a proxy or access layer in front of it exposes every model to anyone who can reach that address. Changing the bind address with OLLAMA_HOST is therefore a security decision, not a convenience setting. Confirm which users and networks need access, and confirm that a Mac on a shared office network is not made reachable by accident. Apple silicon machines also have a limited memory budget that the CPU and GPU share, so the model sizes a Mac can hold should be checked against the other work those machines do. Confirm model size and concurrent use with the models your team intends to run before committing to a Mac.
Mac requirements and unified memory: what limits model size
On a Mac, the chip, the memory it shares between CPU and GPU, and the disk holding model files together set the ceiling on what you can serve. Concurrency settings then decide how much of that memory a busy host actually commits at once. Confirm each figure against the current Ollama documentation and your own hardware before you buy or assign a machine.
Chip generation and GPU use
Apple silicon Macs use the integrated GPU in the same chip for model computation, so the M series generation and its core counts affect throughput more than the chip name suggests. Newer generations generally run models faster, but speed does not raise the model size a machine can hold. Ask your hardware supplier which chip variants are current and confirm with Ollama's documentation which Apple silicon configurations it lists as supported.
Unified memory is the limit
Unified memory is shared by macOS, every running app and the model weights, so the amount installed is the practical ceiling for model size. A model that fits on disk can still fail to load or slow the whole machine if the memory left after the operating system is too small. Plan for headroom above the model's footprint, and confirm the memory figures your target models need with the model's own documentation.
Free disk for model files
Model files are stored by default under the user's home folder, in ~/.ollama/models on macOS. Large models, several versions of the same model and quantized variants add up quickly, and macOS needs free space for updates and logs. Check the free space before the first pull, and use the OLLAMA_MODELS variable if models should live on a dedicated external or internal volume.
Parallel requests and memory use
OLLAMA_NUM_PARALLEL sets how many requests a loaded model handles at once, and each parallel slot needs extra memory for its context. Raising it on a small Mac can push memory into swap and slow every user. Start with the default of 1 parallel request per model and raise it only after measuring memory use under realistic load.
Loaded models and the queue
OLLAMA_MAX_LOADED_MODELS controls how many models stay resident in memory at the same time. Each loaded model takes its own share of unified memory, so the default allowance can exceed what a laptop-class Mac holds comfortably. OLLAMA_MAX_QUEUE limits how many requests wait, which matters when memory is full and new requests back up. Set both values together, then test a mix of models to see which combinations stay responsive.
- Default loaded models on CPU
- 3
Ollama settings on macOS and when each one fits
This table compares the Ollama environment variables most often changed on a Mac host, with the FAQ default for each and the situation that justifies changing it. Read the default first, then the situation column, and only widen OLLAMA_HOST after an access layer is in place.
| Setting | Default (per Ollama FAQ) | When to change it on a Mac |
|---|---|---|
| OLLAMA_HOST | Binds to 127.0.0.1 port 11434 | Change only when other machines on the network must reach this Mac. Put an authenticating reverse proxy such as Nginx in front before widening the bind address, because the local API has no authentication. |
| OLLAMA_MODELS | ~/.ollama/models on macOS | Move models to an external or secondary volume when the internal disk is small. Confirm the target folder is writable by the user that runs Ollama. |
| OLLAMA_NUM_PARALLEL | 1 parallel request per model | Raise only after measuring memory headroom on the Mac. Unified memory is shared with macOS and every app, so more parallel requests add pressure on the same pool. |
| OLLAMA_MAX_LOADED_MODELS | 3 times the GPU count, or 3 on CPU | Lower on a laptop or a small Mac mini that also serves daily work, so several large models do not stay resident in memory at once. |
| OLLAMA_MAX_QUEUE | 512 queued requests | Lower when a small team should see fast failures rather than long waits. Keep the default if users tolerate queuing during bursts. |
| OLLAMA_NO_CLOUD | Cloud features enabled unless turned off | Set to 1 on any Mac that handles sensitive prompts or data, so the host runs only local models. Confirm the setting also covers any cloud model names your users might request. |
How to set OLLAMA_HOST with launchctl and start Ollama at login
This sequence takes a Mac from a default, local-only Ollama install to a server that accepts connections from other machines on the network and starts again after a reboot. Each step ends with a check so you know the change took effect before you move on.
Install Ollama and confirm the version
An administrator installs the macOS Ollama application on the Mac that will host models, using the standard installer from the official download path. Run ollama --version in Terminal and record the output in your change log so you can compare it after updates. Done means the command prints a version string without an error, and the Ollama menu bar app is running.
Pull a small test model
Pull a small model with ollama pull followed by a model name you have approved for testing, so the first run does not depend on a large download. Then run ollama run with a short prompt to confirm inference works on this hardware. Done means the model answers in the terminal and ollama list shows the model with its size on disk.
Check the default 127.0.0.1 binding
Before changing anything, confirm the server listens only on the loopback address. Run lsof -iTCP:11434 -sTCP:LISTEN in Terminal and check that the listener is bound to 127.0.0.1 on port 11434, which is the default. Then run curl on the Mac itself. Done means the list of models returns locally and the listener shows the loopback address, so you have a baseline to compare with after the change.
Set OLLAMA_HOST with launchctl setenv
Run launchctl setenv OLLAMA_HOST 0.0.0.0:11434 in Terminal as the user who owns the Ollama app. This sets the variable for launchd so the app picks it up when it next starts. Setting the value to 0.0.0.0 exposes the API on every network interface, so only do this on a network segment you control and plan authentication in front of the API first. Done means launchctl getenv OLLAMA_HOST prints the value you set.
Restart the Ollama app
Quit Ollama from the menu bar, then open it again so it reads the new environment value. A variable set with launchctl does not reach a process that was already running, so a plain restart of the terminal is not enough. Done means lsof -iTCP:11434 -sTCP:LISTEN shows the listener on the address you configured, not only 127.0.0.1.
Confirm the listener from a second machine
From another computer on the same approved network segment, run curl http://<mac-ip>:11434/api/tags, replacing the placeholder with the Mac's address. The Mac's address is available in System Settings under Network. Done means the request returns the model list from the Mac. If it fails, check the macOS firewall and the network path before changing Ollama settings again. Any client that can reach this port can use the models, because the local API does not require authentication.
Configure Ollama to open at login
Open System Settings, go to General, then Login Items, and add the Ollama app under Open at Login if it is not listed. Confirm the entry is enabled for the account that runs the server. Log out and back in if you need to test without rebooting. Done means Ollama appears in the Open at Login list and starts without you opening it manually.
Verify model and log locations after reboot
Restart the Mac, then check that the listener returns and the environment value persists. Confirm models are in ~/.ollama/models unless you moved them with OLLAMA_MODELS, and list that directory to see the test model. Check the Ollama log folder under the user's home directory and confirm new entries appear after a test request. Done means the curl check from the second machine still succeeds after the reboot and the model and log paths match what you recorded. Confirm the exact log path against the current Ollama documentation for your version.
Where Ollama keeps models and logs on a Mac
On macOS, Ollama stores models in ~/.ollama/models, where ~ is the home directory of the user account that runs the server. On a Mac that runs Ollama under a dedicated service account, that path sits in the service account's home folder, not in an administrator's. Before you rely on the default, confirm which account launches the server, because the model folder follows that account. Log in as that user, check the path exists, and note who owns it. This matters later when you audit where weights came from and who can read them.
Setting OLLAMA_MODELS moves the model directory to another volume, such as an external SSD or a dedicated data volume. The variable must be present in the environment of the server process, not only in your shell, so set it where the launch configuration for the server is defined. The account that runs the server needs read and write access to the new directory, and an external volume may mount with ownership that blocks writes from that account. Verify the change by pulling a small test model and confirming the files appear in the new location and are owned by the service account. The Ollama FAQ describes the variable and default paths.
Confirm where the server writes its logs on your specific macOS version and launch method, since the location depends on whether Ollama runs as the desktop app or as a launch agent. Start the server, trigger a model load, and locate the log output before you write any log retention or collection rule. For disk, model sizes vary widely, so look up the size of each model you plan to serve and total them, then add headroom for updates and for a second copy during pulls. Plan for growth in the model list, and decide who removes unused models and how often.
How clients reach a Mac-hosted Ollama server
A request starts in a client app on the office network and reaches the Mac through an optional reverse proxy that checks credentials. Ollama listens on port 11434 only where OLLAMA_HOST points it, and it reads and writes models in the local model directory on the Mac. The boundary between the LAN and the Mac is where you decide whether anything besides Ollama itself, such as a proxy with authentication, sits in front of the API. Confirm the bind address and the proxy path before you open the port to other devices.
Client traffic crosses the LAN boundary into the Mac, where the proxy is optional.
Security risks of exposing a Mac Ollama API
A Mac running Ollama can quickly become a network service that anyone on the segment can use. The risks below connect because they all start with one decision: how far the API reaches beyond the local machine. Check each one before you widen the bind address or share the Mac with a team.
Unauthenticated local API
The Ollama API on port 11434 does not require authentication when you call it at localhost. That is fine for a single user on a personal Mac, but any process or user that can reach the port can pull models, run prompts and consume the Mac's memory and GPU. Before you share the machine, confirm who can reach the port and whether other local accounts share the host. Treat the API as an open door until a control in front of it says otherwise.
Ollama API authenticationProxy with authentication when widening
Ollama binds to 127.0.0.1 by default. Setting OLLAMA_HOST with launchctl to a non-loopback address makes the API reachable from the network, and the Ollama documentation describes placing a proxy such as Nginx in front of it. The proxy must enforce authentication, TLS and allowed source addresses, because Ollama itself will not. Test from a second machine after each change to confirm that unauthenticated requests are refused.
Ollama FAQBrowser origin exposure
A local API is also reachable from web pages open in a browser on the same Mac or network. If a site can send requests to the Ollama port, it may be able to read responses or trigger model use without the user's intent. Review which origins are allowed by any proxy you add and avoid broad cross-origin rules. Confirm the behavior of your installed version in a browser test before you tell users the host is safe.
Keeping cloud features off
Ollama offers cloud models that send inference to ollama.com, and those calls use an API key sent as a Bearer token. On a shared Mac, cloud access can create data flows and billing that the local-only design does not account for. Set OLLAMA_NO_CLOUD=1 in the launchctl environment or the server configuration file, then verify that requests stay local. Record the setting as part of the host's baseline so later changes are visible.
Tracking releases and patching
Ollama ships frequent releases. The GitHub releases page listed v0.40.5 on 14 October 2026 and v0.40.6 as a pre-release on 16 October 2026, so the version running on a Mac can fall behind quickly. Decide who watches the release feed, whether pre-releases are allowed on shared hosts, and how a Mac is updated and restarted. Keep a record of the installed version so you can answer exposure questions after a vulnerability is announced.
Ollama GitHub releasesOperating a Mac host: single user, small team or shared desk
A personal Mac running Ollama serves one person, usually through the desktop app or a terminal session. The laptop sleeps when the lid closes or the display idles, and the local API stops answering with it. Treat the model as available only while the user is logged in and awake.
- Login behavior: Confirm whether Ollama starts at login for your install method, and add it under login items in System Settings if it does not.
- Sleep: Expect the endpoint to disappear during sleep, so do not point other tools or colleagues at it.
- Uptime: No uptime commitment applies. Treat the machine as a workstation.
- Log checks: After a failed request, read the server log. Confirm its location for your installed version in the Ollama FAQ.
- Moving on: Move to a Linux server once another person or application needs a stable endpoint.
After a reboot and a sleep cycle, confirm that the local API answers on port 11434 before you rely on it.
A desktop Mac serving a few people becomes a shared service, so its operating rules move from personal habit to documented practice. The host needs a session that stays logged in, a stable network address and a bind address that other machines can reach. Because the local API has no authentication of its own, exposing it on a network needs a proxy or access control in front of it.
- Session and login: Use a dedicated service account. Confirm with your security owner whether automatic login is acceptable, because a locked-out session can stop user-facing processes.
- Sleep: Disable sleep for the host in Energy settings, then test after each macOS update.
- Bind address: Set
OLLAMA_HOSTwithlaunchctl setenvso the API listens beyond localhost, then restart Ollama. Pair this with the access controls described in the security section. - Log checks: Review the server log after model loads and during peak use, and watch memory pressure in Activity Monitor when several models are resident.
- Moving on: Move to a Linux server when the team needs formal change windows, separate capacity planning or an owner who answers pages.
Check that the host still answers after a reboot, a macOS update and a full working day of requests.
A Mac on a shared desk is exposed to people who did not install it. Colleagues may log out, shut it down, change the network or install software, and the office may apply its own sleep and screen-lock policies. Ownership of the machine must be written down before anyone depends on it.
- Login behavior: Keep a dedicated account logged in, and lock the screen instead of logging out. Confirm the policy with facilities and IT.
- Sleep and power: Confirm whether the office's power management or energy-saving profiles override the host settings, and test the result after a power cut.
- Uptime: Ask IT for any availability expectation in writing. Nothing in this setup implies a service level.
- Log checks: Forward or copy the server log to a location the operations owner can read, and review it on a fixed schedule.
- Moving on: Move to a Linux server in a data room or approved hosting when the office network, data rules or support hours cannot meet the requirement.
Before go-live, confirm in writing who restarts the machine, who receives its logs and who approves network changes.
Limits to confirm before a Mac goes into team use
A Mac running Ollama for a team depends on settings that change with macOS releases, power behavior and the memory each model needs. The cards below list the items to verify in your own environment rather than assume, and each one can be checked with a short test on the actual machine before users depend on it.
Chip and macOS version support
Confirm that your specific M series chip and the macOS release you plan to run are supported by the Ollama release you install. Support statements can change between Ollama versions, and the project ships frequent releases, so the check belongs in the rollout plan rather than in a one-time procurement note. Record the Ollama version, the macOS build and the chip model in your host inventory, and repeat the check before each upgrade of either component.
Ollama releasesLaunchctl settings across upgrades
The OLLAMA_HOST value set through launchctl is stored outside the Ollama package, so a macOS upgrade or a reinstall of Ollama can change its behavior. Test the setting after every macOS update: confirm the bind address with a request from another machine, check that the service restarts at login, and confirm that the variable is still present. Keep the exact launchctl commands in your runbook so the change can be repeated by someone other than the original administrator.
Sleep and power settings
A Mac that sleeps, shuts down or restarts after an update stops answering API requests until someone wakes it or signs in. Set the machine to stay awake on power, decide whether it must restart unattended, and confirm that Ollama starts without a user session if your design requires that. Test a wake, a forced restart and a loss of network connectivity, and record how long the service takes to answer again.
Throughput under concurrent requests
Ollama limits parallel work per model and queues additional requests, so several users can see slow responses even when the machine is idle. Measure response times with the number of simultaneous users you expect, using the concurrency variables your version supports, and watch queue behavior during the test. Ask whether the results hold for the largest model your team will load, because longer prompts and larger contexts reduce throughput.
Ollama FAQModel fit in unified memory
Unified memory is shared between the operating system, applications and the model, so the memory left after a normal desktop load determines which models run comfortably. Check each model your team needs against the memory of the specific Mac, including the context length users will request and any second model that stays loaded at the same time. Document the models that fit and the ones that should stay on a larger host.
Questions teams ask before running Ollama on Macs
Does running Ollama on a Mac cost money?
Running models on your own Mac carries no usage charge. Ollama's pricing page states that running models on your own hardware is always unlimited, and Ollama is open source under the MIT license. Costs appear only if you use Ollama's cloud models. Those plans are listed as Pro at $20 per month ($200 per year), Max at $100 per month, Team at $500 per month and Enterprise at custom pricing. Cloud plans are separate from local use, so you can leave them out entirely. Your real costs are the Mac hardware, its memory, the staff time to run it and any outside support you buy. Confirm current plan terms on the pricing page before you budget.
How much effort does a Mac setup take for a team?
Installing Ollama itself is quick. Most of the effort goes into making a Mac behave as a shared host. That includes setting OLLAMA_HOST with launchctl so the server listens beyond localhost, configuring the service to start at login, deciding where models and logs live and confirming the service returns after a reboot. Someone also has to choose models, test them against real prompts and keep macOS and Ollama updated. Plan for more time at the start than in later months. Expect the owner to need macOS administration skills, network access and basic change control. Check the steps against Ollama's current documentation for your version before you roll them out.
Can our own team set up an Ollama Mac host?
Yes, an experienced administrator can set up a single Mac for a small, trusted team without outside help. The installation steps are documented and the moving parts are few. The harder part is the operating decisions. Your team should be able to answer who can reach the API, how the port is protected, where models are stored and who manages disk space, and how you will test after each update. Teams that stop at the first working request often leave the API open to the whole office network, because the local API has no authentication by default. Write a short runbook, document the configuration and name one owner before you call the host finished.
When should we hire outside help for a Mac host?
Bring in outside help when the Mac will serve people beyond a small trusted group, when security or compliance reviewers need evidence of access control and logging, when you need an authentication layer or reverse proxy built and tested, or when no one on staff can own patching and testing. DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside your infrastructure. It prepares systems, controls and evidence for compliance assessments, but independent auditors and certification bodies issue audit reports and certifications. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. Ongoing support is available as a retainer.
How does a Mac compare to a Linux GPU server for shared use?
A Mac suits a small team that wants a quiet, low-administration host. On Apple silicon, the GPU draws on the same unified memory as the rest of the system, so the largest model you can run depends on total memory after macOS and other applications take their share. A Linux server with dedicated NVIDIA or AMD GPUs usually offers more video memory per machine, finer control over service management and more room to scale concurrency. Macs also have fewer options for remote hardware management and high availability. Compare model size, expected concurrent users and uptime needs against both platforms before you choose.
What drives the cost of a fixed-scope Ollama engagement?
The cost follows the written scope, so the main drivers are the amount of work that scope covers. Common drivers include the number of Macs and environments, whether the host needs SSO or an authentication proxy, how many models and client applications must be tested, the level of logging and documentation required, the number of network zones and approval steps, and whether compliance evidence is needed. DeployOpen does not publish a price list. When you ask for a quote, request a written scope that lists deliverables, timelines, the inputs you must provide and what is excluded. Ask whether retesting and ongoing support are priced separately as a retainer.
Is a Mac host safe to share without authentication?
No. The local Ollama API at localhost:11434 does not require authentication, and Ollama binds to 127.0.0.1 by default. Setting OLLAMA_HOST to listen on a network interface exposes that unauthenticated API to anyone who can reach the Mac. Put an authenticated proxy in front of it, such as Nginx, as the Ollama FAQ describes. Restrict the network path with firewall rules, and turn off cloud features with OLLAMA_NO_CLOUD=1 if your policy requires it. Review browser origin settings, keep Ollama patched and test access from outside the trusted network before users depend on the host.
How DeployOpen scopes a Mac-hosted Ollama deployment
DeployOpen plans the Mac host, the access layer, model storage and login behavior in a written scope before any configuration changes are made on the machine. For a Mac-hosted Ollama server, that scope answers which Mac or Macs will serve requests, which address OLLAMA_HOST will listen on, where models will live on disk, and whether the service starts at login or only when a user is signed in. Each of these decisions changes what the reader must build around the Mac, so they are settled on paper first. Engagements are fixed-scope, which means the scope, deliverables and timelines are agreed in writing before work starts, and the reader can see exactly what is and is not included.
The written scope typically names the components the reader will own after handover: the launchctl environment entry that sets OLLAMA_HOST, the login item or launch agent that restarts the server, the OLLAMA_MODELS directory, and the locations of logs and model files that operators will check during incidents. It also records who approves changes to these settings and how the Mac is patched. Ollama binds to 127.0.0.1 port 11434 by default, so any move to a wider bind address needs a named access layer in front of it. Ask DeployOpen to show how that layer is scoped, and confirm with your own security team which controls they require before any network exposure.
Ask for the scope to list each deliverable as a verifiable item, such as a tested restart after reboot, a documented model directory with its permissions, and a runbook for updates. Confirm with the vendor which Ollama version and macOS version the scope covers, since Ollama ships frequent releases and the version in use changes the steps. Ask what happens if a requirement turns out to be outside the agreed scope, and how a change request is priced and approved. The quote should follow directly from this written scope.
How DeployOpen works on this
DeployOpen plans, builds, documents and supports self-hosted Ollama inside infrastructure you control, including Apple silicon Macs used as local or small-team hosts. Each engagement starts from a written scope that covers the Mac hardware, the macOS setup, the network exposure and the access controls before any configuration is changed.
How we scope
- Confirm the Mac models, unified memory and macOS versions that will host Ollama.
- Define which users or applications reach the API and from which networks.
- Agree in writing which model storage locations, logs and login items are in scope.
How we build
- Set OLLAMA_HOST with launchctl and verify the bind address after each restart.
- Place model storage and logs on paths the service account can write to and back up.
- Test model loading, concurrency settings and access controls against your agreed use cases.
How we hand over
- Deliver a runbook covering login items, file locations, update steps and rollback.
- Document the configuration, network exposure and cloud feature settings for your reviewers.
- Walk your administrators through checks they will repeat after macOS or Ollama updates.
How we support
- Engagements are fixed-scope, with deliverables and timelines agreed before work starts.
- Ongoing support, upgrades and continuous testing are available as a retainer.
- Ask any provider to confirm how they handle macOS and Ollama version changes in writing.

