Hybrid AI, with the fallback made visible
Understand XFree Studio hybrid AI: prefer Gemini Nano on supported Chrome desktops, then allow Firebase AI Logic cloud fallback when needed.
Try XFree StudioHybrid mode in XFree Studio prefers on-device Gemini Nano and can fall back to Firebase AI Logic in the cloud when local inference is unavailable. Choose it only when cloud fallback is acceptable for your prompt.
What “hybrid AI” means here
A hybrid setup can route a request between a local model and a hosted model. In XFree, the preferred path is Gemini Nano on a compatible Chrome desktop, with Firebase AI Logic available as a cloud fallback. That can improve availability across devices, but it changes the privacy boundary: a fallback may send the prompt off-device.
XFree’s mode disclosure explains that possibility before use. When a response succeeds, the app reads the inference-source value from Firebase AI Logic and labels the result as on-device or cloud. If the request errors or the source is missing, the interface reports failure rather than guessing.
When hybrid is a useful choice
Hybrid can be useful when a person wants to prefer local processing but also wants a chance of completing the task on a device where the on-device model is not available. It is a practical option for general project-planning prompts that are appropriate to send to the cloud if fallback occurs.
For confidential content that must never leave the device, use local-only mode and confirm that the browser has the on-device model ready. If that cannot be guaranteed, do not submit the sensitive prompt. Cloud-only mode is more predictable about routing but sends the prompt to Firebase AI Logic.
Limits and prerequisites
Firebase documents on-device web inference for Firebase AI Logic SDK version 12.5.0 and later on Chrome desktop version 139 or newer. Model availability can still depend on browser capability, device resources, and local setup. XFree cannot promise every request will run locally or succeed.
The project uses Firebase App Check and the Firebase AI Logic proxy for cloud requests. Quotas, temporary model load, and network connectivity can affect cloud inference. The source label reports the path of a completed request; it is not a performance or quality score.
Frequently asked questions
Does hybrid mode always keep my prompt local?
No. Hybrid mode can fall back to Firebase AI Logic in the cloud. Use Local only when cloud transfer is not acceptable.
What browsers support the local Gemini path?
Firebase currently documents on-device web inference for Chrome on desktop, version 139 or later, with Firebase AI Logic SDK 12.5.0 or later. Actual device readiness still matters.
How can I tell whether a request used local or cloud inference?
After a successful request, XFree displays the inference source returned by Firebase AI Logic. A failed request does not receive a success label.
