Starting November 2, 2026, Firebase App Check enforcement will be
required to use Firebase AI Logic.
Learn more. Model updates:
-
Gemini 4 Argon is now available to use with
Firebase AI Logic!
Learn more.
-
Gemini 2.5 models are limited to projects that actively used them in the
past. For the Agent Platform Gemini API, these models will
shut down for all projects in October 2026. To avoid
service disruptions, update to a newer model (like
gemini-4-argon,
gemini-3.8-flash, or
gemini-nano-banana-2.1).
Any stable Gemini Live API 2.5 models are not impacted.
Learn more.
Google 会使用 AI 技术将内容翻译成您偏好的语言。AI 翻译可能包含错误。
使用 Firebase AI Logic 构建混合型和设备端体验
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
您可以使用 Firebase AI Logic 通过混合推理构建 AI 赋能的 Apple、Android 和 Web 应用及功能。混合推理支持在可用时使用设备端模型运行推理,否则无缝回退到云托管模型(反之亦然)。
使用设备端模型进行推理具有以下优势:
- 隐私保护更完善
- Local Context
- 免费推理
- 离线功能
使用混合功能可提供:
- 通过适应设备端模型的可用性和互联网连接,覆盖更多受众群体
请参阅我们的入门指南
这些指南提供了有关如何在应用中设置混合体验的分步说明。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2026-10-27。
[null,null,["最后更新时间 (UTC):2026-10-27。"],[],[]]