The idea
There’s a model in the phone
Usually an app’s AI feature sends what the user types to a server. A model there writes the answer and sends it back.
Phones can now do some of that work themselves. Apple builds a language model into iPhone, iPad and Mac. Apps reach it through Apple’s Foundation Models framework. On Android, Google’s Gemini Nano does the same through ML Kit.
Why
Private, free and quick
What the user types or photographs stays on their phone. Neither Apple nor Google charges for a request to its phone model. The bill doesn’t grow with every user.
It works with no signal. And the answer doesn’t wait on a trip to a server and back.
Good at
Small jobs on the user’s own words
The phone’s model suits short and focused tasks. It can sum up a long message or review in a few lines. It can pull a date or an amount out of a note and file it. It can proofread a draft or change its tone.
Both phones’ models can now look at a photo too and describe what’s in it. Apple’s can also read the text in it.
Limits
When the cloud still wins
Apple says its phone model isn’t designed for world knowledge or advanced reasoning. Questions about the wider world and hard problems with many steps still need a large model on a server.
Older phones are left out. Apple’s model needs an iPhone 15 Pro or later, and Google lists the Android phones it supports one by one.
The input is short. Both phone models take about 4000 tokens of input. Google puts that at roughly 3000 English words. A long contract won’t fit.
Some features must give every user the same answer on any phone and on the web. Google’s phone model comes in different versions on different phones. One model in the cloud is the safer choice there.
React Native
One codebase for both models
We build apps with React Native. One codebase has to reach both phones’ models. Expo makes tools for React Native apps. Its new AI module reaches Apple’s model on iPhone and Gemini Nano on Android.
It’s still an alpha, and Expo warns that it will change often.
Our view
Start on the phone
An app doesn’t have to pick one for every feature. Google’s Firebase can try the phone’s model first and fall back to Gemini in the cloud. Apple now lets apps use its own server model, Private Cloud Compute. Developers in its Small Business Program with under 2 million downloads pay no cloud cost for it.
So we’d start an app’s AI features on the phone. Anything that needs more knowledge, longer input or older phones would go to the cloud. Users keep their data, the app still works offline and most requests cost nothing.
Sources:
- Apple’s announcement of the Foundation Models framework
- Apple’s WWDC25 session on its on-device model
- Apple’s note on the model’s context window






