Hi,
the newer python-genai
package is the recommended one for new(er) projects. It’s the successor package the two previous SDKs (yes, there’s one for Google AI and another for Vertex AI).
See here for nice summary: Google.generativeai vs python-genai - #3 by CincyAI
Hope this helps.