macOS 27 ships a command-line tool, fm, that runs Apple's on-device foundation model (about 3 billion parameters, by Apple's figures) on the Mac itself: no API key, no fee, and no model for you to download or start. We gave it a job we already test a local model on every night: reading emails that announce AI models being retired, and pulling out which models, when, and what replaces them. We compared three ways of prompting it with that local model, Qwen3.6-35B-A3B. Then we gave it a second job: summarising our own ops alerts.
Run on November 29, 2026, on a Mac with an Apple M5 Pro chip and macOS 27.0.1.
Out of 26 emails and 48 retired models. One run per setup.
| Setup | Emails fully right | Yes/no right | Replacements right | Median per email |
|---|---|---|---|---|
| Apple model, one plain prompt | 22/26 | 25/26 | 45/48 | 1.6 s |
| Apple model, forced JSON schema | 15/26 | 19/26 | 25/48 | 1.4 s |
| Apple model, three small steps | 24/26 | 25/26 | 47/48 | 1.6 s |
| Qwen3.6-35B-A3B, local (thinking off) | 25/26 | 26/26 | 40/48 | 1.4 s |
The same day we gave it a second job: summarising 8 real batches of our own ops alerts into JSON with a short summary, the important items and the requests, using that job's own prompt. Answers were greedy, one run per setup. We compare it with a blind ranking of the same 8 batches from November 9, 2026.
| Setup | Right JSON shape | Content errors | Median per batch |
|---|---|---|---|
| Apple model, the job's own prompt | 5/8 | 4 | 2.0 s |
| Apple model, forced schema | 8/8 | 4 | 2.0 s |
| Apple model, forced schema + one added line | 8/8 | 2 | 1.7 s |
The rerun: 12 more batches of our own ops alerts that none of the prompts was written from, 5 of them with a line marking something resolved, cleared or recovered. Same forced schema, one run per setup. We compare with the answer stored for each batch by the cloud model that writes these summaries today, the same model that ranked best above.
| Setup | Right JSON shape | Resolved item reported as open | Prompt's example request copied | Live critical item missed |
|---|---|---|---|---|
| Apple model, forced schema | 12/12 | 2 | 3 | 0 |
| Apple model, forced schema + the added line | 12/12 | 1 | 1 | 0 |
| The cloud model we use today | 12/12 | 1 | 1 | 0 |
What we learned, checked against Apple's own guidance. The commands are the fm tool's own options.
Count tokens first: 4,096 covers the prompt and the reply
Apple gives the on-device model a 4,096-token context window per session, and instructions, prompt and the model's answer all come out of it. Counting is free and local. The first 9,000 characters of our longest email, all the test sends, already used 3,637 tokens, which leaves little room for instructions and an answer. Split long input and give each piece a fresh session, as Apple suggests.
fm count-tokens -i "$INSTRUCTIONS" "$(cat email.txt)"Give each prompt one small job and a couple of short examples
Apple's prompting guide says to focus each prompt on a single, well-defined goal and to keep examples as simple as possible (it suggests 2 to 15). Use example values that cannot be mistaken for real data: once, the model copied the date from our example onto real entries. Apple warns that it may repeat an example or invent details from it.
Plain text or a schema: test both, and check the answer in code
On the emails, forcing a JSON schema caused refusals and filler values, and plain-text answers checked by code did better: fix the date format, drop any name that is not in the source, and retry once. On the alerts, the schema fixed the format with no refusals, but not the content. Which one wins depends on the job, so test both on yours. Apple's safety guide also says the permissive guardrail setting only applies to plain-text (string) output; with structured output the default guardrails always run. We did not test the permissive setting.
fm respond --guardrails permissive-content-transformations "..." # untested by usBuild a schema with fm schema object
fm refused a schema file we wrote by hand in standard JSON Schema ("The data couldn't be read because it is missing"). A schema built by fm schema object worked.
fm schema object --name Summary --string summary --string important --array --string requests --array > schema.json
fm respond --greedy --schema schema.json "$(cat alerts.txt)"Use greedy answers when you need the same answer twice
Greedy sampling should make the output repeatable, which makes a test rerunnable and a failure reproducible.
fm respond --greedy -i "$INSTRUCTIONS" "$(cat email.txt)"Use it where Apple says it is strong
Apple says the model is built for summarising, extracting and classifying text, with a content-tagging mode, and is not designed for world knowledge or advanced reasoning. The fm tool also takes images and has built-in text and barcode readers; we did not test those.
fm respond --use-case content-tagging "$(cat note.txt)"
fm respond --image receipt.jpg --tool ocr --text "List the totals"Pass text in: it cannot open files
The model sees only what you send it. Put the text in the prompt or pipe it in. For other programs, fm serve starts a local server with an OpenAI-style /v1/chat/completions endpoint. Keep it on your own machine: always bind it to 127.0.0.1, or use a Unix socket, and never 0.0.0.0, which would open it to your network.
cat email.txt | fm respond -i "$INSTRUCTIONS"
fm serve --host 127.0.0.1 --port 1976Agree to the terms once
On first use, fm asks you to accept Apple's terms. You can read them first, or check whether you have already agreed.
fm license --show
fm licenseOn iPhone and iPad, call it from Swift
The fm tool is for the Mac. On iPhone and iPad, from iOS and iPadOS 26, apps reach Apple's on-device model in Swift through Apple's Foundation Models framework. The model version can change with OS updates, so results on a phone may differ from ours on macOS 27. Apple says it needs a device that supports Apple Intelligence, and that availability also depends on the region; Apple's framework page links its list of supported devices.
Retest after macOS updates
Apple updates the on-device model with the operating system and tells developers to rerun their prompt tests when it changes. Our figures are for one version.
Apple's pages and the developer forum threads behind the claims on this page, checked on the day of the test.