# Understanding hybrid inference: the role of Firebase AI Logic

DevFeed: [Understanding hybrid inference: the role of Firebase AI Logic](<https://devfeed.tech/articles/understanding-hybrid-inference-the-role-of-firebase-ai-logic-16637.md>)

Original publisher: [Read original article](<https://firebase.blog/posts/2025/10/understand-ai-logic-hybrid-inference>)

Author: Ankita Saxena

Published: 2025-10-15T10:00:00Z

Content type: tutorial

Language: en

Sources: [Firebase Blog](<https://devfeed.tech/sources/firebase-blog.md>)

Topics: [Firebase](<https://devfeed.tech/topics/firebase.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [Inference](<https://devfeed.tech/topics/inference.md>), [Web app](<https://devfeed.tech/topics/webapp.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-logic](<https://devfeed.tech/tags/ai-logic.md>), [chrome](<https://devfeed.tech/tags/chrome.md>), [firebase](<https://devfeed.tech/tags/firebase.md>), [firebase-ai-logic](<https://devfeed.tech/tags/firebase-ai-logic.md>), [gemini](<https://devfeed.tech/tags/gemini.md>), [hybrid-inference](<https://devfeed.tech/tags/hybrid-inference.md>), [inference](<https://devfeed.tech/tags/inference.md>), [multimodal](<https://devfeed.tech/tags/multimodal.md>), [offline](<https://devfeed.tech/tags/offline.md>), [on-device](<https://devfeed.tech/tags/on-device.md>), [on-device-ai](<https://devfeed.tech/tags/on-device-ai.md>), [real-time](<https://devfeed.tech/tags/real-time.md>), [tutorials](<https://devfeed.tech/tags/tutorials.md>), [web](<https://devfeed.tech/tags/web.md>), [web-app](<https://devfeed.tech/tags/web-app.md>)

## AI overview

This Firebase tutorial explains hybrid inference, where AI features use on-device models when available and fall back to cloud-hosted models when needed. It demonstrates web app use cases including text summarization, offline image captioning, and real-time transcription and translation.

## Source excerpt

News, tutorials, and updates from the Firebase team.