A leading product engineering company, creating adaptive software solutions to improve operations, providing businesses with expert development services from across domain.
A leading product engineering company, creating adaptive software solutions to improve operations, providing businesses with expert development services from across domain.
The Foundation Models framework iOS 27 release runs Apple's on-device model, Private Cloud Compute or third-party LLMs behind one API. How to use it.

With iOS 27 now on customers' iPhones, the features Apple announced at WWDC in June are shippable — and for app builders the headline is the Foundation Models framework iOS 27 release and how much it has grown. It started as a way to call Apple's small on-device model. It is now a single API that can run Apple's on-device model, Apple's larger model on Private Cloud Compute, or third-party models such as Claude and Gemini, with built-in tools for images, barcodes and search. That changes how iPhone apps should add AI features.
Apple's WWDC26 session "What's new in the Foundation Models framework" covers the main changes:
Underneath, Apple's third-generation foundation models are a family of five, built in collaboration with Google, spanning on-device models and server models on Private Cloud Compute.
For most apps, yes. Apple says Private Cloud Compute is available with no cloud API costs to developers whose apps have fewer than 2 million first-time downloads. Each user gets a daily allowance, which is higher for iCloud+ subscribers. It requires an entitlement, covered in Apple's dedicated session. For many small and mid-sized apps, that removes the per-token bill that usually comes with adding generative features.
| Task | Good fit | Why |
|---|---|---|
| Summarise a note, tag a photo, extract text from a receipt | On-device | Private, offline, instant, no cost |
| Longer reasoning, richer writing, broader knowledge | Private Cloud Compute | More capable, still private, no API keys |
| Specialised or frontier capabilities, or cross-platform consistency | Third-party LLM | Same model on iOS, Android and web; your own contract and costs |
The pattern is the same one we recommend for server-side AI: route each task to the cheapest model that meets its quality bar, as described in LLM cost optimisation. Dynamic profiles make that routing a first-class feature of the framework.
Yes, through the new LanguageModel protocol. That matters for teams that already use a provider such as Claude or Gemini on their backend or Android app: the iOS app can use the same model behind Apple's session API, alongside Apple's models, instead of maintaining a separate integration. Data sent to a third-party model follows that provider's terms, so the privacy story differs from Apple's own models — design and disclose accordingly.
The framework is a Swift API, so cross-platform apps reach it through a native module. The practical approach is to keep AI features behind your own interface: native Foundation Models on iOS, and an equivalent model on Android, with the same prompts and evaluation set. Many teams will do this work alongside their iOS 27 upgrade.
Keeping the prompts, expected outputs and evaluation examples in one shared place — rather than inside each platform's code — makes it much easier to keep the iOS and Android behaviour aligned as models change underneath. It also means a model swap on one platform can be tested against the same examples before release.
Our iOS app development and AI engineering teams build AI features that use on-device models where they are good enough and cloud models where they are needed — and keep them consistent across iOS and Android.
The Foundation Models framework is Apple's Swift API for adding generative AI to apps. On iOS 27 it can use Apple's on-device model, Apple's larger model on Private Cloud Compute, or third-party and open-source models through a common session API.
Yes. Apple's new LanguageModel protocol lets nearly any local or server model, including third-party providers, back a Foundation Models session, alongside Apple's own models. Data sent to a third-party model follows that provider's terms.
Apple says Private Cloud Compute is available with no cloud API costs to developers with fewer than 2 million first-time downloads, with a daily allowance per user that is higher for iCloud+ subscribers. It requires an entitlement.
The on-device model works offline and keeps data on the iPhone. Private Cloud Compute and third-party models require a network connection, so apps should design fallbacks and route only suitable tasks to cloud models.
Ready to take the first step towards unlocking opportunities, realizing goals, and embracing innovation? We're here and eager to connect.
11th Floor, O-Hub, Chandaka Industrial Estate, Infocity, Bhubaneswar, Odisha 751024
Level 4, 11 York Street Sydney Startup Hub Sydney, NSW – 2000
30 N. Đinh Nghệ, Phước Mỹ Sơn Trà, Đà Nẵng / Da Nang City – 550000
Level 25, AIDP Business Tower, Dubai Marina, United Arab Emirates
50 Beauchamp Street, Wellington, WGN 5028, New Zealand