MacBook Voice Assistant Runs a 4B Model Fast

MacBook voice assistant homie running a 4B model locally in the notch

A developer who goes by Saif has released homie, a voice assistant for MacBooks that runs entirely on the laptop and answers most everyday requests in well under a second. The model behind it has only 4 billion parameters, so the speed comes from clever engineering around it rather than from raw horsepower.

The assistant sits in the notch area of the display. Hold fn, speak, and it can start timers, queue songs, check your schedule, highlight items on the screen and reply aloud. No internet connection is needed.

The local stack

Three pieces do the work. Qwen 3.5 4B, served through llama.cpp using Metal, handles reasoning. Kokoro-82M runs on the Neural Engine to generate speech. Apple’s built-in recognizer turns your voice into text.

The bottleneck is generation speed. On an M5 MacBook with 16 GB, the model manages somewhere between 15 and 30 tokens per second, and memory pressure can halve or double that. Because a tool call is produced one token at a time, a simple “set a timer” request would take 2 to 5 seconds. Nobody enjoys waiting four seconds for a timer.

A fast lane that bypasses the model

Most requests are dull: timers, dark mode, launching apps, playing a track, reading the calendar. For these, roughly 600 lines of pattern rules recognize common phrasings and trigger the right action in about a millisecond, with no model involved.

False positives are the risk, so the tests include phrases that must be ignored. Telling it to close a window can’t quit the whole app. A question about whether dark mode hurts your eyes isn’t an order to switch it on. Before any tuning, the rules caught 87 percent of a held-out set. Today they match all 214 test phrasings with no wrong triggers. Whatever the rules miss gets passed to the model.

Calendar questions got the same treatment. They once needed a tool call and then another model pass to write the summary, which took 5 to 7 seconds. Now ordinary code pulls events from EventKit and assembles the sentence, so speech begins in under one second.

Save the prompt’s state

The instructions plus tool definitions come to around 3,700 tokens. On this hardware, processing them before each question costs between 7 and 19 seconds.

The developer used llama.cpp’s ability to snapshot the model after it has digested a prompt. Homie stores that snapshot on disk, cut precisely where the user’s turn begins. Each question then adds about 45 tokens, not 3,700, and the time from launch to ready dropped from 5 to 10 seconds down to 0.12 seconds.

A stubborn bug ate a full day. The snapshot kept failing to match. The tool definitions were being written out from a dictionary that listed keys in a different order at every launch, so identical tools produced different bytes. Sorting the keys fixed it.

The same rule killed a textbook trick, which was to show the model only the tools a request needs. Shorter prompts should be quicker, but each new tool list breaks the snapshot and costs 4 to 17 seconds. A single fixed list is faster overall.

Begin before you stop talking, and reply early

Judging that a speaker has finished adds delay too. Homie waits 0.35 seconds after a clearly complete command, 0.6 seconds in general, and 1.2 seconds if you trail off with “and”.

A quarter second into a pause, the model begins processing what it has heard. Keep talking and that work is discarded and restarted, which in testing cost almost nothing: 0.18 to 0.20 seconds versus a 0.18 to 0.26 baseline. If you really have finished, about 0.35 seconds of waiting vanishes.

Speech starts before the answer is complete as well. The opening phrase is split at a natural break and read aloud while the model continues writing. The 90th percentile delay before the first sound fell from 1.49 seconds to 0.88. Once a tool call begins streaming, homie says “On it” immediately, which shaves roughly two seconds off how long those turns feel.

Pointing instead of drawing

Ask homie to circle the Send button and a ring appears in about half a second. The model never produces coordinates, since a 4B model does that badly. It only says what to mark, and Apple’s on-device text recognition together with the Accessibility tree locate it. In an earlier attempt, letting the model sketch freely returned a T-Rex that looked like a green box with a face, after 13 to 20 seconds.

Safety checks and privacy

Small models sometimes act with unearned confidence, so a few simple rules constrain it:

  • A requested action must match a word you actually spoke, so a request for a joke can’t start music.
  • Stray tool-call text in a reply is never read out.
  • Made-up identifiers are redirected.

Network use is minimal: a one-time model download from Hugging Face that is pinned and checked with SHA-256, a song lookup through iTunes Search, and any website you ask it to open. The local model server accepts connections only from the machine itself.

Who can run it

You need an Apple silicon Mac on macOS 26 or newer. The source, benchmark scripts and complete experiment notes are published on GitHub, with a signed build available. Saif is asking owners of other chips to run the benchmark and send results, so more numbers should follow.

Source: homie-mac.vercel.app

Written by

Saksham Bhargava

Saksham Bhargava runs Alteroid and has been writing about consumer technology for over five years, covering iPhone, Android, Windows, AI tools and gaming. With an MCA and six years of hands-on web development experience, he tests the features he writes about on his own devices and focuses on clear, practical guides that solve real problems. Away from the screen, he enjoys travelling to places most tourists skip.