Hi, I am trying to call Gemini API using an API key linked to a project with a billing account. But I keep getting Error 429, saying I have reached my free tier quota. I have checked to make sure the billing is enabled and the API key is labelled as Tier 1.
Hi @elaine_api,
Welcome to the Forum,
To help us troubleshoot the issue, please provide the complete 429 response.
Thank you!
Hi I get an output like this
[2026-01-07 20:40:47,874: WARNING/ForkPoolWorker-4] [Job efdb2d10-caff-4b00-88cf-ffe8cdb3e0d1] Attempt 1 failed: 429 RESOURCE_EXHAUSTED. {âerrorâ: {â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.â To monitor your current usage, head to: https://ai.dev/usage?tab=rate-limit.â \n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_input_token_count, limit: 0, model: gemini-2.5-pro\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 0, model: gemini-2.5-pro\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_requests, limit: 0, model: gemini-2.5-pro\n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_content_free_tier_input_token_count, limit: 0, model: gemini-2.5-pro\nPlease retry in 11.767792953s.â, âstatusâ: âRESOURCE_EXHAUSTEDâ, âdetailsâ: [{â@typeâ: âtype.googleapis.com/google.rpc.Helpâ, âlinksâ: [{âdescriptionâ: âLearn more about Gemini API quotasâ, âurlâ: âhttps://ai.google.dev/gemini-api/docs/rate-limitsâ}]}, {â@typeâ: âtype.googleapis.com/google.rpc.QuotaFailureâ, âviolationsâ: [{âquotaMetricâ: âgenerativelanguage.googleapis.com/generate_content_free_tier_input_token_countâ, âquotaIdâ: âGenerateContentInputTokensPerModelPerDay-FreeTierâ, âquotaDimensionsâ: {âlocationâ: âglobalâ, âmodelâ: âgemini-2.5-proâ}}, {âquotaMetricâ: âgenerativelanguage.googleapis.com/generate_content_free_tier_requestsâ, âquotaIdâ: âGenerateRequestsPerDayPerProjectPerModel-FreeTierâ, âquotaDimensionsâ: {âmodelâ: âgemini-2.5-proâ, âlocationâ: âglobalâ}}, {âquotaMetricâ: âgenerativelanguage.googleapis.com/generate_content_free_tier_requestsâ, âquotaIdâ: âGenerateRequestsPerMinutePerProjectPerModel-FreeTierâ, âquotaDimensionsâ: {âlocationâ: âglobalâ, âmodelâ: âgemini-2.5-proâ}}, {âquotaMetricâ: âgenerativelanguage.googleapis.com/generate_content_free_tier_input_token_countâ, âquotaIdâ: âGenerateContentInputTokensPerModelPerMinute-FreeTierâ, âquotaDimensionsâ: {âlocationâ: âglobalâ, âmodelâ: âgemini-2.5-proâ}}]}, {â@typeâ: âtype.googleapis.com/google.rpc.RetryInfoâ, âretryDelayâ: â
However, after checking on gemini console, I am not on free tier, nor am I near any quotas.
i am facing the same issue
Hi @elaine_api,
The issue should be fixed. Please check and let us know if the problem persists.
Thank you!
To troubleshoot your issue, please provide the complete error message and a screenshot of your usage details from the https://ai.dev/usage?tab=rate-limit page? . Please DM your project number (not the project ID) separately.
Thank you!
![]()
Regarding the 429 error shown in the screenshot, can you please verify which model is being used?
Thank you!
Hi, I am having the same issue with using computer-use-preview and gemini-2.5-pro . I am getting 429 resource exhausted but I am not near the limits:
google.genai.errors.ClientError: 429 RESOURCE_EXHAUSTED. {âerrorâ: {âcodeâ: 429, âmessageâ: âResource has been exhausted (e.g. check quota).â, âstatusâ: âRESOURCE_EXHAUSTEDâ}}
gemini-3-flash-preview
I started running into a similar issue (gemini-3-flash-preview) and 429 errors even though AI Studio and Google Cloud both didnât show me approaching any visible quota or rate limit.
My calls were using the Google Search grounding tool. When I turned that off, I stopped seeing errors.
My best guess is that the error message is too generic, and/or Google hasnât yet built a user-visible quota or rate limit for the search grounding.
Other materials online say that Google will start billing for search grounding queries starting Jan 6, 2026. So maybe thereâs something going wrong there, since it appears I started seeing these errors after ~5000 queries, which is what Googleâs documentation quotes as the monthly free-tier limit https://ai.google.dev/gemini-api/docs/pricing#gemini-3-flash-preview
Facing the exact same issue my token was originally from free tier so i though i will create a new one but still the issue persists
429 RESOURCE_EXHAUSTED. {âerrorâ: {âcodeâ: 429, âmessageâ: âYou exceeded your current quota, please check your plan and billing details. For more information on this error, head to: . To monitor your current usage, head to: . \n* Quota exceeded for metric: , limit: 20, model: gemini-2.5-flash\nPlease retry in 27.966937085s.â, âstatusâ: âRESOURCE_EXHAUSTEDâ, âdetailsâ: [{â@typeâ: ââ, âlinksâ: [{âdescriptionâ: âLearn more about Gemini API quotasâ, âurlâ: ââ}]}, {â@typeâ: ââ, âviolationsâ: [{âquotaMetricâ: ââ, âquotaIdâ: âGenerateRequestsPerDayPerProjectPerModel-FreeTierâ, âquotaDimensionsâ: {âlocationâ: âglobalâ, âmodelâ: âgemini-2.5-flashâ}, âquotaValueâ: â20â}]}, {â@typeâ: âtype.googleapis.com/google.rpc.RetryInfoâ, âretryDelayâ: â27sâ}]}}
I removed/edited the reponse since i was getting cant post more than 2 links error
Hi @Abhishyant_Khare, @Gregory_Jordan, @Arjith_A_R, @Arjith_A_R
Thank you for reporting. To help us to understand your issue, please provide a screenshot of your usage details from https://ai.dev/usage?tab=rate-limit and DM me your project number (not project id).
Thank you!
If everything is setup correctly, just check if you are using gemini model name correctly. In my scenario, previously i used to consume gemini 2.0 flash but now it shows me resource exhausted even for fresh new account and api key. Then, I just tried changing the model name and it worked without even adding any billing accout/details.
Go to- https://aistudio.google.com/usage?timeRange=last-28-days&tab=rate-limit
Toggle âAll modelsâ and just copy the required model name and paste in the code.
Even Though Iâm also getting error like 429 . You exceeded your current quota, please check your plan and billing details.
Hello, I am facing an issue with the Gemini API key while integrating it with Spring AI. It is showing a 429 error: âQuota limit exceeded.â Even though I created the API key using a new account and havenât used it for a week, the same error is still appearing. If anyone knows how to solve this issue, please let me know.


