No API key, no subscription, no download. Just open Terminal and type fm.

Table of Contents

For the last few years, “using AI” for majority of general public has meant the same thing: open a browser, sign in to someone’s service, send your words off to a data center, and wait for an answer to come back.

macOS 27 changes that. Every Mac running it now ships with a large language model already installed, ready to use, and running on the Mac itself. Here’s what that means, why Apple did it, and how you can try it in about ten seconds.

The What: an AI model that lives on your Mac

A foundation model is a general-purpose AI model trained on large amounts of text (and now images) so it can handle many tasks: summarizing, rewriting, answering questions, pulling data out of messy text, and so on. ChatGPT, Claude and Gemini all run on foundation models.

Apple has its own family, called Apple Foundation Models (AFM). The third generation, announced at WWDC in June 2026, comes in five flavors:

ModelWhere it runsWhat it’s for
AFM 3 CoreOn your MacA 3-billion-parameter model for everyday text tasks
AFM 3 Core AdvancedOn your MacA bigger 20B “sparse” model that only wakes up 1–4B parameters per request, so it stays fast
AFM 3 CloudApple’s Private Cloud ComputeHeavier jobs that need more muscle
AFM 3 Cloud ProApple’s Private Cloud ComputeThe top tier
ADM 3 CloudApple’s Private Cloud ComputeImage generation

The headline: the on-device models are part of the operating system. They’re the same models that power Apple Intelligence features like writing tools and summaries, and now you and every app developer can call them directly.

And this year the on-device model can see. You can hand it a screenshot, a receipt or a photo of a whiteboard and ask questions about it, all without anything leaving your machine.

The Why: three reasons this matters

1. Privacy by default

When the model runs on your Mac, your prompt never leaves your Mac. Summarizing a confidential contract or a medical letter doesn’t mean uploading it anywhere. For many people and companies, that’s the difference between “can’t use AI for this” and “can.”

2. It’s free, and works offline

No tokens to buy, no monthly bill, no rate limit on the local model. It works on a plane, in a basement, or when your Wi-Fi gives up.

3. Developers stop reinventing the wheel

Before this, an app that wanted AI features had two choices: pay a cloud provider per request, or bundle its own multi-gigabyte model. Now every Mac already has one. That means smaller apps, lower costs, and a lot more “smart” features in apps you already use.

The bigger idea: AI becomes plumbing, like the spell checker or the file system. Something the OS provides, not something you go and get.

The How: three ways to use it

Way 1: Just type fm in Terminal

This is the part that got developers excited. macOS 27 ships a command-line tool called fm, pre-installed, at /usr/bin/fm. Open Terminal and try:

fm respond "Explain what a VPN does in two sentences"

That’s it. No sign-up, no key, no setup. A few more tricks:

# Have a back-and-forth conversation
fm chat

# Give it a role
fm chat --instructions "You are a patient coding tutor"

# Ask about an image
fm respond --image screenshot.png "What error is shown here?"

# Need more horsepower? Send it to Apple's cloud model
fm respond --model pcc "Summarize the key risks in this plan: ..."

# Check how many tokens a prompt uses
fm token-count "Hello world"

Because it’s a normal command-line tool, you can pipe things into it and chain it with other commands. Rename files, tidy up notes, tag photos, triage logs: anything you can script, you can now script with AI in the loop.

Want structured data instead of prose? fm can generate a JSON schema and force the model to fill it in, so you get clean, predictable output your scripts can rely on:

fm schema object --name Person --string name --int age > schema.json
fm respond --schema schema.json "Jane is 34 and lives in Austin"

Way 2: From Python

Apple also released an official Foundation Models SDK for Python (github.com/apple/python-apple-fm-sdk). It mirrors the Swift API, with streaming, tool calling and structured output, so data scientists and scripters can use the model without touching Xcode.

There’s also an fm serve command that, per early hands-on reports, starts a local server on your Mac that speaks the same API format as OpenAI. Tools already built for OpenAI can be pointed at it by swapping the base URL.

Way 3: Inside apps (for developers)

The Foundation Models framework is the Swift API app developers use. It first appeared in 2025, and the 2026 version adds a lot:

  • Image input, so apps can reason about photos and screenshots.
  • Built-in tools the model can call by itself, like OCR (reading text in images) and barcode scanning.
  • Bring any model. A new LanguageModel protocol lets the same code talk to Apple’s models or cloud models like Claude and Gemini. Start local, switch to a bigger model when needed, and keep the rest of your code the same.
  • Free cloud access for small developers. Developers in the App Store Small Business Program with under 2 million first-time downloads get the Private Cloud Compute model with no cloud API costs.
  • An Evaluations framework for testing whether AI features keep behaving correctly.
  • Open source. Apple says the framework itself is going open source.

The fine print

Built-in doesn’t mean all-powerful. Worth knowing:

  • Apple silicon only. macOS 27 dropped Intel Macs entirely, so an M-series chip is required.
  • Short memory. The on-device model handles about 8,192 tokens (a few thousand words) at once. Long documents need to be split up. The cloud model stretches to 32,000.
  • It’s small. A 3B model is great at summarizing, rewriting and extracting. It is not a replacement for frontier models on deep reasoning or broad world knowledge.
  • The cloud option isn’t fully local. Requests sent with --model pcc leave your Mac. Apple wraps them in its Private Cloud Compute privacy design, but they’re no longer on-device, and they come with daily usage limits.
  • It’s a black box. The model weights aren’t open, and Apple’s benchmarks only compare against its own older models.

The bottom line

macOS 27 quietly turns every Mac into an AI-capable machine out of the box. For regular users, that means smarter apps that don’t ship your data off to a server. For developers and tinkerers, it means AI is now just another command, as easy to reach as grep or curl.

Open Terminal. Type fm. See what it can do.

“Using an M-series Mac just to browse the web is like hiring a Michelin-star chef to microwave a burrito.”-Rushi

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>