firebase-ai-logic-basics

Installation
Summary

Client-side Gemini API integration for web and mobile apps without backend infrastructure.

  • Supports multimodal inference (text, images, audio, video, PDFs) with streaming responses and multi-turn chat sessions
  • Offers two API providers: Gemini Developer API (free tier, pay-as-you-go) and Vertex AI Gemini API (enterprise scale on Blaze plan)
  • Includes advanced features like structured JSON output, on-device hybrid inference for web, image generation with Imagen, and search grounding
  • Requires App Check setup for security and Remote Config for dynamic model version management without redeployment
SKILL.md

Firebase AI Logic Basics

Overview

Firebase AI Logic is a product of Firebase that allows developers to add gen AI to their mobile and web apps using client-side SDKs. The app can directly call Gemini models via Firebase AI Logic without the developer needing to manage a dedicated backend. Firebase AI Logic was previously known as "Vertex AI for Firebase".

It supports the two Gemini API providers:

  • Gemini Developer API: It has a free tier ideal for prototyping, and pay-as-you-go for production
  • Agent Platform Gemini API (formerly branded Vertex AI): Ideal for scale with enterprise-grade production readiness, requires Blaze pricing plan

Use the Gemini Developer API as a default, and only Agent Platform Gemini API (formerly branded Vertex AI) if the application requires it.

Installs
142.2K
GitHub Stars
506
First Seen
Apr 27, 2026