Bringing the latest Gemini models to Apple developers
Apple developers can now securely call cloud-hosted Gemini models using the Foundation Models framework and access Gemini in Xcode for multi-step coding tasks without switching windows. The integration is based on Firebase AI Logic and available as a preview release starting tomorrow.
Bringing the latest Gemini models to Apple developers
Apple developers are getting seamless access to Gemini models to build dynamic experiences and smarter apps, faster. Additionally, Gemini in Xcode helps you accelerate multi-step coding tasks without switching windows.
Your browser does not support the audio element.
Listen to article
This content is generated by Google AI. Generative AI is experimental
[[duration]] minutes
Apple’s Worldwide Developers Conference (WWDC) kicked off this week, and we’re excited to share that Apple developers can now securely call cloud-hosted Gemini models using the Foundation Models framework, and access Gemini in Xcode. This announcement gives Apple developers seamless access to Gemini models to deliver dynamic experiences for their end users and increase their own development velocity.
Call Gemini models directly from the Foundation Models framework
At WWDC, Apple announced that it's opening its Foundation Models framework to third-party cloud model providers. Starting with iOS 27, macOS 27, iPadOS 27, visionOS 27 and watchOS 27, model providers can implement the new public LanguageModel protocol to provide a common interface for model inference. We've made Gemini models available to the Foundation Models framework through the Firebase Apple SDK.
This provides a fully native development experience — 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. This flexibility is crucial for enabling optimal agentic app experiences while minimizing costs and reducing latency.
This integration leverages Firebase, Google Cloud's client apps development platform. It's based on Firebase AI Logic, a production-grade service that lets you integrate the latest Gemini models directly into your iOS, macOS, iPadOS and visionOS apps without needing to build and maintain a separate backend server. Plus, by using Firebase App Check, your service APIs, like those used to access Gemini models, are protected from abuse.
If you're already using Apple's Foundation Models framework, switching to Gemini models is a small code change: swap the model instance.
This integration will be available as a preview release starting tomorrow. In the meantime, learn more about Firebase AI Logic.
Use agentic workflows natively in Xcode
We worked with Apple to integrate Gemini into Xcode so you can perform complex, multi-step tasks during development without switching tools or windows.
To get started, onboard through the Intelligence settings panel in Xcode. Once configured, Gemini provides an agentic experience, helping you review code, fix bugs and build new features faster.
Authenticate your workspace
To support both individual and enterprise developer workflows, you can configure authentication based on your use case:
Individual developers: Obtain a self-serve Gemini API key directly from Google AI Studio, which features both a free tier for getting started and a paid tier for more advanced models and higher volumes.
Enterprise developers: Use Gemini Enterprise Agent Platform to obtain an API key, which enables development teams to leverage their organization’s guaranteed dedicated corporate quotas and data privacy parameters.
Get started with Gemini models on Apple platforms
With seamless integration across Apple's Foundation Models framework and Xcode, you can effortlessly build, secure and scale next-generation, agentic AI experiences using Gemini models. We can’t wait to see what you build.
You can also subscribe with a
.
POSTED IN:
Developer tools
Gemma 4 QAT models: Optimizing model compression for mobile and laptop efficiency
Jun 05, 2026
Developer tools
Kaggle is making AI benchmark creation effortless
Jun 04, 2026
Developer tools
Introducing Gemma 4 12B: a unified, encoder-free multimodal model
Jun 03, 2026
AI
How we used Gemini to build Google I/O 2026
Jun 01, 2026
AI
Take our I/O 2026 quiz, vibe coded in Google AI Studio.
May 29, 2026
Google Play
Here's what developers can do with the latest Google Play updates.