When Apple’s free on-device model is enough.
Since iOS 26, iPhones that run Apple Intelligence carry a language model your app can call with no API key, no per-token bill and no network. In iOS 27, Apple put a bigger model on its own servers behind the same Swift API. Neither is a drop-in swap for the model you pay for today. This is what each one gives you, from Apple’s own documentation, and a quick way to sort which features could move.
What the on-device model is
Apple’s research write-up describes it as a compact model of about 3 billion parameters, compressed to 2 bits per weight so it fits on a phone. It lists what the model is good at: summarization, entity extraction, text understanding, refinement, short dialog and creative writing. It also says plainly what it isn’t: “not designed to be a chatbot for general world knowledge.”
That line rules out a whole class of features. Ask it for facts and a small model will make things up, confidently. Hand it text the user already has and ask it to tag, shorten, classify or pull fields out of that text, and you’re using it for what it was built to do.
Two framework features make a small model usable in production. Guided generation
(@Generable on a Swift type) guarantees the output is an instance of that type,
so you aren’t hoping the JSON parses. Tool calling lets the model call functions
you write, such as a search over the user’s own data.
The number that decides most features: 4,096
Apple’s docs put the on-device context window at 4,096 tokens, and that budget covers everything in a session: your instructions, the user’s prompt and the model’s output. Apple’s rule of thumb is three to four characters per token in English, Spanish or German, and about one token per character in Japanese, Chinese and Korean.
Do the arithmetic. In English, 4,096 tokens is roughly 12,000 to 16,000 characters, or a little over two thousand words, shared between what goes in and what comes out. A 600-token system prompt and a 500-token answer leave about 3,000 tokens of input: a long email or a meeting note, not a chapter or a chat that grows all afternoon. In Japanese the same window holds around four thousand characters in total, which is the language tax on tokens showing up as a hard ceiling instead of a bill.
When a session runs out, the call throws (exceededContextWindowSize in iOS 26,
contextSizeExceeded in iOS 27) and Apple says to start a new session with a
shorter prompt or output. So multi-turn features need their own
plan for what to forget, and anything that takes user-supplied documents needs to chunk them
or refuse long ones before calling the model.
A lot of your users can’t run it
The model only exists on devices that support Apple Intelligence. On iPhone that means an iPhone
15 Pro or newer. Before every use you check the model’s availability, and Apple lists three
reasons it can come back unavailable: deviceNotEligible (the hardware can’t run
it), appleIntelligenceNotEnabled (the user hasn’t turned it on) and
modelNotReady (it’s still downloading or otherwise not ready). Region and
language support also apply.
So an on-device feature is one some of your iOS users never see. That’s fine for a nice-to-have, like suggested tags or a one-tap summary. It’s a problem for anything your product depends on, and for anything you advertise in your screenshots, because the person reading them may be holding an iPhone 13.
Android has its own version. Gemini Nano runs inside Android’s AICore system service, offline, and Google exposes it through the ML Kit GenAI APIs (summarization, proofreading, rewriting, image description) plus a lower-level prompt API. It runs on a narrower set of devices than Android as a whole. Moving a feature on-device in a cross-platform app means two implementations, plus a fallback for everyone else.
The model changes under you
Apple updates the on-device model in routine OS updates. Its documentation lists three versions so far: one for iOS 26.0 to 26.3, one for 26.4, and one for 27.0. Your prompt ships in your app, but the model it runs against changes when the user installs an update, on their schedule rather than yours.
Apple’s guidance is to version your prompts: record what each prompt produces on the current model, compare against the new model when it appears in the betas, and keep a separate prompt per model version if the output shifts. It also notes that the old model is only available through the beta program, so if you didn’t save outputs before the change, you have nothing to compare against. If you trained a custom adapter, Apple’s toolkit is explicit that it must be retrained for each new base model. This is the prompt-in-the-binary trade-off with an extra twist: you can’t hot-fix the prompt from a server, and the model can still change without an app update.
What iOS 27 added: the server model
At WWDC in June 2026, Apple extended the framework with a server-side model running on Private Cloud Compute. According to Apple’s documentation, it changes the numbers that matter:
- Context: 32K tokens instead of 4K.
- Reasoning: three levels (light, moderate and deep), where the on-device model has none.
- Network: required. Apple tells you to fall back to the on-device model when a request fails for lack of a connection.
- Limits: a daily request limit per person, not per app. When someone hits it, the
framework throws
quotaLimitReached, and Apple provides system UI for upgrading iCloud+ to get more. - Access: iOS 27 or later, an Apple Intelligence device, and a managed entitlement you request from Apple.
The price is the headline. Apple’s framework page says developers in the App Store Small Business Program with fewer than two million first-time downloads can use it “with no cloud API cost,” and a footnote adds that “expanded access to such features will be available for a fee in the future.” The same release lets the framework talk to third-party server models such as Claude and Gemini through one Swift protocol, so switching providers becomes a change to how you create the session.
Notice who pays for the limit, though. The quota belongs to your user, shared with Siri and Apple’s other server-backed features. Your heaviest user, the one who sets the price of your AI feature, no longer costs you money. They hit a wall, and the way past it is a subscription to Apple, not to you.
Sorting your features
Go through each AI feature you ship and ask four questions:
- Does it fit in 4K tokens, instructions and output included, for your longest real input?
- Does it work on text or data the user already has, rather than on knowledge of the world?
- Is it fine for some users not to get it? Older iPhones, Apple Intelligence switched off, and Android if you’re not building a Gemini Nano version.
- Can you test it against each model version before your users get that version?
Four yeses make a good on-device candidate, and for those the trade is excellent: no bill, no latency from the network, and nothing leaving the phone. Tagging a note, extracting a date and amount from a pasted receipt, rewriting a message the user just typed. A no on the first question points at the server model on iOS 27. A no on the second or third means it stays on the server you control.
We ran our own features through the same test. ShotCanvas writes headlines for store screenshots, short text that would fit in the on-device window easily. It still runs on a server, because the same feature has to work on Android and in the browser, and one prompt we can fix in minutes beats three implementations that drift apart.
For features that stay on a server, the savings are in how you call the model: start with moving work that can wait onto a batch API.