PyPI package

google-genai

Updated 2026-07-16 View source ↗

#5 of 54 by Downloads / month among PyPI packages

288.3M Downloads / month

GenAI Python SDK

About

Google Gen AI Python SDK provides an interface for developers to integrate Google's generative models into their Python applications. It supports the Gemini Developer API and Gemini Enterprise Agent Platform APIs.

Upcoming Breaking Change to Automatic Function Calling (AFC): We will introduce a breaking change to the Automatic Function Calling (AFC) feature in the next major version. Specifically, users will not be able to invoke AFC from direct calls to Models.generatecontent or its stream and async variants. Instead, users should invoke AFC from chats modules.

Large Language Models (LLMs) and generative AI coding assistants are often trained on static datasets. As a result, they may be…

Excerpted from pypi.org/project/google-genai/

Latest metrics

Downloads / month 288.3M 2026-07-16
Downloads / week 65.8M 2026-07-16
Downloads / day 10.0M 2026-07-16