Google has launched experimental hybrid inference for Android via a new Firebase AI Logic API, enabling apps to dynamically switch between on-device Gemini Nano and cloud-hosted Gemini models through a unified API. Developers can configure routing modes like PREFER_ON_DEVICE or PREFER_IN_CLOUD using new Gradle dependencies. Additionally, two new Nano Banana image generation models and Gemini 3.1 Flash-Lite (in preview) are now available through the Firebase AI Logic SDK, with updated sample apps demonstrating these capabilities.

4m read timeFrom android-developers.googleblog.com
Post cover image
Table of contents
Experiment with hybrid inferenceTry our new models

Sort: