Bringing the Model Home: What I Measured Running AI on a 16 GB Laptop
https://github.com/mohamedsorour1998/technical-presentations/blob/main/talks/bringing-the-model-home/pitch/BringingTheModelHome.pptx
In September I gave a 30-minute talk at DevOpsDays Cairo 2026 titled "Bringing the Model Home."

The question I always asked myself was simple – which AI workloads could run on a laptop I already own, and which still needed a hosted model? This is my answer, with the numbers I measured and the errors the models made in the process.
Why I asked the question
The cost is where everyone starts and the weakest reason. Hosted inference just keeps getting cheaper. There are two constants that do not move with the price. One is data residency: some data cannot leave to a third-party processor no matter what the price is. The second is the dependency lifecycle: a hosted model can be withdrawn on the vendor's schedule, not yours.
That second constant bit me in the ass while preparing the talk. A hosted model I was using became unavailable, and the tool built on it stopped working. I did not change anything in my setup. This is the failure of local deployment fixes.
The machine Kind, and why I picked it
Everything ran on my own MacBook Air with an Apple M4 and 16 GB of memory. I compared four options: cloud, NVIDIA, AMD and Apple. For my case I chose Apple silicon. Unified memory means the model ceiling is the installed RAM, not a fixed VRAM allocation. There is no copying between CPU and GPU memory. It needs no second machine, no driver stack and no thermal planning. And MLX, the framework I used, is Apple's own, under an MIT licence.
The choice has a measured cost, and I said so on stage: an RTX 5090 is much faster per token on models that fit in 32 GB. If raw throughput on a small model is your goal, that is the right card. I put that line on the selection slide on purpose. A comparison where the option you picked wins on every axis is not an evaluation.
Making models fit
Quantization stores each weight at lower precision. A 0.6B model went from 1.1 GB to 331 MB, about 4.5 bits per weight, 3.4 times smaller. It still generated 253 tokens per second with a peak of 441 MB of memory.
The primary model was Qwen3.5-4B in 4-bit: 2.9 GB on disk, 2.5 GB peak memory, 36 tokens per second generating, and 344 tokens per second reading the prompt.
Fine-tuning was cheaper than I expected. I trained a small adapter on 53 examples in about 90 seconds. The adapter is 5.5 MB and the run peaked at 1.5 GB of memory. Asked the same question before and after, the model answered differently, and correctly. Fifty-three examples is small, and I was careful to frame it that way: an adapter teaches a model your data and your format, it does not make the model more capable.
Two demonstrations
The first was speech recognition with the network switched off. Whisper large-v3 transcribed 359 seconds of audio in 55 seconds, about 6.5 times real time. At that rate, 100 hours of audio takes about 15 hours, unattended, and no data leaves the machine.
The second was a coding agent. I pointed OpenCode at the local model by changing one setting, the base URL. Asked to count the words in a transcript, it chose
wc -w and answered. It took 61 seconds, for a question a frontier model answers in a few, and it reported 1,090 words where my own check counted 1,103.
What went wrong
This is the part I really wanted to demonstrate, as nobody includes it in the slide. A transcription succeeded while repeating one phrase 19 times. A generated script gave 67 for 6 × 7, while stating 42 in its summary. The model server failed to respond three times under heavy load. And 16 GB is shared with the operating system, so the best coding models simply do not fit.
No failure announced itself. The output needs to be verified.
The rule I concluded with
Run a workload locally only when all three of these are true:
- The workload is bounded: transcription, extraction, classification, redaction, with known input and output.
- The volume is large or the data is restricted. One of them is enough.
- The output can be checked, either automatically or by a person. If not, the output is unverified.
Everything else is run on a hosted model. It is a routing decision that is done on a per-workload basis, not a migration.
Delivering the talk
Nothing was live. All four demos were short recordings within the deck, roughly 40 seconds total. I decided so because a conference room is not my desk: the machine could have an old PowerPoint, the connection could drop, and a model that takes 61 seconds to answer is a long pause on stage. Each of the recordings is a real demo with the actual output displayed on the screen. Where it took too long, I reduced the waiting time and put the actual elapsed time on the slide. I rendered the slides instead of screen-capturing them so the text would be readable from the back of the room, and I mentioned early in the talk that they were recordings.
The programme committee helped me shape the deck. They wanted more visuals, a dedicated bio slide, a written plan for each demo and how long it would take, and the demos to be recorded into the slides. Each suggestion improved the talk, and I would have failed to include all of them on my own.
I practiced with a timer, with a timing check every few slides, and prepared answers to questions that had yet to be asked: why not Ollama or LM Studio, why not an RTX 5090, whether 53 samples really constitutes fine-tuning, how I can be sure quantization didn’t affect quality, whether anything gets off the machine, and what to get if 16GB isn’t enough.
This is my first conference talk that I have prepared since joining AWS New Voices this year. The things I am taking away from this experience are straightforward: measure before you make a claim, include the failures alongside the successes, and speak up about the weakness of your own solution before someone else in the room does.
The one thing I would like for you to remember from this talk is to not transfer everything to your laptop. Send the bounded and checkable work to your laptop, and host the rest.
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article