Gemini in Firebase

Streamline your development process with Gemini in Firebase, an AI-powered collaborative assistant available in the Firebase console.

Gemini in Firebase is an AI-powered collaborative assistant that can streamline your development process, reduce debugging time, and help you build high-quality apps with confidence.

Get instant answers to questions about Firebase products and features, generate code for faster development, and shorten your troubleshooting process with new insights from Gemini in Firebase using a natural language chat interface right in the Firebase console.

Get started

Key capabilities

Natural language queries Prompt Gemini using plain English language in the Firebase console.
Real-time support Gemini is always available in the Firebase console, ready to assist you whenever you need it. No more context switching or digging through documentation: Gemini in Firebase can provide answers and link you directly to source documentation and relevant codelabs.
Context-aware Firebase expertise Gemini in Firebase possesses deep knowledge of Firebase products, services, and your project so it can provide personalized information on features, best practices, and implementation guidance. Contextual awareness is available with a Gemini Code Assist subscription.
Code generation and debugging Gemini in Firebase can generate code snippets based on your requests across multiple programming languages. It can also analyze your existing code, identify potential issues, and suggest improvements.
Error decoding and troubleshooting Gemini in Firebase can decipher error messages and provide clear explanations and mitigations. It can also analyze logs, suggesting steps to resolve problems quickly.
Best practices Gemini in Firebase offers guidance on Firebase best practices to ensure your apps are the best they can be.
Platform and framework support Gemini in Firebase can assist you regardless of which platforms (Android, iOS, Web, etc.) or frameworks (Flutter, React, etc.) you use.
AI assistance in Firebase Crashlytics If you use Crashlytics and enable Gemini in Firebase, you can get AI assistance for debugging and troubleshooting issues in your Apple and Android apps. AI assistance provides actionable insights into your app's crashes, including a full description of the issue, information about possible root causes, and suggestions on how you can fix the issue. Optionally, you can get even deeper insights by providing code and context. Learn more at Get AI assistance in Crashlytics.
Firebase Cloud Messaging and In-App Messaging campaign summarization and insights Gemini in Firebase can summarize and analyze your messaging campaigns, providing actionable recommendations to improve performance. Learn more at Get AI insights for messaging campaigns with Gemini in Firebase. Messaging campaign insights are available with a Gemini Code Assist subscription.
AI assistance from Gemini in Firebase Use Gemini in Firebase to generate queries and mutations on-demand using natural language and test them directly in the Firebase console. Learn more at Use AI assistance for Data Connect in the Firebase console for queries and mutations.

How Gemini in Firebase uses your data

Data governance is dependent on the Gemini in Firebase plan you're using. Gemini in Firebase is currently offered at no-cost or as part of Gemini Code Assist.

  • If you're using Gemini in Firebase (no-cost) as an individual user:

    Gemini in Firebase may use your prompts and its responses to train its model. While Gemini in Firebase may have access to your Firebase environment, responses may not always be tailored to your project. Usage of Gemini in Firebase (no-cost) is governed by the Google Terms of Service and the Generative AI prohibited use policy.

    Learn more about Gemini in Firebase (no-cost) at Quotas and pricing.

  • If you're using Gemini in Firebase as part of Gemini Code Assist:

    Gemini in Firebase does not use its responses, your prompts, or your data to train its model. If you enable Gemini in Firebase, it will have access to your Firebase environment and responses may be tailored to your project. Use is governed under the Google Cloud Terms of Service and the Generative AI Services terms in Service Specific Terms.

    For more information about data governance for Gemini in Firebase and Gemini Code Assist, see How Gemini for Google Cloud uses your data.

    For more information about Gemini Code Assist, see Gemini Code Assist overview.

Set up Gemini in Firebase

For detailed setup steps, see Set up Gemini in Firebase.

Quotas and pricing

This section describes the quotas and pricing structure for Gemini in Firebase.

Quotas and limits

You can view your current quotas on the Quotas page for the Gemini for Google Cloud API:

  1. From the Google Cloud console, select Enabled APIs & services.
  2. Search for, then click Gemini for Google Cloud API.
  3. Click Quotas & system limits.

Gemini for Google Cloud API quotas appear. Gemini in Firebase uses the "Chat API requests per day per user" quota.

To request a quota increase:

  1. Select the quota you want to increase, and click Edit request.
  2. Update the New value text field with the quota you'd like to request, then click Submit.

    The Google Cloud team will evaluate your request and respond by email.

Pricing

Pricing differs based on the version of Gemini in Firebase you're using and your account type:

Terms and conditions and data governance depend on the plan you use. Learn more at How Gemini in Firebase uses your data.

Next steps