At WWDC26, Apple quietly made a move that reshapes how iOS developers think about AI: the Foundation Models framework is now open to third-party cloud model providers. And Google was first through the door. Apple developers can now securely call cloud-hosted Gemini models using the Foundation Models framework, and access Gemini in Xcode. It is a partnership that would have seemed unlikely a few years ago, but it reflects just how much the AI landscape has shifted.

Mobile UI showing Gemini integration with Apple Foundation Models

One API to rule them all

The core mechanic here is elegant. At WWDC 2026, Apple opened the Foundation Models framework to third-party model adapters, which means you can access cloud-hosted models like Gemini through the Foundation Models framework using the same API as you would use to access on-device models. Apple calls this the LanguageModel protocol -- a shared interface that any model provider can implement.

Cloud-hosted Gemini models can plug directly into the Foundation Models framework using the same API. That means the on-device Apple model and cloud-hosted Gemini models sit behind a shared API surface, so you can easily swap between local and cloud inference to fit your use case. In practice, that swap is literally one line of Swift:

// Apple's on-device model -- free, no network required
let session = LanguageModelSession()
// Switch to Gemini via Firebase AI Logic
let geminiModel = GeminiModel(apiKey: .keychain)
let session = LanguageModelSession(model: geminiModel)

A developer team can prototype an app using Apple's on-device model, then route complex queries to Google's Gemini or Anthropic's Claude -- or swap between them -- by updating a Swift Package Manager dependency, with no changes required in the session logic or the rest of the application code. Google is not alone here either: developers can also use models such as Gemini, Claude, and other services that implement the

Alpha Signal

Don't miss what's next in AI

Join 300,000+ engineers and researchers who get the signal, not the noise.

  • Full access to in-depth AI research breakdowns
  • Be the first to know what's trending before it hits mainstream
  • Daily curated papers, repos, and industry moves