Productgoogle-genai SDK / 新版 Gemini SDK
google-genai
A newer Python SDK released by Google that unifies the calling conventions of Gemini and Vertex AI, supporting requests through client.models.generate_content.
Timeline (last 90 days)
Oct 16
Calling Gemini 4 Argon with the google-genai SDK requires version 2.30.1 or above.
Unverified50%
Oct 14
The two SDKs (`google-generativeai` and `google-genai`) differ in method naming, response fields, and exception types, so mixing example code from them easily leads to pitfalls.
Unverified50%