Firebase AI Logic

gcpAI servicegoogle-firebase-ai-logic

Client SDKs calling Gemini models through a Google-hosted proxy.

Provider
gcp
Category
Compute
Also known as
Vertex AI in Firebase
Properties · 3 set by this component
propertytypevaluesrequiredkind defaultthis component
appCheckEnforced · component propertyboolean—nofalseinherited
authenumapi-key | oauth | iam | noneno—inherited
backend · component propertyenumgemini-developer-api | vertex-ai-gemini-apino—inherited
clientDirectAccess · component propertyboolean—notrueinherited
contentFilteringboolean—no—inherited
customerManagedKeysboolean—no—inherited
dataResidency · advancedenumus | eu | asia | globalno—inherited
dataRetentionDaysinteger—no—inherited
keyStoreboolean—nofalseinherited
managedboolean—nofalse▸ true
modalityenumtext | vision | speech | multimodal | structured | image | video | audio | embedding | rerankno—▸ multimodal
publicEndpointboolean—no—▸ true
quotaUnitsPerMinuteinteger—no—inherited
rateLimitRpm · advancedinteger—no—inherited
rateLimitTpm · advancedinteger—no—inherited
viaGatewayboolean—nofalseinherited
Rules that apply · 2

Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.

ai-api-key-unmanaged

This AI vendor is reached with an API key, and nothing in the design holds or rotates that key. It ends up in environment files or code, every caller shares it, and a single leak runs up the vendor bill until someone notices. Put the key in a key-management component, or say it is held there with keyStore.

  • — all of these hold:
  • — the node's `auth` is "api-key"
  • — the node's `keyStore` is false
  • — the node has at least one incoming edge from an app-server, worker or client
  • — this does not hold:
  • — the design contains a node of kind key-management
stateful-node-without-zone-redundancy

A stateful compute node pinned to exactly one availability zone disappears with that zone, and its state goes with it. Nodes inside a cell are exempt, because there the cell is deliberately single-zone and redundancy comes from the other cells.

  • — all of these hold:
  • — the node's `stateless` is false
  • — the node sits inside exactly 1 availability-zone group
  • — this does not hold:
  • — the node sits inside at least one cell group
Use it in a design
nodes:
  - { id: "firebase-ai-logic", component: "google-firebase-ai-logic" }
Other AI service products · 125
Content Moderationalibaba-content-moderationalibabacloudai-serviceFraud Detectionalibaba-fraud-detectionalibabacloudai-serviceID Verificationalibaba-id-verificationalibabacloudai-serviceIntelligent Robotalibaba-intelligent-robotalibabacloudai-serviceModel Studioalibaba-model-studioalibabacloudai-serviceSmart Conversation Analysisalibaba-smart-conversation-analysisalibabacloudai-serviceAmazon Bedrockaws-bedrockawsai-serviceAmazon Bedrock AgentCoreaws-bedrock-agentcoreawsai-serviceAmazon Bedrock Data Automationaws-bedrock-data-automationawsai-serviceAmazon Bedrock Guardrailsaws-bedrock-guardrailsawsai-serviceAmazon Comprehendaws-comprehendawsai-serviceAmazon Comprehend Medicalaws-comprehend-medicalawsai-serviceAWS Elemental Inferenceaws-elemental-inferenceawsai-serviceAmazon Forecastaws-forecastawsai-serviceAmazon Fraud Detectoraws-fraud-detectorawsai-serviceAWS HealthScribeaws-healthscribeawsai-serviceAmazon Lex botaws-lexawsai-serviceAmazon Lookout for Equipmentaws-lookout-for-equipmentawsai-serviceAmazon Lookout for Metricsaws-lookout-for-metricsawsai-serviceAmazon Lookout for Visionaws-lookout-for-visionawsai-serviceAmazon Personalizeaws-personalizeawsai-serviceAmazon Pollyaws-pollyawsai-serviceAmazon Q Businessaws-q-businessawsai-serviceAmazon Rekognitionaws-rekognitionawsai-serviceAmazon Textractaws-textractawsai-serviceAmazon Transcribeaws-transcribeawsai-serviceAmazon Translateaws-translateawsai-serviceContent Safetyazure-ai-content-safetyazureai-serviceAzure AI Custom Visionazure-ai-custom-visionazureai-serviceAzure AI Faceazure-ai-faceazureai-serviceAzure Languageazure-ai-languageazureai-serviceAzure Speechazure-ai-speechazureai-serviceAzure Translatorazure-ai-translatorazureai-serviceAzure Visionazure-ai-visionazureai-serviceAzure Content Understandingazure-content-understandingazureai-serviceMicrosoft Discoveryazure-discoveryazureai-serviceAzure Document Intelligenceazure-document-intelligenceazureai-serviceFoundry Agent Serviceazure-foundry-agent-serviceazureai-serviceFoundry Modelsazure-foundry-modelsazureai-serviceAzure AI Immersive Readerazure-immersive-readerazureai-service
and 85 more → AI service page
Source
# yaml-language-server: $schema=../../schema/component.schema.json
# Firebase AI Logic ("Firebase AI Logic" overview): client SDKs call Gemini models through a Google
# proxy service, so requests leave the mobile or web app directly and no API key is embedded in the
# app. Text, image, PDF, video and audio inputs are supported, and App Check is recommended but not
# required, so the endpoint is unattested until you turn App Check on.
schemaVersion: "1"
type: "component"
id: "google-firebase-ai-logic"
kind: "ai-service"
provider: "gcp"
docs: "https://firebase.google.com/docs/ai-logic"
aliases: ["Vertex AI in Firebase"]
defaults:
  modality: "multimodal"
  publicEndpoint: true
  managed: true
properties:
  backend:
    type: "enum"
    values: ["gemini-developer-api", "vertex-ai-gemini-api"]
  clientDirectAccess:
    type: "boolean"
    default: true
  appCheckEnforced:
    type: "boolean"
    default: false

The same page as markdown, for an agent: /catalogue/components/google-firebase-ai-logic.md