קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
לוחצים על הספק Gemini API כדי לראות בדף הזה תוכן וקוד שספציפיים לספק.
התמחור והדרישה שפרויקט Firebase שלכם יהיה בתוכנית התמחור Blaze עם תשלום לפי שימוש תלויים בספק Gemini API שבחרתם ובתכונות של Firebase AI Logic שבהן אתם משתמשים.
השימוש ב-Firebase AI Logic הוא בחינם.
עם זאת, יכול להיות שתחויבו על שימוש במוצרים אחרים בשילוב עם Firebase AI Logic.
יכול להיות שיהיו עלויות על שימוש במוצרים אחרים של Firebase.
פרטים נוספים זמינים בדף התמחור.
שימוש בחלק מספקי האימות שנתמכים על ידי Firebase App Check.
שימוש במעקב מבוסס-AI במסוף Firebase.
שימוש ב-Cloud Storage for Firebase לשליחת קבצים בבקשות מולטימודאליות.
משתמשים בתוכנית בתשלום של Firebase Authentication.
משתמשים בתוכנית בתשלום של אחד ממוצרי מסד הנתונים של Firebase.
יכול להיות שיהיו עלויות לספק Gemini API שבחרתם.
פרטים נוספים זמינים במאמר בנושא תמחור Vertex AI Gemini API.
התמחור מבוסס בעיקר על המודל ועל התכונות שבהם אתם משתמשים.
דרישות של תוכנית התמחור של Firebase לגבי ספק ה-API שבחרתם
כדי להשתמש ב-Vertex AI Gemini API, הפרויקט שלכם צריך להיות מקושר לחשבון Cloud Billing. המשמעות היא שהפרויקט שלכם ב-Firebase נמצא בתוכנית התמחור Blaze עם תשלום לפי שימוש.
מפעילים את המעקב אחרי AI כדי לראות לוחות בקרה במסוף Firebase עם מידע על הבקשות. כדי להשתמש בניטור מבוסס-AI ב-Firebase Console
צריך לקשר את פרויקט Firebase לחשבון Cloud Billing (כלומר, להירשם לתוכנית Blaze).
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2025-09-05 (שעון UTC)."],[],[],null,["\u003cbr /\u003e\n\n\n|-------------------------------------------------------------------------------------------------------------------------------------|\n| *Click your Gemini API provider to view provider-specific content and code on this page.* Gemini Developer API Vertex AI Gemini API |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nPricing and whether your Firebase project needs to be on the\n[pay-as-you-go Blaze pricing plan](/pricing) depends on your chosen Gemini API provider and the\nfeatures of Firebase AI Logic that you use.\n\n**Using Firebase AI Logic is free-of-charge.**\n\nHowever, you might incur costs when you use other products in conjunction with\nFirebase AI Logic.\n\n- **Other Firebase products may incur costs.**\n For details, see the [Pricing page](/pricing).\n\n - Using some of the attestation providers supported by Firebase App Check.\n\n - Using AI monitoring in the Firebase console.\n\n \u003c!-- --\u003e\n\n - Using the paid tier of Firebase Authentication.\n\n - Using the paid tier of one of Firebase's database products.\n\n- **Your chosen Gemini API provider may incur costs.**\n For details, see [Gemini Developer API pricing](https://ai.google.dev/gemini-api/docs/pricing).\n\n - Pricing is largely based on the model and features that you use.\n\n - Using some models (especially preview models) might require billing.\n\n| **Tip:** If you're new to Firebase and Google Cloud, check if you're eligible for [$300 of credits](/support/faq#pricing-free-trial) and a Free Trial Cloud Billing account.\n\nFirebase pricing plan requirements for your chosen API provider\n\nThe Gemini Developer API offers different tiers for its pricing:\n\n- **Gemini Developer API \"free tier\"** :\n This tier requires that your project is *not* linked to a\n Cloud Billing account. This means your Firebase project is on the\n no-cost Spark pricing plan.\n\n- **Gemini Developer API \"paid tiers\"** :\n These tiers require that your project is linked to a\n Cloud Billing account. This means your Firebase project is on the\n pay-as-you-go Blaze pricing plan.\n\n| **Important:** If your project is linked to a Cloud Billing account (which means it's on the Blaze plan), then the Gemini Developer API makes all usage of its API be pay-as-you-go pricing (including any usage through the Firebase AI Logic SDKs).\n\nLearn about the\n[Gemini Developer API pricing](https://ai.google.dev/gemini-api/docs/pricing)\nin its documentation.\n\nRecommendations to manage costs When your project is on the Blaze pricing plan, [**set up budget alerts**](/docs/projects/billing/avoid-surprise-bills#set-up-budget-alert-emails) using the console.\n|\n| Be aware that **budget alerts do *not* cap your usage or\n| charges** --- they are *alerts* about your costs so that you can\n| take action, if needed. For example, you might consider\n| [using\n| budget notifications to programmatically disable Cloud Billing on a\n| project](https://cloud.google.com/billing/docs/how-to/disable-billing-with-notifications).\n\nWe recommend doing the following to help manage your costs:\n\n- When using Gemini models, get an estimate of the\n [token size](/docs/ai-logic/count-tokens)\n of your requests using the Count Tokens API.\n\n- Avoid surprise bills by\n [monitoring your costs and usage](/docs/ai-logic/monitoring) and\n [setting up budget alerts](/docs/projects/billing/avoid-surprise-bills#set-up-budget-alert-emails)."]]