Google is shutting off unrestricted Gemini API keys to stop billing abuse and unauthorized use.
Starting June 19, 2026, the Gemini API will reject requests from unrestricted standard API keys, according to Google's official documentation. Unrestricted keys are risky because they can be exposed in public repos or linked to other services, leading to unexpected quota use and charges. Standard keys that already have explicit API restrictions will continue to work after the deadline. From September 2026, all standard keys will stop working entirely—developers must migrate to new authorization (auth) keys tied to a service account.
Original Sources
Disclaimer
This is an AI-summarized article from authoritative sources. If you want your content removed, please .

