Hi everyone, I have recently hit rate limit for the RPD(Requests per day) of 50 for the gemini-1.5-flash model. I have however just switched over to the gemini-2.5-flash model and also tried the gemini-2.0-flash model. I keeps throwing an error:
Requests to this API firebasevertexai.googleapis.com method google.firebase.vertexai.v1beta.GenerativeService.GenerateContent are blocked.
I am using the FirebaseAI package and have enabled the correct Gemini Developer API and not the Vertex one as I have not enabled billing and want to use the free tier.
I am calling
await Firebase.initializeApp(
options: DefaultFirebaseOptions.currentPlatform,
);
await FirebaseAppCheck.instance.activate(
androidProvider: AndroidProvider.playIntegrity,
);
in my main method and I am using the firebaseAI like this.
Future<String> gemini(image) async {
final gemini =
FirebaseAI.googleAI().generativeModel(model: 'gemini-2.0-flash-lite-001');
What exactly is the issue here?
Are the free tiers shared? Like if I hit my rate limit quota on the gemini-1.5-flash model will it still prevent me from using the gemini-2.0-flash model even though I have never used it before?
Am I missing other configurations steps?
Any help would be much appreciated,
Kind regards,
Jamie