AI Change Guard
Shut down

Legacy Google AI Python SDK (google-generativeai)

Legacy Google AI Python SDK (google-generativeai) was shut down on 30 Nov 2025. Official source

Requests to it fail, so code that still calls it stops working.

Recommended replacementgoogle-genai (Google Gen AI SDK)

Support ended permanently on 30 November 2025 (the archived repository and the PyPI page agree); the last release, 0.8.6, came out on 16 December 2025 with fixes only.

Where and when

PlatformChangeDateTime leftReplacement
APIShuts down30 Nov 2025Passedgoogle-genai (Google Gen AI SDK)

What to do now

  1. 1. Find every place your code uses it

    Paste a public GitHub repository. The free scan lists each file and line that uses Legacy Google AI Python SDK (google-generativeai), and every other AI model and API with a date. No sign-up, and your code is deleted when the scan ends.

  2. 2. Get a warning before the next one

    Install the GitHub App on your repositories: every pull request is checked, and you get an email before each model you use changes. Install free · Have the switch tested for you

Other Google changes coming up

Get the weekly deadline digest

Every Monday: the AI model and API changes coming up, each with the provider's own notice. One click to unsubscribe, and we delete your address.