Gemini API 429 RESOURCE_EXHAUSTED on the Free Tier: 5 Easy Checks to Find Which Limit You Hit
Gemini API 429 RESOURCE_EXHAUSTED means one project quota ran out: RPM, TPM, RPD or spend. Official limits, real error text, and 5 checks to find which one.

A Gemini API 429 with RESOURCE_EXHAUSTED doesn’t mean your key is broken. It means one quota on your Google Cloud project ran out: requests per minute, requests per day, or, on paid tiers, how fast you’re spending money. Each one has a different fix, and swapping keys fixes none of them. I went through every line Google’s docs say about 429, ran a few curl calls of my own, and wrote this in the order I’d actually debug it. Every official quote below was checked on December 4, 2026 (Beijing time).
The short answer
- A Gemini API 429 is a quota problem, not a key problem. Google’s rate limits page says limits apply per project, not per API key. Ten keys in one project still share one quota.
- Per minute or per day decides everything. A PerMinute quota clears in seconds with backoff. A PerDay quota resets at midnight Pacific time, so waiting a minute does nothing.
- Google doesn’t publish free-tier numbers for most models. The rate limits page sends you to AI Studio and adds that limits “are not guaranteed”. I left every number floating around the web out of this post.
- 403 and 400 are not 429. With no key I got a 403. With a fake key I got a 400. Neither gets better if you wait.
- The newest models were never free. Google’s pricing page says Gemini 4 Argon, Carbon and Neon are “not available on the Free tier”.
What a Gemini API 429 actually means
429 is HTTP’s Too Many Requests, and the Gemini API labels it RESOURCE_EXHAUSTED. Google’s API errors page splits it into three codes:
| Code | Google’s description | Google’s advice |
|---|---|---|
rate_limit_exceeded | Per-minute or per-second request or token limit exceeded | Wait and retry with exponential backoff |
quota_exceeded | Daily quota exceeded | Wait for the reset or request an increase |
too_many_requests | Too many requests in a short period | Wait and retry with exponential backoff |
How the limits work is on the rate limits page. They’re usually measured three ways: requests per minute (RPM), input tokens per minute (TPM) and requests per day (RPD). Going over any one of them triggers the error. Google’s own example: with an RPM limit of 20, the 21st request in a minute fails even if you’re nowhere near your TPM. Two more rules matter. Limits are per project, not per key. RPD resets at midnight Pacific time. Preview and experimental models get tighter limits.
The way I think about it: the quota is a turnstile at the door of your project. It doesn’t care which key you swipe. It only counts how many people from your project went through this minute and today.

What I actually ran: without a key you don’t get a 429
I don’t have a working free-tier key, so I couldn’t reproduce a real Gemini API 429 on my own project. I want that up front. Here’s what I could do: hit the official endpoint with curl to see what a non-quota error looks like, and pull real 429 text from public GitHub issues to read it against Google’s docs.
At 15:26 Beijing time on November 27, I sent two requests to the generateContent endpoint for gemini-3.8-flash. The first had no key at all. It came back 403 PERMISSION_DENIED with “Permission denied on the service.” The second used a key I made up. It came back 400 INVALID_ARGUMENT, reason API_KEY_INVALID, with “API key not valid. Please pass a valid API key.”

Why bother? Because they look nothing like a 429. A lot of people see any error and assume quota. 403 and 400 are key or project problems, and Google’s troubleshooting page says not to retry client errors like 400, 402 or 403 at all.
So what does a real free-tier Gemini API 429 look like? Here’s a public one. A daily-digest project posted a run report on November 26 whose error carried the metric generate_content_free_tier_requests, the model gemini-2.5-flash, the quota id GenerateRequestsPerDayPerProjectPerModel-FreeTier, and the line “Generate content requests per day limit exceeded on Free Tier.” It also printed a limit number. That’s one project’s value on one day, not a number Google publishes, so I left it out. Your number lives in AI Studio.
If you see PerDay and FreeTier together, you’ve burned the free daily quota. One more detail from the deprecations page: gemini-2.5-flash is deprecated and is no longer available to select in Google AI Studio. Effective December 1, 2026, API requests to it automatically route to Gemini 3.5 Flash-Lite and are billed at Gemini 3.5 Flash-Lite rates. If your code still says 2.5, fix that while you’re in there.
Fixing a Gemini API 429 in 5 steps, cheapest first

1. Make sure it’s really a 429
Check the HTTP status and the status field. A 403 PERMISSION_DENIED means look at project restrictions or verification. A 400 API_KEY_INVALID means the key is wrong. Neither is about quota.
2. Read whether it’s per minute or per day
Find the quota id in the error. PerMinute means you sent too much too fast, and a few seconds of backoff fixes it. PerDay means today’s RPD is gone. Waiting a minute won’t help and neither will a new key. It resets at midnight Pacific: that’s 08:00 UTC in winter and 07:00 UTC during US daylight saving time.
3. Look up your project’s real limits in AI Studio
Open the rate-limit page in AI Studio and pick your project. The rate limits doc doesn’t list numbers for most models. It says limits depend on factors like your usage tier and “can be viewed in Google AI Studio”, and then: “Specified rate limits are not guaranteed and actual capacity may vary.” So the AI Studio page is the only official number you’ll get.
4. Add backoff and cap your retries
Google’s troubleshooting page recommends exponential backoff: wait about a second, then 2, 4, 8, with a bit of random jitter so every client doesn’t retry at the same instant. Retry only on 429, 408 and 5xx, and set a maximum. The official Python SDK already does this by default: up to four retries, roughly one second for the first delay, 60 seconds at most. If you call REST directly, you write that yourself.
5. Switch models, or switch tiers
If you’re calling Gemini 4 Argon, Carbon or Neon, the free tier never had them. The pricing page says “not available on the Free tier”. Use a model that’s on the free tier, or link billing and move to Tier 1.
What “limit: 0” in the error means
People search for “gemini free tier limit 0” a lot. Google doesn’t explain limit: 0 anywhere I could find, so this is my reading, not theirs: the number after limit is your project’s cap for that model, and 0 means the free tier gives it nothing. You didn’t use it up. It won’t change if you wait.
Three common causes, each backed by an official page:
- The model isn’t on the free tier. The pricing page: “Gemini 4 Argon is not available on the Free tier”.
- The project needs verification. Google’s verification page says some free-tier projects must be verified with a phone QR scan, and unverified ones return 403 FREE_TIER_VERIFICATION_REQUIRED. It also warns that creating a new API key in the same unverified project does not bypass verification.
- The project is restricted. The troubleshooting page lists project statuses in AI Studio such as Verification needed, Restricted, Free tier unavailable and Payment needed.
Paying and still getting a Gemini API 429?
Paid tiers add one more kind of 429: spend-based limits. The rate limits page has a table on a rolling 10-minute window: not applicable on Free, $10 on Tier 1, $200 on Tier 2 and Tier 3. Go over and you get 429 RESOURCE_EXHAUSTED. Google’s advice: wait and retry, cut down expensive requests (shorter context, shorter output), and request an increase if normal use keeps hitting it.
The other one is no capacity on Google’s side. A June issue in the gemini-cli repo shows a 429 whose details say MODEL_CAPACITY_EXHAUSTED: “No capacity available for model gemini-3.1-pro-preview on the server”. That was the Code Assist endpoint, not an AI Studio key, but the idea carries over. Your quota is fine. The model just had no room. Try later or switch models.
And sometimes it’s murky. Someone on paid Tier 1, well under their limits, reported getting “Resource has been exhausted (e.g. check quota).” anyway. Google has no single answer for that case. My advice: screenshot your AI Studio usage page and file it with the exact error text.
When to upgrade, and when not to
My take: for learning and prototypes, the free tier is enough. If you keep hitting the Gemini API 429, fix your code before you reach for a card. If real users are involved, pay. The free tier’s data terms aren’t built for user data either. I covered that in Gemini API free tier limits.
The tier rules, from Google’s rate limits and billing pages:
- Tier 1: link an active billing account. Prepay is at least $5.
- Tier 2: $100 paid and 3 days since your first successful payment.
- Tier 3: $1,000 paid and 30 days.
- Balance hits zero: every API key in every project on that billing account stops at once.
Paid projects that need more can use the increase form at the bottom of the rate limits page. Google says it doesn’t guarantee approval.
If you’re weighing what Gemini 4 costs per token, see Gemini 4 Neon price, and the providers side by side are in LLM API pricing comparison. Claude Code has its own 429 with a different fix: Claude Code 429 errors.
What I tested and what I quoted
- Tested: two curl calls to generativelanguage.googleapis.com at 15:26 Beijing time on November 27, 2026, returning the 403 and 400 shown above.
- Not tested: a real 429. I had no free key and didn’t trigger a Gemini API 429 on my own project. The 429 text above comes from public GitHub issues.
- Official sources: Rate limits, API errors, Troubleshooting, Billing, Pricing, Deprecations and Verification, all checked December 4, 2026.
- Numbers I left out: free-tier RPM and RPD per model. Google doesn’t publish them, so I didn’t use third-party readings or the limit values in those issues.
FAQ
How long does a Gemini API 429 last?
A per-minute limit usually clears after a few to a few dozen seconds of backoff. A per-day limit lasts until midnight Pacific time.
Can I get around a 429 with more API keys?
No. Google says limits are per project, so keys in the same project share one quota.
Is Google AI Studio itself free?
Yes. The pricing page says Google AI Studio usage is free of charge in all available regions. What costs money is the API’s paid tier.
How many free requests per day do I get?
Google’s rate limits page doesn’t list free-tier numbers for most models. It points you to the rate-limit page in AI Studio for your own project. Trust that number, not the ones online.
What’s the difference between a 403 and a 429?
A 429 means you went over a quota or a speed limit, and waiting or backing off fixes it. A 403 is permissions, verification or billing, so retrying is pointless. Fix it on the project page in AI Studio.