Google Gemini SDK versions.
The Google Gemini packages Versyka recognizes on npm and PyPI, their latest releases, and where the breaking changes are documented.
Packages we track
| Package | Registry | Latest | Status | Release notes |
|---|---|---|---|---|
@google/genai | npm | 3.6.1 | Maintained | View → |
@google/generative-ai@google/generative-ai is retired; Google's supported SDK is @google/genai. | npm | 0.24.1 | Maintained | View → |
google-genai | PyPI | 3.6.1 | Maintained | View → |
google-generativeaigoogle-generativeai is retired; Google's supported SDK is google-genai. | PyPI | 0.8.6 | Deprecated | View → |
Latest versions from the public npm and PyPI registries, checked and refreshed daily.
Upcoming Google Gemini model retirements
| Shutdown | Model IDs | Replacement |
|---|---|---|
| Mar 15, 2027 earliest, in 106 days |
| gemini-3.1-flash-lite-image |
| May 7, 2027 earliest, in 159 days |
| gemini-3.5-flash-lite |
| May 14, 2028 earliest, in 532 days |
| gemini-embedding-2 |
From Google Gemini's deprecations page. See all vendors on the retirement calendar, or check which ones your repository calls.
Migration guides
Google Gemini SDK questions
What is the latest version of the Google Gemini SDK?
As of Nov 29, 2026: @google/genai 3.6.1 on npm; @google/generative-ai 0.24.1 on npm; google-genai 3.6.1 on PyPI; google-generativeai 0.8.6 on PyPI.
How do I upgrade the Google Gemini SDK without breaking my code?
Read the release notes for every major version between yours and the latest, update each call that changed, then run your typecheck, build and tests.
- The upgrade check shows which Google Gemini packages in your package.json or requirements.txt are major versions behind, with the release notes.
- Versyka can do the upgrade for you: it finds every affected Google Gemini call, rewrites it, runs your own tests and opens a pull request only if they pass.
- Step-by-step guides: Migrate google-generativeai to google-genai (Python); Migrate @google/generative-ai to @google/genai (JS/TS).
Is google-generativeai deprecated?
Yes. google-generativeai is marked deprecated on PyPI: "Marked inactive on PyPI (Development Status :: 7 - Inactive)"
Which Google Gemini models are retiring?
Next: gemini-2.5-flash-image on Mar 15, 2027 (replacement: gemini-3.1-flash-lite-image); gemini-3.1-flash-lite on May 7, 2027 (replacement: gemini-3.5-flash-lite); gemini-embedding-001 on May 14, 2028 (replacement: gemini-embedding-2).
The full list is on the AI model retirement calendar.
Does Versyka monitor Google Gemini SDKs?
Yes. Versyka recognizes @google/genai (npm), @google/generative-ai (npm), google-genai (PyPI), google-generativeai (PyPI) in connected repositories and flags them every day when they fall a major version behind or are deprecated.