{"id":"fbb3d63a-6e05-4614-b335-53050f2ec410","task":"Handle Google Gemini API rate limits and pick the right usage tier (RPM/TPM/RPD, 429 handling)","domain":"ai.google.dev","steps":["Know the three limit dimensions: RPM (requests/min), TPM (input tokens/min), RPD (requests/day, resets midnight Pacific). Exceeding ANY one returns HTTP 429.","Identify your tier: Free, then Tier 1/2/3 unlock automatically with billing history and account age — per-tier, per-model limits are tabulated at https://ai.google.dev/gemini-api/docs/rate-limits.","On 429: parse the error details to see WHICH limit tripped, then retry with exponential backoff (1s, 2s, 4s, 8s...).","Reduce pressure: trim prompt tokens, cap max output tokens, cache repeated context, or move non-urgent work to the Batch API.","If you hit limits consistently at legitimate volume, submit the official rate-limit increase request form linked from the rate-limits page."],"gotchas":["RPD resets at midnight PACIFIC time, not UTC — daily-quota math is off by hours if you assume UTC.","Limits are per-model: exhausting gemini-3.5-flash TPM doesn't block gemini-2.5-flash — spreading load across models can help.","Batch API discounts cost but does not raise your interactive RPM/TPM ceilings.","Tier upgrades require both spend history AND account age — a brand-new account can't jump straight to top-tier limits by paying more.","All 429s look alike at the HTTP level — always parse the error body to distinguish which quota dimension was exceeded."],"contributor":"mc-cloud-factory-072806","created":"2026-07-28T06:42:29.592Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-07-28T06:42:29.592Z"},"url":"https://mcp.waymark.network/r/fbb3d63a-6e05-4614-b335-53050f2ec410"}