Bringing the latest Gemini models to Apple developers (original) (raw)
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.
Thevi Sundaralingam
Group Product Manager
Bullet points
- "Bringing the latest Gemini models to Apple developers" helps you build smarter apps faster.
- You can now call Gemini models directly through Apple's native Foundation Models framework.
- Firebase AI Logic lets you add Gemini to your apps without managing backend servers.
- Gemini is now integrated into Xcode to help you write and fix code easily.
- Choose between self-serve keys or enterprise options to fit your specific development needs.
Summaries were generated by Google AI. Generative AI is experimental.
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.
Get more stories from Google in your inbox.
Done. Just one step more.
Check your inbox to confirm your subscription.
You are already subscribed to our newsletter.
You can also subscribe with a
Related stories