Google Gemini API / AI Studio spending cap: Partial
Does Google Gemini API / AI Studio have a hard spending cap?
Partial Per the docs as of Oct 14, 2026: Gemini API has billing-account tier spend caps and an EXPERIMENTAL project-level spend cap in AI Studio. On Prepay, keys stop when credit hits $0.
How do I turn on a spending limit in Google Gemini API / AI Studio?
- Option A (Prepay): purchase credits in the AI Studio Billing page; if you enable auto-reload, set a Monthly Limit under Manage auto-reload.
- Option B (project cap): in AI Studio open the Spend page > Monthly spend cap > Edit spend cap (requires project editor, owner or admin).
- Know your tier cap: Tier 1 $250, Tier 2 $2,000, Tier 3 $20,000–$100,000 per month per the docs.
What happens when the Google Gemini API / AI Studio limit is hit?
Prepay: when the credit balance hits $0, all API keys in all projects on that billing account stop and requests fail with HTTP 402 until you add credits. Project cap: requests are blocked after the cap, but see latency gotcha.
Gotchas
- Project spend caps are labeled “Experimental” and docs say you are subject to overages for around a 10-minute latency period.
- Spend caps are not available for Invoiced (offline) accounts.
- Auto-reload can keep topping up; set the monthly auto-reload limit.