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.
Code generation and debugging Gemini in Firebase can generate code snippets based on your requests across multiple programming languages and includes source citations that list the documentation and code samples Gemini used to generate its responses. 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.
Campaign summarization and insights using Firebase Cloud Messaging and In-App Messaging 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.
AI assistance for Firebase Data Connect Use Gemini in Firebase to generate schemas, queries, and mutations on-demand using natural language. Learn more at Use AI assistance for Data Connect in the Firebase console for queries and mutations.
AI-assisted Android testing with the App Testing agent The Firebase App Testing agent, accessible from App Distribution in the Firebase console, uses AI to create and run tests based on natural language prompts that you provide. The agent creates step-by-step tests that you can run on various virtual and physical devices to ensure that your app is of the highest quality. Learn more at App Testing agent.

How Gemini in Firebase uses your data

Gemini in Firebase within the Firebase console

If you enable Gemini in Firebase, it will have access to your Firebase environment, and responses may be tailored to your project.

Gemini in Firebase within Firebase Studio

Your use of generative AI features within Firebase Studio is governed by the Generative AI Prohibited Use Policy and the Gemini API Additional Terms of Service (specifically governed by Gemini API Additional Terms of Service: Unpaid Services).

Learn more about Gemini in Firebase within Firebase Studio.

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 how your data is used vary based on the plan you use. Learn more at How Gemini in Firebase uses your data.

Next steps