Apple's on-device model vs Llama 3.2 3B on the same Mac
Two small models on one Mac. One answered faster; the other got more of the answers right.
Apple’s on-device model is the obvious choice for a Mac app: it’s already there, it’s free and nothing leaves the machine. But it isn’t the only model that runs on a Mac. Ollama runs open-weight models locally after one download, and Meta’s Llama 3.2 3B is about the same size as Apple’s model, which Apple has described as about 3 billion parameters.
So I gave Llama the same tests I’d given Apple’s model: the games (Wordle, and tic-tac-toe against a perfect player) and the text tasks the on-device model turned out to be good at.
The setup
One Mac: an M2 Pro with 16 GB of memory, on macOS 27.2.
- Apple’s on-device model, through Apple’s
fmcommand-line tool (written up in the guide). - Llama 3.2 3B (
llama3.2:3b, Ollama’s default 4-bit build) in Ollama 0.40.13, with requests sent straight to Ollama’s OpenAI-compatible API. Why not throughfmis near the end.
Same prompts, same 20 Wordle words, same 20 tic-tac-toe games and the same scoring as the earlier posts. One request at a time, default settings for both. I ran Apple’s model again for this post rather than reuse old numbers.
What it takes to set up. Apple’s model comes with Apple Intelligence, so I had nothing to install; Apple says Apple Intelligence needs up to 8 GB of free storage. Ollama is a 695 MB app and the model a 1.9 GB download, both free. Llama’s license is Meta’s own community license, not an open-source one, so read it before you ship it in something.
The text tasks
Four tasks, 20 items each: pull an order’s details out of an email, classify a support message, list the people named in a passage, and summarize a paragraph in one sentence. For the first three, each model ran with a JSON schema that constrains the answer and without one. Three runs of each:
| Order details | Classify | Names | Structured (of 60) | Summaries | |
|---|---|---|---|---|---|
| Apple, schema | 19, 19, 19 | 18, 18, 18 | 20, 20, 19 | 57, 57, 56 | 20, 20, 20 |
| Apple, no schema | 19, 19, 19 | 19, 19, 19 | 19, 19, 19 | 57, 57, 57 | 20, 20, 20 |
| Llama, schema | 11, 11, 15 | 17, 18, 19 | 10, 7, 9 | 38, 36, 43 | 19, 20, 20 |
| Llama, no schema | 18, 17, 18 | 19, 16, 14 | 2, 3, 4 | 39, 36, 36 | 19, 20, 20 |
Apple’s model barely moved between runs. Llama moved a lot, and it fell down in two places.
It didn’t find the names. Without a schema, 50 of its 51 misses were
an empty list, {"names": []}, for passages full of names. The schema
helped, from 2–4 right to 7–10, but it still missed more than half.
The schema made order details worse. Without one, Llama got 17 or 18
of 20. With one, 11 to 15. The schema made it fill every field, and it
filled order_number with whatever came out: “To be filled by AI”, “Do not
show”, “Oh, I’d rather not share that with you”. It also often cut the
total to a whole number, 57 for $57.40. So for Llama the schema traded
order details for names, and came out about even overall. Apple’s model
scored the same either way.
Llama’s summaries were mostly good. I read every one from the first run: fuller sentences than Apple’s model’s clipped, semicolon-heavy style. Two slipped. One said a library dropped late fees “to help low-income families”, where the text said “some families”, and one turned “people who walked slept better” into walking “improves sleep quality”, the same correlation-into-cause slip Apple’s model made last time.
The games
| Wordle solved | No 5-letter word | Tic-tac-toe | Seconds per guess / move | |
|---|---|---|---|---|
| Apple’s model | 0 of 20 | 7 | 5 losses, 15 forfeits | 0.38 / 0.31 |
| Llama 3.2 3B | 0 of 20 | 21 | 13 losses, 7 forfeits | 0.08 / 0.13 |
Neither solved a Wordle. Llama opened all 20 games with “house”. Its 21 unusable answers were words of the wrong length, like “FLINTS” and “STRAIN”; Apple’s 7 were mostly short words, like “LIME” and “HOPE”. (Made-up five-letter words counted as guesses for both.)
At tic-tac-toe, a forfeit is naming a square that’s already taken. Apple’s model forfeited all ten of its games as X on its second move, naming the center or square 3 when it was taken; Llama forfeited two of its ten. Llama didn’t play better, it just kept playing, so against a perfect opponent it lost 13 games instead of forfeiting them. Neither managed a draw. In the games post, Apple’s model got one Wordle solve and one draw from the same games.
Speed and memory
Llama was faster. In the games, where both models sit behind a local HTTP
server, it took about a fifth of the time per Wordle guess and under half
per tic-tac-toe move. On the text tasks, with both going through fm in a
separate run, the gap was smaller: Llama’s median per request was 1.2 to 2
times faster (0.23 against 0.46 seconds to classify, 0.73 against 0.91 to
extract an order).
You can also see what it costs in memory. ollama ps reported 6.0 GB for
the loaded model, much of it room for a 32,768-token context, which is
what the Ollama app was set to (I didn’t change it). macOS’s footprint
tool put the server process at 3.9 GB. Ollama unloads the model after five
minutes idle; loading it again took about a second, with the file already
in the disk cache. I couldn’t measure Apple’s model the same way: it runs
inside system processes that need admin rights to inspect.
A catch if you use fm with another model
My first Llama run went through fm itself, which can
send requests to another model.
Llama scored 6 of 20 on order details with a schema, and its answers had
the fields in a different order each time. So I pointed fm at a small
server that logs requests. In the four requests I logged, fm sent the
schema’s fields in a different order each time, with the intended order in
an extra x-order key that Ollama ignores.
Apple’s model probably gets the same scrambled schema: 17 to 19 of its 20
answers had the fields out of order in each run, and it still got 19
right. Sent straight to Ollama, in order, the same schema scored 11 to 15
for Llama. fm also streams and adds an empty tool list, so the field
order isn’t the only difference, and it was one run. But it was enough for
me to take Llama’s scores from sending requests directly.
What I got wrong
- I claimed something about Apple’s model without checking. My draft
said it follows
x-order. Its answers say it doesn’t; it just copes. - I quoted the wrong run. My draft’s examples of Llama’s junk order
numbers came from the
fmrun I’d thrown out, not the runs in the table. An editor caught it. - The prompts were written for Apple’s model in the earlier post. I didn’t reword them for Llama; a different names prompt might do much better.
- Default settings aren’t the same settings. I didn’t set a temperature for either model, and I don’t know what Apple’s default is.
- I didn’t try a smaller context in Ollama, which would cut that 6 GB.
- One run of the games for each model. Apple’s rerun was close to its earlier result, not identical.
What I take from it
If an app needs structured answers from text, Apple’s model was the better choice here: far more accurate, steady from run to run and already installed. Llama was faster and wrote fuller summaries, and it’s the one you can choose, swap for a bigger model or run on a machine that isn’t a Mac.
For a feature in your app, would you rather have the model you can take anywhere, or the one that gets it right on the Mac it’s on?