429 Quota exceeded for quota metric 'Generate Content API requests per minute'

,

I started receiving these errors yesterday out of nowhere, and noticed that my quotas for have been set to 0 by a producer override. My usage is extremely low, and this is a paid account. I’m not sure what could be leading to this.

Here is the error:

google.api_core.exceptions.ResourceExhausted: 429 Quota exceeded for quota metric 'Generate Content API requests per minute' and limit 'GenerateContent request limit per minute for a region' of service 'generativelanguage.googleapis.com' for consumer 'project_number:************'. [reason: "RATE_LIMIT_EXCEEDED"
domain: "googleapis.com"
metadata {
  key: "service"
  value: "generativelanguage.googleapis.com"
}
metadata {
  key: "quota_unit"
  value: "1/min/{project}/{region}"
}
metadata {
  key: "quota_metric"
  value: "generativelanguage.googleapis.com/generate_content_requests"
}
metadata {
  key: "quota_location"
  value: "us-central1"
}
metadata {
  key: "quota_limit"
  value: "GenerateContentRequestsPerMinutePerProjectPerRegion"
}
metadata {
  key: "quota_limit_value"
  value: "0"
}
metadata {
  key: "consumer"
  value: "projects/****************"
}
, links {
  description: "Request a higher quota limit."
  url: "https://cloud.google.com/docs/quotas/help/request_increase"
}
]

Here is the producer override:

{
insertId: "***********"
logName: "projects/*************/logs/cloudaudit.googleapis.com%2Factivity"
operation: {
first: true
id: "operations/*************"
producer: "serviceconsumermanagement.googleapis.com"
}
protoPayload: {
@type: "type.googleapis.com/google.cloud.audit.AuditLog"
authenticationInfo: {
principalEmail: "**********@google.com"
}
authorizationInfo: [
0: {5}
]
methodName: "google.api.serviceconsumermanagement.v1beta1.ServiceConsumerManager.CreateProducerOverride"
requestMetadata: {
callerIp: "gce-internal-ip"
destinationAttributes: {0}
requestAttributes: {0}
}
resourceName: "services/generativelanguage.googleapis.com/projects/*************/consumerQuotaMetrics/generativelanguage.googleapis.com%2Fgenerate_content_requests/limits/%2Fmin%2Fproject%2Fregion"
resourceOriginalState: {
@type: "type.googleapis.com/google.api.serviceconsumermanagement.v1beta1.QuotaOverride"
}
}
receiveTimestamp: "2025-05-12T20:20:44.272816787Z"
resource: {
labels: {3}
type: "audited_resource"
}
severity: "NOTICE"
timestamp: "2025-05-12T20:20:43.087053Z"
}
2 Likes

I also started to have this error, even not using one single time the API in all day, it returns:
“code”: 429,
“message”: “You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits.”,
“status”: “RESOURCE_EXHAUSTED”,

If you are using the 2.5 pro exp model, that is because we just removed the free tier: https://x.com/OfficialLoganK/status/1922357621178200248

You can still use the model for free in AI Studio or access it through the paid API.

Will it be temporary or will it be permanent?