Local AI on a Mac, Part 1: Why We Brought AI In-House and How We Sized the Machine

November 30, 2026
Local AI on a Mac, Part 1: Why We Brought AI In-House and How We Sized the Machine

Local AI on a Mac is a new series on running AI on hardware you own, so sensitive data never has to leave the office. This is Part 1.

Most of the growing companies we support want to do more with AI, and most of them run into the same wall. The data that would make AI useful is the data their own policies say cannot go into an AI tool.

We ran into that wall ourselves. This series is a first-person account of how Advisory built a local AI machine on a Mac so we could work with our own service data safely. Part 1 covers why we did it, how we sized the hardware, how we chose a model, and how we pay for it.

Why we needed AI on our own hardware

Our ticket history is the best record we have of how our clients' environments behave. Used well, it helps us spot recurring problems early, suggest fixes faster, and route work to the right technician. It is also some of the most sensitive data we hold.

We sort data with the same three-tier framework we build for clients:

  • Green: safe for AI use. Published content, industry research, general communications.
  • Yellow: use with guidelines and human review. Internal memos, meeting notes, budget summaries.
  • Red: prohibited on standard AI platforms. Personnel records, client PII, legal documents, health information, financial data.

Service history describes client systems, people and incidents, so it belongs in yellow and red.

A fair question is why we don't just use an enterprise AI plan. The major vendors now commit not to train on business data (OpenAI, Anthropic), and some offer zero data retention. We use those plans for green and yellow work. But a contract describes what a vendor promises to do with data after it receives it. For red data, we wanted a shorter answer for clients, auditors and ourselves: it never left a machine we own, on a network we control, managed by our MDM.

Private AI inside your own cloud account is a valid middle ground for remote-first teams. We chose on-device because we have an office and already manage Macs.

Why a Mac

Three reasons made the Mac the accessible choice for a company our size.

  • Unified memory. On Apple silicon, the CPU and GPU share one pool of memory. A Mac Studio offers a large pool without separate graphics cards.
  • Nothing new to manage. The machine enrolls in the same MDM as every other Mac we support. It gets the same FileVault, patching and network policy.
  • It fits in an office. It is a quiet desktop with a maximum continuous power draw of 480W. No server room is needed.

We chose a Mac Studio with an M5 Ultra (30-core CPU, 64-core GPU), 96GB of unified memory and 2TB of storage. The 96GB holds a 27B to 31B model at 8-bit with room for long context, and its 1.2TB/s of memory bandwidth keeps responses fast. The 2TB holds several models and versions alongside training data. We did not pay for 256GB now; our workload fits, and a 36-month lease lets us step up at refresh. The machine arrived this week, and we are setting it up now.

How to size a Mac for local AI

Memory decides what you can run, and memory bandwidth decides how fast it runs. Four inputs drive the math. These are working estimates based on LLM Sizer, an open sizing method:

  1. Model size and precision. Weights take about 0.55GB per billion parameters at 4-bit, 1GB at 8-bit and 2GB at 16-bit. A 31B model needs about 17GB at 4-bit and 31GB at 8-bit.
  2. Context and concurrent users. Each open conversation holds working memory that depends on the model, from about 0.025MB per token for gpt-oss-20b to about 0.36MB for Mistral Medium 3.5, at the usual 16-bit setting. On Gemma 4 31B, ten people with 32K-token conversations need about 27GB on top of the model.
  3. The share macOS gives the GPU. By default, macOS lets the GPU use a share of memory that grows with the Mac: about 74% on a 16GB Mac, 81% on our 96GB Mac and about 91% on a 512GB Mac. The limit can be raised, but leave at least 6GB for the system.
  4. Speed. Generation speed is roughly memory bandwidth divided by the size of the active weights. In a MacStories review, an M5 Ultra wrote about 48 tokens per second with a 27B model at 4-bit; our calculator estimates about 15 for a similar model on an M5 Pro. About 10 tokens per second keeps pace with reading.
Chart of what fits in a 96GB Mac Studio: about 18GB reserved for macOS, 33GB for Gemma 4 31B at 8-bit, 7GB for five 16K-token conversations, 2GB to run the model and 37GB free.

We built a Mac sizing calculator that runs this math. Answer a few plain-language questions, such as what you will use AI for, how many people will use it and how long their conversations run, and it recommends a model, a Mac, how many you need, and a list price with a monthly cost over a 36-month lease, with a margin of error. Treat its output as a starting point, then test on real hardware.

Running it: LM Studio, and how to pick a model

We plan to run models in LM Studio. It has been free for work use since July 2025, and it fits a business setting well:

  • It runs Apple's MLX model format natively, as well as the common GGUF format.
  • It serves models over an OpenAI-compatible API on your local network, so internal tools can call it like a cloud service.
  • It runs headless as a background service, and fully offline once models are downloaded.

We pick models with three filters, in this order.

  1. Capacity. The model has to fit with room left for context and users, using the math above.
  2. License. Apache 2.0 and MIT allow commercial use with few conditions. Custom licenses need a legal read before anyone builds on them.
  3. Country of origin. Many of the strongest open models come from Chinese labs. Running the weights offline sends no data back to the developer, but origin still matters to some clients, insurers and public-sector contracts. Set your policy before testing, so the team doesn't fall for a model you can't deploy.
Table of open models and whether each fits on a 96GB Mac Studio: gpt-oss-20b yes easily, Gemma 4 31B yes at 8-bit, Qwen3.8-27B yes at 8-bit, gpt-oss-120b yes, Mistral Medium 3.5 tight at 4-bit only, DeepSeek V4.1-Flash no, needs a 512GB Mac.

Training: how we approach it

Most teams should start without training. A model can look up documents at the moment it answers, and that covers a lot of ground. We train for a narrower reason: to teach the model our format, our tone and how our technicians reason through a problem.

Our process:

  1. Select resolved tickets that were handled well.
  2. De-identify them. Names, emails, serial numbers, IP addresses and client names become placeholders.
  3. Keep client facts out of the model. A trained model can't be limited to one client, and what it learns can't be removed when a client leaves. Client details are looked up at run time instead.
  4. Train a small add-on, called a LoRA adapter, with Apple's MLX framework. Using a 4-bit base model (QLoRA) keeps memory use low.
  5. Test against tickets held out of training, and deploy only if the result beats the untrained model.

The 96GB limit is real. Adapter training on mid-size models fits; full training of large models does not, and runs take hours, so we schedule them outside business hours. At WWDC26, Apple showed four clustered Macs fine-tuning a model more than 3x faster than one, which gives us a growth path.

Paying for it: lease at fair market value

Price is the first objection we hear, and it is fair. Our configuration is $5,999 at Apple's list price. A 256GB M5 Ultra with the 80-core GPU starts at $10,799, and a two-machine cluster doubles that (pricing). The 512GB option went on sale on October 28 and starts at $22,299.

We lease at fair market value (FMV) over 36 months, which we think gives the best of both options:

  • Monthly cost, not capital. The spend becomes predictable and frees cash for the work itself.
  • A built-in upgrade path. Apple silicon improves every year, and AI models keep growing. At the end of the term you can return the machine, refresh to a current one, or buy it at fair market value.
  • Lower payments than a buyout lease. An FMV lease does not finance the full purchase price, because the lessor keeps the residual value.

Apple's business leasing offers this structure on terms of 12 to 48 months, subject to credit approval. We quote everything at Apple's list price. Talk to your accountant about how a lease is treated on your books.

Tips before you buy

  • Classify your data first. Decide which tiers the machine will handle before you pick hardware.
  • Size for people, not only the model. Users multiplied by context length is where memory disappears.
  • Leave headroom. Plan for 20 to 30% more memory than the estimate; context windows and models only get larger.
  • Manage it like any other endpoint. MDM enrollment, FileVault, no inbound ports, and a named owner.

Coming next

Part 2 introduces Galileo, our internal model: how we choose the base model, train it on de-identified tickets, and move our Claude skills to it. Part 3 covers what happened when we put it to work.

If you are weighing local AI for your own red or yellow data, try the sizing calculator, then book a sizing call and we will check the numbers with you.

Sources

← All IT news and articles
Security questions from your clients?

Our Trust Center shows how Advisory protects your data, devices and access.

Visit the Trust Center ↗